/* Children of Obeid: clean white store, mobile first */
:root {
  --ink: #0b0b0b;
  --muted: #6d6d6d;
  --line: #e7e7e4;
  --tile: #efeeeb;
  --bg: #ffffff;
  --red: #a3201c;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --pad: clamp(16px, 4vw, 40px);
  --max: 1400px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 6px; z-index: 300; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip:focus { left: 6px; }

.kicker { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.quote { font: italic 500 clamp(30px, 8.6vw, 64px)/1.02 var(--serif); letter-spacing: -.01em; }
.quote span { display: block; white-space: nowrap; }
.link { background: none; border: 0; padding: 0; font: 500 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 0;
  font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: opacity .15s;
}
.btn:hover { opacity: .85; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--wide { width: 100%; }
.btn--lg { min-height: 54px; font-size: 13px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; padding: 0; font-size: 26px; line-height: 1; }
.icon-btn svg { width: 22px; height: 22px; }

/* Announcement + header */
.announce { background: var(--ink); color: #fff; text-align: center; font: 500 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 10px var(--pad); }
.header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 8px; padding: 8px var(--pad); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.logo { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; justify-self: center; font: 800 15px/1 var(--sans); letter-spacing: -.02em; white-space: nowrap; }
.logo__mark { width: 18px; height: 18px; color: var(--red); }
.nav { display: none; }
.nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--pad) 16px; }
.nav a { text-decoration: none; font: 500 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 14px 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cart-btn { position: relative; justify-self: end; }
.cart-btn__count { position: absolute; top: 3px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font: 700 10px/17px var(--sans); text-align: center; }
@media (min-width: 900px) {
  .header { grid-template-columns: auto 1fr auto; padding: 14px var(--pad); }
  .menu-btn { display: none; }
  .logo { justify-self: start; font-size: 17px; }
  .nav, .nav.open { display: flex; position: static; flex-direction: row; justify-content: center; gap: 28px; padding: 0; border: 0; background: none; }
  .nav a { padding: 6px 0; }
}

/* Hero: two photo panels + text band */
.hero { display: grid; grid-template-columns: 1fr; background: var(--tile); }
.hero__panel { display: block; overflow: hidden; }
.hero__panel--photo { background: #f4f3f1; aspect-ratio: 4 / 4.2; }
.hero__panel--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero__panel--tile { display: none; }
.hero__band { padding: 28px var(--pad) 34px; text-align: center; background: var(--bg); display: grid; justify-items: center; gap: 18px; }
.hero__band .kicker { margin: 0; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__panel { height: min(78vh, 760px); }
  .hero__panel--photo { aspect-ratio: auto; }
  .hero__panel--tile { display: grid; place-items: center; background: var(--tile); }
  .hero__panel--tile img { width: 78%; height: 88%; object-fit: contain; }
  .hero__band { grid-column: 1 / -1; padding: 44px var(--pad) 52px; }
  .quote { font-size: clamp(44px, 4.4vw, 68px); }
}

/* Collection grid */
.collection { max-width: var(--max); margin: 0 auto; padding: 36px var(--pad) 56px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.section-head h2, .faq h2, .signup h2, .feature h2 { font: 700 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 32px 18px; } .grid--few { grid-template-columns: repeat(2, minmax(0, 440px)); } }
.card { text-decoration: none; display: block; }
.card__img { position: relative; aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; margin-bottom: 10px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.card__img--cut img:first-child { object-fit: contain; padding: 8%; }
.card__alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) { .card:hover .card__alt { opacity: 1; } }
.card__name { font: 500 12px/1.35 var(--sans); text-transform: uppercase; letter-spacing: .03em; }
.card__price { margin: 3px 0 8px; font-size: 13px; color: var(--muted); }
.card--soon .card__img { display: grid; place-items: center; }
.card--soon .card__img span { font: italic 500 28px/1 var(--serif); color: #b4b1aa; }
.card--soon .card__name { color: var(--muted); }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: #1c1b1a; box-shadow: 0 0 0 1px #fff, 0 0 0 2px var(--line); }
.swatch--lg { width: 26px; height: 26px; }
.swatch.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink); }

/* Accordion */
.acc details { border-top: 1px solid var(--line); }
.acc details:last-child { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; font: 500 13px/1.3 var(--sans); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; line-height: 1; color: var(--muted); }
.acc details[open] summary::after { content: "−"; }
.acc p { margin: 0 0 16px; color: var(--muted); }
.faq { max-width: 760px; margin: 0 auto; padding: 24px var(--pad) 56px; scroll-margin-top: 70px; }
.faq h2 { margin-bottom: 14px; }

/* Signup */
.signup { border-top: 1px solid var(--line); text-align: center; padding: 48px var(--pad); }
.signup h2 { margin-bottom: 16px; }
.signup__form { display: flex; max-width: 420px; margin: 0 auto; }
.signup__form input { flex: 1; min-width: 0; min-height: 48px; border: 1px solid var(--ink); border-right: 0; padding: 0 14px; font: 15px var(--sans); border-radius: 0; }
.signup__msg { min-height: 1.4em; margin: 10px 0 0; color: var(--muted); font-size: 13px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px var(--pad) 28px; background: #fafaf9; }
.footer__cols { max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.footer__cols > div:first-child { grid-column: 1 / -1; }
.footer .logo { justify-self: start; }
.footer h2 { font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer nav a, .footer__social a { display: block; text-decoration: none; padding: 5px 0; font-size: 13px; }
.footer nav a:hover, .footer__social a:hover { text-decoration: underline; }
.footer__social { display: flex; gap: 18px; margin-top: 14px; }
.footer__small { max-width: var(--max); margin: 28px auto 0; font-size: 12px; color: var(--muted); }
@media (min-width: 900px) { .footer__cols { grid-template-columns: 2fr 1fr 1fr; } .footer__cols > div:first-child { grid-column: auto; } }

/* Product page */
.pdp { max-width: var(--max); margin: 0 auto; display: grid; gap: 22px; padding: 0 0 48px; }
.pdp__gallery { min-width: 0; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--tile); }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; position: relative; background: var(--tile); cursor: zoom-in; border: 0; padding: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide--cut img { object-fit: contain; padding: 7%; }
.dots { display: flex; justify-content: center; gap: 7px; padding: 12px 0 0; }
.dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: #cfcfcb; }
.dots button[aria-current="true"] { background: var(--ink); }
.thumbs { display: none; }
.pdp__info { padding: 0 var(--pad); }
.pdp__title { font: 700 20px/1.2 var(--sans); text-transform: uppercase; letter-spacing: -.01em; }
.pdp__price { margin: 6px 0 20px; font-size: 16px; }
.opt { margin-bottom: 20px; }
.opt__row { display: flex; justify-content: space-between; align-items: baseline; }
.opt__label { margin: 0 0 10px; font: 500 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 0; }
.opt__label strong { color: var(--ink); font-weight: 600; }
.opt__error { color: var(--red); font-size: 12px; margin: 8px 0 0; }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sizes button { height: 46px; border: 1px solid var(--line); background: #fff; font: 500 13px/1 var(--sans); }
.sizes button:hover { border-color: var(--ink); }
.sizes button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-size-box].shake .sizes { animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.tiers { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.tier { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); cursor: pointer; position: relative; }
.tier:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tier input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.tier__name { font-weight: 600; font-size: 13px; }
.tier__note { display: block; font-size: 12px; color: var(--muted); }
.tier__price { font-weight: 600; text-align: right; }
.tier__badge { position: absolute; top: -9px; right: 10px; background: var(--ink); color: #fff; font: 600 9.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; }
.pdp__perks { text-align: center; font-size: 12px; color: var(--muted); margin: 12px 0 26px; }
.tabs__list { display: flex; gap: 18px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs__list button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 0; font: 600 11.5px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tabs__list button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
[role="tabpanel"] p { color: #3d3d3d; margin: 14px 0 0; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.3fr 1fr; gap: 48px; padding: 32px var(--pad) 80px; align-items: start; }
  .pdp__info { padding: 0; position: sticky; top: 90px; }
  .slides { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; overflow: visible; background: none; }
  .slide { flex: none; }
  .slide:first-child { grid-column: 1 / -1; }
  .dots { display: none; }
  .pdp__title { font-size: 24px; }
}
.feature { display: grid; max-width: var(--max); margin: 0 auto; border-top: 1px solid var(--line); }
.feature img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; background: #f4f3f1; }
.feature > div { padding: 28px var(--pad) 48px; display: grid; gap: 16px; justify-items: start; align-content: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; } .feature > div { padding: 48px; } }

/* Sticky buy bar (mobile product page) */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sticky-buy div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 12px; }
.sticky-buy strong { text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy span { color: var(--muted); }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* Policy + success pages */
.policy { max-width: 720px; margin: 0 auto; padding: 40px var(--pad) 72px; }
.policy h1 { font: 700 24px/1.2 var(--sans); text-transform: uppercase; margin-bottom: 18px; }
.policy h2 { font: 600 14px/1.3 var(--sans); margin: 26px 0 8px; }
.policy p, .policy li { color: #3d3d3d; font-size: 15px; }
.rates { width: 100%; border-collapse: collapse; font-size: 14px; }
.rates th, .rates td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.rates th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.done { text-align: center; padding: 80px var(--pad) 100px; display: grid; justify-items: center; gap: 18px; }
.done p { color: var(--muted); max-width: 44ch; margin: 0; }

/* Cart drawer */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .25s; }
.scrim.show { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font: 700 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.drawer__ship { padding: 12px 18px; font-size: 12px; border-bottom: 1px solid var(--line); }
.drawer__ship .bar { height: 3px; background: var(--line); margin-top: 8px; }
.drawer__ship .bar i { display: block; height: 100%; background: var(--ink); transition: width .3s; }
.drawer__items { list-style: none; margin: 0; padding: 0 18px; flex: 1; overflow-y: auto; }
.drawer__empty { padding: 56px 0; text-align: center; color: var(--muted); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 95px; object-fit: contain; background: var(--tile); padding: 4px; }
.line h3 { font: 500 12px/1.3 var(--sans); text-transform: uppercase; }
.line p { margin: 3px 0 0; font-size: 12px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.qty button { width: 32px; height: 32px; background: none; border: 0; font-size: 16px; }
.qty output { min-width: 22px; text-align: center; font-size: 13px; }
.line__right { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font-size: 13px; }
.line__remove { background: none; border: 0; padding: 0; font-size: 11px; color: var(--muted); text-decoration: underline; }
.drawer__foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.field { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.field select { flex: 1; max-width: 220px; min-height: 38px; border: 1px solid var(--line); background: #fff; padding: 0 8px; font: 13px var(--sans); border-radius: 0; }
.totals { margin: 0 0 6px; }
.totals div { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; }
.totals__total { font-weight: 700; font-size: 15px !important; padding-top: 8px !important; border-top: 1px solid var(--line); margin-top: 6px; }
.totals__total dt { color: var(--ink); }
.drawer__note { margin: 0 0 12px; font-size: 12px; color: var(--muted); }
.drawer__error { margin: 0 0 10px; font-size: 12px; color: var(--red); }
.drawer__secure { margin: 10px 0 0; font-size: 11px; color: var(--muted); text-align: center; }

/* Modals + toast */
.modal { width: min(520px, calc(100% - 24px)); padding: 20px; border: 0; }
.modal::backdrop { background: rgba(0,0,0,.45); }
.modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.modal__head h2 { font: 700 14px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.modal__sub, .modal p { color: var(--muted); font-size: 13px; }
.modal__fine { font-size: 11px; }
.table-wrap { overflow-x: auto; }
.modal table { width: 100%; border-collapse: collapse; font-size: 13px; }
.modal th, .modal td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.modal th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.modal tr.hl td { background: var(--ink); color: #fff; }
.modal--zoom { width: min(980px, calc(100% - 16px)); padding: 0; background: var(--tile); position: relative; }
.modal--zoom img { width: 100%; max-height: 90vh; object-fit: contain; }
.modal__x { position: absolute; top: 6px; right: 6px; background: #fff; border-radius: 50%; }
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 150; transform: translate(-50%, 16px); opacity: 0; background: var(--ink); color: #fff; padding: 11px 16px; font-size: 12px; pointer-events: none; transition: .25s; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

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