:root {
  --bg: #F7F2EC;
  --bg-alt: #EFE6DC;
  --card: #FFFDFa;
  --ink: #2B2522;
  --muted: #6F635A;
  --line: #E3D8CC;
  --accent: #A65135;
  --accent-ink: #FFFFFF;
  --accent-soft: #F1DDD3;
  --sage: #7D8E72;
  --error: #B3261E;
  --radius: 14px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- announcement + header ---- */
.announce { background: var(--ink); color: #F7F2EC; text-align: center; font-size: 12.5px; letter-spacing: .06em; padding: 9px 16px; }
.announce:empty { display: none; }
.header { position: sticky; top: 0; z-index: 20; background: rgba(247, 242, 236, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.logo { font-family: var(--serif); font-size: 26px; text-decoration: none; letter-spacing: -0.02em; }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 6px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-weight: 600; letter-spacing: .02em; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 99px; border: 0; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 15.5px; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #8F4229; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }

/* ---- hero ---- */
.hero { padding: 40px 0 28px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); }
.hero h1 em { color: var(--accent); }
.hero p { color: var(--muted); font-size: 17px; max-width: 30em; margin: 18px 0 28px; }
.hero-img { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; background: #EAD9CC; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-meta { display: flex; gap: 18px; margin-top: 20px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.hero-meta span::before { content: '✓ '; color: var(--sage); font-weight: 700; }

/* ---- trust strip ---- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.trust div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.3; }
.trust svg { flex: none; width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.trust b { display: block; font-weight: 600; }
.trust small { color: var(--muted); font-size: 12px; }

/* ---- section + grid ---- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: transparent; font-size: 14px; cursor: pointer; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.card { text-decoration: none; display: block; }
.card-img { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .5s ease; }
.card-img img + img { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-img img + img { opacity: 1; }
  .card:hover .card-img img:first-child { transform: scale(1.03); }
}
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--card); color: var(--ink); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; padding: 5px 10px; border-radius: 99px; }
.card h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; margin: 14px 0 3px; line-height: 1.35; }
.card p { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; }
.price { display: flex; align-items: baseline; gap: 8px; font-weight: 600; }
.price s { color: var(--muted); font-weight: 400; font-size: .9em; }
.price .save { color: var(--accent); font-size: 12.5px; font-weight: 600; }
.collection-note { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.collection-filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.collection-filters .chips { min-width: 0; }
.brand-filter select { min-height: 44px; max-width: 180px; padding: 9px 32px 9px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); font-size: 14px; }
.collection-count { margin: 16px 0 24px; color: var(--muted); font-size: 13px; }
.catalog-card .card-img { background: white; }
.catalog-card .card-img img { object-fit: contain; }
.photo-count { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--accent); }
.catalog-page .gallery-main, .catalog-page .thumbs button { background: white; }
.catalog-page .gallery-main img, .catalog-page .thumbs img { object-fit: contain; }
.catalog-page .info .price { font-size: 17px; color: var(--muted); font-weight: 400; }
.brand-source p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 16px 0 0; }
.catalog-page [hidden] { display: none !important; }

/* ---- promise ---- */
.promise { background: var(--bg-alt); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.promise h3 { font-size: 24px; margin-bottom: 10px; }
.promise p { color: var(--muted); margin: 0; }
.promise .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 20px; margin-bottom: 10px; }

/* ---- faq / accordions ---- */
.faq { max-width: 760px; }
details { border-bottom: 1px solid var(--line); }
details summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; position: relative; font-weight: 600; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 300; transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details .body { padding: 0 0 20px; color: var(--muted); }
details .body ul { margin: 0; padding-left: 20px; }
details .body li { margin: 4px 0; }

/* ---- footer ---- */
.footer { background: var(--ink); color: #CFC5BB; padding: 48px 0 32px; font-size: 14px; margin-top: 0; }
.footer .logo { color: #F7F2EC; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #F7F2EC; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.footer details { border-color: #463D38; }
.footer details summary { font-weight: 400; padding: 10px 28px 10px 0; color: #F7F2EC; }
.footer details .body { color: #CFC5BB; font-size: 13px; }
.footer .fine { border-top: 1px solid #463D38; margin-top: 32px; padding-top: 20px; font-size: 12px; color: #A0958B; }

/* ---- product page ---- */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 6px; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-bottom: 48px; align-items: start; }
.gallery { position: sticky; top: 80px; }
.gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 18px; scrollbar-width: none; background: var(--bg-alt); }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main img { flex: none; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button { width: 74px; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dots { display: none; justify-content: center; gap: 6px; margin-top: 12px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
.dots span.on { background: var(--ink); width: 18px; border-radius: 3px; }

.info .badge { position: static; display: inline-block; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.info h1 { font-size: clamp(30px, 3.6vw, 42px); }
.info .tagline { color: var(--muted); font-size: 17px; margin: 10px 0 18px; }
.info .price { font-size: 26px; }
.info .price s { font-size: 18px; }
.info .price .save { font-size: 13px; background: var(--accent-soft); padding: 3px 9px; border-radius: 99px; }
.info .size { font-size: 13.5px; color: var(--muted); margin: 6px 0 20px; }
.info .desc { margin: 0 0 24px; }

.buy-row { display: flex; gap: 12px; align-items: stretch; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; background: var(--card); }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty input { width: 34px; text-align: center; border: 0; background: none; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; }
.offer { font-size: 13.5px; color: var(--sage); margin: 12px 0 0; font-weight: 500; }
.assure { list-style: none; padding: 18px 0 0; margin: 22px 0 8px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14px; }
.assure li { display: flex; gap: 10px; align-items: center; }
.assure svg { width: 20px; height: 20px; stroke: var(--sage); fill: none; stroke-width: 1.6; flex: none; }

/* sticky mobile buy bar */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--card); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 14px; transform: translateY(110%); transition: transform .25s ease; }
.sticky-buy.show { transform: none; }
.sticky-buy .meta { flex: 1; min-width: 0; }
.sticky-buy .meta b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .meta span { font-size: 13px; color: var(--muted); }
.sticky-buy .btn { min-height: 46px; padding: 0 22px; }

/* ---- checkout sheet ---- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(43, 37, 34, .45); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.sheet { background: var(--bg); width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; border-radius: 20px; padding: 24px; transform: translateY(16px); transition: transform .25s ease; }
.sheet-backdrop.open .sheet { transform: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.sheet-head h2 { font-size: 26px; }
.close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 20px; line-height: 1; }
.summary { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 18px; }
.summary img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.summary .grow { flex: 1; font-size: 14px; }
.summary .grow b { display: block; }
.totals { font-size: 14px; margin: 16px 0; display: grid; gap: 6px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 17px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.totals .disc { color: var(--sage); }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); font-size: 16px; outline: none; transition: border-color .15s; }
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field.invalid input, .field.invalid select { border-color: var(--error); }
.field .err { color: var(--error); font-size: 12.5px; margin-top: 4px; display: none; }
.field.invalid .err { display: block; }
.row3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.form-error { color: var(--error); font-size: 14px; margin: 0 0 12px; display: none; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }

.success { text-align: center; padding: 12px 0 4px; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 16px; font-size: 30px; }
.success h2 { font-size: 30px; margin-bottom: 8px; }
.success p { color: var(--muted); margin: 6px 0; }
.success .ordno { display: inline-block; margin: 14px 0 20px; padding: 8px 16px; background: var(--card); border: 1px dashed var(--line); border-radius: 10px; font-weight: 700; letter-spacing: .06em; }

/* ---- age gate ---- */
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(43, 37, 34, .85); display: grid; place-items: center; padding: 16px; }
.age-gate .box { background: var(--bg); border-radius: 20px; padding: 32px 24px; max-width: 400px; text-align: center; }
.age-gate h2 { font-size: 28px; margin-bottom: 10px; }
.age-gate p { color: var(--muted); margin: 0 0 22px; }
.age-gate .btns { display: grid; gap: 10px; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; }
}
@media (max-width: 720px) {
  .collection-filters { flex-wrap: wrap; gap: 12px; }
  .collection-filters .chips { width: 100%; }
  .brand-filter select { max-width: 100%; }
  .nav { display: none; }
  .hero { padding: 20px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-img { order: -1; aspect-ratio: 16 / 11; border-radius: 16px; }
  .hero p { margin: 14px 0 22px; font-size: 16px; }
  .hero .btn { width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .card h3 { font-size: 14px; }
  .card p { font-size: 12.5px; }
  .section { padding: 40px 0; }
  .promise-grid, .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .thumbs { display: none; }
  .dots { display: flex; }
  .gallery-main { border-radius: 14px; margin: 0 -16px; border-radius: 0; }
  .sticky-buy { display: flex; }
  .sheet-backdrop { align-items: flex-end; padding: 0; }
  .sheet { border-radius: 20px 20px 0 0; max-height: 94vh; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  .row3 { grid-template-columns: 1fr 1fr; }
  .row3 .field:first-child { grid-column: 1 / -1; }
  body.has-sticky { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
