/* Version 3 sales pages (Sushi Masashi, Udatsu Sushi Version 3): layout on top of v2.css.
   Colours come from each page's own :root; this file holds what both pages share. Generated from tools/shops/masashi.py history; edit here. */
.lineup .card .img,.kd-gal,.kd-track img,.pd-main{background:#1b1712}
/* Lineup: a quiet catalogue (one knife per row, hairlines, no boxes) instead of the boxed cards */
.lineup .cards{display:flex!important;flex-direction:column;gap:0!important;overflow:visible!important;padding:0!important;margin:0!important;scroll-snap-type:none!important}
.lineup .cards-stage{padding-inline:0!important}
.lineup .side-arw,.lineup .cards-ctl,.lineup .cards-nav,.lineup .cards-dots{display:none!important}
.lineup .cards>.card,.lineup .cards>.card.is-active{transform:none!important;opacity:1!important;background:none;border:0;border-top:1px solid var(--rule);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;align-items:center;padding:40px 0}

.lineup .card .img{aspect-ratio:3/1}
/* photo slider on each knife: small round arrows and dots that sit quietly on the washi photos */
.lineup .card .gal-btn{display:flex!important;width:34px;height:34px;border-radius:50%;border:0;background:rgba(var(--ink-rgb),.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:var(--white);font-size:18px;box-shadow:none}
.lineup .card .gal-btn[hidden]{display:none!important}
.lineup .card .gal-btn:hover{background:rgba(var(--ink-rgb),.75)}
@media (max-width:820px){.lineup .card .gal-btn{width:30px;height:30px;font-size:16px}.lineup .card .gal-btn.prev{left:8px}.lineup .card .gal-btn.next{right:8px}}
.lineup .card .gal-dots i{width:5px;height:5px;background:rgba(var(--white-rgb),.25)}
.lineup .card .gal-dots i.on{background:var(--white)}
.lineup .card .body{padding:0!important;gap:0}
.lineup .card .use .tag{display:none}
.lineup .card .nm{flex-direction:row!important;flex-wrap:wrap;align-items:baseline!important;gap:4px 14px!important}
.lineup .card h3{font-size:30px}
.lineup .card .nm .jp{font-size:14px;letter-spacing:.14em}
.lineup .card .use .u{margin-top:10px;color:var(--text-3);font-size:15px}
/* finish, steel, handle: a quiet line under the name (no rule above it) */
.lineup .card .use .u.specs{border-top:0;padding-top:0;margin-top:12px;font-size:13.5px;color:var(--text-3);gap:6px 20px}
.lineup .card .spec-i svg{width:15px;height:15px}
/* the two buttons: same height and type */
.lineup .card .foot .det-btn,.lineup .card .foot .btn.add{box-sizing:border-box;height:46px;padding:0 22px;line-height:1;font-size:14px;font-weight:500;letter-spacing:.02em}
.lineup .card .left{margin-top:14px;font-size:13.5px;font-weight:600;letter-spacing:.03em;color:#a8323c}
.lineup .card .left::before{display:none}
.lineup .card .left.out{color:var(--grey);font-weight:500}
.pd-info .left{font-size:14px;font-weight:600;color:#a8323c}
.lineup .card .foot{border-top:0;margin-top:22px!important;padding-top:0!important;align-items:center}
.lineup .card .pr{font-size:24px}
.lineup .card .btn.add,.lineup .card .btn.add.wait{background:var(--white);color:var(--ink);border:1px solid var(--white);padding:12px 22px;font-weight:600;transition:opacity .2s}
.lineup .card .btn.add:hover{opacity:.85}
.lineup .card .foot .det-btn{padding:12px 18px;font-weight:500}
/* First view: the photo and the words side by side (no text over the photo, no fades or shadows) */
html:not(.pd) .hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);grid-template-rows:auto 1fr;min-height:min(92vh,880px);align-items:stretch}
html:not(.pd) .hero::after,html:not(.pd) .hero::before{display:none}
html:not(.pd) .hero-top{position:relative;grid-column:1/-1;grid-row:1;border-bottom:1px solid var(--rule)}
html:not(.pd) .hero-ph{position:relative;inset:auto;grid-column:2;grid-row:2;min-height:0}
html:not(.pd) .hero-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:40% 55%;aspect-ratio:auto}
html:not(.pd) .hero-in{grid-column:1;grid-row:2;align-self:center;margin:0}
html:not(.pd) .hero-in .wrap{max-width:none;margin:0;padding:56px clamp(24px,5vw,72px) 56px max(20px,calc((100vw - 1180px) / 2 + 20px))}
html:not(.pd) .hero h1{font-size:clamp(38px,3.3vw,48px);font-weight:600;letter-spacing:-.015em}
html:not(.pd) .hero h1 em{font-weight:500}
html:not(.pd) .hero .hero-thanks{margin:0 0 -4px;font-size:14px;letter-spacing:.04em;color:var(--text-3)}
html:not(.pd) .hero h1 [lang="ja"]{font-size:.72em;line-height:1.4;word-break:keep-all;font-weight:700}
@media (max-width:820px){html:not(.pd) .hero h1 [lang="ja"]{font-size:.8em}}
.hero-cap{display:none}
html:not(.pd) .hero-cap{display:block;grid-column:2;grid-row:2;align-self:end;justify-self:start;position:relative;z-index:2;margin:0 0 18px 20px;padding:6px 12px;background:rgba(0,0,0,.55);color:#fff;font-size:12px;letter-spacing:.06em;line-height:1.3}
@media (max-width:820px){html:not(.pd) .hero-cap{order:2;align-self:flex-start;margin:-38px 0 10px 12px;font-size:11px;padding:5px 10px}html:not(.pd) .hero-in{order:3}}
/* the fixed order line: dot and text on one line */
.hero .cd[data-static]{display:flex;align-items:baseline;gap:8px}
.hero .cd[data-static] .cd-s{font-size:13.5px;color:var(--text-2)}
/* the chef's points: a quiet line of icon + text, no boxes */
.voice .pts{gap:10px 28px;margin-top:28px}
.voice .pts li{border:0;padding:0;font-size:14px;color:var(--text-2);gap:10px}
.voice .pts .ic{width:18px;height:18px}
/* bottom bar: the fixed line wraps under the price instead of running under the button */
.bar .p{flex:1 1 auto;min-width:0}
.bar .p .cdb{white-space:normal;font-size:11.5px;line-height:1.35;font-weight:500}
/* one rhythm for every section: the same space above and below, and a hairline between sections */
main > section{padding-block:0!important;margin-block:0!important;border-top:1px solid var(--rule)!important;border-bottom:0!important}
main > section.voice{border-top:0!important}
main > section > .wrap{padding-block:96px!important}
main > section > .wrap > :first-child{margin-top:0!important}
main > section > .wrap > :last-child{margin-bottom:0!important}
main > section.how > .how-head .wrap{padding-block:96px 0!important}
main > section.how > .steps-w{padding-block:40px 96px!important}
.trust .grid3{border-top:0}
.trust .grid3 .item{padding-top:0}
@media (max-width:820px){
  main > section > .wrap{padding-block:56px!important}
  main > section.how > .how-head .wrap{padding-block:56px 0!important}
  main > section.how > .steps-w{padding-block:28px 56px!important}
  .trust .grid3 .item{padding-top:24px}
  .trust .grid3 .item:first-child{border-top:0;padding-top:0}
  .wa .grid3 .item:last-child,.trust .grid3 .item:last-child{padding-bottom:0}
}
@media (max-width:430px){main h2 [lang="ja"]{font-size:.86em}}
/* every heading in a serif face: the chef's words and the knife pages' point titles too (Japanese in Shippori Mincho) */
.voice blockquote [lang="ja"]{font-family:var(--f-kanji);font-weight:600;letter-spacing:.04em}
.pd-why-i h3,.pd-mat-i h3{font-family:var(--f-display);font-weight:600;font-size:19px;letter-spacing:0}
.pd-why-i h3 [lang="ja"],.pd-mat-i h3 [lang="ja"]{font-family:var(--f-kanji);font-weight:600;letter-spacing:.04em}
h2 [lang="ja"]{word-break:keep-all;overflow-wrap:anywhere}
.closing h2 [lang="ja"]{font-size:.72em;line-height:1.3}
.wa-head h2 [lang="ja"]{font-size:.8em;word-break:keep-all;line-height:1.35}
.hero .hero-sub{max-width:34em;line-height:1.9}
html:not(.pd) .hero .hero-sign{margin:14px 0 0;font-size:12px;letter-spacing:.06em;color:var(--grey)}
@media (max-width:820px){
  html:not(.pd) .hero{display:flex;flex-direction:column;min-height:0}
  html:not(.pd) .hero-top{order:0} html:not(.pd) .hero-ph{order:1} html:not(.pd) .hero-in{order:2}
  html:not(.pd) .hero-ph{display:block}
  html:not(.pd) .hero-ph img{position:static;height:auto;aspect-ratio:4/3}
  /* the upright knife photo next to "Why a Japanese knife": a shorter crop on phones */
  .wa-img{max-width:none}
  .wa-img img{aspect-ratio:4/3;object-position:50% 58%}
  html:not(.pd) .hero-in .wrap{padding:28px 20px 36px}
  html:not(.pd) .hero h1{font-size:38px}
}
@media (max-width:899px){.lineup .cards>.card,.lineup .cards>.card.is-active{grid-template-columns:1fr;gap:20px;padding:32px 0}.lineup .card h3{font-size:26px}}
/* bottom bar: the price and its dollar amount on one line, the order line under them on one line */
.bar .p .usd{display:inline-block!important;white-space:nowrap;margin:0 0 0 6px!important;font-size:12px;vertical-align:.15em;color:var(--grey)}
.bar .p .cdb{white-space:nowrap!important;font-size:11.5px}
@media (max-width:400px){.bar .p{font-size:20px!important}.bar .p .usd{font-size:11px}.bar .p .cdb{font-size:11px}}

