/* The Meaty Spot — visual system
   Butcher red on warm ivory, with deep wine for the dark bands. One accent colour, products as the picture.
   Fraunces for display, Manrope for everything read at length. */

:root {
  --red: #8c1d1b;
  --red-2: #a52a24;
  --red-deep: #5f1413;
  --wine: #2b0f0e;
  --wine-2: #3a1513;
  --blush: #f3e2dc;
  --rose: #e3b4a8;
  --cream: #f8f3ec;
  --paper: #fffdfa;
  --ink: #1f1614;
  --muted: #6f625b;
  --line: #e6dbd0;
  --line-dark: rgba(227, 180, 168, .2);
  --whatsapp: #1f8f54;
  --radius: 20px;
  --radius-small: 12px;
  --shadow: 0 1px 2px rgba(31, 22, 20, .06), 0 12px 32px -14px rgba(31, 22, 20, .2);
  --shadow-lift: 0 2px 4px rgba(31, 22, 20, .08), 0 24px 48px -18px rgba(31, 22, 20, .34);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--text); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
body.has-cart { padding-bottom: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; font-optical-sizing: auto; }
p { margin: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.shell { width: min(1200px, 100% - 40px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { left: 8px; }

.icon { display: inline-grid; place-items: center; width: 1.15em; height: 1.15em; flex: none; }
.icon svg { width: 100%; height: 100%; }

.eyebrow { font: 700 .72rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow--light { color: var(--rose); }
.fine { font-size: .8rem; line-height: 1.5; color: var(--muted); }

/* ---------- buttons ---------- */

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font: 700 .92rem/1 var(--text); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.button:active { transform: translateY(1px); }
.button--primary, .button--dark { background: var(--red); color: #fff; }
.button--primary:hover, .button--dark:hover { background: var(--red-deep); }
.button--primary .icon { transition: transform .25s var(--ease); }
.button--primary:hover .icon { transform: translateX(3px); }
.button--line { border-color: var(--red); color: var(--red); background: transparent; }
.button--line:hover { background: var(--blush); }
.button--whatsapp { width: 100%; background: var(--whatsapp); color: #fff; min-height: 54px; font-size: 1rem; }
.button--whatsapp:hover { background: #18764a; }
.button--whatsapp[aria-disabled="true"] { background: #b9b1a8; cursor: not-allowed; pointer-events: none; }
.button--add { min-height: 40px; padding: 0 18px; font-size: .85rem; gap: 6px; }
.button--add.button--large { min-height: 52px; padding: 0 30px; font-size: .95rem; }
.text-link { color: var(--red); font-weight: 700; font-size: .9rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--red-deep); }
.text-button { background: none; border: 0; padding: 4px; color: var(--muted); font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: center; }
.text-button:hover { color: var(--red); }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .25s, color .25s; }
.icon-button:hover { border-color: var(--red); color: var(--red); }
.icon-button .icon { width: 20px; height: 20px; }

/* ---------- header ---------- */

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 253, 250, .92); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.nav { height: var(--header); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text b { font: 600 1.15rem/1.1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.brand-text small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover { color: var(--red); border-bottom-color: var(--red); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-button { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 700; font-size: .9rem; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.cart-button:hover { border-color: var(--red); color: var(--red); }
.cart-button .icon { width: 19px; height: 19px; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; }
.badge.is-bumped { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- logo seal ---------- */

.seal { position: relative; display: grid; place-items: center; border-radius: 50%; background: #fff; overflow: hidden; flex: none; }
.seal img { width: 100%; height: 100%; object-fit: cover; }
.seal--small { width: 46px; height: 46px; box-shadow: 0 0 0 1px var(--line); }
.seal--footer { width: 72px; height: 72px; box-shadow: 0 0 0 1px var(--line-dark); }
.seal-fallback { font: 600 1.6rem/1.1 var(--display); color: var(--red); text-align: center; padding: 20px; }
.seal.has-logo .seal-fallback { display: none; }

/* ---------- hero ---------- */

.hero { background: var(--cream); padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(36px, 6vw, 96px); }
.hero h1 { font-size: clamp(2.8rem, 5.4vw, 5rem); font-weight: 400; line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--red); font-weight: 400; }
.hero-lede { margin: 24px 0 30px; max-width: 32em; font-size: 1.1rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* Product tiles: what is on the counter, straight from the catalogue. */
.hero-showcase { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 520px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 22px; background: var(--blush); text-decoration: none; box-shadow: var(--shadow); }
.tile--1 { grid-row: 1 / span 2; }
/* Large screens: the third featured product (Chicken Capon) takes the tall slot. */
@media (min-width: 1001px) {
  .tile--3 { grid-column: 1; grid-row: 1 / span 2; }
  .tile--1 { grid-column: 2; grid-row: 1; }
  .tile--2 { grid-column: 2; grid-row: 2; }
}
.tile img, .tile .placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.tile img { opacity: 0; }
.tile img.is-loaded { opacity: 1; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, rgba(43, 15, 14, .6)); pointer-events: none; }
.tile-label { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 2px; color: #fff; }
.tile-label b { font: 500 1.1rem/1.2 var(--display); }
.tile-label small { font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: rgba(255, 255, 255, .85); }

.hero-mark { display: grid; place-items: center; width: min(100%, 420px); justify-self: center; }
.seal--hero { width: 100%; aspect-ratio: 1; box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); }
.seal--hero img { object-fit: contain; padding: 4%; opacity: 0; transition: opacity .5s; }
.seal--hero.has-logo img { opacity: 1; }

/* ---------- sections ---------- */

.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-head--center { text-align: center; }

.shop { padding: 56px 0 96px; }
.search { position: relative; display: flex; align-items: center; width: min(560px, 100%); margin-bottom: 8px; }
.search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.search input { width: 100%; height: 50px; padding: 0 20px 0 48px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font: 500 .95rem var(--text); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(140, 29, 27, .12); }
.toolbar { position: sticky; top: var(--header); z-index: 20; margin: 0 -20px 8px; padding: 12px 20px; background: linear-gradient(180deg, var(--cream) 70%, rgba(248, 243, 236, 0)); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: .88rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--red); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.results { font-size: .85rem; color: var(--muted); margin: 6px 0 20px; min-height: 1.4em; }

/* ---------- product cards ---------- */

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card.is-in-cart { box-shadow: 0 0 0 1.5px var(--red), var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--blush); overflow: hidden; cursor: zoom-in; }
.card-media img, .card-media .placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.card-media img { opacity: 0; }
.card-media img.is-loaded { opacity: 1; }
.card:hover .card-media img { transform: scale(1.05); }
.card-view { position: absolute; left: 50%; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(43, 15, 14, .78); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; transform: translate(-50%, 8px); opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease); backdrop-filter: blur(6px); }
.card:hover .card-view, .card-media:focus-visible .card-view { opacity: 1; transform: translate(-50%, 0); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 18px; flex: 1; }
.card-category { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.card-title { font-size: 1.22rem; font-weight: 500; }
.card-title button { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font: inherit; line-height: 1.2; }
.card-title button:hover { color: var(--red); }
.card-size { font-size: .85rem; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; }
.price { font: 600 1.15rem/1 var(--text); letter-spacing: -.01em; white-space: nowrap; }
.price span { font-size: .78rem; font-weight: 600; color: var(--muted); }

.placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--red-deep), var(--red)); color: var(--blush); font: italic 400 3.4rem/1 var(--display); }

/* ---------- stepper ---------- */

.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: var(--red); color: #fff; padding: 3px; }
.stepper button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; transition: background-color .2s, color .2s; }
.stepper button:hover:not(:disabled) { background: rgba(255, 255, 255, .16); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper .icon { width: 16px; height: 16px; }
.stepper output { min-width: 3.2em; text-align: center; font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums; }
.stepper--large { padding: 4px; }
.stepper--large button { width: 46px; height: 46px; }
.stepper--large output { min-width: 4.2em; font-size: 1.05rem; }
.stepper--small { background: transparent; color: var(--ink); border: 1px solid var(--line); padding: 2px; }
.stepper--small button { width: 30px; height: 30px; }
.stepper--small button:hover:not(:disabled) { background: var(--blush); color: var(--red); }
.stepper--small output { min-width: 2.8em; font-size: .85rem; }

/* ---------- how ---------- */

.how { padding: 100px 0; color: var(--cream); background: radial-gradient(50% 80% at 50% 0%, rgba(165, 42, 36, .4), transparent 70%), var(--wine); }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { padding: 34px 30px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(248, 243, 236, .03); }
.step-number { display: block; font: italic 400 2.6rem/1 var(--display); color: var(--rose); margin-bottom: 22px; }
.steps h3 { font-size: 1.45rem; margin-bottom: 10px; }
.steps p { color: rgba(248, 243, 236, .7); font-size: .95rem; }

/* ---------- footer ---------- */

.site-footer { background: #1d0a09; color: rgba(248, 243, 236, .72); padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand div { display: grid; }
.footer-brand b { font: 500 1.35rem/1.2 var(--display); color: var(--cream); }
.footer-brand span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.footer-contact { display: grid; gap: 6px; font-size: .85rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); font-weight: 700; font-size: 1rem; text-decoration: none; }
.footer-contact a:hover { color: var(--rose); }
.to-top { font-size: .85rem; text-decoration: none; color: var(--rose); }

/* ---------- dialogs ---------- */

dialog { border: 0; padding: 0; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgba(29, 10, 9, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 253, 250, .92); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); transition: background-color .2s, color .2s; }
.dialog-close:hover { background: var(--red); color: #fff; }
.dialog-close .icon { width: 20px; height: 20px; }
.dialog-close--inline { position: static; box-shadow: none; background: var(--cream); }

.product-view { width: min(980px, 100% - 32px); max-height: min(720px, 100dvh - 32px); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .55); }
.product-view[open] { display: grid; grid-template-columns: 1.05fr 1fr; animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.pv-media { background: var(--blush); min-height: 360px; }
.pv-media img, .pv-media .placeholder { width: 100%; height: 100%; object-fit: cover; }
.pv-media img { opacity: 0; transition: opacity .4s; }
.pv-media img.is-loaded { opacity: 1; }
.pv-body { display: flex; flex-direction: column; gap: 10px; padding: 48px 40px 36px; overflow-y: auto; }
.pv-body h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.pv-body .eyebrow { margin-bottom: 4px; }
.pv-size { color: var(--muted); }
.pv-price { font: 600 1.6rem/1.2 var(--text); margin: 10px 0 6px; letter-spacing: -.01em; }
.pv-control { margin-top: 8px; }
.pv-line { min-height: 1.5em; font-size: .9rem; font-weight: 600; color: var(--red); }
.pv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin: 14px 0 auto; padding-bottom: 20px; }
.pv-body > .fine { padding-top: 18px; border-top: 1px solid var(--line); }

.drawer { position: fixed; inset: 0 0 0 auto; width: min(460px, 100%); height: 100dvh; max-height: none; max-width: none; margin: 0; border-radius: 24px 0 0 24px; display: none; flex-direction: column; box-shadow: -30px 0 80px -20px rgba(0, 0, 0, .45); }
.drawer[open] { display: flex; animation: slide .4s var(--ease); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 26px 20px; border-bottom: 1px solid var(--line); }
.drawer-head .eyebrow { margin-bottom: 6px; }
.drawer-head h2 { font-size: 1.8rem; }
/* Lines and the optional details scroll together; only the total and the send button stay pinned,
   so a short window still shows the order itself. */
.drawer-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.drawer-lines { padding: 6px 26px; }
.drawer-details { display: grid; gap: 14px; padding: 20px 26px 24px; }
.drawer-empty { display: grid; justify-items: center; gap: 16px; padding: 64px 0; text-align: center; color: var(--muted); }
.drawer-empty > .icon { width: 44px; height: 44px; color: var(--red); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-media { width: 76px; height: 92px; padding: 0; border: 0; border-radius: var(--radius-small); overflow: hidden; background: var(--blush); cursor: pointer; }
.line-media img, .line-media .placeholder { width: 100%; height: 100%; object-fit: cover; font-size: 1.6rem; }
.line-body { display: grid; gap: 3px; justify-items: start; }
.line-body b { font: 500 1.08rem/1.25 var(--display); }
.line-body span { font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.line-total { font-weight: 700; font-size: .95rem; white-space: nowrap; padding-top: 2px; }
.drawer-foot { flex: none; display: grid; gap: 12px; padding: 18px 26px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--cream); box-shadow: 0 -12px 24px -18px rgba(31, 22, 20, .25); }
.drawer-total { display: flex; align-items: baseline; justify-content: space-between; }
.drawer-total span { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.drawer-total strong { font: 600 1.6rem/1 var(--text); letter-spacing: -.01em; }
.field { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--paper); font: 500 .92rem/1.4 var(--text); color: var(--ink); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(140, 29, 27, .12); }

/* ---------- cart bar + toast ---------- */

.cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 22px; border: 0; border-radius: 999px; background: var(--wine); color: var(--cream); cursor: pointer; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); text-align: left; }
.cart-bar > span:first-child { display: grid; line-height: 1.2; }
.cart-bar b { font-size: .92rem; }
.cart-bar small { font-size: .8rem; color: var(--rose); }
.cart-bar-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--red-2); color: #fff; font-weight: 800; font-size: .85rem; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; display: flex; align-items: center; gap: 18px; max-width: calc(100% - 32px); padding: 12px 12px 12px 20px; border-radius: 999px; background: var(--wine); color: var(--cream); font-size: .88rem; font-weight: 600; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); transform: translate(-50%, 16px); opacity: 0; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast button { flex: none; border: 0; border-radius: 999px; padding: 8px 14px; background: var(--red-2); color: #fff; font-weight: 800; font-size: .8rem; cursor: pointer; }

/* ---------- loading ---------- */

/* Image shimmer: a light sweep over each picture frame until its image has loaded (or failed and been
   replaced by the letter placeholder), and over the logo seals until the logo arrives. */
.card-media, .line-media, .pv-media { position: relative; }
.line-media img { opacity: 0; transition: opacity .4s; }
.line-media img.is-loaded { opacity: 1; }
.seal.is-loading { background: var(--blush); }
:is(.card-media, .tile, .line-media, .pv-media):has(> img:not(.is-loaded))::before,
.seal.is-loading::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 253, 250, .7) 50%, transparent 75%) 0 0 / 200% 100%;
  animation: shimmer 1.4s linear infinite; }

.skeleton { border-radius: var(--radius); background: linear-gradient(100deg, #eee3d8 30%, #f8f3ec 50%, #eee3d8 70%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.card-skeleton { aspect-ratio: 4 / 6.2; }
@keyframes shimmer { to { background-position: -200% 0; } }
.notice { display: grid; justify-items: center; gap: 14px; padding: 40px 0; text-align: center; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-showcase { height: 420px; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header: 66px; }
  .shell { width: min(1200px, 100% - 28px); }
  .brand-text small { display: none; }
  .cart-button-label { display: none; }
  .cart-button { padding: 0 12px; }
  body.has-cart { padding-bottom: 88px; }
  body.has-cart .cart-bar { display: flex; }
  body.has-cart .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .hero { padding: 32px 0 44px; }
  .hero-lede { font-size: 1rem; margin: 18px 0 24px; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-showcase { height: 320px; gap: 10px; }
  .tile { border-radius: 16px; }
  .tile-label { left: 12px; right: 12px; bottom: 10px; }
  .tile-label b { font-size: .95rem; }
  .shop { padding: 32px 0 72px; }
  .search { width: 100%; }
  .toolbar { margin: 0 -14px 4px; padding: 10px 14px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 16px; }
  .card-body { padding: 12px 12px 14px; gap: 2px; }
  .card-category { font-size: .6rem; letter-spacing: .14em; }
  .card-title { font-size: 1rem; }
  .card-size { font-size: .78rem; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 10px; min-height: 0; }
  .price { font-size: 1rem; }
  .card-foot .control > * { width: 100%; }
  .card-foot .stepper { justify-content: space-between; }
  .card-view { display: none; }
  .how { padding: 72px 0; }
  .steps li { padding: 26px 22px; }
  .product-view { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .product-view[open] { grid-template-columns: 1fr; grid-template-rows: minmax(0, 46dvh) auto; overflow-y: auto; animation: sheet .35s var(--ease); }
  @keyframes sheet { from { transform: translateY(40px); opacity: 0; } }
  .pv-media { min-height: 0; }
  .pv-body { padding: 26px 22px calc(26px + env(safe-area-inset-bottom)); overflow: visible; }
  .pv-control .button--add, .pv-control .stepper { width: 100%; justify-content: space-between; }
  .pv-control .button--add { justify-content: center; }
  .drawer { width: 100%; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
