/* Cuyle's Customs storefront styles. One file, no build step. */
:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --sunk: #f2efe8;
  --ink: #151412;
  --ink-2: #3a3833;
  --muted: #6b675e;
  --line: #e6e1d7;
  --accent: #d7f25c;
  --accent-ink: #1c2400;
  --sale: #b42318;
  --ok: #1f7a3a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(21, 20, 18, .06), 0 8px 24px rgba(21, 20, 18, .06);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Archivo", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 700 .75rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; display: block; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font: 700 .95rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Announcement + header */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: .82rem; padding: .55rem var(--gutter); letter-spacing: .01em; }
.announce strong { color: var(--accent); font-weight: 700; }
.header { position: sticky; top: 0; z-index: 40; background: rgba(250, 248, 243, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 800 1.15rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.nav { display: flex; gap: 1.6rem; margin: 0 auto; }
.nav a, .nav summary { text-decoration: none; font-weight: 600; font-size: .93rem; cursor: pointer; padding: .4rem 0; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav a:hover, .nav summary:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav details { position: relative; }
.nav details[open] summary { text-decoration: underline; text-underline-offset: 6px; }
.menu { position: absolute; top: calc(100% + 14px); left: -1rem; min-width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .6rem; display: grid; }
.menu a { padding: .55rem .8rem; border-radius: 8px; font-weight: 500; }
.menu:has(> a:nth-child(9)) { grid-template-rows: repeat(7, auto); grid-auto-flow: column; min-width: 400px; }
.menu a:hover { background: var(--sunk); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--sunk); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .68rem/18px var(--font); text-align: center; }
.cart-count[hidden] { display: none; }
.menu-toggle { display: none; }

/* Mobile drawer nav */
.mobile-nav { position: fixed; inset: 0; z-index: 60; display: none; }
.mobile-nav.open { display: block; }
.mobile-nav .scrim, .drawer-scrim { position: absolute; inset: 0; background: rgba(21, 20, 18, .45); }
.mobile-nav .panel { position: absolute; inset: 0 auto 0 0; width: min(86vw, 360px); background: var(--bg); padding: 1rem 1.25rem 2rem; overflow-y: auto; }
.mobile-nav .panel a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.mobile-nav .panel .sub { font-weight: 500; padding-left: .9rem; color: var(--ink-2); }
.mobile-nav .panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }

/* Search */
.search { position: fixed; inset: 0; z-index: 70; display: none; }
.search.open { display: block; }
.search .box { position: relative; background: var(--bg); padding: 1.25rem var(--gutter) 1.5rem; box-shadow: var(--shadow); }
.search .row { max-width: 760px; margin: 0 auto; display: flex; gap: .5rem; }
.search input { flex: 1; min-height: 52px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 0 1.25rem; background: #fff; font-size: 1.05rem; }
.search-results { max-width: 760px; margin: 1rem auto 0; display: grid; gap: .25rem; max-height: 60vh; overflow-y: auto; }
.search-results a { display: flex; align-items: center; gap: .9rem; padding: .5rem; border-radius: 10px; text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: var(--sunk); }
.search-results img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 6px; }

/* Hero */
.hero { padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.03em; line-height: .98; margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent) 62%); padding: 0 .08em; }
.hero p.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 34rem; margin-bottom: 1.6rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .proof { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; font-size: .88rem; color: var(--muted); }
.hero .proof span::before { content: "\2713"; margin-right: .4rem; color: var(--ink); font-weight: 700; }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .9rem; aspect-ratio: 1 / 1.02; }
.collage a { position: relative; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.collage a:first-child { grid-row: span 2; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.collage a:hover img { transform: scale(1.03); }
.collage .tag { position: absolute; left: .7rem; bottom: .7rem; background: rgba(255, 255, 255, .94); padding: .35rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-tight { padding: clamp(1.5rem, 4vw, 2.5rem) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.section-head a { white-space: nowrap; }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #fff; text-decoration: none; box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: .8rem; right: .8rem; bottom: .8rem; display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, .95); border-radius: 999px; padding: .6rem 1rem; font: 700 .95rem/1.2 var(--display); }
.tile span::after { content: "\2192"; }

/* Product grid + cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 2vw, 1.5rem) clamp(.75rem, 1.6vw, 1.25rem); }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; }
.card .media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.card .media img.alt { opacity: 0; }
.card:hover .media img.alt { opacity: 1; }
.card:hover .media img { transform: scale(1.02); }
.badge { position: absolute; top: .6rem; left: .6rem; z-index: 2; background: var(--accent); color: var(--accent-ink); font: 700 .7rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: .4rem .55rem; border-radius: 6px; }
.badge.dark { background: var(--ink); color: #fff; }
.badge.sale { background: var(--sale); color: #fff; }
.card .info { padding: .75rem .15rem 0; display: grid; gap: .2rem; }
.card .name { font-weight: 600; font-size: .96rem; line-height: 1.3; }
.card .meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .35rem .5rem; }
.price { font-weight: 700; }
.price s { color: var(--muted); font-weight: 400; margin-left: .35rem; }
.price .from { font-weight: 500; color: var(--muted); font-size: .85em; margin-right: .2rem; }
.dots { display: flex; gap: 4px; align-items: center; font-size: .75rem; color: var(--muted); }
.dots i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); display: inline-block; }
.dots i[data-img] { cursor: pointer; }
.dots i.on { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--ink); }
.card.picked .media img.alt { opacity: 0; }
.card .where { font-size: .78rem; color: var(--muted); }

/* Value props */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.value { display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.value svg { flex: none; width: 28px; height: 28px; }
.value strong { display: block; font-size: .95rem; }
.value span { font-size: .87rem; color: var(--muted); line-height: 1.45; display: block; }

/* Story + CTA bands */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.story .pic { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; background: #fff; box-shadow: var(--shadow); }
.story .pic img { width: 100%; height: 100%; object-fit: cover; }
.band { background: var(--ink); color: #fff; border-radius: calc(var(--radius) * 1.4); padding: clamp(1.75rem, 5vw, 3.25rem); display: grid; grid-template-columns: 1.4fr auto; gap: 1.5rem; align-items: center; }
.band h2 { color: #fff; margin-bottom: .35rem; }
.band p { color: #cfcbc2; margin: 0; }
.band .ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.band .btn-ghost { color: #fff; border-color: #fff; }
.band .btn-ghost:hover { background: #fff; color: var(--ink); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; gap: .6rem; }
.stars { color: var(--ink); letter-spacing: 2px; font-size: .95rem; }
.review p { margin: 0; color: var(--ink-2); }
.review small { color: var(--muted); }

/* Breadcrumbs */
.crumbs { font-size: .84rem; color: var(--muted); padding: 1rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Collection pages */
.coll-head { padding: 1.25rem 0 1.5rem; max-width: 760px; }
.coll-head p { color: var(--ink-2); font-size: 1.06rem; margin: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; padding: .75rem 0 1.25rem; border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .45rem .95rem; font-size: .88rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.chip[hidden] { display: none; }
.chip[aria-pressed="true"], .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.select { min-height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 0 2.2rem 0 1rem; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23151412' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 1rem center; appearance: none; font-weight: 600; font-size: .88rem; }
.count { font-size: .88rem; color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose a { font-weight: 600; text-underline-offset: 3px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 1.1rem; color: var(--ink-2); }
.empty { padding: 3rem 1rem; text-align: center; color: var(--muted); }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding: 1.25rem 0 3rem; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: .9rem; position: sticky; top: 88px; }
.gallery .main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .main.can-zoom { cursor: zoom-in; }
.gallery .main.can-zoom img { transition: transform .2s ease-out; }
.zoom-btn { position: absolute; right: .7rem; bottom: .7rem; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; }
.zoom-btn svg { width: 20px; height: 20px; }
/* Full-screen photo zoom */
.viewer { position: fixed; inset: 0; z-index: 80; background: #fff; }
.viewer[hidden] { display: none; }
.viewer-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: none; cursor: zoom-in; }
.viewer.zoomed .viewer-stage { cursor: grab; }
.viewer-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; will-change: transform; }
.viewer-close { position: absolute; top: .6rem; right: .6rem; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow); }
.viewer-count { position: absolute; top: 1rem; left: 1rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: .85rem; color: var(--ink-2); }
.viewer-count:empty { display: none; }
.viewer-step { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .9); box-shadow: var(--shadow); font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink); }
.viewer-step.prev { left: .75rem; }
.viewer-step.next { right: .75rem; }
.viewer.zoomed .viewer-step, .viewer.zoomed .viewer-hint { opacity: 0; pointer-events: none; }
.viewer-hint { position: absolute; left: 0; right: 0; bottom: 1rem; margin: 0; text-align: center; font-size: .82rem; color: var(--muted); pointer-events: none; transition: opacity .2s; }
.thumbs { display: flex; flex-direction: column; gap: .6rem; max-height: 100%; overflow-y: auto; scrollbar-width: none; }
.thumbs button { padding: 0; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1 / 1; flex: none; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: .25rem 0 .6rem; }
.buy .price { font-size: 1.35rem; }
.buy .rating { display: flex; gap: .5rem; align-items: center; font-size: .88rem; color: var(--muted); margin-bottom: .25rem; text-decoration: none; }
.opt { margin-top: 1.4rem; }
.opt-label { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; margin-bottom: .6rem; }
.opt-label b { font-weight: 700; }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); padding: 3px; background: #fff; cursor: pointer; }
.swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); }
.swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: .45rem; }
.size { min-height: 46px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 600; cursor: pointer; }
.size[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.size:disabled { color: #b8b3a8; text-decoration: line-through; cursor: not-allowed; background: var(--sunk); }
.qty-row { display: flex; gap: .6rem; margin-top: 1.5rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; }
.qty input { width: 34px; border: 0; text-align: center; font-weight: 700; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-row .btn { flex: 1; }
.assure { display: grid; gap: .55rem; margin: 1.25rem 0 0; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: .88rem; }
.assure div { display: flex; gap: .6rem; align-items: center; }
.assure svg { width: 20px; height: 20px; flex: none; }
.alt-buy { font-size: .86rem; color: var(--muted); margin-top: .8rem; }
.notice { background: var(--sunk); border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .9rem; margin-top: 1rem; }
.acc { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 700; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; }
.acc details[open] summary::after { content: "\2212"; }
.acc .body { padding-bottom: 1.1rem; color: var(--ink-2); font-size: .95rem; }
.acc ul { margin: 0; padding-left: 1.1rem; }
.size-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: .5rem; }
.size-chart { display: block; width: 100%; height: auto; margin-top: .5rem; border-radius: 8px; }
.size-table th, .size-table td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; gap: .75rem; align-items: center; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); }
.sticky-buy .t { flex: 1; min-width: 0; font-size: .85rem; line-height: 1.25; }
.sticky-buy .t b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cart drawer */
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.open { display: block; }
.drawer .sheet { position: absolute; inset: 0 0 0 auto; width: min(100vw, 420px); background: var(--bg); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 1.2rem; margin: 0; }
.ship-meter { padding: .9rem 1.25rem; font-size: .86rem; border-bottom: 1px solid var(--line); }
.ship-meter .bar { height: 6px; border-radius: 999px; background: var(--sunk); margin-top: .5rem; overflow: hidden; }
.ship-meter .bar i { display: block; height: 100%; background: var(--ink); border-radius: inherit; transition: width .3s; }
.lines { flex: 1; overflow-y: auto; padding: .5rem 1.25rem; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.line .n { font-weight: 600; font-size: .92rem; line-height: 1.3; text-decoration: none; }
.line .v { font-size: .82rem; color: var(--muted); }
.line .qty { margin-top: .45rem; }
.line .qty button { width: 32px; height: 34px; font-size: 1rem; }
.line .rm { display: block; border: 0; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; cursor: pointer; padding: 0; margin-top: .4rem; }
.drawer footer { padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.drawer footer .sum { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; margin-bottom: .2rem; }
.drawer footer small { display: block; color: var(--muted); margin-bottom: .9rem; }
.drawer .err { color: var(--sale); font-size: .86rem; margin: .5rem 0 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .75rem 1.1rem; border-radius: 999px; font-size: .9rem; z-index: 90; box-shadow: var(--shadow); }

/* Newsletter + footer */
.news { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--accent); border-radius: calc(var(--radius) * 1.4); color: var(--accent-ink); }
.news h2 { margin-bottom: .3rem; }
.news p { margin: 0; }
.news .btn { justify-self: end; }
.footer { margin-top: clamp(2.5rem, 6vw, 4.5rem); background: var(--ink); color: #d9d5cc; padding: 3rem 0 1.5rem; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer a { color: #d9d5cc; text-decoration: none; display: block; padding: .25rem 0; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand { color: #fff; margin-bottom: .9rem; }
.footer .social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer .social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #45423c; border-radius: 50%; padding: 0; }
.footer .social svg { width: 18px; height: 18px; }
.footer .legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #34322d; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between; font-size: .82rem; color: #a29e95; }
.footer .legal nav { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }

/* Simple pages + blog */
.page { padding: 1rem 0 2rem; }
.page h1 { margin-top: .75rem; }
.page .prose h2 { margin-top: 2rem; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.post-card .pic { aspect-ratio: 16 / 9; background: var(--sunk); }
.post-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.post-card .txt { padding: 1.1rem 1.2rem 1.3rem; }
.post-card h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.post-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.article { max-width: 760px; margin: 0 auto; }
.article .prose { font-size: 1.05rem; }
.article .prose img { border-radius: var(--radius); }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.form { display: grid; gap: 1rem; max-width: 560px; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.form input, .form textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem .9rem; background: #fff; }
.form textarea { min-height: 150px; resize: vertical; }
.form .err { color: var(--sale); font-size: .9rem; margin: 0; }
.code-form { margin-top: 1.5rem; }
.code-form input { text-transform: uppercase; letter-spacing: .06em; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .hide-sm { display: none; }
  .header .wrap { height: 60px; gap: .5rem; }
  .brand { font-size: 1.02rem; }
  .brand img { width: 34px; height: 34px; }
  .hero .wrap, .story, .band, .news, .pdp { grid-template-columns: 1fr; }
  .hero { padding-top: 1.5rem; }
  .collage { aspect-ratio: 1 / .9; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .news .btn { justify-self: start; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .thumbs button { width: 64px; }
  .sticky-buy { display: flex; }
  .sticky-buy[hidden] { display: none; }
  body.has-sticky { padding-bottom: 76px; }
  .section-head { align-items: start; flex-direction: column; gap: .4rem; }
  .footer .cols { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.group-note { font-size: .86rem; margin: .6rem 0 0; }
