/* Freshora — single stylesheet: tokens, base, components, pages, responsive */
:root {
  --deep: #2A1230; --accent: #E03E1A; --ok: #1F8A4C; --bg: #fff; --white: #fff; --pop: #FFC53D; --ink: #17121A;
  --muted: #6B6570; --line: #E6E2E6; --soft: #F4F1F5; --danger: #b3402e;
  --r: 12px; --r-sm: 8px;
  --shadow: 0 22px 44px -26px rgba(42, 18, 48, .38);
  --display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; animation: page-in .45s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } }
img { display: block; max-width: 100%; background: var(--soft); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
main { min-height: 60vh; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; transition: transform .2s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover:not(:disabled) { background: #1c0b21; box-shadow: var(--shadow); }
.btn-accent { background: var(--pop); color: var(--ink); }
.btn-accent:hover { background: #ffd56b; }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(8px); }
.btn-light:hover { background: #fff; color: var(--deep); }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--soft); }
.link { font-weight: 600; color: var(--deep); border-bottom: 1px solid currentColor; }

/* announcement + nav */
.announce { background: var(--deep); color: #efe6f1; text-align: center; font-size: 13px; letter-spacing: .04em; padding: 8px 16px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { font-family: var(--display); font-size: 29px; font-weight: 800; letter-spacing: -.05em; text-transform: lowercase; color: var(--deep); }
.logo::after { content: '.'; color: var(--accent); }
.logo .ic { display: none; }
.links { display: flex; gap: 30px; margin-inline: auto; font-size: 15px; font-weight: 500; }
.links a { position: relative; padding: 6px 0; }
.links a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.links a:hover::after, .links a[aria-current]::after { transform: scaleX(1); }
.nav-actions { display: flex; gap: 4px; }
.menu-btn { display: none; }
.badge { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--pop); color: var(--ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.badge.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.5); } }

/* section scaffolding */
.section { padding: 84px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { color: var(--muted); max-width: 46ch; margin-top: 10px; }
.eyebrow { font-size: 14.500px; font-weight: 600; color: var(--accent); display: block; margin-bottom: 12px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* hero: copy block left, photograph right */
.hero { padding-top: 22px; }
.hero-frame { position: relative; min-height: min(78vh, 720px); border-radius: 16px; overflow: hidden; display: flex; align-items: center; background: var(--deep); }
.hero-frame > img { position: absolute; top: 0; right: 0; width: 58%; height: 100%; object-fit: cover; }
.hero-copy { color: #fff; width: 42%; padding: clamp(24px, 4vw, 56px); }
.hero-copy .eyebrow { color: var(--pop); }
.hero-copy h1 { font-size: clamp(38px, 4.700vw, 68px); line-height: 1; font-weight: 800; }
.hero-copy h1 em { font-style: normal; color: var(--pop); }
.hero-copy p { font-size: 18px; margin: 22px 0 32px; max-width: 36ch; color: #e9dfec; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chip { position: absolute; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 14px; padding: 8px 20px 8px 8px; border-radius: var(--r); background: #fff; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s; }
.hero-chip:hover { transform: translateY(-4px); }
.hero-chip img { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: cover; }
.hero-chip small { display: block; font-size: 12.500px; color: var(--accent); font-weight: 600; }
.hero-chip b { font-family: var(--display); font-size: 18px; display: block; line-height: 1.2; }

/* categories (editorial 6-3-3 / 3-3-6 rhythm) */
.cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.cat { grid-column: span 3; position: relative; height: 320px; border-radius: var(--r); overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.cat:first-child, .cat:last-child { grid-column: span 6; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.cat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(24, 10, 28, .86)); }
.cat:hover img { transform: scale(1.07); }
.cat div { padding: 24px; }
.cat h3 { font-size: 25px; }
.cat p { font-size: 14px; opacity: .88; margin-top: 4px; }
.cat span { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; border-bottom: 1px solid; }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card { background: #fff; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.06); }
.card.out .card-media img { filter: grayscale(.55) opacity(.75); }
.wish { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); transition: transform .2s; }
.wish:hover { transform: scale(1.12); }
[data-wish][aria-pressed=true] { color: #d6453d; }
[data-wish][aria-pressed=true] .ic { fill: currentColor; }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(42, 18, 48, .72); backdrop-filter: blur(10px); color: #fff; font-size: 13.5px; font-weight: 600; display: flex; gap: 8px; justify-content: center; align-items: center; opacity: 0; transform: translateY(10px); transition: .3s; }
.card:hover .quick, .quick:focus-visible { opacity: 1; transform: none; }
.tag { position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 10px; background: var(--pop); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 20px; }
.card-desc { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price b { font-family: var(--display); font-size: 23px; font-weight: 700; color: var(--deep); }
.price span { color: var(--muted); font-size: 14px; }
.stock { font-size: 12.5px; font-weight: 600; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.no { color: var(--danger); }
.card-actions { display: flex; gap: 10px; margin-top: 10px; }
.card-actions .btn { flex: 1; padding: 11px 12px; font-size: 14px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; flex: none; }
.stepper button { width: 34px; height: 40px; border: 0; background: none; font-size: 18px; border-radius: 50%; }
.stepper button:hover { color: var(--ok); }
.stepper input { width: 28px; border: 0; text-align: center; background: none; font-weight: 600; padding: 0; -moz-appearance: textfield; }
.skeleton { border-radius: var(--r); min-height: 400px; background: linear-gradient(100deg, #efebf0 30%, #f8f6f9 50%, #efebf0 70%) 0 0 / 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* promo */
.promo { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--deep); color: #fff; border-radius: 16px; overflow: hidden; min-height: 440px; }
.promo-copy { padding: clamp(32px, 6vw, 76px); align-self: center; }
.promo-copy .eyebrow { color: var(--pop); }
.promo-copy h2 { font-size: clamp(34px, 4.6vw, 58px); }
.promo-copy .off { font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); margin: 18px 0 30px; color: #e6dcea; }
.promo-copy .off b { color: var(--pop); font-size: 1.6em; font-weight: 800; }
.promo img { width: 100%; height: 100%; object-fit: cover; }

/* why choose us */
.about-lead { font-weight: 600; font-family: var(--display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; max-width: 30ch; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why article { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; transition: transform .3s, box-shadow .3s; }
.why article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why .ic { width: 30px; height: 30px; }
.why i { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: #FFF1CC; color: var(--deep); margin-bottom: 20px; }
.why h3 { font-size: 21px; margin-bottom: 8px; }
.why p { color: var(--muted); font-size: 14.5px; }

/* seasonal rail */
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.season { flex: 0 0 min(340px, 78vw); height: 440px; scroll-snap-align: start; border-radius: var(--r); overflow: hidden; position: relative; color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.season img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.season:hover img { transform: scale(1.06); }
.season::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(24, 10, 28, .85)); }
.season div { padding: 24px; }
.season small { letter-spacing: .16em; text-transform: uppercase; font-size: 11.5px; color: var(--pop); font-weight: 600; }
.season h3 { font-size: 27px; margin: 4px 0; }
.season p { font-size: 14px; opacity: .9; }
.rail-btns { display: flex; gap: 8px; }
.rail-btns .icon-btn { border: 1px solid var(--line); background: #fff; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.stars { color: var(--pop); letter-spacing: 3px; font-size: 17px; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--deep); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 18px; }
.quote footer small { display: block; color: var(--muted); }

/* newsletter */
.news { background: var(--soft); border-radius: 16px; padding: clamp(34px, 6vw, 70px); text-align: center; }
.news h2 { font-size: clamp(30px, 4vw, 46px); }
.news p { color: var(--muted); margin: 10px 0 26px; }
.news form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; background: #fff; padding: 6px; border-radius: 10px; border: 1px solid var(--line); }
.news input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 18px; outline: none; }

/* footer */
.footer { background: var(--deep); color: #d3c6d8; margin-top: 84px; padding: 70px 0 26px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; transition: .2s; }
.social a:hover { background: #fff; color: var(--deep); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 46px; padding-top: 22px; font-size: 13px; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay span { background: #fff; color: var(--deep); font-weight: 700; font-size: 11.5px; letter-spacing: .05em; padding: 5px 11px; border-radius: 7px; }

/* dialogs (quick view + search) */
dialog { border: 0; padding: 0; border-radius: 16px; background: var(--bg); color: var(--ink); width: min(940px, 100% - 28px); max-height: calc(100dvh - 28px); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5); }
dialog::backdrop { background: rgba(24, 10, 28, .55); backdrop-filter: blur(5px); }
dialog[open] { animation: pop .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.dlg-close { position: absolute; top: 14px; right: 14px; background: rgba(255, 255, 255, .9); z-index: 2; }
.qv { display: grid; grid-template-columns: 1.1fr 1fr; }
.qv > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.qv-body { padding: 44px 36px 36px; display: flex; flex-direction: column; gap: 12px; }
.qv-body h2 { font-size: 34px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.meta b { color: var(--ink); font-weight: 600; }
#search-dlg { width: min(640px, 100% - 28px); margin-top: 9vh; padding: 20px; }
#search-dlg form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 4px 6px 14px; }
#search-dlg input { flex: 1; border: 0; background: none; font-size: 19px; outline: none; min-width: 0; }
.suggest { list-style: none; margin: 10px 0 0; padding: 0; }
.suggest a { display: flex; align-items: center; gap: 14px; padding: 9px; border-radius: 14px; }
.suggest a:hover, .suggest a:focus-visible { background: var(--soft); }
.suggest img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.suggest small { color: var(--muted); display: block; }
.suggest .none { padding: 16px 8px; color: var(--muted); }

/* toasts */
.toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100% - 28px); }
.toast { background: var(--deep); color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14.5px; font-weight: 500; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; animation: toast-in .35s cubic-bezier(.2, .8, .2, 1); transition: opacity .3s, transform .3s; }
.toast.err { background: var(--danger); }
.toast.bye { opacity: 0; transform: translateY(10px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px); } }

/* page header + states */
.page-head { padding: 54px 0 30px; }
.page-head h1 { font-size: clamp(36px, 5vw, 58px); }
.page-head p { color: var(--muted); margin-top: 8px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.crumbs a:hover { color: var(--deep); }
.state { text-align: center; padding: 70px 20px; display: grid; justify-items: center; gap: 14px; grid-column: 1 / -1; }
.state svg { width: 150px; height: 150px; }
.state h2 { font-size: 30px; }
.state p { color: var(--muted); max-width: 44ch; }
.state.error { background: #fbeeea; border: 1px solid #efc9c0; border-radius: var(--r); margin: 40px 0; }

/* shop */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 24px; }
.filters summary { display: none; }
.filters h4 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.field { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; background: var(--bg); }
.field input { border: 0; background: none; outline: none; width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: block; padding: 7px 14px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; transition: .2s; }
.chips input:checked + span { background: var(--deep); color: #fff; border-color: var(--deep); }
.chips input:focus-visible + span { outline: 2px solid var(--pop); outline-offset: 2px; }
input[type=range] { width: 100%; accent-color: var(--deep); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; padding: 3px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--deep); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.count { color: var(--muted); }
.count b { color: var(--ink); }
select { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 16px; }
.shop .grid { grid-template-columns: repeat(3, 1fr); }

/* product detail */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 54px; align-items: start; padding-top: 34px; }
.pdp-media { position: sticky; top: 96px; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / .92; background: var(--soft); }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.pdp-media:hover img { transform: scale(1.05); }
.pdp-info { display: grid; gap: 18px; padding-top: 8px; }
.pdp-info h1 { font-size: clamp(36px, 4.6vw, 56px); }
.pdp-info .price b { font-size: 36px; }
.pdp-info .desc { color: #4b4450; font-size: 17px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.facts small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.buy { display: flex; gap: 12px; flex-wrap: wrap; }
.buy .btn { flex: 1; }
.buy .stepper button { height: 48px; width: 42px; }
.perks { display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.perks span { display: flex; gap: 10px; align-items: center; }
.perks .ic { color: var(--ok); }

/* cart + checkout */
.split { display: grid; grid-template-columns: 1fr 390px; gap: 36px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.summary { position: sticky; top: 96px; display: grid; gap: 12px; }
.summary h2 { font-size: 26px; margin-bottom: 4px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum-row.off { color: var(--ok); font-weight: 600; }
.sum-row.total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; font-size: 18px; font-weight: 700; }
.sum-row.total b { font-family: var(--display); font-size: 26px; color: var(--deep); }
.progress { height: 6px; border-radius: 3px; background: var(--soft); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--ok); border-radius: 3px; transition: width .5s; }
.hint { font-size: 13.5px; color: var(--muted); }
.line { display: grid; grid-template-columns: 104px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; }
.line:last-child { border: 0; padding-bottom: 0; }
.line img { width: 104px; height: 92px; object-fit: cover; border-radius: var(--r-sm); }
.line h3 { font-size: 20px; }
.line small { color: var(--muted); }
.line-end { display: grid; justify-items: end; gap: 8px; }
.line-end b { font-family: var(--display); font-size: 20px; color: var(--deep); }
.line-ctl { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.remove { border: 0; background: none; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; padding: 6px; }
.remove:hover { color: var(--danger); }
.mini { display: flex; gap: 12px; align-items: center; font-size: 14.5px; }
.mini img { width: 54px; height: 50px; border-radius: 10px; object-fit: cover; }
.mini span { flex: 1; }
.mini small { display: block; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.f label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.f input, .f textarea, .f select { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); transition: border .2s, box-shadow .2s; }
.f input:focus, .f textarea:focus, .f select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(224, 62, 26, .15); background: #fff; }
.f.bad input, .f.bad textarea, .f.bad select { border-color: var(--danger); background: #fdf3f0; }
.f .err { color: var(--danger); font-size: 13px; min-height: 18px; display: block; margin-top: 3px; }
.panel + .panel { margin-top: 22px; }
.panel > h2 { font-size: 25px; margin-bottom: 20px; }
.pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-opts label { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; transition: .2s; }
.pay-opts label:has(:checked) { border-color: var(--deep); background: #F6EEF8; box-shadow: 0 0 0 1px var(--deep); }
.pay-opts input { accent-color: var(--deep); margin-top: 4px; }
.pay-opts small { display: block; color: var(--muted); }
.demo-note { background: #fff6e6; border: 1px dashed var(--pop); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; margin-top: 16px; }

/* orders */
.success { background: var(--deep); color: #fff; border-radius: 16px; padding: clamp(30px, 6vw, 64px); text-align: center; display: grid; justify-items: center; gap: 14px; margin-top: 34px; }
.success .tick { width: 84px; height: 84px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; animation: pop .6s cubic-bezier(.2, 1.4, .4, 1); }
.success .tick .ic { width: 40px; height: 40px; stroke-width: 2.4; }
.success h1 { font-size: clamp(32px, 5vw, 54px); }
.success code { font: 600 20px var(--sans); letter-spacing: .08em; background: rgba(255, 255, 255, .12); padding: 8px 18px; border-radius: 12px; border: 1px dashed rgba(255, 255, 255, .4); }
.success p { color: #dccfe0; max-width: 52ch; }
.orders { display: grid; gap: 22px; }
.order-top { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: space-between; align-items: center; }
.order-top small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.order-top b { font-size: 16px; }
.pill { padding: 6px 14px; border-radius: 10px; font-size: 13px; font-weight: 700; background: #fff1d9; color: #8a5a10; }
.pill.done { background: #DDF3E4; color: var(--deep); }
.track { display: grid; grid-template-columns: repeat(4, 1fr); margin: 26px 0 8px; font-size: 13px; text-align: center; color: var(--muted); }
.track span { position: relative; padding-top: 24px; }
.track span::before { content: ''; position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--line); z-index: 1; }
.track span::after { content: ''; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.track span:first-child::after { display: none; }
.track .on { color: var(--deep); font-weight: 600; }
.track .on::before, .track .on::after { background: var(--ok); }
.order details { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; }
.order summary { cursor: pointer; font-weight: 600; color: var(--deep); }
.order-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; margin-top: 18px; }
.order-body > div { display: grid; gap: 12px; align-content: start; }
.order-body address { font-style: normal; color: var(--muted); font-size: 14.5px; }

/* responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .shop .grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr 340px; gap: 24px; }
  .pdp { gap: 32px; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .hero-frame { display: block; min-height: 0; }
  .hero-frame > img { position: static; width: 100%; height: 340px; }
  .hero-copy { width: auto; }
  .hero-chip { display: none; }
  .nav-in { gap: 8px; height: 64px; }
  .logo { font-size: 25px; margin-right: auto; }
  .links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; box-shadow: var(--shadow); }
  .nav.open .links { display: flex; animation: page-in .25s; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .shop, .split, .pdp, .promo, .qv, .order-body { grid-template-columns: 1fr; }
  .filters { position: static; padding: 0; gap: 0; }
  .filters summary { display: flex; justify-content: space-between; padding: 14px 20px; font-weight: 600; cursor: pointer; }
  .filters .filters-in { padding: 6px 20px 20px; display: grid; gap: 20px; }
  .pdp-media, .summary { position: static; }
  .promo img { height: 280px; order: -1; }
  .qv > img { min-height: 0; height: 250px; }
  .qv-body { padding: 24px; }
  .cat, .cat:first-child, .cat:last-child { grid-column: span 6; height: 240px; }
  .quotes { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .filters .filters-in { display: grid; gap: 24px; } }
@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .section { padding: 54px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
  .hero-frame > img { height: 250px; }
  .hero-copy { padding: 26px 20px 30px; }
  .hero-copy p { font-size: 16px; margin: 14px 0 24px; }
  .cta .btn { flex: 1; }
  .grid, .shop .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card-body h3 { font-size: 16.5px; }
  .card-desc { font-size: 12.5px; }
  .price b { font-size: 19px; }
  .card-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .card-actions { flex-direction: column; gap: 8px; }
  .card-actions .stepper { justify-content: space-between; }
  .quick { opacity: 1; transform: none; left: auto; right: 10px; bottom: 10px; width: 38px; height: 38px; padding: 0; }
  .quick b { display: none; }
  .wish { top: 10px; right: 10px; }
  .cats { gap: 12px; }
  .cat, .cat:first-child, .cat:last-child { height: 200px; }
  .cat div { padding: 14px; }
  .cat h3 { font-size: 19px; }
  .cat p { display: none; }
  .why { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why article { padding: 20px 16px; }
  .season { height: 380px; }
  .news form { flex-direction: column; padding: 10px; }
  .news input { padding: 12px 14px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form-grid, .pay-opts, .facts { grid-template-columns: 1fr; }
  .panel { padding: 20px 16px; }
  .line { grid-template-columns: 76px 1fr; gap: 12px; }
  .line img { width: 76px; height: 72px; }
  .line-end { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .track { font-size: 11px; }
  .buy .stepper { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
