/* ============================================================
   Sushi Order System — public site
   Aesthetic: sumi ink × washi paper × vermilion seal.
   ============================================================ */
:root {
  --ink: #14151A; --ink-2: #1F2027; --ink-3: #2B2D36;
  --paper: #F5EFE4; --paper-2: #EDE4D3; --paper-3: #E2D6BF;
  --verm: #B8152C; --verm-d: #8F1022; --gold: #E38A2E; --moss: #2F8F5B;
  --txt: #1B1B1F; --txt-2: #5C5A55; --txt-on-ink: #F5EFE4; --muted-on-ink: rgba(245,239,228,.62);
  --display: "Shippori Mincho", "Noto Serif JP", Georgia, serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --r: 14px; --r-s: 8px; --shadow: 0 10px 30px -12px rgba(20,21,26,.35);
  --wrap: 1180px; --header-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--txt); background: var(--paper); line-height: 1.55; font-size: 16px;
  background-image: radial-gradient(rgba(20,21,26,.045) 1px, transparent 1px); background-size: 22px 22px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.15; letter-spacing: -.01em; }
.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.muted { color: var(--txt-2); }
.kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 999px;
  font-weight: 700; border: 1.5px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.primary { background: var(--verm); color: #fff; box-shadow: 0 8px 22px -8px rgba(217,56,30,.7); }
.btn.primary:hover { background: var(--verm-d); }
.btn.ghost { border-color: rgba(27,27,31,.25); color: var(--txt); background: transparent; }
.btn.ghost:hover { border-color: var(--txt); }
.btn.ghost.light { border-color: rgba(245,239,228,.35); color: var(--txt-on-ink); }
.btn.ghost.light:hover { border-color: var(--txt-on-ink); background: rgba(245,239,228,.06); }
.btn.small { padding: .5rem .95rem; font-size: .85rem; }
.btn.big { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20,21,26,.92); backdrop-filter: blur(12px); color: var(--txt-on-ink);
  border-bottom: 1px solid rgba(245,239,228,.08); }
.header-row { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 800; font-size: 1.25rem; }
.brand img { height: 42px; width: auto; }
.brand .mark-img { height: 46px; filter: drop-shadow(0 0 0 #fff); }
.brand-name { color: var(--txt-on-ink); letter-spacing: .02em; }
.footer-logo { height: 120px; width: auto; background: var(--paper); border-radius: 14px; padding: 8px 12px; margin-bottom: .8rem; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--verm); color: #fff; font-size: 1.15rem; box-shadow: 0 0 0 3px rgba(217,56,30,.25); }
.brand.big .brand-mark { width: 46px; height: 46px; }
.nav { display: flex; gap: 1.6rem; margin-left: 1rem; font-weight: 600; font-size: .95rem; }
.nav a { position: relative; opacity: .85; padding: .3rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--verm); transition: width .25s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a:hover { opacity: 1; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.lang-switch { font-weight: 800; font-size: .8rem; letter-spacing: .1em; padding: .45rem .7rem; border: 1px solid rgba(245,239,228,.3); border-radius: 999px; }
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }
.tel { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(245,239,228,.3); }
.cart-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--verm); color: #fff; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font-size: .72rem; font-weight: 800; display: grid; place-items: center; transform: scale(0); transition: transform .2s cubic-bezier(.34,1.56,.64,1); }
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .35s; }
@keyframes bump { 40% { transform: scale(1.5); } }
.burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--txt-on-ink); margin: 0 auto; transition: .2s; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--txt-on-ink); overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .kanji { position: absolute; right: -2vw; top: -6vw; font-family: var(--display); font-size: clamp(14rem, 34vw, 32rem); line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(245,239,228,.1); writing-mode: vertical-rl; letter-spacing: .05em; user-select: none; }
.hero-bg .ring { position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; border-radius: 50%; left: -20vw; bottom: -40vw;
  background: radial-gradient(circle at 40% 40%, rgba(217,56,30,.32), rgba(217,56,30,.02) 62%, transparent 70%); filter: blur(10px); }
.hero-bg .ring.r2 { left: auto; right: -10vw; bottom: auto; top: -10vw; width: 40vw; height: 40vw; background: radial-gradient(circle, rgba(201,162,39,.22), transparent 65%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero .kicker { display: inline-flex; align-items: center; gap: .55rem; color: var(--gold); margin-bottom: 1.2rem; animation: rise .7s both; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 4px rgba(47,143,91,.25); }
.dot.off { background: #8A8A8A; box-shadow: 0 0 0 4px rgba(138,138,138,.2); }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); font-weight: 800; animation: rise .7s .08s both; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; font-size: .42em; color: var(--muted-on-ink); margin-top: .35rem; letter-spacing: 0; }
.hero .lead { max-width: 52ch; color: var(--muted-on-ink); font-size: 1.05rem; margin: 1.3rem 0 1.8rem; animation: rise .7s .16s both; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; animation: rise .7s .24s both; }
.hero-meta { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: .9rem; color: var(--muted-on-ink); animation: rise .7s .32s both; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-card { border: 0; padding: 0; text-align: left; background: var(--ink-2); border-radius: var(--r); overflow: hidden; color: var(--txt-on-ink);
  box-shadow: 0 30px 50px -30px #000; transform: rotate(calc(-2deg + var(--i) * 1.4deg)); transition: transform .3s, box-shadow .3s; animation: pop .6s calc(.25s + var(--i) * .1s) both; }
.hero-card:nth-child(2) { translate: 0 1.6rem; }
.hero-card:nth-child(3) { translate: 0 -.4rem; }
.hero-card:nth-child(4) { translate: 0 1.2rem; }
.hero-card:hover { transform: rotate(0) scale(1.04); box-shadow: 0 40px 60px -28px rgba(217,56,30,.55); z-index: 1; }
.hero-card img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.hc-name { display: block; padding: .7rem .85rem 0; font-family: var(--display); font-weight: 700; font-size: 1rem; }
.hc-price { display: block; padding: .15rem .85rem .8rem; color: var(--gold); font-weight: 700; font-size: .9rem; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.85) rotate(0); } }

/* ---------- menu ---------- */
.menu { padding: 2.5rem 0 4rem; }
.menu-toolbar { position: sticky; top: var(--header-h); z-index: 40; background: rgba(245,239,228,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--paper-3); margin-bottom: 2rem; }
.toolbar-row { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }
.chips { display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none; flex: 1; -webkit-overflow-scrolling: touch; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: 0 0 auto; padding: .5rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--paper-3); font-weight: 600; font-size: .86rem; transition: .2s; }
.chips a.active, .chips a:hover { background: var(--ink); color: var(--txt-on-ink); border-color: var(--ink); }
.search { display: flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--paper-3); border-radius: 999px; padding: .45rem .9rem; color: var(--txt-2); }
.search input { border: 0; outline: 0; background: transparent; font: inherit; width: 160px; color: var(--txt); }
.cat { margin-bottom: 3rem; scroll-margin-top: calc(var(--header-h) + 74px); }
.cat-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; }
.cat-num { font-family: var(--display); color: var(--verm); font-weight: 800; font-size: .95rem; letter-spacing: .1em; }
.cat-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cat-head .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--paper-3), transparent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.1rem; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(27,27,31,.06); box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.pill { position: absolute; top: .6rem; left: .6rem; background: rgba(20,21,26,.82); color: var(--paper); font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; }
.pill.sold { left: auto; right: .6rem; background: var(--verm); }
.card.soldout .card-img img { filter: grayscale(1) opacity(.6); }
.card-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-body h3 { font-size: 1.12rem; }
.card-body p { margin: 0; color: var(--txt-2); font-size: .88rem; line-height: 1.45; }
.allergens { display: flex; gap: .2rem; font-size: .85rem; opacity: .85; }
.card-foot { margin-top: auto; padding-top: .6rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.1rem; }
.price s { color: var(--txt-2); font-weight: 500; font-size: .85rem; margin-right: .3rem; }
.add { display: inline-flex; align-items: center; gap: .3rem; border: 0; background: var(--ink); color: var(--paper); padding: .5rem .85rem .5rem .7rem; border-radius: 999px; font-weight: 700; font-size: .85rem; transition: .2s; }
.add span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--verm); font-size: .9rem; line-height: 1; }
.add:hover { background: var(--verm); }
.add:hover span { background: #fff; color: var(--verm); }
.add[disabled] { opacity: .4; cursor: not-allowed; }
.card.hidden { display: none; }
.cat.hidden { display: none; }
.no-results { text-align: center; color: var(--txt-2); padding: 3rem 0; }

/* combo band */
.cat-combo { background: var(--ink); color: var(--txt-on-ink); padding: 2rem; border-radius: 22px; position: relative; overflow: hidden; }
.cat-combo::before { content: "割引"; position: absolute; right: -1rem; top: -2rem; font-family: var(--display); font-size: 9rem; color: rgba(245,239,228,.05); line-height: 1; }
.cat-combo .cat-head .rule { background: linear-gradient(90deg, rgba(245,239,228,.2), transparent); }
.cat-combo .cat-num { color: var(--gold); }
.cat-combo .card { background: var(--ink-2); border-color: rgba(245,239,228,.08); }
.cat-combo .card-body p { color: var(--muted-on-ink); }
.cat-combo .price { color: var(--gold); }
.cat-combo .add { background: var(--verm); }
.cat-combo .add span { background: #fff; color: var(--verm); }

/* ---------- info ---------- */
.info { padding: 1rem 0 4rem; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.info-card { background: #fff; border-radius: var(--r); padding: 1.4rem; border: 1px solid rgba(27,27,31,.06); }
.info-card h3 { font-size: 1.15rem; margin-bottom: .8rem; padding-bottom: .5rem; border-bottom: 2px solid var(--verm); display: inline-block; }
.hours-row { display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px dashed var(--paper-3); font-size: .92rem; }
.hours-row.today { font-weight: 800; color: var(--verm); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem .8rem; font-size: .85rem; color: var(--txt-2); }

/* ---------- location ---------- */
.location { padding: 0 0 4rem; }
.loc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: stretch; }
.loc-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .6rem; }
.addr { font-size: 1.1rem; margin: 0 0 1.4rem; }
.loc-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.map { min-height: 320px; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.map-placeholder { display: grid; place-items: center; align-content: center; gap: .5rem; height: 100%; min-height: 320px; color: var(--paper); font-weight: 700; font-size: 1.1rem;
  background: radial-gradient(circle at 50% 50%, var(--ink-3), var(--ink)); }
.map-placeholder span { font-size: 2.8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--txt-on-ink); padding: 3.5rem 0 1.5rem; border-top: 4px solid var(--verm); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: 1rem; color: var(--gold); margin-bottom: .8rem; }
.footer-grid a { display: block; padding: .18rem 0; color: var(--muted-on-ink); }
.footer-grid a:hover { color: var(--paper); }
.footer-grid .hours-row { border-color: rgba(245,239,228,.12); color: var(--muted-on-ink); }
.socials { display: flex; gap: 1rem; margin-top: .8rem; }
.socials a { display: inline; padding: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(245,239,228,.1); font-size: .82rem; color: var(--muted-on-ink); }
.footer-bottom a { color: var(--gold); }

/* ---------- cart drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20,21,26,.55); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100dvh; width: min(420px, 100%); background: var(--paper); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .3s cubic-bezier(.32,.72,0,1); box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); }
body.cart-open .cart-drawer { transform: none; }
body.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; background: var(--ink); color: var(--paper); }
.drawer-head h3 { font-size: 1.25rem; }
.x { border: 0; background: transparent; color: inherit; font-size: 1.7rem; line-height: 1; width: 36px; height: 36px; border-radius: 50%; }
.x:hover { background: rgba(255,255,255,.12); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px dashed var(--paper-3); }
.cart-line img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-s); }
.cart-line .n { font-weight: 700; font-size: .95rem; }
.cart-line .o { font-size: .78rem; color: var(--txt-2); }
.cart-line .p { font-weight: 700; font-family: var(--display); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--paper-3); border-radius: 999px; background: #fff; margin-top: .3rem; }
.qty button { border: 0; background: transparent; width: 30px; height: 30px; font-weight: 800; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-line .rm { border: 0; background: transparent; color: var(--txt-2); font-size: .75rem; text-decoration: underline; padding: .2rem 0; display: block; }
.drawer-foot { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--paper-3); background: #fff; }
.drawer-foot .row { display: flex; justify-content: space-between; margin-bottom: .8rem; font-size: 1.05rem; }
.empty-cart { text-align: center; color: var(--txt-2); padding: 3rem 1rem; }
.empty-cart span { font-size: 3rem; display: block; margin-bottom: .5rem; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: end center; background: rgba(20,21,26,.6); padding: 1rem; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(520px, 100%); background: var(--paper); border-radius: 20px; padding: 1.4rem; max-height: 90dvh; overflow-y: auto; animation: rise .3s; }
.modal-card .x { position: absolute; top: .6rem; right: .6rem; background: var(--paper-2); }
.modal-card h3 { font-size: 1.4rem; margin-bottom: .2rem; padding-right: 2rem; }
.opt-group { margin-top: 1rem; }
.opt-group h4 { font-size: .95rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.opt-group h4 small { color: var(--verm); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-family: var(--body); }
.opt-group label { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; background: #fff; border: 1.5px solid var(--paper-3); border-radius: 10px; margin-bottom: .4rem; cursor: pointer; }
.opt-group label:has(input:checked) { border-color: var(--verm); background: #fff6f4; }
.opt-group label span:last-child { margin-left: auto; color: var(--txt-2); font-size: .85rem; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }
@media (min-width: 640px) { .modal { place-items: center; } }

.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: .25s; z-index: 120; box-shadow: var(--shadow); font-size: .92rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- checkout ---------- */
.checkout-wrap, .track-wrap { padding: 2rem 0 4rem; }
.back { display: inline-block; margin-bottom: 1rem; color: var(--txt-2); font-weight: 600; }
.checkout-wrap h1, .track-wrap h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1.2rem; }
.co-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 2rem; align-items: start; }
.co-form { background: #fff; padding: 1.5rem; border-radius: var(--r); border: 1px solid rgba(27,27,31,.06); display: flex; flex-direction: column; gap: 1rem; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; margin-bottom: .5rem; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: .75rem; border: 1.5px solid var(--paper-3); border-radius: 10px; font-weight: 700; transition: .2s; }
.seg input:checked + span { border-color: var(--verm); background: #fff6f4; color: var(--verm); }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field textarea { font: inherit; padding: .7rem .85rem; border: 1.5px solid var(--paper-3); border-radius: 10px; background: #fff; outline: 0; transition: border .2s; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field.error input, .field.error textarea { border-color: var(--verm); background: #fff6f4; }
.inline { display: flex; gap: .5rem; }
.inline input { flex: 1; }
.promo small { color: var(--moss); font-weight: 600; }
.promo small.bad { color: var(--verm); }
.pay { padding: .7rem .85rem; background: var(--paper); border-radius: 10px; font-weight: 600; }
.form-error, .alert { background: #fff6f4; border: 1.5px solid var(--verm); color: var(--verm-d); padding: .8rem 1rem; border-radius: 10px; font-weight: 600; margin-bottom: 1rem; }
.co-summary { background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 1.4rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.co-summary h3 { font-size: 1.25rem; margin-bottom: .8rem; color: var(--gold); }
.co-summary .row, .track-items .row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed rgba(245,239,228,.15); font-size: .95rem; }
.co-summary .row.total, .track-items .row.total { border: 0; margin-top: .5rem; font-family: var(--display); font-size: 1.35rem; font-weight: 800; }
.co-summary small, .track-items small { display: block; color: var(--muted-on-ink); font-size: .78rem; }
#sumItems .row span:first-child { max-width: 70%; }

/* ---------- track ---------- */
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.track-head .kicker { color: var(--verm); }
.status-badge { padding: .55rem 1.1rem; border-radius: 999px; font-weight: 800; color: #fff; background: var(--c, var(--ink)); box-shadow: 0 8px 20px -8px var(--c); transition: background .3s; }
.status-msg { font-size: 1.15rem; font-weight: 600; margin: .3rem 0 .2rem; }
.eta { color: var(--verm); font-weight: 700; margin: 0 0 1rem; }
.timeline { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: .3rem; counter-reset: step; }
.timeline li { position: relative; text-align: center; font-size: .8rem; font-weight: 700; color: var(--txt-2); padding-top: 2rem; }
.timeline li::before { content: ""; position: absolute; top: .55rem; left: 0; right: 0; height: 3px; background: var(--paper-3); }
.timeline li::after { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper-3); color: var(--txt-2); display: grid; place-items: center; font-size: .7rem; font-weight: 800; transition: .3s; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before, .timeline li.done::after { background: var(--moss); color: #fff; }
.timeline li.cur::after { background: var(--verm); box-shadow: 0 0 0 5px rgba(217,56,30,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(217,56,30,.08); } }
.track-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 1.5rem; }
.track-items { background: var(--ink); color: var(--paper); border-radius: var(--r); padding: 1.4rem; }
.track-items h3 { color: var(--gold); margin-bottom: .6rem; }
.track-info { background: #fff; border-radius: var(--r); padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem; border: 1px solid rgba(27,27,31,.06); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .loc-grid, .co-grid, .track-grid { grid-template-columns: 1fr; }
  .hero-cards { grid-template-columns: repeat(4, 1fr); gap: .7rem; }
  .hero-card:nth-child(n) { translate: 0 0; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .co-summary { position: static; }
}
@media (max-width: 720px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--ink); flex-direction: column; gap: 0; margin: 0; padding: .5rem 1rem 1rem; transform: translateY(-110%); transition: transform .25s, visibility .25s; visibility: hidden; z-index: 45; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid rgba(245,239,228,.08); font-size: 1.05rem; }
  body.nav-open .nav { transform: none; visibility: visible; }
  .burger { display: flex; }
  .tel { display: none; }
  .hero { padding-top: 2.5rem; }
  .hero-bg .kanji { font-size: 13rem; top: auto; bottom: -3rem; right: -1rem; }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .hero-card { transform: none !important; }
  .toolbar-row { flex-direction: column; align-items: stretch; gap: .5rem; padding: .6rem 0; }
  .search input { width: 100%; }
  .search { width: 100%; }
  .cat { scroll-margin-top: calc(var(--header-h) + 118px); }
  .grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .card-body { padding: .7rem .75rem .8rem; }
  .card-body h3 { font-size: 1rem; }
  .card-body p { font-size: .8rem; }
  .add { padding: .45rem .7rem .45rem .55rem; font-size: .8rem; }
  .cat-combo { padding: 1.2rem; border-radius: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline li { font-size: .62rem; }
  .timeline li span { display: block; line-height: 1.15; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 2.4rem; }
  .card-img { aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
body.cart-open .toast { bottom: auto; top: 5rem; }
.site-footer .btn.ghost { border-color: rgba(245,239,228,.35); color: var(--paper); display: inline-flex; margin-top: .5rem; }
