/* ===== No Mood : white / green / black ===== */
:root {
  --white: #ffffff;
  --paper: #f6f5f0;
  --tile: #f2f2ee;
  --black: #0e0e0e;
  --ink-2: #4a4a46;
  --mute: #7b7b75;
  --green: #2f7a2c;
  --green-bright: #5fae4a;
  --green-soft: #e6f1e1;
  --line: #e4e4de;
  --danger: #b3261e;

  --font-display: "Lilita One", "Archivo Black", Impact, system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 12px;
  --shadow-soft: 0 -8px 40px rgba(14,14,14,.18);
  --ease: cubic-bezier(.22,.8,.3,1);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--black);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  min-height: 100dvh; overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 8px; }
.skip:focus { left: 8px; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* announcement */
.announce { background: var(--green); color: #fff; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .02em; padding: 10px 16px; }

/* header */
.header { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.icon-btn { position: relative; width: 48px; height: 48px; display: inline-grid; place-items: center; background: none; border: 0; border-radius: 12px; text-decoration: none; transition: background .2s var(--ease); }
.icon-btn:hover, .icon-btn:active { background: var(--green-soft); }
.icon-btn svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; font-variant-numeric: tabular-nums; }
.cart-count[hidden] { display: none; }
.cart-count.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }
.brand { justify-self: center; display: block; line-height: 0; }
.brand img { height: 40px; width: auto; }
.header-right { justify-self: end; display: flex; align-items: center; gap: 2px; }
.desk-nav { display: none; }
.back-link { font-weight: 700; font-size: 14px; text-decoration: none; padding: 12px 0; display: inline-block; }
.back-link:hover { color: var(--green); }

/* drawers (menu left, cart right) */
.scrim { position: fixed; inset: 0; background: rgba(14,14,14,.55); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); z-index: 90; }
.drawer, .cart { position: fixed; top: 0; bottom: 0; background: var(--white); z-index: 100; transition: transform .35s var(--ease); display: flex; flex-direction: column; visibility: hidden; }
.drawer { left: 0; width: min(86vw, 380px); transform: translateX(-102%); padding: 16px 24px 32px; }
.cart { right: 0; width: min(100vw, 440px); transform: translateX(102%); }
body.menu-open .drawer, body.cart-open .cart { transform: none; visibility: visible; }
body.menu-open .scrim, body.cart-open .scrim { opacity: 1; pointer-events: auto; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-weight: 800; font-size: 22px; letter-spacing: .04em; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.drawer nav a:hover { color: var(--green); }
.drawer-foot { margin-top: auto; }

/* cart */
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-weight: 800; font-size: 18px; letter-spacing: .06em; margin: 0; text-transform: uppercase; }
.ship { padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.ship[hidden] { display: none; }
.ship-bar { height: 8px; border-radius: 8px; background: #dcdcd4; margin-top: 8px; overflow: hidden; }
.ship-bar i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 8px; transition: width .5s var(--ease); }
.ship.done { background: var(--green-soft); color: var(--green); }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 20px 16px; overscroll-behavior: contain; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 95px; object-fit: contain; background: var(--tile); border-radius: 10px; mix-blend-mode: multiply; }
.line-img { background: var(--tile); border-radius: 10px; overflow: hidden; }
.line h3 { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 2px; }
.line .meta { color: var(--mute); font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--black); border-radius: 10px; margin-top: 8px; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 20px; font-weight: 700; border-radius: 8px; }
.qty button:hover { background: var(--green-soft); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.line-price { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.link-btn { background: none; border: 0; padding: 8px 0 8px 8px; color: var(--mute); font-size: 13px; text-decoration: underline; min-height: 40px; }
.link-btn:hover { color: var(--danger); }
.cart-empty { text-align: center; padding: 48px 8px; }
.cart-empty img { width: 150px; margin: 0 auto 16px; }
.cart-empty p { margin: 0 0 18px; color: var(--ink-2); }
.upsell { margin-top: 20px; }
.upsell h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; }
.up-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.up-row img { width: 56px; height: 70px; object-fit: contain; background: var(--tile); border-radius: 8px; mix-blend-mode: multiply; }
.up-row b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.up-row small { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.btn.btn-sm { min-height: 40px; padding: 0 16px; font-size: 12px; }
.cart-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; }
.sum { display: flex; justify-content: space-between; font-size: 15px; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.sum.total { font-size: 20px; font-weight: 800; margin: 8px 0 12px; }
.sum.save { color: var(--green); font-weight: 700; }
.cart-foot small { display: block; color: var(--mute); font-size: 12px; margin-top: 10px; text-align: center; }
.cart-foot .btn { width: 100%; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 24px); background: var(--black); color: #fff; padding: 12px 14px 12px 18px; border-radius: 12px; display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); z-index: 120; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: var(--green); border: 0; color: #fff; font-weight: 800; padding: 0 14px; min-height: 36px; border-radius: 8px; }

/* hero */
.hero { background: var(--paper); overflow: hidden; }
.hero-in { display: grid; gap: 16px; padding: 40px 0 0; align-items: end; }
.hero-copy { padding-bottom: 8px; }
.eyebrow { display: inline-block; background: var(--black); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 15vw, 128px); line-height: .9; margin: 0 0 18px; text-transform: uppercase; text-wrap: balance; }
.hero h1 .g { color: var(--green); }
.hero p { max-width: 44ch; color: var(--ink-2); font-size: 17px; margin: 0 0 26px; }
.hero-art { justify-self: center; width: min(78%, 420px); margin-bottom: -2px; }
.hero-art img { width: 100%; height: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; background: var(--black); color: #fff; border: 1.5px solid var(--black); border-radius: 10px; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.btn:hover { background: #2a2a28; }
.btn:active { opacity: .85; }
.btn.green { background: var(--green); border-color: var(--green); }
.btn.green:hover { background: #266623; border-color: #266623; }
.btn.ghost { background: #fff; color: var(--black); border-color: var(--black); }
.btn.ghost:hover { background: var(--black); color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; pointer-events: none; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* marquee */
.marquee { background: var(--black); color: #fff; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: slide 28s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 22px; padding: 12px 28px; text-transform: uppercase; white-space: nowrap; }
.marquee span:nth-child(even) { color: var(--green-bright); }
@keyframes slide { to { transform: translateX(-50%); } }

/* shop */
.section { padding: 48px 0 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { font-weight: 800; font-size: clamp(24px, 5vw, 34px); letter-spacing: .02em; line-height: 1.1; margin: 0; text-transform: uppercase; }
.tools { display: flex; align-items: center; gap: 12px; }
.count { color: var(--mute); font-size: 14px; font-weight: 600; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.sort select { min-height: 44px; border: 1.5px solid var(--black); border-radius: 10px; padding: 0 34px 0 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e0e0e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font: inherit; font-weight: 600; cursor: pointer; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; }
.media-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; display: block; }
.media-btn img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.card:hover .media-btn img { transform: scale(1.05); }
.b-left, .b-right { position: absolute; top: 10px; z-index: 2; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 5px 9px; border-radius: 6px; pointer-events: none; text-transform: uppercase; }
.b-left { left: 10px; background: var(--green); color: #fff; font-variant-numeric: tabular-nums; }
.b-left.out { background: var(--black); }
.b-right { right: 10px; background: #fff; color: var(--black); border: 1.5px solid var(--black); }
.quick { position: absolute; right: 10px; bottom: 10px; z-index: 3; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--black); border: 1.5px solid var(--black); border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: .04em; transition: background .2s, color .2s, transform .2s var(--ease); }
.quick:hover { background: var(--black); color: #fff; }
.quick:active { opacity: .8; }
.quick[disabled] { opacity: .5; cursor: not-allowed; }
.quick svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; }
.card-text { background: none; border: 0; padding: 12px 2px 0; text-align: left; display: block; width: 100%; }
.card-name { font-weight: 700; font-size: 14px; letter-spacing: .04em; margin: 0 0 4px; text-transform: uppercase; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-variant-numeric: tabular-nums; }
.price { font-weight: 800; font-size: 17px; }
.was { color: var(--mute); font-size: 13px; text-decoration: line-through; }
.sub { font-size: 13px; color: var(--ink-2); margin-top: 2px; font-variant-numeric: tabular-nums; }
.sub b { color: var(--green); }
.low { font-size: 12px; font-weight: 700; color: var(--danger); margin-top: 4px; }

/* about */
.about { background: var(--green); color: #fff; margin-top: 32px; }
.about-in { display: grid; gap: 28px; align-items: center; padding: 56px 0; }
.about h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 9vw, 64px); line-height: 1; margin: 0 0 16px; text-transform: uppercase; }
.about p { margin: 0; max-width: 52ch; font-size: 17px; }
.about-art { justify-self: center; width: min(60%, 240px); background: #fff; border-radius: 20px; padding: 20px; }

/* contact */
.contact-grid { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; min-height: 76px; transition: border-color .2s, background .2s; }
.contact-card:hover { border-color: var(--black); background: var(--paper); }
.contact-card .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; }
.contact-card .ic svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card b { display: block; font-size: 16px; }
.contact-card span { color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }

/* footer */
.footer { background: var(--black); color: #fff; padding: 56px 0 28px; margin-top: 0; }
.f-join { display: grid; gap: 24px; align-items: end; }
.f-join h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 11vw, 88px); line-height: .95; margin: 0; text-transform: uppercase; }
.f-join h2 span { color: var(--green-bright); }
.f-join-cta p { margin: 0 0 16px; color: #c9c9c3; max-width: 42ch; }
.f-join .btn { background: #fff; color: var(--black); border-color: #fff; }
.f-join .btn:hover { background: var(--green-bright); border-color: var(--green-bright); }
.f-rule { height: 1px; background: #2b2b28; margin: 40px 0 28px; }
.f-label { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--green-bright); }
.f-social { display: grid; grid-template-columns: 1fr; border: 1px solid #2b2b28; border-radius: var(--radius); overflow: hidden; background: #161614; }
.f-social a { display: flex; align-items: center; gap: 12px; padding: 18px 20px; text-decoration: none; min-height: 60px; border-bottom: 1px solid #2b2b28; transition: background .2s; }
.f-social a:last-child { border-bottom: 0; }
.f-social a:hover { background: #20201d; }
.f-social svg { width: 22px; height: 22px; stroke: var(--green-bright); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.f-social b { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.f-cols { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; margin: 44px 0 40px; }
.f-brand { grid-column: 1 / -1; }
.f-brand img { height: 54px; width: auto; margin-bottom: 12px; }
.f-brand p { margin: 0 0 14px; color: #c9c9c3; }
.f-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #2b2b28; background: #161614; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.f-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); display: block; }
.f-cols h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.f-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.f-cols li a { display: inline-block; padding: 8px 0; color: #c9c9c3; text-decoration: none; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; }
.f-cols li a:hover { color: #fff; }
.f-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #2b2b28; padding-top: 22px; }
.f-bottom small { color: #a8a8a2; }
.f-legal { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.f-legal a { text-decoration: none; color: #c9c9c3; padding: 10px 2px; }
.f-legal a:hover { color: #fff; }
.f-legal span { color: #5d5d58; }
.f-top { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--black); display: grid; place-items: center; transition: background .2s, transform .2s var(--ease); }
.f-top:hover { background: var(--green-bright); transform: translateY(-3px); }
.f-top svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* product sheet: bottom sheet on phones, centered card on desktop */
dialog.pd { border: 0; padding: 0; width: 100%; max-width: 100%; margin: auto 0 0; max-height: 94dvh; border-radius: 20px 20px 0 0; background: #fff; overflow: auto; box-shadow: var(--shadow-soft); overscroll-behavior: contain; }
dialog.pd[open] { animation: sheet .35s var(--ease); }
@keyframes sheet { from { transform: translateY(48px); opacity: 0; } }
dialog.pd::backdrop { background: rgba(14,14,14,.55); }
.pd-in { display: grid; }
.pd-img { background: var(--tile); }
.pd-img img { width: 100%; height: auto; max-height: 36dvh; aspect-ratio: 4/5; object-fit: contain; margin-inline: auto; mix-blend-mode: multiply; }
.pd-info { padding: 20px 20px 0; display: flex; flex-direction: column; gap: 16px; }
.pd-info h3 { font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: .02em; margin: 0; text-transform: uppercase; }
.pd-price .price { font-size: 22px; }
.pd-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 10px rgba(14,14,14,.18); z-index: 3; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.sizes legend { font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; padding: 0; color: var(--ink-2); }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sizes span { display: grid; place-items: center; min-width: 52px; height: 48px; padding: 0 14px; border: 1px solid #c9c9c2; border-radius: 8px; font-weight: 600; background: #fff; transition: background .15s, color .15s, border-color .15s; }
.sizes label:hover span { border-color: var(--black); }
.sizes input:checked + span { background: var(--black); color: #fff; border-color: var(--black); }
.sizes input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.err { color: var(--danger); font-size: 14px; font-weight: 600; min-height: 1.2em; margin: -6px 0 0; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13px; color: var(--ink-2); }
.trust li { display: flex; gap: 10px; align-items: center; }
.trust svg { flex: none; width: 16px; height: 16px; stroke: var(--black); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.pd-actions { position: sticky; bottom: 0; margin: 4px -20px 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); display: grid; gap: 8px; }

.empty { padding: 40px 16px; text-align: center; border: 2px dashed var(--black); border-radius: var(--radius); }

/* policy pages */
.doc-hero { background: var(--paper); padding: 48px 0 36px; }
.doc-wrap { max-width: 760px; }
.doc-hero h1 { font-weight: 800; font-size: clamp(32px, 8vw, 52px); letter-spacing: .01em; line-height: 1; margin: 0 0 8px; text-transform: uppercase; }
.doc-meta { color: var(--mute); margin: 0; font-size: 14px; }
.doc { padding: 40px 0 72px; }
.doc h2 { font-size: 20px; margin: 36px 0 10px; }
.doc p, .doc li { color: #2c2c29; font-size: 16px; line-height: 1.7; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; }
.doc a { color: var(--green); font-weight: 600; }
.doc-note { margin-top: 40px; padding: 16px 18px; border-radius: var(--radius); background: var(--green-soft); font-size: 14px !important; }

@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
  .hero-in { grid-template-columns: 1.1fr .9fr; padding-top: 64px; }
  .hero-art { width: 100%; }
  .about-in { grid-template-columns: 1.4fr .6fr; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  dialog.pd { width: min(960px, 100% - 48px); margin: auto; border-radius: 20px; box-shadow: 0 24px 80px rgba(14,14,14,.3); }
  .pd-in { grid-template-columns: 1.05fr 1fr; }
  .pd-img { display: grid; align-items: center; }
  .pd-img img { max-height: none; }
  .pd-info { padding: 48px 40px; justify-content: center; }
  .pd-actions { position: static; margin: 4px 0 0; padding: 4px 0 0; border: 0; }
  .f-join { grid-template-columns: 1.2fr .8fr; }
  .f-social { grid-template-columns: repeat(3, 1fr); }
  .f-social a { border-bottom: 0; border-right: 1px solid #2b2b28; }
  .f-social a:last-child { border-right: 0; }
  .f-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .f-brand { grid-column: auto; }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .header-in { height: 76px; }
  .brand img { height: 46px; }
  .desk-nav { display: flex; gap: 6px; }
  .desk-nav a { text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 14px; border-radius: 10px; }
  .desk-nav a:hover { background: var(--green-soft); color: var(--green); }
  .menu-btn { display: none; }
  .quick { opacity: 0; transform: translateY(8px); }
  .card:hover .quick, .quick:focus-visible { opacity: 1; transform: none; }
}
@media (hover: none) { .quick { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- checkout & tracking ---------- */
.cart-foot .btn + .btn { margin-top: 8px; }
.secure-tag { justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green); }
.secure-tag svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.page-checkout main { min-height: 60dvh; }
.co { padding-top: 28px; padding-bottom: 64px; }
.co h1, .tr h1 { font-size: clamp(26px, 6vw, 36px); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; margin: 0 0 18px; }
.co-grid { display: grid; gap: 24px; }
.co-sum { order: -1; background: var(--paper); border-radius: var(--radius); padding: 20px; align-self: start; }
.co-sum h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.co-card h2 { font-size: 17px; margin: 0 0 14px; }
.fld { margin-bottom: 14px; min-width: 0; }
.fld label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.fld .opt { font-weight: 400; color: var(--mute); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; background: #fff; color: var(--black); border: 1.5px solid #cfcfc8; border-radius: 10px; }
.fld textarea { resize: vertical; min-height: 88px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 3px solid rgba(47,122,44,.35); outline-offset: 0; border-color: var(--green); }
.fld [aria-invalid="true"] { border-color: var(--danger); }
.fld-row { display: grid; gap: 0 14px; }
.hint { font-size: 13px; color: var(--mute); margin: 6px 0 0; }
.hint.ok { color: var(--green); font-weight: 600; }
.hint.warn { color: var(--danger); font-weight: 600; }
.err { font-size: 13px; color: var(--danger); margin: 6px 0 0; min-height: 0; font-weight: 600; }
.err:empty { display: none; }
.err.block { font-size: 14px; margin: 0 0 12px; padding: 10px 12px; background: #fbeceb; border-radius: 10px; }
.co-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts-box { margin: 0 0 14px; min-height: 0; }
.pay-opts { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.pay-opt { position: relative; display: block; cursor: pointer; }
.pay-opt[hidden] { display: none; }
.pay-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pay-box { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px 14px 48px; border: 1.5px solid #cfcfc8; border-radius: 10px; position: relative; }
.pay-box::before { content: ""; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9a9a92; background: #fff; }
.pay-box b { font-size: 16px; }
.pay-box em { grid-column: 1; font-style: normal; font-size: 13px; color: var(--mute); }
.pay-box strong { grid-row: 1; grid-column: 2; font-variant-numeric: tabular-nums; }
.pay-opt input:checked + .pay-box { border-color: var(--green); background: var(--green-soft); }
.pay-opt input:checked + .pay-box::before { border-color: var(--green); background: radial-gradient(var(--green) 0 45%, #fff 50%); }
.pay-opt input:focus-visible + .pay-box { outline: 3px solid var(--green); outline-offset: 2px; }
.co-pay { width: 100%; min-height: 56px; font-size: 15px; }
.co-pay[disabled] { opacity: .6; cursor: wait; pointer-events: none; }
.co-legal { font-size: 12.5px; color: var(--mute); margin: 14px 0 0; line-height: 1.6; }
.co-legal a { color: var(--green); font-weight: 600; }
.co-line { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.co-line small { display: block; color: var(--mute); font-size: 12.5px; }
.co-img { position: relative; width: 60px; background: var(--tile); border-radius: 8px; }
.co-img img { width: 60px; height: 75px; object-fit: cover; mix-blend-mode: multiply; border-radius: 8px; }
.co-qty { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--black); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.co-sum .sum:first-of-type { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cod-only { color: var(--green); font-weight: 700; }
.co-assure { list-style: none; padding: 14px 0 0; margin: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.co-assure li::before { content: "\2713"; color: var(--green); font-weight: 800; margin-right: 8px; }
.co-empty { text-align: center; padding: 40px 0; display: grid; justify-items: center; gap: 8px; }
.co-empty img { width: 160px; }
.co-empty p { color: var(--mute); margin: 0 0 12px; }
.co-loading { padding: 60px 0; text-align: center; color: var(--mute); }

.tr { max-width: 760px; padding-top: 28px; padding-bottom: 64px; }
.tr-new { background: var(--green-soft); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.tr-new h1 { font-size: clamp(22px, 5vw, 28px); margin: 0 0 6px; color: var(--green); }
.tr-new p { margin: 0; }
.tr-form .btn { width: 100%; }
.tr-head { display: flex; gap: 32px; margin-bottom: 18px; }
.tr-head small { display: block; color: var(--mute); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.tr-head b { font-size: 18px; }
.tr-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tr-steps li { position: relative; text-align: center; font-size: 12px; font-weight: 600; color: var(--mute); padding-top: 22px; }
.tr-steps li i { position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 6px; background: #dcdcd4; }
.tr-steps li.done i, .tr-steps li.now i { background: var(--green); }
.tr-steps li.done, .tr-steps li.now { color: var(--black); }
.tr-steps li.now span { font-weight: 800; }
.tr-alert { background: #fbeceb; color: var(--danger); padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.tr-live, .tr-awb, .tr-cod, .tr-addr { font-size: 14px; margin: 8px 0; }
.tr-awb a { color: var(--green); font-weight: 700; }
.tr-items { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 6px; }
.tr-items > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; }
.tr-items small { color: var(--mute); }
.tr-cod { background: var(--paper); padding: 10px 12px; border-radius: 10px; }
.tr-addr { color: var(--mute); }

@media (min-width: 640px) { .fld-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .co-grid { grid-template-columns: 1fr 400px; gap: 40px; }
  .co-sum { order: 0; position: sticky; top: 96px; }
}

[hidden] { display: none !important; }
