/* =========================================================
   SKIN HARBOR — Design system
   Fonts: Cormorant Garamond (headings) + Inter (text)
   ========================================================= */
:root {
  --ink: #2A2522;
  --ink-soft: #5B524D;
  --cream: #F8F5EF;
  --sand: #EFE6DC;
  --white: #FFFFFF;
  --plum: #8E3456;
  --line: #E4DCD2;
  --footer-text: #E6DDD2;

  /* Skincare */
  --sk-bg: #E9EFE3; --sk-ink: #263D2C; --sk-accent: #7C9A82;
  /* Makeup */
  --mk-bg: #FCE8EF; --mk-ink: #6E1235; --mk-accent: #B82358;
  /* Fragrances */
  --fr-bg: #1A0F12; --fr-ink: #F5EBDD; --fr-accent: #C6A36B; --fr-wine: #5A1A2B;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --pill: 999px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 10px 30px -12px rgba(42, 37, 34, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(44px, 6.4vw, 84px); }
h2 { font-size: clamp(34px, 4.4vw, 54px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--plum); margin-bottom: 18px;
}
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); max-width: 560px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.split { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: var(--pill);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border: 1.5px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-plum { background: var(--plum); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 12px; }
.link-arrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; padding-bottom: 4px; }
.link-arrow:hover { opacity: .7; }

/* ---------- Announcement + Header ---------- */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; padding: 10px 16px; }
.announce a { border-bottom: 1px solid rgba(255,255,255,.5); }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.logo { font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: .32em; color: var(--ink); text-transform: uppercase; white-space: nowrap; padding-left: .32em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2vw, 30px); }
.main-nav a { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--ink); }
.header-left { display: flex; align-items: center; }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 22px; height: 22px; }
.bag-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--plum); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; line-height: 1;
}
.bag-count[data-count="0"] { display: none; }
.menu-toggle { display: none; }
.desktop-nav-row { border-top: 1px solid var(--line); }
.desktop-nav-row .main-nav ul { justify-content: center; height: 50px; align-items: center; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.mobile-menu.open { visibility: visible; }
.mobile-menu .scrim { position: absolute; inset: 0; background: rgba(26, 15, 18, .45); opacity: 0; transition: opacity .3s; }
.mobile-menu.open .scrim { opacity: 1; }
.mobile-menu .panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 360px); background: #fff; padding: 22px 26px; transform: translateX(-100%); transition: transform .35s ease; overflow-y: auto; }
.mobile-menu.open .panel { transform: none; }
.mobile-menu nav a { display: block; font-family: var(--serif); font-size: 30px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .panel-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-menu .small-links a { font-family: var(--sans); font-size: 14px; border: 0; padding: 6px 0; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero { background: var(--cream); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--plum); }
.hero .lead { margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 28px; font-size: 13px; color: var(--ink-soft); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; margin-right: 6px; color: var(--plum); }
.hero-art { position: relative; background: var(--sand); border-radius: 300px 300px 24px 24px; aspect-ratio: 4 / 4.6; overflow: hidden; }
.hero-art .tiles { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.15fr 1fr; gap: 10px; padding: 10px; }
.hero-art .tile { border-radius: 18px; overflow: hidden; position: relative; }
.hero-art .tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .tile.tall { grid-row: span 2; border-radius: 280px 18px 18px 18px; }
.hero-art .tile:nth-child(2) { border-radius: 18px 280px 18px 18px; }
.hero-tag { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); padding: 10px 16px; border-radius: var(--pill); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Trust bar ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust li { display: flex; align-items: center; gap: 14px; justify-content: center; text-align: left; }
.trust svg { width: 30px; height: 30px; flex: none; color: var(--plum); }
.trust strong { display: block; font-size: 14px; font-weight: 600; }
.trust small { display: block; font-size: 13px; color: var(--ink-soft); }

/* ---------- Three Worlds ---------- */
.worlds { background: var(--cream); }
.worlds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.world-card { border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.world-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.world-card .img { aspect-ratio: 4 / 4; overflow: hidden; }
.world-card .img img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; transition: transform .6s ease; }
.world-card:hover .img img { transform: scale(1.04); }
.world-card .body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.world-card h3 { font-size: 34px; margin: 0; }
.world-card p { margin: 0 0 14px; font-size: 15px; opacity: .85; }
.world-card .btn { align-self: flex-start; margin-top: auto; }
.wc-skincare { background: var(--sk-bg); color: var(--sk-ink); }
.wc-skincare .btn { background: var(--sk-ink); color: #fff; }
.wc-fragrances { background: var(--fr-bg); color: var(--fr-ink); }
.wc-fragrances .btn { background: var(--fr-accent); color: var(--fr-bg); }
.wc-makeup { background: var(--mk-bg); color: var(--mk-ink); }
.wc-makeup .btn { background: var(--mk-accent); color: #fff; }
.wc-label { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }

/* ---------- Product grid + cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; flex-direction: column; }
.card .media { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .media img { transform: scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: #fff; color: var(--ink); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--pill); }
.badge.new { background: var(--plum); color: #fff; }
.card .quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; min-height: 46px; border-radius: var(--pill);
  background: rgba(255,255,255,.95); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: all .25s ease;
}
.card:hover .quick-add, .card .quick-add:focus-visible { opacity: 1; transform: none; }
.card .quick-add:hover { background: var(--ink); color: #fff; }
.card .info { padding: 16px 2px 0; display: flex; flex-direction: column; gap: 4px; }
.card .cat { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.card h3 { font-family: var(--serif); font-size: 22px; margin: 0; line-height: 1.15; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .short { font-size: 14px; color: var(--ink-soft); margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-size: 15px; font-weight: 600; }
.price s { color: var(--ink-soft); font-weight: 400; margin-left: 8px; }
.card .row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.card .size { font-size: 12.5px; color: var(--ink-soft); }
@media (hover: none), (max-width: 640px) { .card .quick-add { opacity: 1; transform: none; left: auto; right: 10px; bottom: 10px; width: 44px; min-height: 44px; padding: 0; border-radius: 50%; font-size: 0; background: #fff; box-shadow: 0 4px 14px rgba(42,37,34,.18); } .card .quick-add::before { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; } }

/* ---------- Quiz band ---------- */
.quiz-band { background: var(--ink); color: var(--cream); }
.quiz-band .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.quiz-band .eyebrow { color: var(--fr-accent); }
.quiz-band .lead { color: rgba(248, 245, 239, .78); }
.quiz-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.quiz-steps li { counter-increment: step; display: flex; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid rgba(248,245,239,.18); border-radius: 16px; }
.quiz-steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 30px; color: var(--fr-accent); min-width: 40px; }
.quiz-band .btn-light { margin-top: 12px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--sand); }
.newsletter .box { max-width: 680px; margin: 0 auto; text-align: center; }
.nl-form { display: flex; gap: 10px; margin-top: 28px; }
.nl-form input { flex: 1; min-width: 0; min-height: 54px; padding: 0 22px; border-radius: var(--pill); border: 1.5px solid #D8CBBC; background: #fff; }
.nl-form input:focus { outline: none; border-color: var(--ink); }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }
.form-success { display: none; margin-top: 22px; padding: 16px 20px; border-radius: 12px; background: #fff; font-weight: 500; }
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--footer-text); padding: 72px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer .logo { color: var(--cream); font-size: 22px; padding-left: 0; display: inline-block; margin-bottom: 16px; }
.site-footer .tagline { max-width: 300px; line-height: 1.7; }
.site-footer h4 { font-family: var(--serif); color: var(--cream); font-size: 20px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(230,221,210,.3); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: rgba(248,245,239,.1); text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(230,221,210,.18); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom nav { display: flex; gap: 22px; }
.pay-note { font-size: 12.5px; opacity: .75; }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 130; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(26,15,18,.45); opacity: 0; transition: opacity .3s; }
.drawer.open .scrim { opacity: 1; }
.drawer .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(100vw, 430px); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s ease; }
.drawer.open .panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 28px; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; display: grid; gap: 12px; }
.ship-meter { font-size: 13px; color: var(--ink-soft); }
.ship-meter .bar { height: 4px; border-radius: 4px; background: var(--sand); margin-top: 8px; overflow: hidden; }
.ship-meter .bar i { display: block; height: 100%; background: var(--plum); transition: width .4s; }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item img { width: 76px; height: 95px; object-fit: cover; border-radius: 10px; }
.line-item h4 { font-size: 19px; margin: 0 0 2px; }
.line-item .meta { font-size: 12.5px; color: var(--ink-soft); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--pill); margin-top: 10px; }
.qty button { width: 34px; height: 34px; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-size: 14px; }
.remove { font-size: 12px; color: var(--ink-soft); text-decoration: underline; margin-top: 8px; display: block; }
.subtotal { display: flex; justify-content: space-between; font-weight: 600; font-size: 16px; }
.empty { text-align: center; padding: 48px 8px; color: var(--ink-soft); }
.empty h3 { color: var(--ink); }

/* ---------- Modal + toast ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: none; place-items: center; padding: 16px; }
.modal.open { display: grid; }
.modal .scrim { position: absolute; inset: 0; background: rgba(26,15,18,.5); }
.modal .dialog { position: relative; background: #fff; border-radius: 20px; padding: 40px 34px 34px; max-width: 480px; width: 100%; text-align: center; }
.modal .close-x { position: absolute; top: 12px; right: 12px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--pill); font-size: 14px; z-index: 160; opacity: 0; transition: all .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Category pages ---------- */
.cat-hero { padding: clamp(56px, 8vw, 104px) 0; }
.cat-hero .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.cat-hero .art { border-radius: 260px 260px 22px 22px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.cat-hero .art img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.crumbs { font-size: 12.5px; letter-spacing: .08em; margin-bottom: 22px; opacity: .75; }
.crumbs a:hover { text-decoration: underline; }

.theme-skincare .cat-hero, .theme-skincare .cat-band { background: var(--sk-bg); color: var(--sk-ink); }
.theme-skincare :is(.cat-hero, .cat-band, .cat-products) .eyebrow { color: #4F6E56; }
.theme-skincare .cat-hero .btn { background: var(--sk-ink); color: #fff; }
.theme-makeup .cat-hero, .theme-makeup .cat-band { background: var(--mk-bg); color: var(--mk-ink); }
.theme-makeup :is(.cat-hero, .cat-band, .cat-products) .eyebrow { color: var(--mk-accent); }
.theme-makeup .cat-hero .btn { background: var(--mk-accent); color: #fff; }
.theme-fragrances .cat-hero, .theme-fragrances .cat-band, .theme-fragrances .cat-products { background: var(--fr-bg); color: var(--fr-ink); }
.theme-fragrances :is(.cat-hero, .cat-band, .cat-products) .eyebrow { color: var(--fr-accent); }
.theme-fragrances .cat-hero .btn { background: var(--fr-accent); color: var(--fr-bg); }
.theme-fragrances :is(.cat-hero, .cat-band, .cat-products) .lead { color: rgba(245,235,221,.78); }
.theme-fragrances .card .cat, .theme-fragrances .card .short, .theme-fragrances .card .size { color: rgba(245,235,221,.68); }
.theme-fragrances .badge { background: var(--fr-accent); color: var(--fr-bg); }
.theme-giftsets .cat-hero, .theme-giftsets .cat-band { background: var(--sand); }

.cat-band .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 30px; border-radius: 18px; background: rgba(255,255,255,.55); }
.theme-fragrances .feature { background: rgba(245,235,221,.06); border: 1px solid rgba(198,163,107,.25); }
.feature .num { font-family: var(--serif); font-size: 42px; line-height: 1; margin-bottom: 12px; opacity: .8; }
.feature h3 { font-size: 26px; margin-bottom: 8px; }
.feature p { font-size: 15px; margin: 0; opacity: .85; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--line); font-size: 13px; font-weight: 500; transition: all .2s; background: #fff; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.select { min-height: 42px; padding: 0 38px 0 16px; border-radius: var(--pill); border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232A2522' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; appearance: none; font-size: 13px; }
.result-count { font-size: 13px; color: var(--ink-soft); }

/* ---------- Product page ---------- */
.pdp { padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 8vw, 104px); }
.pdp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pdp-media { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: 150px; }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 10px; }
.pdp .price { font-size: 22px; font-weight: 500; }
.pdp .short { font-size: 17px; color: var(--ink-soft); margin: 18px 0 26px; }
.pdp .size-tag { display: inline-block; border: 1px solid var(--line); border-radius: var(--pill); padding: 8px 16px; font-size: 13px; margin-bottom: 24px; }
.buy-row { display: flex; gap: 12px; margin-bottom: 22px; }
.buy-row .qty { margin: 0; height: 52px; }
.buy-row .qty button { width: 44px; height: 50px; }
.buy-row .btn { flex: 1; }
.perks { list-style: none; padding: 18px 0; margin: 0 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.perks li::before { content: "✓"; color: var(--plum); margin-right: 10px; }
details.acc { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; }
details.acc[open] summary::after { content: "–"; }
details.acc .content { padding: 0 0 22px; color: var(--ink-soft); font-size: 15px; }
details.acc ul { margin: 0; padding-left: 18px; }
.notes { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.notes span { background: var(--cream); border-radius: var(--pill); padding: 8px 14px; font-size: 13px; }

/* ---------- Cart page ---------- */
.cart-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.summary { background: var(--cream); border-radius: 20px; padding: 30px; position: sticky; top: 150px; display: grid; gap: 14px; }
.summary .row { display: flex; justify-content: space-between; font-size: 15px; }
.summary .total { border-top: 1px solid var(--line); padding-top: 14px; font-weight: 600; font-size: 18px; }
.cart-page .line-item { grid-template-columns: 110px 1fr auto; }
.cart-page .line-item img { width: 110px; height: 138px; }

/* ---------- Quiz page ---------- */
.quiz-page { background: var(--cream); min-height: 70vh; }
.quiz-card { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); }
.quiz-progress { height: 4px; background: var(--sand); border-radius: 4px; overflow: hidden; margin-bottom: 30px; }
.quiz-progress i { display: block; height: 100%; background: var(--plum); transition: width .4s; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.quiz-option { text-align: left; border: 1.5px solid var(--line); border-radius: 16px; padding: 20px 22px; transition: all .2s; background: #fff; }
.quiz-option:hover { border-color: var(--ink); transform: translateY(-2px); }
.quiz-option strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.quiz-option span { font-size: 13.5px; color: var(--ink-soft); }
.quiz-back { margin-top: 22px; font-size: 13px; text-decoration: underline; color: var(--ink-soft); }

/* ---------- Content pages ---------- */
.page-hero { background: var(--cream); padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.page-hero .lead { margin: 0 auto; }
.prose { max-width: 760px; margin: 0 auto; font-size: 16.5px; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 1.6em; }
.prose h3 { font-size: 24px; margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { color: var(--ink-soft); font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 72px); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.field input, .field textarea, .field select { min-height: 50px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px; background: #fff; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.info-card { background: var(--cream); border-radius: 20px; padding: 30px; }
.info-card h3 { margin-bottom: 6px; }
.info-card p { color: var(--ink-soft); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-feature .art { border-radius: 22px; overflow: hidden; aspect-ratio: 1; }
.split-feature .art img { width: 100%; height: 100%; object-fit: cover; }
.notfound { text-align: center; padding: 120px 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .brand-col { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .desktop-nav-row { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-inner { height: 64px; }
  .logo { font-size: 20px; letter-spacing: .26em; }
  .hero-grid, .cat-hero .grid, .quiz-band .grid, .pdp-grid, .cart-grid, .contact-grid, .split-feature { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; width: 100%; margin: 0 auto; border-radius: 200px 200px 22px 22px; }
  .cat-hero .art { max-width: 480px; width: 100%; margin: 0 auto; }
  .worlds-grid, .cat-band .features, .values { grid-template-columns: 1fr; }
  .world-card { display: grid; grid-template-columns: 40% 1fr; }
  .world-card .img { aspect-ratio: auto; height: 100%; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li { justify-content: flex-start; }
  .pdp-media, .summary { position: static; }
}
@media (max-width: 640px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card h3 { font-size: 18px; }
  .card .short { display: none; }
  .world-card { grid-template-columns: 1fr; }
  .world-card .img { aspect-ratio: 16 / 10; }
  .nl-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .trust ul { grid-template-columns: 1fr; gap: 14px; padding: 22px 0; }
  .quiz-options { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .announce { font-size: 11px; letter-spacing: .08em; }
  .cart-page .line-item { grid-template-columns: 80px 1fr; }
  .cart-page .line-item img { width: 80px; height: 100px; }
  .cart-page .line-item .lt { grid-column: 2; }
  .buy-row { flex-wrap: wrap; }
  .card .badge { font-size: 9.5px; padding: 5px 8px; }
}
