/* Beldi Collective · Oasis theme */
:root {
  --ivory: #FAF7F2;
  --plaster: #F1EADF;
  --sand: #E9DFCF;
  --line: #E6DED2;
  --line-strong: #DCD0BF;
  --ink: #2C221E;
  --ink-soft: #4A3F38;
  --muted: #6B5A4E;
  --gold: #B0913A;
  --gold-light: #C9A85A;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
  --wrap: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Leave room for the sticky header when jumping to #look, #story, #early */
section[id], [id="details"], [id="size-guide"] { scroll-margin-top: 96px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
button, input, select { font-family: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); 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-left: 32px; padding-right: 32px; }
@media (max-width: 640px) { .wrap { padding-left: 20px; padding-right: 20px; } }

/* Type */
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0; }
.eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.eyebrow.plain::before { display: none; }
.h1, .h2, .h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
.h1 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -.01em; }
.h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.1; }
.h3 { font-size: 21px; }
.lead { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin: 0; }
.body { font-size: 16px; line-height: 1.8; color: var(--ink-soft); margin: 0; }
.star { font-family: var(--serif); color: var(--gold); line-height: 1; }
.link-caps { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 32px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); transition: background .2s, color .2s; }
.btn:hover { background: #45372F; color: var(--ivory); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--ivory); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.done { background: transparent; color: var(--ink); }
.icon-btn { background: none; border: 0; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); }

/* Announcement + header */
.announce { background: var(--ink); color: #F5EEE2; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 10px 16px; }
.announce a { color: #F5EEE2; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(250,247,242,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.main-nav { display: flex; gap: 28px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.main-nav a { text-decoration: none; padding: 12px 0; white-space: nowrap; }
.main-nav a[aria-current="page"] { border-bottom: 1px solid var(--ink); }
.brand { text-decoration: none; display: flex; flex-direction: column; align-items: center; }
.brand-word { font-family: var(--serif); font-size: 30px; letter-spacing: .32em; padding-left: .32em; line-height: 1; }
.brand-word span { color: var(--gold); }
.brand-sub { font-size: 11px; letter-spacing: .3em; margin-top: 4px; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.bag-btn { background: none; border: 0; height: 44px; padding: 0 8px; display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.menu-btn { display: none; }
@media (max-width: 1100px) {
  .header-row { grid-template-columns: auto 1fr auto; }
  .brand { align-items: flex-start; }
  .brand-word { font-size: 24px; padding-left: 0; }
  .menu-btn { display: grid; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); flex-direction: column; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header-actions .hide-sm { display: none; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-media { flex: 1 1 460px; position: relative; display: flex; justify-content: center; }
.arch { width: 100%; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; background: var(--sand); position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.arch > img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch .watermark { position: absolute; top: 18%; left: 50%; transform: translateX(-50%); width: 44%; opacity: .12; }
.arch .ph-label { position: relative; margin-bottom: 28px; background: var(--ivory); padding: 10px 18px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-media .arch { max-width: 520px; }
.hero-badge { position: absolute; left: 0; bottom: 120px; background: var(--ivory); border: 1px solid var(--line); padding: 16px 20px; display: flex; gap: 14px; align-items: center; max-width: 260px; font-size: 13px; line-height: 1.5; }
.hero-badge .star { font-size: 34px; }

/* Sections */
.section { padding-top: 104px; padding-bottom: 104px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; }
.band-plaster { background: var(--plaster); }
.band-ink { background: var(--ink); color: #F5EEE2; }
.bordered-top { border-top: 1px solid var(--line); }

/* Early access */
.early { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.early-copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 24px; }
.countdown { display: flex; flex-wrap: wrap; gap: 12px; }
.countdown div { background: var(--ivory); border: 1px solid var(--line-strong); min-width: 96px; padding: 16px 18px; text-align: center; }
.countdown strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.early-card { flex: 1 1 420px; background: var(--ivory); border: 1px solid var(--line-strong); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.perks li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; line-height: 1.5; }
.perks .star { font-size: 24px; }
.field-label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.input { height: 54px; border: 1px solid var(--ink); background: #fff; padding: 0 18px; font-size: 15px; min-width: 0; width: 100%; }
.stack-form { display: flex; flex-direction: column; gap: 10px; }
.inline-form { display: flex; flex-wrap: wrap; width: 100%; max-width: 520px; }
.inline-form .input { flex: 1 1 260px; width: auto; }
.form-done { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; margin: 0; }
.small-muted { font-size: 12px; color: var(--muted); margin: 0; }

/* Meaning band */
.meaning { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: center; justify-content: center; text-align: center; padding-top: 56px; padding-bottom: 56px; }
.meaning .ar { font-family: var(--serif); font-size: 52px; line-height: 1; }
.meaning p { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.5; margin: 0; max-width: 720px; }

/* Grids + cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.cat-card { text-decoration: none; display: flex; flex-direction: column; gap: 18px; }
.cat-card .arch { aspect-ratio: 3 / 4; display: grid; place-items: center; }
.cat-card .arch img { width: 100%; height: 100%; object-fit: cover; }
.cat-meta { display: flex; justify-content: space-between; align-items: baseline; }
.cat-meta span:first-child { font-family: var(--serif); font-size: 24px; }
.cat-meta span:last-child { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 44px 24px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-media:hover img { transform: scale(1.03); }
.tag { position: absolute; top: 14px; left: 14px; background: var(--ivory); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; }
.card-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card-title { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 0; }
.card-title a { text-decoration: none; }
.price { font-size: 14px; white-space: nowrap; }
.card-sub { font-size: 13px; color: var(--muted); margin-top: -6px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { min-width: 44px; height: 44px; padding: 0 10px; font-size: 13px; border: 1px solid var(--line-strong); background: transparent; }
.pill[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.pill:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 999px; border: 1px solid transparent; background: none; display: grid; place-items: center; padding: 0; }
.swatch span { width: 28px; height: 28px; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); }
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.dots { display: flex; gap: 6px; }
.dots span { width: 12px; height: 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,.15); }

/* Build the look */
.look { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.look-media { flex: 1 1 400px; display: flex; justify-content: center; }
.look-media .arch { max-width: 480px; }
.look-copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 24px; }
.look-list { border-top: 1px solid var(--line-strong); }
.look-item { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-strong); cursor: pointer; }
.look-item input { width: 20px; height: 20px; accent-color: var(--ink); flex: 0 0 auto; }
.look-item img { width: 64px; height: 80px; object-fit: cover; flex: 0 0 auto; background: var(--sand); }
.look-item .meta { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.look-item .meta strong { font-family: var(--serif); font-weight: 400; font-size: 19px; }
.look-item .meta span { font-size: 13px; color: var(--muted); }
.look-item select { height: 40px; border: 1px solid var(--line-strong); background: var(--ivory); padding: 0 8px; font-size: 13px; }
.look-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); }
.look-total strong { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--ink); }
.look-total s { color: var(--muted); margin-right: 8px; font-size: 16px; }

/* Story */
.story { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.story-media { flex: 1 1 420px; display: flex; justify-content: center; }
.story-media img { width: 100%; max-width: 360px; height: auto; }
.story-copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 24px; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; padding-top: 12px; border-top: 1px solid var(--line-strong); }
.values h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 16px 0 6px; }
.values p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.trust > div { display: flex; gap: 14px; align-items: flex-start; }
.trust .star { font-size: 28px; }
.trust strong { display: block; font-size: 14px; margin-bottom: 4px; }
.trust p { font-size: 13px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* Newsletter */
.newsletter { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* Footer */
.site-footer { background: var(--ink); color: #E8DFD2; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 72px; padding-bottom: 40px; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { width: 120px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 0; max-width: 280px; }
.footer-col { flex: 0 1 160px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col h2 { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 4px; }
.footer-col a { color: #E8DFD2; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #4A3F38; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: #BFB3A3; padding-top: 24px; padding-bottom: 24px; }

/* Shop page */
.page-head { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 12px; padding-bottom: 12px; margin-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); background: transparent; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.select { height: 44px; border: 1px solid var(--line-strong); background: var(--ivory); padding: 0 12px; font-size: 13px; }

/* Product page */
.crumbs { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.pdp { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 28px; padding-bottom: 96px; align-items: flex-start; }
.gallery { flex: 1 1 520px; display: grid; grid-template-columns: 88px 1fr; gap: 16px; }
.thumbs { display: flex; flex-direction: column; gap: 12px; }
.thumbs button { padding: 0; border: 1px solid transparent; background: var(--sand); aspect-ratio: 4 / 5; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-img { background: var(--sand); aspect-ratio: 4 / 5; }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } .thumbs { flex-direction: row; order: 2; } .thumbs button { width: 64px; } }
.buy { flex: 1 1 400px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 110px; }
.buy .h1 { font-size: clamp(36px, 3.4vw, 52px); }
.buy-price { font-size: 20px; }
.opt-head { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.opt-head button { background: none; border: 0; padding: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; color: var(--ink); min-height: 24px; }
.qty { display: inline-flex; border: 1px solid var(--line-strong); }
.qty button { width: 44px; height: 50px; background: none; border: 0; font-size: 18px; }
.qty output { width: 44px; display: grid; place-items: center; font-size: 15px; }
.buy-row { display: flex; gap: 12px; }
.buy-row .btn { flex: 1; }
.ship-note { font-size: 13px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 18px; }
.acc { border-top: 1px solid var(--line-strong); }
.acc details { border-bottom: 1px solid var(--line-strong); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 20px; }
.acc details[open] summary::after { content: '−'; }
.acc .acc-body { padding-bottom: 20px; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.size-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.size-table th, .size-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }

/* Cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(44,34,30,.4); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--ivory); z-index: 60; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
body.cart-open .drawer { transform: none; }
body.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 0; }
.ship-progress { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 13px; display: flex; flex-direction: column; gap: 10px; }
.bar { height: 4px; background: var(--line); }
.bar span { display: block; height: 100%; background: var(--gold); transition: width .3s; }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 90px; object-fit: cover; background: var(--sand); }
.line h3 { font-family: var(--serif); font-weight: 400; font-size: 17px; margin: 0 0 4px; }
.line .opts { font-size: 12px; color: var(--muted); }
.line .qty button { width: 36px; height: 36px; }
.line .qty output { width: 32px; font-size: 13px; }
.line .remove { background: none; border: 0; font-size: 12px; text-decoration: underline; color: var(--muted); padding: 0; min-height: 32px; }
.line-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-size: 14px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 15px; }
.drawer-empty { padding: 48px 0; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.demo-note { font-size: 13px; line-height: 1.6; background: var(--plaster); padding: 12px 14px; margin: 0; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: var(--ivory); padding: 14px 22px; font-size: 13px; letter-spacing: .08em; z-index: 70; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Phones: show the heading + text first in image/text sections, and tighten section spacing */
@media (max-width: 860px) {
  .look-copy, .story-copy { order: -1; }
  .look, .story, .hero, .early { gap: 40px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .look-media .arch { max-width: 360px; }
  .story-media img { max-width: 240px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
