/* Ushime — public site. Mobile-first. No inline styles (CSP style-src 'self'). */

/* ---------- fonts (self-hosted, latin + vietnamese subsets) ---------- */
/* Title: "Ushime" = DFVN Shape Medium (AllCaps, commercial licence). Single 500 weight, full Vietnamese. */
@font-face { font-family: "Ushime Title"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/static/fonts/ushime-title-500.d7fea750e5.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/inter-vietnamese-400.547ad9fdae.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/inter-latin-400.8909904ab6.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/static/fonts/inter-vietnamese-500.44e36aa5a8.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/static/fonts/inter-latin-500.f3779f1efc.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/static/fonts/inter-vietnamese-600.1aeb94ae9d.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/static/fonts/inter-latin-600.f9a06e79cd.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Shippori Mincho"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/static/fonts/shippori-mincho-jp-500.d3426d31b0.woff2") format("woff2");
  unicode-range: U+3000-30FF, U+4E00-9FFF, U+FF00-FFEF; }

/* ---------- tokens ---------- */
:root {
  --red: #9b0000;
  --red-dark: #6b0000;
  --cream: #f3efea;
  --cream-2: #e9e1d8;
  --blush: #efb094;
  --ink: #2b1210;
  --ink-2: #5c3b36;
  --line: #d9cdc1;
  --ok: #1d5b2c;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgb(43 18 16 / 6%), 0 8px 24px rgb(43 18 16 / 8%);
  --font-head: "Ushime Title", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --wrap: 1360px;
  --gutter: 14px;
  --header-h: 61px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (min-width: 720px) { :root { --header-h: 69px; --gutter: 28px; } }
@media (min-width: 1200px) { :root { --gutter: 40px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--font-body); }
body.has-cartbar { padding-bottom: 76px; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
.dish-body h4, legend, .totals dt.grand, .story blockquote, .error-page .status { text-transform: uppercase; letter-spacing: .02em; }
h1 { font-size: clamp(2.25rem, 8.6vw, 4rem); }
h2 { font-size: clamp(2rem, 6.4vw, 3rem); }
h3, .h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.on-red :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--cream); }
.jp { font-family: var(--font-jp); font-weight: 500; letter-spacing: .08em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; color: var(--cream); }
.eyebrow { display: inline-flex; gap: .6em; align-items: center; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.eyebrow .jp { text-transform: none; letter-spacing: .2em; font-size: .95rem; }
.section { padding: 48px 0; }
.section-head { margin-bottom: 24px; max-width: 760px; }
@media (min-width: 720px) { .section { padding: 72px 0; } .section-head { margin-bottom: 32px; } }
.section-head p { color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { background: var(--red-dark); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--red); }
.btn-cream:hover { background: #fff; color: var(--red-dark); }
.btn-outline { border-color: currentColor; color: var(--red); background: transparent; }
.btn-outline:hover { background: rgb(155 0 0 / 6%); }
.hero .btn-outline, .on-red .btn-outline { color: var(--cream); }
.hero .btn-outline:hover { background: rgb(243 239 234 / 12%); color: var(--cream); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(243 239 234 / 94%); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 40px; width: auto; }
@media (min-width: 720px) { .site-header .wrap { min-height: 68px; } .brand img { height: 46px; } }
.site-nav { display: none; gap: 28px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 10px 0; }
.site-nav a:hover { color: var(--red); }
.cart-btn { position: relative; padding: 8px 12px 8px 14px; min-height: 44px; gap: 6px; }
.cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 480px) { .cart-btn { padding: 10px 18px; gap: 8px; } .cart-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
.cart-badge { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--cream); color: var(--red); font-size: .8rem; font-weight: 700; }
@media (min-width: 860px) { .site-nav { display: flex; } }

/* ---------- hero ---------- */
.hero { background: var(--red); color: var(--cream); overflow: hidden; position: relative; }
.hero .wrap { display: grid; gap: 0; padding-top: 24px; padding-bottom: 32px; }
.hero .eyebrow { color: var(--blush); }
.hero h1 { color: var(--cream); }
.hero h1 em { font-style: normal; color: var(--blush); }
.hero-lead { font-size: 1.05rem; max-width: 34ch; color: #f8efe9; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.hero-actions .btn { flex: 1 1 140px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; font-size: .88rem; color: #f8efe9; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; }
.hero-art { position: relative; order: -1; justify-self: start; width: 132px; margin-bottom: 10px; }
.hero-art img { width: 100%; height: auto; }
.hero-art .stamp { position: absolute; right: -6px; top: 6px; width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--blush); display: grid; place-items: center; text-align: center; color: var(--blush); font-size: 1.35rem; line-height: 1.05; transform: rotate(12deg); display: none; }
@media (min-width: 720px) {
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .hero-lead { font-size: 1.125rem; }
  .hero-actions { margin: 24px 0 28px; } .hero-actions .btn { flex: 0 0 auto; }
  .hero-art { width: 200px; }
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
  .hero-art { order: 0; justify-self: center; width: min(40vw, 400px); margin: 0; }
  .hero-art .stamp { display: grid; }
}

/* ---------- banner slider ---------- */
.hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; display: flex; }
.hero-slide > .wrap { align-content: center; }
.hero-title { font-size: clamp(2.25rem, 8.6vw, 4rem); color: var(--cream); }
.hero-title em { font-style: normal; color: var(--blush); }
.hero-art-photo { width: 168px; }
.hero-art-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; border: 4px solid var(--cream); box-shadow: 0 10px 30px rgb(43 18 16 / 35%); transform: rotate(-3deg); }
@media (min-width: 720px) { .hero-art-photo { width: 240px; } }
@media (min-width: 900px) { .hero-art-photo { width: min(34vw, 420px); } .hero-art-photo img { border-width: 6px; border-radius: 28px; } }
.hero-art-kanji { display: grid; place-items: center; padding: 14px; margin-left: -14px; }
@media (min-width: 900px) { .hero-art-kanji { padding: 26px; margin: 0; } }
.kanji-disc { display: grid; place-items: center; width: 132px; aspect-ratio: 1; border-radius: 50%; background: var(--cream); color: var(--red); font-size: 4.6rem; line-height: 1; box-shadow: 0 0 0 6px rgb(243 239 234 / 18%), 0 0 0 14px rgb(243 239 234 / 8%); }
.hero .hero-controls { display: flex; align-items: center; gap: 6px; padding-top: 0; padding-bottom: 20px; margin-top: -8px; }
.hero-dots { display: flex; gap: 0; }
.hero-dot { width: 32px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.hero-dot::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: rgb(243 239 234 / 45%); transition: width .2s, background-color .2s; }
.hero-dot[aria-current="true"]::before { width: 24px; background: var(--cream); }
.hero-nav, .hero-pause { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgb(243 239 234 / 45%); background: transparent; color: var(--cream); font: 600 1.5rem/1 var(--font-body); cursor: pointer; display: grid; place-items: center; padding: 0; }
.hero-nav:hover, .hero-pause:hover { background: rgb(243 239 234 / 12%); }
.hero-pause { margin-left: auto; }
.hero-pause svg { width: 18px; height: 18px; }
.hero-pause .i-play, .is-paused .hero-pause .i-pause { display: none; }
.is-paused .hero-pause .i-play { display: block; }
.hero:not(.is-ready) .hero-nav, .hero:not(.is-ready) .hero-pause { visibility: hidden; }
@media (min-width: 720px) {
  .kanji-disc { width: 200px; font-size: 7rem; }
  .hero .hero-controls { padding-bottom: 28px; margin-top: -24px; }
}
@media (min-width: 900px) {
  .kanji-disc { width: min(30vw, 340px); font-size: clamp(8rem, 14vw, 12rem); box-shadow: 0 0 0 10px rgb(243 239 234 / 18%), 0 0 0 26px rgb(243 239 234 / 8%); }
}

/* ---------- ribbon ---------- */
.ribbon { background: var(--red-dark); color: var(--cream); overflow: hidden; white-space: nowrap; border-top: 1px solid rgb(243 239 234 / 15%); }
.ribbon-track { display: inline-flex; gap: 28px; padding: 14px 0; animation: ribbon 40s linear infinite; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .88rem; }
.ribbon-track span { display: inline-flex; gap: 28px; align-items: center; }
.ribbon-track .jp { text-transform: none; color: var(--blush); letter-spacing: .3em; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- promises ---------- */
.promises { display: grid; gap: 10px; }
.promise { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; align-items: start; background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); }
.promise-icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; background: var(--cream-2); color: var(--red); display: grid; place-items: center; }
.promise-icon svg { width: 24px; height: 24px; }
.promise h3 { font-size: 1.35rem; margin: 0; }
.promise p { margin: 0; color: var(--ink-2); font-size: .92rem; }
@media (min-width: 720px) {
  .promises { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .promise { display: block; border-radius: var(--radius); padding: 28px; }
  .promise-icon { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px; }
  .promise-icon svg { width: 28px; height: 28px; }
  .promise h3 { font-size: 1.4rem; margin-bottom: .35em; }
  .promise p { font-size: 1rem; }
}

/* ---------- menu ---------- */
.menu-section { background: var(--cream-2); }
.dish { scroll-margin-top: calc(var(--header-h) + 16px); }
.menu-grid { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
/* Mobile: compact row card (thumbnail left, info right). */
.dish { display: flex; flex-direction: row; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.dish-media { flex: none; width: 96px; min-height: 120px; background: var(--red); color: var(--cream); display: grid; place-items: center; position: relative; overflow: hidden; }
.dish-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dish-kanji { font-family: var(--font-jp); font-size: 3rem; line-height: 1; }
.dish-media .dish-jp { display: none; position: absolute; left: 16px; bottom: 12px; font-size: .8rem; color: var(--blush); }
.dish-soldout { position: absolute; top: 8px; left: 8px; background: var(--ink); color: var(--cream); font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.dish-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; flex: 1; min-width: 0; }
.dish-body h4 { font: 500 1.35rem/1.15 var(--font-head); margin: 0; }
.dish-body .jp { color: var(--ink-2); font-size: .74rem; }
.dish-body p { color: var(--ink-2); font-size: .85rem; line-height: 1.45; margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.dish-foot .price { font-size: 1rem; }
.dish-foot .add-btn { padding: 8px 16px; }
.dish-foot .stepper { gap: 2px; }
@media (min-width: 640px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .dish { flex-direction: column; border-radius: var(--radius); }
  .dish-media { width: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .dish-kanji { font-size: clamp(5rem, 12vw, 7.5rem); }
  .dish-media .dish-jp { display: block; }
  .dish-soldout { top: 14px; left: 14px; font-size: .78rem; padding: 4px 12px; }
  .dish-body { gap: 6px; padding: 20px 22px 22px; }
  .dish-body h4 { font-size: 1.55rem; }
  .dish-body .jp { font-size: .85rem; }
  .dish-body p { font-size: .94rem; margin-top: 4px; display: block; overflow: visible; }
  .dish-foot { gap: 12px; padding-top: 14px; }
  .dish-foot .price { font-size: 1.12rem; }
  .dish-foot .add-btn { padding: 8px 20px; }
}
@media (min-width: 1000px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
.price { font-weight: 700; font-size: 1.12rem; color: var(--red); font-variant-numeric: tabular-nums; }
.dish.is-soldout .dish-media { filter: grayscale(.85); }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--cream); border-radius: 999px; padding: 4px; }
.stepper button { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--red); font: 700 1.3rem/1 var(--font-body); cursor: pointer; display: grid; place-items: center; box-shadow: 0 1px 2px rgb(43 18 16 / 10%); }
.stepper button:hover { background: var(--red); color: var(--cream); }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.add-btn { min-height: 44px; padding: 8px 20px; }
.add-btn svg { width: 18px; height: 18px; }

/* ---------- order ---------- */
.order-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .order-grid { grid-template-columns: 1.25fr .9fr; gap: 32px; } .summary { position: sticky; top: 92px; } }
.card { background: #fff; border-radius: 20px; padding: 18px 16px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .card { padding: 32px; border-radius: var(--radius); } }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend { font: 500 1.45rem var(--font-head); margin-bottom: 14px; padding: 0; display: flex; align-items: center; gap: 10px; }
legend .num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: var(--cream); font: 700 .85rem var(--font-body); }
.field { margin-bottom: 16px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, .label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; }
.req { color: var(--red); }
.hint { display: block; color: var(--ink-2); font-size: .85rem; margin-top: 6px; }
input[type="text"], input[type="tel"], input[type="password"], input[type="number"], input[type="datetime-local"], input[type="date"], input[type="time"], input[type="url"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font-body); appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235c3b36' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--red); outline: 3px solid rgb(155 0 0 / 18%); outline-offset: 0; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); background: #fff7f5; }
.field-error { display: flex; gap: 6px; align-items: flex-start; color: var(--red); font-size: .88rem; font-weight: 500; margin-top: 6px; }
.field-error svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.choices { display: grid; gap: 10px; }
@media (min-width: 520px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; min-height: 56px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-weight: 400; margin: 0; background: #fff; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice .dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink-2); margin-top: 2px; display: grid; place-items: center; }
.choice strong { display: block; font-weight: 600; }
.choice small { color: var(--ink-2); }
.choice:has(input:checked) { border-color: var(--red); background: #fff6f3; }
.choice:has(input:checked) .dot { border-color: var(--red); }
.choice:has(input:checked) .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.choice:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.schedule-field { margin-top: 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px; font-weight: 500; }
.alert-error { background: #fbe9e6; color: var(--red-dark); border: 1px solid #f0c3ba; }
.alert-error ul { margin: 6px 0 0; padding-left: 20px; font-weight: 400; }
.alert-info { background: var(--cream-2); color: var(--ink); }
.alert-ok { background: #e6f2e8; color: var(--ok); border: 1px solid #b9dcc0; }

.summary h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary h3 .jp { font-size: .85rem; color: var(--ink-2); }
.lines { list-style: none; margin: 0 0 16px; padding: 0; }
.lines li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.lines .line-name { font-weight: 600; }
.lines .line-meta { color: var(--ink-2); font-size: .88rem; display: flex; align-items: center; gap: 10px; }
.lines .line-total { font-weight: 600; font-variant-numeric: tabular-nums; }
.lines .stepper { padding: 2px; }
.lines .stepper button { width: 44px; height: 44px; font-size: 1.1rem; }
.empty-cart { text-align: center; padding: 18px 0 8px; color: var(--ink-2); }
.empty-cart img { width: 110px; margin: 0 auto 10px; opacity: .9; }
.totals { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 8px 0; font-variant-numeric: tabular-nums; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; padding-left: 12px; text-align: right; font-weight: 600; }
.totals .grand { font: 500 1.55rem var(--font-head); color: var(--red); padding-top: 10px; border-top: 2px solid var(--ink); }
.totals dt.grand { color: var(--ink); }
.totals dd.grand { font: 700 1.35rem var(--font-body); }
.summary-errors { list-style: none; padding: 0; margin: 12px 0 0; color: var(--red); font-size: .9rem; }
.summary .btn { margin-top: 20px; }
.summary-note { font-size: .85rem; color: var(--ink-2); margin: 12px 0 0; text-align: center; }

/* ---------- story ---------- */
.story { display: grid; gap: 20px; align-items: center; }
.story-art { background: var(--cream-2); border-radius: var(--radius); padding: 24px; display: grid; place-items: center; }
.story-art img { width: min(100%, 180px); height: auto; }
@media (min-width: 900px) { .story-art { padding: 36px; } .story-art img { width: min(100%, 300px); } }
.story blockquote { margin: 24px 0 0; padding: 18px 22px; border-left: 4px solid var(--red); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font: 500 1.15rem/1.5 var(--font-head); }
@media (min-width: 900px) { .story { grid-template-columns: .9fr 1.1fr; gap: 56px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--red); color: var(--cream); padding: 56px 0 28px; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid img { height: 64px; width: auto; }
.footer-grid h2 { font-size: 1.05rem; font-family: var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blush); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid li { display: flex; gap: 10px; align-items: flex-start; }
.footer-grid li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(243 239 234 / 20%); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: #f3dcd3; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* ---------- mobile cart bar ---------- */
.cartbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; background: var(--ink); color: var(--cream); border-radius: 999px; box-shadow: 0 10px 30px rgb(43 18 16 / 30%); text-decoration: none; }
.cartbar[hidden] { display: none; }
.cartbar:hover { color: var(--cream); }
.cartbar strong { font-variant-numeric: tabular-nums; }
.cartbar .btn { min-height: 44px; padding: 8px 18px; }
@media (min-width: 960px) { .cartbar { display: none; } body.has-cartbar { padding-bottom: 0; } }

/* ---------- order status page ---------- */
.thanks { text-align: center; padding: 56px 0 24px; }
.thanks img { width: 150px; margin: 0 auto 16px; }
.thanks .code { display: inline-block; margin-top: 8px; padding: 8px 18px; border-radius: 999px; background: var(--red); color: var(--cream); font: 700 1.1rem var(--font-body); letter-spacing: .06em; }
.steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: step; }
.steps li { text-align: center; font-size: .78rem; color: var(--ink-2); position: relative; padding-top: 34px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--cream-2); color: var(--ink-2); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.steps li.done::before { background: var(--red); color: var(--cream); content: "✓"; }
.steps li.current { color: var(--ink); font-weight: 700; }
.steps li.current::before { background: var(--red); color: var(--cream); box-shadow: 0 0 0 4px rgb(155 0 0 / 18%); }
.detail-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0; }
.detail-list dt { color: var(--ink-2); }
.detail-list dd { margin: 0; font-weight: 500; }
.order-wrap { display: grid; gap: 20px; max-width: 920px; margin: 0 auto; padding-bottom: 72px; }
.bank-box { border: 2px dashed var(--red); border-radius: var(--radius-sm); padding: 18px; background: #fff8f6; white-space: pre-line; }
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--cream-2); color: var(--ink); }
.badge-new { background: var(--red); color: var(--cream); }
.badge-done { background: #e6f2e8; color: var(--ok); }
.badge-cancelled { background: #eee; color: #555; text-decoration: line-through; }

/* ---------- error page ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.error-page img { width: 160px; margin: 0 auto 20px; }
.error-page .status { font: 500 4rem/1 var(--font-head); color: var(--red); margin: 0; }

@media print {
  .site-header, .site-footer, .cartbar, .no-print { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}

/* ---------- dish card links ---------- */
a.dish-media { text-decoration: none; }
.dish-body h4 a { color: inherit; text-decoration: none; }
.dish-body h4 a:hover { color: var(--red); text-decoration: underline; }

/* ---------- dish detail ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 auto; padding-top: 14px; padding-bottom: 14px; font-size: .85rem; color: var(--ink-2); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.pdp-section { padding-bottom: 48px; }
.pdp { display: grid; gap: 20px; align-items: start; }
.pdp-media { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--red); color: var(--cream); display: grid; place-items: center; box-shadow: var(--shadow); }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-media .dish-kanji { font-size: clamp(7rem, 30vw, 12rem); }
.pdp.is-soldout .pdp-media { filter: grayscale(.85); }
.pdp-media .dish-soldout { top: 16px; left: 16px; font-size: .85rem; padding: 4px 14px; }
.pdp-info .eyebrow { margin-bottom: 8px; }
.pdp-info h1 { font-size: clamp(2.25rem, 9vw, 3.6rem); margin-bottom: .2em; }
.pdp-price { font-size: 1.6rem; margin: 0 0 12px; }
.pdp-desc { font-size: 1.05rem; color: var(--ink-2); }
.pdp-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0 24px; }
.pdp-buy .add-btn { min-height: 52px; padding: 12px 28px; font-size: 1.05rem; }
.pdp-buy .stepper button { width: 48px; height: 48px; }
.pdp-buy .stepper output { min-width: 36px; font-size: 1.1rem; }
.pdp-facts { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.pdp-facts li { display: flex; gap: 12px; align-items: flex-start; }
.pdp-facts svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--red); }
.pdp-gifts { background: #fff; border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow); }
.pdp-gifts h2 { font-size: 1.25rem; display: flex; gap: 10px; align-items: baseline; }
.pdp-gifts h2 .jp { font-size: .8rem; color: var(--ink-2); text-transform: none; }
.pdp-gifts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-gifts li { background: var(--cream); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 500; }
@media (min-width: 860px) {
  .pdp { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; }
  .pdp-media { position: sticky; top: calc(var(--header-h) + 20px); }
  .pdp-info { padding-top: 12px; }
  .pdp-section { padding-bottom: 72px; }
}
