/* Sushi Sweet Paris — menu page styles */

:root {
  --bg: #fbf3f3;
  --card: #ffffff;
  --photo: #fff0d6;
  --ink: #3d2a24;
  --muted: #76615b;          /* ≥ 4.5:1 on white and on --bg */
  --rose: #d4677f;
  --rose-dark: #b0465f;      /* ≥ 4.5:1 on --rose-soft for small labels */
  --rose-soft: #f8dfe4;
  --cream: #fff4e6;
  --line: #f0e2e2;
  --radius: 22px;
  --shadow: 0 2px 14px rgba(120, 60, 70, .07);
  --shadow-lg: 0 18px 44px rgba(120, 60, 70, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hh: 64px;
  --sans: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Dancing Script has no Cyrillic: Cyrillic glyphs fall through to Marck Script */
  --script: "Dancing Script", "Marck Script", cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scrollbar-gutter: stable; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: hidden }
body.lock { overflow: hidden }
img { display: block; max-width: 100%; height: auto }
a { color: inherit }
button { font: inherit; color: inherit }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px }
::selection { background: var(--rose-soft) }

/* scrollbar — Chrome / Edge / Safari: rounded rose pill with a cream border so it floats on the page */
::-webkit-scrollbar { width: 12px; height: 12px }
::-webkit-scrollbar-track { background: var(--bg) }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #eba3b4, var(--rose) 45%, var(--rose-dark)); border-radius: 999px; border: 3px solid var(--bg); min-height: 48px }
::-webkit-scrollbar-thumb:hover { background: var(--rose-dark) }
::-webkit-scrollbar-thumb:active { background: #963a50 }
::-webkit-scrollbar-corner { background: var(--bg) }
/* Firefox has no ::-webkit-scrollbar: use the standard properties there only
   (in Chrome they would override the prettier rules above) */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: var(--rose) var(--bg) }
}
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600 }
.skip:focus { top: 12px }

/* progress */
#progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--rose), #f2a65a); transform-origin: 0 50%; transform: scaleX(0); z-index: 60 }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; height: var(--hh); background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(120, 60, 70, .06) }
.bar { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 12px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--rose-soft); transition: transform .5s var(--ease) }
.brand:hover img { transform: rotate(-12deg) scale(1.06) }
.brand b { font-family: var(--script); font-size: 28px; font-weight: 700; color: var(--rose); line-height: 1 }
.brand small { display: block; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--ink); margin-top: 2px; padding-left: 2px }
.bar-actions { display: flex; gap: 8px; align-items: center }

/* buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--rose); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px 20px; border-radius: 999px; border: 0; cursor: pointer; transition: background .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap }
.btn:hover { background: var(--rose-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212, 103, 127, .35) }
.btn:active { transform: translateY(0) scale(.97) }
.btn svg { width: 18px; height: 18px; flex: none }
.btn.ghost { background: #fff; color: var(--rose-dark); box-shadow: inset 0 0 0 1.5px var(--rose-soft) }
.btn.ghost:hover { background: var(--rose-soft) }
.btn.icon { padding: 11px }
.btn.shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.2s 1.2s infinite; pointer-events: none }
@keyframes shine { 0%, 60% { transform: translateX(-100%) } 100% { transform: translateX(100%) } }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .5); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none }
@keyframes ripple { to { transform: scale(4); opacity: 0 } }

/* hero */
.hero { margin: 22px auto 0; background: linear-gradient(120deg, #fde3e9 0%, #fff2e4 60%, #fde9ee 100%); background-size: 200% 200%; animation: grad 14s ease infinite; border-radius: 32px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; overflow: hidden; position: relative; isolation: isolate }
@keyframes grad { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } }
.blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; z-index: -1; animation: blob 16s ease-in-out infinite }
.blob.a { width: 340px; height: 340px; background: #f7b9c6; top: -120px; left: -80px }
.blob.b { width: 280px; height: 280px; background: #ffd9a8; bottom: -120px; right: 30%; animation-delay: -6s }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1) } 33% { transform: translate(40px, 30px) scale(1.1) } 66% { transform: translate(-20px, 50px) scale(.95) } }
.petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0 }
.petal { position: absolute; top: -30px; width: 14px; height: 10px; background: linear-gradient(135deg, #f9c3cf, #ef8fa5); border-radius: 14px 0 14px 0; opacity: .85; animation: fall linear infinite }
.petal.heart { background: none; width: auto; height: auto; color: #ef8fa5; font-size: 14px; border-radius: 0 }
@keyframes fall { 0% { transform: translate(0, -20px) rotate(0) } 25% { transform: translate(18px, 25vh) rotate(90deg) } 50% { transform: translate(-14px, 50vh) rotate(180deg) } 75% { transform: translate(16px, 75vh) rotate(270deg) } 100% { transform: translate(0, 105vh) rotate(360deg) } }

.hero-text { padding: 56px 24px 56px 56px; position: relative; z-index: 1 }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 12px; font-weight: 600; box-shadow: var(--shadow); margin-bottom: 18px }
.eyebrow i { font-style: normal; background: var(--rose); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: 11px; letter-spacing: .06em }
.hero h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; margin: 0 0 16px; font-weight: 900; letter-spacing: -.025em }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .08em }
.hero h1 .ln > span { display: inline-block; transform: translateY(110%); animation: up .9s var(--ease) forwards }
.hero h1 .ln:nth-child(2) > span { animation-delay: .12s }
.hero h1 em { font-family: var(--script); font-style: normal; color: var(--rose); font-weight: 700; font-size: 1.18em }
@keyframes up { to { transform: none } }
.fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp .8s var(--ease) forwards }
.d1 { animation-delay: .05s } .d2 { animation-delay: .35s } .d3 { animation-delay: .5s } .d4 { animation-delay: .65s }
@keyframes fadeUp { to { opacity: 1; transform: none } }
.hero p { margin: 0 0 26px; color: var(--muted); font-size: 16px; max-width: 430px }
.hero .actions { display: flex; gap: 10px; flex-wrap: wrap }
.stats { display: flex; gap: 28px; margin: 30px 0 0; flex-wrap: wrap }
.stats div { display: flex; flex-direction: column; margin: 0 }
.stats dt { order: 2; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 4px }
.stats dd { order: 1; margin: 0; font-size: 30px; font-weight: 900; color: var(--rose-dark); line-height: 1; font-variant-numeric: tabular-nums }

.hero-art { position: relative; padding: 34px 34px 34px 0; perspective: 900px; z-index: 1 }
.hero-main { border-radius: 26px; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; transform: rotate(2deg); transition: transform .25s ease-out; opacity: 0; animation: pop 1s .25s var(--ease) forwards }
.hero-main.ready { opacity: 1; animation: none }
@keyframes pop { from { opacity: 0; transform: rotate(8deg) scale(.9) } to { opacity: 1; transform: rotate(2deg) scale(1) } }
.float { position: absolute; background: #fff; border: 0; border-radius: 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; font-size: 13px; font-weight: 700; text-align: left; animation: bob 5s ease-in-out infinite; cursor: pointer; transition: scale .2s }
.float:hover { scale: 1.05 }
.float img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; background: var(--photo) }
.float small { display: block; font-weight: 600; color: var(--rose-dark); font-size: 12px }
.float.f1 { left: -28px; bottom: 70px }
.float.f2 { right: 14px; top: 14px; animation-delay: -2.5s }
@keyframes bob { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

/* marquee */
.marquee { margin: 26px 0 0; background: var(--ink); color: #fff; overflow: hidden; transform: rotate(-1.2deg); box-shadow: var(--shadow) }
.marquee .track { display: flex; width: max-content; animation: marq 28s linear infinite }
.marquee span { font-weight: 800; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; padding: 14px 22px; white-space: nowrap }
.marquee span.s { font-family: var(--script); text-transform: none; letter-spacing: 0; font-size: 24px; color: #f7b9c6; padding: 8px 22px }
@keyframes marq { to { transform: translateX(-50%) } }

/* search toolbar */
.toolbar { position: sticky; top: var(--hh); z-index: 25; margin-top: 30px; padding: 10px 0; background: linear-gradient(var(--bg) 70%, rgba(251, 243, 243, 0)) }
.search { display: block; position: relative }
.search input { width: 100%; border: 0; background: #fff; border-radius: 999px; padding: 13px 44px 13px 46px; font: inherit; font-size: 16px; color: var(--ink); box-shadow: var(--shadow); outline: none; transition: box-shadow .2s; -webkit-appearance: none; appearance: none }
.search input::placeholder { color: var(--muted) }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none }
.search input:focus { box-shadow: 0 0 0 3px var(--rose-soft), var(--shadow) }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none }
.search .clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: var(--rose-soft); color: var(--rose-dark); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: none; font-size: 18px; line-height: 1 }
.search.has .clear { display: block }
.result { font-size: 13px; color: var(--muted); margin: 6px 4px 0; min-height: 18px }

/* sections */
.menu-section { padding-top: 34px; scroll-margin-top: calc(var(--hh) + 70px) }
.hidden { display: none !important }
.sec-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; flex-wrap: wrap }
.sec-head h2 { margin: 0; font-size: 27px; font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; position: relative; padding-bottom: 6px }
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--rose), #f2a65a); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s .15s var(--ease) }
.sec-head.in h2::after { transform: scaleX(.45) }
.sec-head .count { color: var(--muted); font-size: 14px }
.sec-head .em { font-family: var(--script); color: var(--rose); font-size: 26px; font-weight: 700 }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.grid.sets { grid-template-columns: repeat(3, 1fr) }

/* cards */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s; outline: none; position: relative }
.card:hover, .card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg) }
.card:focus-visible { box-shadow: 0 0 0 3px var(--rose), var(--shadow-lg) }
.ph { position: relative; background: var(--photo); aspect-ratio: 4 / 3; margin: 10px 10px 0; border-radius: 16px; overflow: hidden }
.sets .ph { aspect-ratio: 1 / 1 }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease) }
.card:hover .ph img { transform: scale(1.07) rotate(-1deg) }
.ph .view { position: absolute; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(8px); transition: .3s var(--ease) }
.card:hover .ph .view { opacity: 1; transform: none }
.badge { position: absolute; top: 10px; left: 10px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; overflow: hidden; z-index: 1 }
.badge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); transform: translateX(-100%); animation: shine 2.6s infinite }
.body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1 }
.card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em }
.meta { font-size: 12px; font-weight: 700; color: var(--rose-dark); margin: 0 0 6px }
.ing { margin: 0; color: var(--muted); font-size: 13px }
.ing.list { padding-left: 16px }
.ing.list li { margin: 1px 0 }
.opts { margin: 8px 0 0; font-size: 12.5px }
.opts b { font-weight: 700 }
.foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; gap: 8px }
.price { font-size: 24px; font-weight: 900; letter-spacing: -.01em }
.price small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-top: 2px }
.qty { white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--rose-dark); background: var(--rose-soft); padding: 6px 12px; border-radius: 999px; transition: background .25s, color .25s }
.card:hover .qty { background: var(--rose); color: #fff }
mark { background: #ffe08a; color: inherit; border-radius: 3px; padding: 0 1px }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s) }
.reveal.in { opacity: 1; transform: none }
.card.reveal.in:hover { transform: translateY(-6px) }

/* new items strip */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: none }
.strip::-webkit-scrollbar { display: none }
.strip .card { scroll-snap-align: start }
.strip .ing { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
/* the row is inset by 64px on each side; the arrows live in those gutters so they never cover a card */
.strip-wrap { position: relative; padding: 0 64px }
/* side arrows, vertically centred on the cards (the strip has 4px top / 18px bottom padding) */
.strip-nav { position: absolute; top: calc(50% - 7px); z-index: 3; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--shadow-lg); cursor: pointer; display: grid; place-items: center; transform: translateY(-50%); transition: opacity .25s, background .2s, color .2s, transform .2s var(--ease) }
.strip-nav.prev { left: 4px }
.strip-nav.next { right: 4px }
.strip-nav:hover { background: var(--rose); color: #fff; transform: translateY(-50%) scale(1.08) }
.strip-nav.off { opacity: 0; pointer-events: none }
.strip-nav svg { width: 20px; height: 20px }

.empty { display: none; text-align: center; padding: 60px 16px; color: var(--muted) }
.empty.show { display: block; animation: fadeUp .5s var(--ease) }
.empty .big { font-size: 52px; margin-bottom: 8px; display: inline-block; animation: wobble 2s ease-in-out infinite }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg) } 50% { transform: rotate(8deg) } }

/* delivery */
.dgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.dcard { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; gap: 16px; align-items: flex-start; transition: transform .35s var(--ease), box-shadow .35s var(--ease) }
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg) }
.dic { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #e48aa0, var(--rose-dark)); box-shadow: 0 8px 20px rgba(212, 103, 127, .35) }
.dic svg { width: 26px; height: 26px }
.dcard h3 { margin: 2px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
.dcard p { margin: 0; color: var(--muted); font-size: 14px }
.dcard .dbig { color: var(--ink); font-size: 18px; font-weight: 800; line-height: 1.25; margin-bottom: 4px }

/* noscript fallback */
.noscript { margin: 30px 0; padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center }

/* CTA */
.cta { margin: 60px auto 0; border-radius: 32px; background: var(--ink); color: #fff; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 34px 40px; position: relative; overflow: hidden }
.cta::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 103, 127, .55), transparent 65%); right: -100px; top: -160px; animation: blob 12s ease-in-out infinite }
.cta img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); animation: spin 26s linear infinite }
@keyframes spin { to { transform: rotate(360deg) } }
.cta h2 { margin: 0 0 6px; font-size: 26px; font-weight: 900 }
.cta h2 em { font-family: var(--script); font-style: normal; color: #f7b9c6; font-size: 1.2em }
.cta p { margin: 0; color: rgba(255, 255, 255, .78) }
.cta .actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative }
.cta .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35) }
.cta .btn.ghost:hover { background: rgba(255, 255, 255, .1) }

.site-footer { margin-top: 40px; background: #fff; border-top: 1px solid var(--line) }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 16px }
.foot-in p { margin: 0; color: var(--muted); font-size: 13px }

/* floating buttons + jump menu */
.fabs { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; align-items: flex-end }
.fab { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--rose); color: #fff; box-shadow: 0 10px 26px rgba(212, 103, 127, .45); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease), opacity .3s, background .2s }
.fab:hover { background: var(--rose-dark); transform: scale(1.08) }
.fab svg { width: 22px; height: 22px }
.fab.top { background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; visibility: hidden }
.fab.top.show { opacity: 1; transform: none; pointer-events: auto; visibility: visible }
.jump { position: fixed; right: 18px; bottom: 84px; z-index: 41; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 10px; width: 260px; transform-origin: 100% 100%; transform: scale(.6); opacity: 0; visibility: hidden; transition: .3s var(--ease) }
.jump.open { transform: none; opacity: 1; visibility: visible }
.jump b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 6px 10px 8px }
.jump a { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 14px; transition: background .15s, padding .2s }
.jump a:hover { background: var(--rose-soft); padding-left: 14px }
.jump a span { font-size: 12px; color: var(--muted); font-weight: 500 }

/* dish modal — fixed size for every item; only the text column scrolls */
.modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 16px; visibility: hidden }
.modal.open { visibility: visible }
.modal .back { position: absolute; inset: 0; background: rgba(40, 20, 22, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s }
.modal.open .back { opacity: 1 }
.sheet { position: relative; background: #fff; border-radius: 28px; width: min(940px, 100%); height: min(580px, calc(100vh - 32px)); overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 100%; box-shadow: 0 30px 80px rgba(40, 20, 22, .35); opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .35s var(--ease), transform .35s var(--ease) }
.modal.open .sheet { opacity: 1; transform: none }
.sheet .mph { background: var(--photo); position: relative; height: 100%; min-height: 0; overflow: hidden }
.sheet .mph img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; animation: zoomIn .5s var(--ease) }
@keyframes zoomIn { from { opacity: 0; transform: scale(1.06) } to { opacity: 1; transform: none } }
.sheet .mbody { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 30px 28px 26px; display: flex; flex-direction: column; animation: fadeIn .45s var(--ease) }
.sheet .mbody::-webkit-scrollbar { display: none }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.sheet h3 { margin: 0 0 8px; padding-right: 40px; font-size: 28px; font-weight: 900; text-transform: uppercase; line-height: 1.1 }
.sheet .mmeta { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap }
.sheet .mprice { font-size: 34px; font-weight: 900; color: var(--rose-dark) }
.sheet .mprice small { display: block; font-size: 13px; font-weight: 600; color: var(--muted) }
.sheet .mabout { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55 }
.sheet h4 { margin: 14px 0 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted) }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none }
.tags li, .tags button { background: var(--cream); border: 0; border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600 }
.tags li:has(button) { padding: 0; background: none }
.tags button { cursor: pointer; background: var(--rose-soft); color: var(--rose-dark); transition: background .2s, color .2s, transform .2s }
.tags button:hover { background: var(--rose); color: #fff; transform: translateY(-2px) }
.sheet .mopts { font-size: 13.5px; color: var(--muted); margin: 0; padding-left: 18px }
.sheet .mopts b { color: var(--ink) }
.sheet .mact { display: flex; gap: 10px; margin-top: auto; padding-top: 24px; flex-wrap: wrap; position: sticky; bottom: -26px; margin-bottom: -26px; padding-bottom: 26px; background: linear-gradient(rgba(255, 255, 255, 0), #fff 22%) }
.sheet .mact .btn { flex: 1 }
.mclose, .mnav { position: absolute; border: 0; background: #fff; border-radius: 50%; width: 42px; height: 42px; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-lg); z-index: 2; transition: transform .2s, background .2s }
.mclose { top: 14px; right: 14px; font-size: 22px }
.mclose:hover { transform: rotate(90deg); background: var(--rose-soft) }
.mnav { top: 50%; transform: translateY(-50%) }
.mnav:hover { background: var(--rose); color: #fff }
.mnav.prev { left: 14px }
.mnav.next { right: 14px }
.mnav svg { width: 18px; height: 18px }
.mcount { position: absolute; left: 16px; bottom: 14px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 700; z-index: 2 }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); transform: translate(-50%, 120px); transition: transform .4s var(--ease); max-width: calc(100% - 32px); text-align: center }
.toast.show { transform: translate(-50%, 0) }

/* 404 */
.nf { min-height: calc(100vh - var(--hh)); display: grid; place-items: center; text-align: center; padding: 40px 16px }
.nf img { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 18px; box-shadow: 0 0 0 6px #fff, var(--shadow-lg) }
.nf h1 { margin: 0 0 8px; font-size: 64px; font-weight: 900; color: var(--rose) }
.nf p { margin: 0 0 24px; color: var(--muted) }

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr) }
  .grid.sets { grid-template-columns: repeat(2, 1fr) }
  .dgrid { grid-template-columns: repeat(2, 1fr) }
  .float.f1 { left: 8px }
}
@media (max-width: 760px) {
  :root { --hh: 60px }
  .hero { grid-template-columns: 1fr; border-radius: 26px }
  .hero-text { padding: 30px 20px 6px }
  .hero-art { padding: 18px 22px 26px }
  .float.f1 { left: 4px; bottom: 110px }
  .float.f2 { right: 6px; top: auto; bottom: 40px }
  .float img { width: 44px; height: 44px }
  .stats { gap: 18px }
  .stats dd { font-size: 24px }
  .grid, .grid.sets { grid-template-columns: repeat(2, 1fr); gap: 12px }
  .sec-head h2 { font-size: 21px }
  .brand b { font-size: 24px }
  .brand img { width: 40px; height: 40px }
  .hide-sm { display: none !important }
  .cta { grid-template-columns: 1fr; text-align: center; padding: 30px 22px; justify-items: center }
  .cta .actions { justify-content: center }
  .modal { padding: 12px }
  .sheet { display: flex; flex-direction: column; height: min(720px, calc(100vh - 24px)); height: min(720px, calc(100dvh - 24px)); border-radius: 24px }
  .sheet .mph { flex: none; height: min(66vw, 40vh); height: min(66vw, 40dvh) }
  .sheet .mbody { flex: 1; padding: 22px 20px 20px }
  .sheet .mact { bottom: -20px; margin-bottom: -20px; padding-bottom: 20px }
  .sheet h3 { font-size: 22px }
  .mcount { left: 50%; transform: translateX(-50%) }
  .strip { grid-auto-columns: 72% }
  /* phones: no room for side gutters — the row is swiped, the half-visible next card hints at it */
  .strip-wrap { padding: 0 }
  .strip-nav { display: none }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr }
  .grid:not(.sets) .card { flex-direction: row }
  .grid:not(.sets) .ph { width: 42%; flex: none; margin: 10px 0 10px 10px; aspect-ratio: auto; min-height: 120px }
  .grid:not(.sets) .body { padding: 12px 14px }
  .grid.sets { grid-template-columns: 1fr }
  .dgrid { grid-template-columns: 1fr; gap: 12px }
  .dcard { padding: 18px }
  .card h3 { font-size: 15px }
  .price { font-size: 20px }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important }
  .petals, .blob { display: none }
  .reveal { opacity: 1; transform: none }
}
.nw { white-space: nowrap }
