/* Aarangi shop. Palette from the shop's own sign: black disc, marigold lettering, gold trim on white marble. */
:root {
  --white: #fbfaf7;
  --paper: #f2f0eb;
  --deal: #f7f0e1;
  --black: #16181f;
  --black-soft: #2a2d38;
  --marigold: #e8a317;
  --gold: #b38b37;
  --gold-soft: rgba(179, 139, 55, .45);
  --logo-gold: #c49a60;
  --grey: #5f6168;
  --line: #e5e2db;
  --red: #b3261e;
  --display: 'Kalnia', Georgia, serif;
  --body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header: 64px;
  --tabbar: 0px;
}
*, *::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; background: var(--white); color: var(--black); font: 400 17px/1.6 var(--body); padding-bottom: var(--tabbar); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ol, ul, figure, fieldset { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; font-stretch: 104%; line-height: 1.08; letter-spacing: -.005em; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--black); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.muted { color: var(--grey); }
.icon { width: 22px; height: 22px; flex: none; }
dialog { padding: 0; border: 0; color: var(--black); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(22, 24, 31, .55); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 26px; border: 1px solid transparent; border-radius: 999px; font: 500 15px/1.2 var(--body); letter-spacing: .03em; text-decoration: none; text-align: center; transition: background-color .2s, border-color .2s, color .2s; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-marigold { background: var(--marigold); color: var(--black); }
.btn-marigold:not(:disabled):hover { background: #f0b330; }
.btn-marigold:focus-visible { outline-color: var(--black); }
.btn-black { background: var(--black); color: #fff; }
.btn-black:not(:disabled):hover { background: var(--black-soft); }
.btn-line { border-color: var(--black); background: transparent; color: var(--black); }
.btn-line:not(:disabled):hover { background: var(--black); color: #fff; }
.btn-line-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-line-light:hover { border-color: #fff; }
.btn-wide { width: 100%; }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.text-link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.text-link:hover { text-decoration-color: var(--black); }
.text-btn { border: 0; background: none; padding: 10px 4px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: none; text-decoration: none; }
.icon-btn:hover { background: rgba(22,24,31,.05); }
.icon-btn-line { width: 50px; height: 50px; border: 1px solid var(--black); }
.dot-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--marigold); color: var(--black); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--black); }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }

/* Announcement and header */
.announce { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; padding: 8px var(--gutter); background: var(--black); color: rgba(255,255,255,.86); font-size: 13px; letter-spacing: .02em; text-align: center; }
.announce strong { color: #fff; font-weight: 500; }
.announce [data-timer] { color: var(--marigold); font-variant-numeric: tabular-nums; font-weight: 500; }
.preview-chip { padding: 2px 8px; border: 1px solid var(--gold); border-radius: 999px; color: var(--marigold); font-size: 11px; }
.site-header { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header); padding: 0 calc(var(--gutter) - 8px); background: rgba(251,250,247,.94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(10px); }
.header-side { display: flex; align-items: center; gap: 4px; }
.header-actions { justify-content: flex-end; }
.wordmark { font: 500 18px/1 var(--body); letter-spacing: .42em; text-transform: uppercase; text-decoration: none; padding-left: .42em; }
/* The Aarangi mark, from the shop's own logo. It is a mask, so it takes the colour of the text around it. */
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { display: block; flex: none; width: 34px; height: 29px; background: currentColor; -webkit-mask: url(/static/logo-mark.png) center / contain no-repeat; mask: url(/static/logo-mark.png) center / contain no-repeat; }
.brand .wordmark { padding-left: 0; }
.brand-footer { color: var(--logo-gold); }
.brand-footer .brand-mark { width: 54px; height: 46px; }
.brand-footer .wordmark { font-size: 20px; }
.footer-ig { display: inline-block; margin-top: 6px; margin-left: 18px; font-size: 14px; text-underline-offset: 4px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.page-actions .btn { margin-top: 0 !important; }
.desk-nav { display: flex; gap: 26px; margin-left: 8px; font-size: 14px; letter-spacing: .03em; }
.desk-nav a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.desk-nav a:hover { border-bottom-color: var(--gold); }
.menu-btn { display: none; }

/* Drawers, sheets and search */
.drawer { position: fixed; inset: 0 auto 0 0; width: min(400px, 88vw); height: 100%; background: var(--white); display: none; flex-direction: column; overflow-y: auto; }
.drawer[open] { display: flex; animation: from-left .28s cubic-bezier(.2,.8,.2,1); }
.drawer-right { inset: 0 0 0 auto; width: min(440px, 100vw); }
.drawer-right[open] { animation-name: from-right; }
@keyframes from-left { from { transform: translateX(-24px); opacity: 0; } }
@keyframes from-right { from { transform: translateX(24px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 28px; }
.menu-links { display: grid; padding: 18px 24px 8px; }
.menu-links a { padding: 10px 0; font: 400 26px/1.2 var(--display); text-decoration: none; }
.menu-label { padding: 18px 24px 6px; color: var(--grey); font-size: 13px; letter-spacing: .04em; }
.menu-fabrics { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 24px 12px; }
.menu-fabrics a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; }
.menu-small { display: grid; gap: 2px; margin-top: auto; padding: 18px 24px 28px; border-top: 1px solid var(--line); }
.menu-small a { padding: 8px 0; text-decoration: none; color: var(--grey); }
.search-sheet { position: fixed; inset: 0 0 auto 0; width: 100%; max-height: 88vh; background: var(--white); display: none; flex-direction: column; }
.search-sheet[open] { display: flex; animation: from-top .25s ease-out; }
@keyframes from-top { from { transform: translateY(-16px); opacity: 0; } }
.search-top { display: flex; align-items: center; gap: 12px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
.search-box { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 18px; border: 1px solid var(--black); border-radius: 999px; background: #fff; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; }
.search-body { overflow-y: auto; padding: 18px var(--gutter) 28px; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.search-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 4px 24px; }
.search-results:not(:empty) { margin-top: 16px; }
.result { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.result img { width: 56px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper); }
.result strong { display: block; font-weight: 500; font-size: 15px; line-height: 1.35; }
.result span { font-size: 14px; color: var(--grey); }
.no-results { color: var(--grey); padding: 8px 0; }
.sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-height: 86vh; background: var(--white); border-radius: 20px 20px 0 0; display: none; }
.sheet[open] { display: block; animation: from-bottom .28s cubic-bezier(.2,.8,.2,1); }
@keyframes from-bottom { from { transform: translateY(32px); opacity: 0; } }
.filter-form { display: flex; flex-direction: column; max-height: 86vh; }
.filter-body { overflow-y: auto; padding: 8px 24px 16px; }
.filter-body fieldset { border: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.filter-body legend { padding: 0; margin-bottom: 8px; font-weight: 500; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: 15px; }
.opt input { width: 18px; height: 18px; accent-color: var(--black); }
.filter-foot { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar) + 20px); z-index: 60; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: var(--black); color: #fff; font-size: 14px; box-shadow: 0 10px 30px rgba(22,24,31,.25); }

/* Hero: the sign's black, a rail of real pieces, and a saree border with tassels as its hem. */
.hero { background: linear-gradient(var(--black) calc(100% - 46px), var(--white) 0); color: #fff; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(44px, 7vw, 104px) var(--gutter) clamp(40px, 5vw, 72px); }
.hero h1 { font-size: clamp(38px, 4.6vw, 66px); font-weight: 300; line-height: 1.08; max-width: 12em; }
.hero-copy p { margin-top: 24px; max-width: 32em; color: rgba(255,255,255,.76); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-photos { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); align-items: start; padding-top: 28px; }
.hero-photos::before { content: ''; position: absolute; top: 6px; left: -14px; right: -14px; height: 2px; border-radius: 2px; background: var(--gold); }
.hero-photo { position: relative; display: block; text-decoration: none; }
.hero-photo::before { content: ''; position: absolute; left: 50%; top: -22px; width: 1px; height: 22px; background: var(--gold); }
.hero-photo-2 { margin-top: 40px; }
.hero-photo-2::before { top: -62px; height: 62px; }
.hero-photo-3 { margin-top: 14px; }
.hero-photo-3::before { top: -36px; height: 36px; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--black-soft); }
.hero-photo span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.66); }
.hero-photo:hover span { color: #fff; }
.zari { height: 14px; background: linear-gradient(var(--gold) 0 2px, var(--black) 2px 4px, var(--marigold) 4px 10px, var(--black) 10px 12px, var(--gold) 12px 14px); }
.tassels { display: flex; gap: 9px; height: 46px; padding: 0 14px; overflow: hidden; }
.tassels .defs { position: absolute; }
.tassel { flex: 0 0 18px; width: 18px; height: 42px; transform-origin: 50% 0; animation: tassel-drop .9s cubic-bezier(.2,.75,.25,1) both; animation-delay: calc(var(--i) * 16ms + 150ms); }
@keyframes tassel-drop { 0% { transform: translateY(-46px) rotate(0); } 55% { transform: translateY(0) rotate(6deg); } 78% { transform: rotate(-3deg); } 100% { transform: rotate(0); } }

/* Sale */
.sale-band { padding: 0 var(--gutter); margin: clamp(32px, 5vw, 64px) 0 0; }
.sale-inner { display: grid; grid-template-columns: 1.1fr auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; max-width: var(--max); margin: 0 auto; padding: clamp(28px, 4vw, 48px); background: var(--black); color: #fff; outline: 1px solid var(--gold-soft); outline-offset: -10px; }
.sale-copy h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 300; }
.sale-copy p { margin-top: 10px; color: rgba(255,255,255,.78); max-width: 26em; }
.sale-copy .sale-when { margin-top: 14px; color: var(--marigold); font-size: 14px; letter-spacing: .03em; }
.countdown { display: flex; gap: clamp(10px, 1.6vw, 22px); }
.countdown div { display: grid; justify-items: center; min-width: 58px; }
.countdown span { font: 300 clamp(36px, 4vw, 56px)/1 var(--display); color: var(--marigold); font-variant-numeric: tabular-nums; }
.countdown small { margin-top: 8px; font-size: 12px; letter-spacing: .06em; color: rgba(255,255,255,.62); }
.sale-offers { display: grid; gap: 10px; }
.offer { display: flex; align-items: baseline; gap: 14px; padding: 14px 18px; border: 1px solid var(--gold-soft); text-decoration: none; transition: border-color .2s; }
.offer:hover { border-color: var(--marigold); }
.offer strong { font: 400 28px/1 var(--display); color: #fff; white-space: nowrap; }
.offer span { color: rgba(255,255,255,.75); font-size: 15px; }
.offer-mega strong { color: var(--marigold); }

/* Blocks */
.block { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter) 0; }
.block-flush { padding-left: 0; padding-right: 0; }
.block-mega { max-width: none; margin-top: clamp(48px, 6vw, 88px); padding: clamp(40px, 5vw, 72px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); background: var(--deal); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 24px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); }
.section-head p { margin-top: 8px; max-width: 36em; color: var(--grey); }
.section-head-wide { display: block; }
.section-head-wide p { margin-top: 14px; font-size: 18px; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(12px, 2vw, 24px); }
.cat-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; width: 100%; background: var(--paper); text-decoration: none; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.cat-tile:hover img { transform: scale(1.03); }
.cat-label { position: absolute; inset: auto 0 0 0; display: grid; gap: 4px; padding: 64px 24px 22px; background: linear-gradient(transparent, rgba(22,24,31,.72)); color: #fff; }
.cat-label strong { font: 400 clamp(28px, 3vw, 38px)/1.05 var(--display); }
.cat-label span { font-size: 14px; color: rgba(255,255,255,.82); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 26px 18px; }
.swatch { display: grid; justify-items: center; gap: 4px; text-align: center; text-decoration: none; }
.swatch-img { display: block; width: min(132px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; outline: 1px solid var(--line); outline-offset: 4px; transition: outline-color .2s; }
.swatch:hover .swatch-img { outline-color: var(--gold); }
.swatch-img img { width: 100%; height: 100%; object-fit: cover; }
.swatch strong { margin-top: 10px; font-weight: 500; font-size: 15px; line-height: 1.3; }
.swatch span { font-size: 13px; color: var(--grey); }

/* Carousels */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.car-btn { position: absolute; top: 32%; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.95); font-size: 24px; line-height: 1; box-shadow: 0 6px 18px rgba(22,24,31,.12); }
.car-prev { left: -18px; }
.car-next { right: -18px; }
.car-btn[disabled] { opacity: 0; pointer-events: none; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 20px; }
.card { position: relative; min-width: 0; }
.card[hidden] { display: none; }
.card-link { display: flex; flex-direction: column; text-decoration: none; }
.card-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper); }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease; }
.card-photo .alt { opacity: 0; }
@media (hover: hover) { .card-link:hover .card-photo .alt { opacity: 1; } }
.badge { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: var(--black); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.badge-deal { background: var(--marigold); color: var(--black); }
.badge-sold { background: rgba(255,255,255,.92); color: var(--black); }
.card-name { margin-top: 14px; font-size: 15px; font-weight: 500; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-link:hover .card-name { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.card-fabric { margin-top: 2px; font-size: 13px; color: var(--grey); }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 6px; }
.price { font-weight: 600; font-size: 16px; }
.was { color: var(--grey); font-size: 14px; text-decoration-color: rgba(95,97,104,.8); }
.save-btn { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); }
.save-btn .icon { width: 19px; height: 19px; }
[data-save][aria-pressed="true"] .icon { fill: var(--black); }
.empty { padding: 56px 0; text-align: center; color: var(--grey); }
.empty .btn { margin-top: 16px; }

/* Shop page */
.shop { max-width: var(--max); margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gutter) clamp(48px, 6vw, 88px); }
.shop-head { max-width: 44em; margin-bottom: 22px; }
.shop-head h1 { font-size: clamp(34px, 4vw, 54px); font-weight: 300; margin-top: 10px; }
.shop-head p { margin-top: 12px; color: var(--grey); font-size: 17px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--grey); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-scroll { margin-bottom: 18px; }
.shop-bar { position: sticky; top: var(--header); z-index: 10; display: flex; align-items: center; gap: 14px; margin: 0 calc(var(--gutter) * -1) 26px; padding: 10px var(--gutter); background: rgba(251,250,247,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.shop-bar .count { flex: 1; color: var(--grey); font-size: 14px; }
.sort select { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; }

/* Journey */
.journey { max-width: var(--max); margin: clamp(56px, 7vw, 104px) auto 0; padding: clamp(48px, 6vw, 88px) var(--gutter); border-top: 1px solid var(--line); }
.stops { position: relative; list-style: none; margin: 40px 0 0; padding: 0; }
.stops::before { content: ''; position: absolute; left: 5px; top: 18px; bottom: 30px; width: 2px; background: repeating-linear-gradient(var(--marigold) 0 12px, transparent 12px 20px); }
.stop { position: relative; display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 12px 48px; padding: 0 0 48px 44px; }
.stop::before { content: ''; position: absolute; left: 0; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2.5px solid var(--marigold); }
.stop-place h3 { font: 400 clamp(28px, 2.7vw, 36px)/1.05 var(--display); overflow-wrap: anywhere; }
.stop-place p { margin-top: 6px; color: var(--grey); font-size: 15px; }
.stop-body > p { max-width: 36em; }
.stop-photos { display: flex; gap: 10px; margin: 18px 0 16px; }
.stop-photos a { display: block; width: 92px; }
.stop-photos img { width: 92px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--paper); }
.stop-home { padding-bottom: 0; }
.stop-home::before { background: var(--black); border-color: var(--black); width: 14px; height: 14px; left: -1px; }

/* Story */
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(48px, 7vw, 104px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); background: var(--paper); }
.story-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-copy h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 300; max-width: 13em; }
.story-copy p { margin-top: 18px; max-width: 34em; font-size: 18px; line-height: 1.75; }
.story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }

/* Promises and footer */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: var(--max); margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--gutter); border-top: 1px solid var(--line); }
.promises h2 { font: 500 16px/1.3 var(--body); letter-spacing: .01em; }
.promises p { margin-top: 6px; color: var(--grey); font-size: 14px; line-height: 1.55; }
.site-footer { background: var(--black); color: rgba(255,255,255,.8); padding: 56px var(--gutter) 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; max-width: var(--max); margin: 0 auto; }
.footer-brand p { max-width: 28em; font-size: 15px; margin-top: 10px; }
.wordmark-footer { color: var(--marigold); font-size: 22px; margin: 0; }
.drawer-head .brand-mark { width: 28px; height: 24px; }
.drawer-head .wordmark { font-size: 15px; }
.footer-wa { display: inline-block; margin-top: 16px; color: var(--marigold); font-weight: 500; text-decoration: none; }
.footer-address { color: rgba(255,255,255,.6) !important; }
.footer-map { display: inline-block; margin-top: 6px; font-size: 14px; text-underline-offset: 4px; }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.site-footer nav h2 { margin-bottom: 6px; font: 500 14px/1.4 var(--body); color: #fff; letter-spacing: .04em; }
.site-footer nav a { text-decoration: none; padding: 3px 0; }
.site-footer nav a:hover, .footer-wa:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.footer-small { max-width: var(--max); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.5); }
.tabbar { display: none; }

/* Product page */
.product { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 64px; }
.product .crumbs { margin-bottom: 18px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery { position: relative; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--paper); }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; cursor: zoom-in; }
.gallery .badge { left: 14px; top: 14px; font-size: 13px; padding: 5px 12px; }
.gallery-dots { display: none; justify-content: center; gap: 6px; margin-top: 12px; }
.gallery-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
.gallery-dots span.on { width: 18px; border-radius: 3px; background: var(--black); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button { padding: 0; border: 1px solid transparent; background: none; opacity: .7; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--black); opacity: 1; }
.gallery-thumbs img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; }
.zoom-btn { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); }
.product-info { position: sticky; top: calc(var(--header) + 24px); }
.product-fabric { font-size: 14px; letter-spacing: .03em; color: var(--grey); }
.product-fabric a { text-decoration: none; }
.product-fabric a:hover { text-decoration: underline; }
.product-info h1 { margin-top: 8px; font-size: clamp(28px, 3vw, 40px); font-weight: 300; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 16px; }
.price-big { font-size: 26px; font-weight: 500; }
.product-price .was { font-size: 17px; }
.save-note { padding: 3px 10px; border-radius: 999px; background: var(--deal); color: #7a5300; font-size: 13px; font-weight: 500; }
.sale-ends { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--grey); }
.sale-ends .icon { width: 18px; height: 18px; color: var(--gold); }
.sale-ends [data-timer] { color: var(--black); font-weight: 500; font-variant-numeric: tabular-nums; }
.availability { margin-top: 14px; font-size: 15px; color: #7a5300; }
.availability.is-sold { color: var(--grey); }
.size-pick { display: grid; gap: 6px; margin-top: 20px; font-size: 14px; font-weight: 500; }
.size-pick select { min-height: 48px; border: 1px solid var(--line); border-radius: 6px; padding: 0 12px; background: #fff; }
.product-actions { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 24px; }
.product-actions .btn:only-of-type { grid-column: span 2; }
.product-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; font-size: 15px; }
.product-links a, .product-links button { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; background: none; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; }
.product-links .icon { width: 19px; height: 19px; }
.delivery { list-style: none; display: grid; gap: 12px; margin-top: 26px; padding: 18px 20px; background: var(--paper); font-size: 14px; }
.delivery li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.delivery .icon { width: 20px; height: 20px; color: var(--gold); }
.delivery strong { font-weight: 500; }
.accordions { margin-top: 22px; border-top: 1px solid var(--line); }
.accordions details { border-bottom: 1px solid var(--line); }
.accordions summary { display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; font-weight: 500; list-style: none; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--gold); }
.accordions details[open] summary::after { content: '−'; }
.accordions details > p, .product-desc { padding: 0 0 20px; color: #3a3c44; line-height: 1.75; }
.product-desc p + p { margin-top: 12px; white-space: pre-line; }
.product-code { margin-top: 18px; color: var(--grey); font-size: 13px; }
.buy-bar { display: none; }
.zoom { position: fixed; inset: 0; width: 100%; height: 100%; background: #0e0f13; }
.zoom[open] { display: block; }
.zoom-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
.zoom-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; touch-action: pinch-zoom; }
.zoom-close { position: fixed; top: 14px; right: 14px; z-index: 2; background: rgba(255,255,255,.92); }

/* Bag */
.bag-items { flex: 1; overflow-y: auto; padding: 4px 24px; }
.bag-item { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.bag-item img { width: 80px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper); }
.bag-item h3 { font-size: 15px; font-weight: 500; line-height: 1.38; }
.bag-item h3 a { text-decoration: none; }
.bag-item p { font-size: 13px; color: var(--grey); }
.bag-item .price-row { margin-top: 6px; }
.bag-remove { margin-top: 6px; padding: 6px 0; border: 0; background: none; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; color: var(--grey); }
.bag-empty { padding: 48px 0; text-align: center; color: var(--grey); }
.bag-empty .btn { margin-top: 18px; }
.bag-foot { display: grid; gap: 10px; padding: 18px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.bag-foot:empty { display: none; }
.bag-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 500; }
.bag-saving { display: flex; justify-content: space-between; font-size: 14px; color: #7a5300; }
.fine { font-size: 13px; color: var(--grey); line-height: 1.55; }

/* Checkout */
.checkout { max-width: 1180px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--gutter) 80px; }
.checkout h1 { font-size: clamp(34px, 4vw, 50px); font-weight: 300; margin-bottom: 28px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.checkout-form { display: grid; gap: 16px; }
.checkout-form h2, .summary h2 { font: 500 18px/1.3 var(--body); }
.pay-block { display: grid; gap: 12px; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.field em { font-style: normal; font-weight: 400; color: var(--grey); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cfcbc2; border-radius: 6px; background: #fff; font-size: 16px; font-weight: 400; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--marigold); outline-offset: 0; border-color: transparent; }
[aria-invalid="true"] { border-color: var(--red) !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { grid-template-columns: 1.2fr 1fr .8fr; }
.segmented { display: inline-flex; padding: 4px; border: 1px solid var(--black); border-radius: 999px; }
.segmented-wide { display: grid; grid-template-columns: 1fr 1fr; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span { display: grid; place-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; cursor: pointer; }
.segmented input:checked + span { background: var(--black); color: #fff; }
.segmented input:focus-visible + span { outline: 2px solid var(--marigold); outline-offset: 2px; }
.intl-note { display: grid; gap: 14px; padding: 18px; background: var(--paper); }
.form-error { padding: 12px 14px; border-left: 3px solid var(--red); background: #fbeceb; color: #7d1a14; font-size: 15px; }
.summary { position: sticky; top: calc(var(--header) + 20px); padding: 24px; background: var(--paper); }
.summary-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary-item img { width: 58px; aspect-ratio: 4 / 5; object-fit: cover; }
.summary-item s { display: block; color: var(--grey); font-size: 13px; text-align: right; }
.summary-item.is-sold { opacity: .55; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 15px; }
.summary-row small { display: block; color: var(--grey); font-size: 12px; }
.summary-saving { color: #7a5300; }
.summary-total { padding-top: 16px; font-size: 19px; font-weight: 600; }

/* Plain pages */
.page { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--gutter); }
.page h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 300; margin-bottom: 20px; }
.page h2 { font: 500 17px/1.4 var(--body); margin-top: 32px; }
.page p { margin-top: 12px; font-size: 17px; line-height: 1.75; }
.page .btn { margin-top: 24px; }
.page-note a { font-weight: 500; }
.page-small { font-size: 14px !important; color: var(--grey); }
.order-ref { color: var(--grey); font-size: 15px !important; margin: 0 0 8px !important; letter-spacing: .03em; }
.pay-steps { display: grid; gap: 14px; margin-top: 28px; padding: 24px; border: 1px solid var(--gold-soft); background: #fff; }
.pay-steps ol { display: grid; gap: 8px; padding-left: 22px; font-size: 17px; }
.pay-steps .btn { margin-top: 6px; }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; }
.copy-row .btn { margin-top: 0; }
.order-items { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.order-items li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-total { font-weight: 600; }
.order-address { font-size: 16px !important; }
.notice { padding: 12px 16px; background: var(--deal); border-left: 3px solid var(--marigold); }
.admin-actions { display: grid; gap: 10px; margin-top: 24px; }
.admin-actions .btn { margin-top: 0; }

/* Tablets */
@media (max-width: 1080px) {
  .desk-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .sale-inner { grid-template-columns: 1fr 1fr; }
  .sale-offers { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .carousel-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px; }
}
@media (max-width: 900px) {
  .hero-inner, .story, .product-layout, .checkout-layout { grid-template-columns: 1fr; }
  .product-info, .summary { position: static; }
  .summary { order: -1; }
  .promises { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .story-photo img { aspect-ratio: 16 / 11; }
}

/* Phones */
@media (max-width: 720px) {
  :root { --header: 56px; --tabbar: calc(62px + env(safe-area-inset-bottom)); }
  body { font-size: 16px; }
  .announce { font-size: 12px; min-height: 34px; padding: 7px 14px; }
  .wordmark { font-size: 15px; letter-spacing: .34em; }
  .brand { gap: 9px; }
  .site-header .brand-mark { width: 26px; height: 22px; }
  .footer-ig { margin-left: 0; display: block; }
  .hide-mobile { display: none; }
  .tabbar { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: repeat(5, 1fr); height: var(--tabbar); padding-bottom: env(safe-area-inset-bottom); background: rgba(251,250,247,.97); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
  .tabbar a, .tabbar button { position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; border: 0; background: none; font-size: 11px; letter-spacing: .02em; text-decoration: none; color: var(--black); }
  .tabbar .dot-count { top: 6px; right: calc(50% - 22px); }
  .hero { background: linear-gradient(var(--black) calc(100% - 46px), var(--white) 0); }
  .hero-inner { padding-top: 36px; gap: 30px; }
  .hero-copy p { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-photos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 28px var(--gutter) 4px; scrollbar-width: none; }
  .hero-photos::-webkit-scrollbar { display: none; }
  .hero-photos::before { left: 0; right: 0; }
  .hero-photo { flex: 0 0 58%; scroll-snap-align: center; }
  .sale-band { padding: 0; }
  .sale-inner { grid-template-columns: 1fr; outline-offset: -8px; padding: 32px 22px; text-align: center; }
  .sale-copy p { margin-inline: auto; }
  .countdown { justify-content: center; }
  .countdown div { min-width: 0; flex: 1; }
  .sale-offers { grid-template-columns: 1fr; text-align: left; }
  .cat-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-label { padding: 48px 14px 14px; }
  .cat-label strong { font-size: 22px; }
  .swatches { display: flex; overflow-x: auto; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .swatches::-webkit-scrollbar { display: none; }
  .swatch { flex: 0 0 104px; scroll-snap-align: start; }
  .swatch-img { width: 96px; }
  .swatch strong { font-size: 13px; }
  .carousel-track { grid-auto-columns: 46%; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); }
  .block-flush .carousel-track { margin: 0; padding: 0 0 4px; }
  .car-btn { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .card-name { font-size: 14px; }
  .price { font-size: 15px; }
  .was { font-size: 13px; }
  .save-btn { width: 34px; height: 34px; top: 6px; right: 6px; }
  .badge { left: 6px; top: 6px; font-size: 11px; padding: 3px 8px; }
  .chips-scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 14px; padding: 0 var(--gutter) 2px; scrollbar-width: none; }
  .chips-scroll::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .stop { grid-template-columns: 1fr; padding-left: 34px; }
  .stop-photos a, .stop-photos img { width: 80px; }
  .promises { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .site-footer { padding-bottom: 24px; }
  .product { padding-top: 10px; }
  .product .crumbs { margin-bottom: 10px; }
  .gallery { margin: 0 calc(var(--gutter) * -1); }
  .gallery-thumbs { display: none; }
  .gallery-dots { display: flex; }
  .product-actions { grid-template-columns: 1fr auto; }
  .product-actions [data-buy] { grid-column: 1 / -1; grid-row: 2; }
  .buy-bar { position: fixed; inset: auto 0 var(--tabbar) 0; z-index: 35; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px var(--gutter); background: rgba(251,250,247,.97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
  .buy-bar.show { transform: none; }
  .buy-bar .btn { min-height: 44px; padding: 10px 22px; }
  .buy-bar .price-row, .buy-bar > div { display: flex; align-items: baseline; gap: 8px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .shop-bar { top: var(--header); }
  .toast { bottom: calc(var(--tabbar) + 16px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
