/* ============================================
   VEIL & VOGUE — Warm Editorial Luxe
   Static HTML/CSS/JS build
   ============================================ */

:root {
  --cream: #fdfbf9;
  --base: #f4efe8;
  --sand: #ead9c3;
  --brown: #8b5e3c;
  --brown-deep: #6b4426;
  --gold: #c9a06b;
  --gold-soft: #d4b48a;
  --ink: #23201d;
  --ash: #a89f95;
  --ash-soft: #cbc3ba;
  --line: rgba(35, 32, 29, 0.12);
  --line-strong: rgba(35, 32, 29, 0.22);
  --success: #4a7c50;

  --f-serif: "Instrument Serif", "Cormorant Garamond", ui-serif, Georgia, serif;
  --f-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: rgba(201,160,107,0.35); }

.serif { font-family: var(--f-serif); font-weight: 400; letter-spacing: -0.01em; }
.eyebrow {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brown); font-weight: 500;
}

/* ========== ANNOUNCEMENT BAR ========== */
.announce {
  background: var(--ink);
  color: var(--cream);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 20px;
  overflow: hidden;
}
.announce-track {
  display: flex; gap: 4rem; justify-content: center;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.announce span::before { content: "✦"; margin-right: .8em; color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ========== HEADER ========== */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253,251,249,0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 1.5rem;
  padding: 18px 32px;
}
.brand {
  font-family: var(--f-serif);
  font-size: 28px;
  letter-spacing: 0.02em;
  text-align: center;
}
.brand em { font-style: italic; color: var(--brown); }
.nav { display: flex; gap: 2rem; justify-self: start; }
.nav a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--brown);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { color: var(--brown); }

.icons { display: flex; gap: 1.2rem; justify-self: end; align-items: center; }
.icon-btn {
  position: relative; width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 999px;
  transition: background .25s var(--ease);
}
.icon-btn:hover { background: var(--base); }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.5; }
.icon-btn .badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--brown); color: var(--cream);
  border-radius: 999px;
  font-size: 10px; font-weight: 600;
  display: grid; place-items: center;
}
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; padding: 14px 20px; }
  .brand { font-size: 22px; text-align: left; }
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .icons { gap: .4rem; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(35,32,29,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.drawer.open { opacity: 1; pointer-events: all; }
.drawer-inner {
  position: absolute; top: 0; left: 0; height: 100%;
  width: 84%; max-width: 360px;
  background: var(--cream);
  padding: 32px 28px;
  transform: translateX(-100%);
  transition: transform .45s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open .drawer-inner { transform: translateX(0); }
.drawer-inner nav { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 3rem; }
.drawer-inner nav a { font-family: var(--f-serif); font-size: 28px; }
.drawer-close { align-self: flex-end; padding: 8px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  padding: 15px 32px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--brown); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(139,94,60,.5); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--gold); color: var(--cream); }
.btn-lg { padding: 18px 40px; font-size: 12.5px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: calc(100vh - 90px);
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 0;
  overflow: hidden;
  background: var(--cream);
}
.hero-copy {
  padding: 8vw 6vw 6vw;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.hero-copy .eyebrow { margin-bottom: 2rem; }
.hero h1 {
  font-family: var(--f-serif);
  font-size: clamp(56px, 8.5vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.hero h1 em { font-style: italic; color: var(--brown); }
.hero h1 .stagger {
  display: block;
  opacity: 0; transform: translateY(30px);
  animation: rise .9s var(--ease) forwards;
}
.hero h1 .stagger:nth-child(2) { animation-delay: .12s; }
.hero h1 .stagger:nth-child(3) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero p.lead {
  max-width: 460px; color: rgba(35,32,29,0.7);
  font-size: 16px; line-height: 1.7; margin-bottom: 2.5rem;
  opacity: 0; animation: rise .9s var(--ease) .5s forwards;
}
.hero-cta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: rise .9s var(--ease) .65s forwards;
}
.hero-meta {
  position: absolute; bottom: 6vw; left: 6vw; right: 6vw;
  display: flex; justify-content: space-between; gap: 2rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(35,32,29,0.55);
}
.hero-meta strong { color: var(--ink); display: block; margin-bottom: 4px; font-weight: 500; }

.hero-media {
  position: relative; overflow: hidden;
  background: var(--base);
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-badge {
  position: absolute; top: 40px; right: 40px;
  background: var(--cream); border-radius: 999px;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.2);
}
.hero-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,160,107,0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201,160,107,0.25); }
  50% { box-shadow: 0 0 0 10px rgba(201,160,107,0); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { height: 65vh; order: -1; }
  .hero-copy { padding: 12vw 8vw; }
  .hero-meta { position: static; margin-top: 3rem; }
}

/* ========== MARQUEE STRIP ========== */
.strip {
  background: var(--ink); color: var(--cream);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.strip-track {
  display: flex; gap: 4rem;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  font-family: var(--f-serif);
  font-size: 34px; font-style: italic;
}
.strip-track span { display: flex; align-items: center; gap: 4rem; }
.strip-track span::after { content: "✦"; color: var(--gold); font-style: normal; font-size: 22px; }

/* ========== SECTIONS ========== */
section { padding: clamp(64px, 10vw, 140px) 6vw; }
.container { max-width: 1400px; margin: 0 auto; }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 3rem; margin-bottom: 5rem; flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--f-serif);
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 720px;
}
.section-head h2 em { font-style: italic; color: var(--brown); }
.section-head p { max-width: 380px; color: rgba(35,32,29,0.65); }
.section-head .eyebrow { display: block; margin-bottom: 1.5rem; }

/* ========== CATEGORY GRID ========== */
.cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.cat-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4;
  border-radius: 12px;
  cursor: pointer;
}
.cat-card:nth-child(2) { transform: translateY(3rem); }
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.cat-card:hover img { transform: scale(1.08); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(35,32,29,0.55), transparent 55%);
}
.cat-card-body {
  position: absolute; left: 32px; right: 32px; bottom: 32px;
  color: var(--cream); z-index: 2;
}
.cat-card-body h3 {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  margin-bottom: .5rem;
}
.cat-card-body p { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; opacity: .85; }
.cat-card .arrow {
  position: absolute; top: 32px; right: 32px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cream); color: var(--ink);
  display: grid; place-items: center;
  transform: rotate(-45deg);
  transition: transform .5s var(--ease);
}
.cat-card:hover .arrow { transform: rotate(0deg); }

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card:nth-child(2) { transform: none; }
}

/* ========== PRODUCT GRID / CARD ========== */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1.25rem;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem .75rem; } }

.product-card { position: relative; display: block; }
.product-card .media {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: var(--base); border-radius: 8px;
}
.product-card .media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), opacity .5s var(--ease);
}
.product-card:hover .media img { transform: scale(1.06); }
.product-card .badges {
  position: absolute; top: 14px; left: 14px;
  display: flex; flex-direction: column; gap: 6px; z-index: 2;
}
.badge-tag {
  padding: 5px 10px; border-radius: 999px;
  background: var(--cream); color: var(--ink);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
}
.badge-tag.sale { background: var(--brown); color: var(--cream); }
.badge-tag.new  { background: var(--ink); color: var(--cream); }
.wish-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(253,251,249,0.9);
  display: grid; place-items: center;
  backdrop-filter: blur(4px);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.wish-btn:hover { background: var(--cream); transform: scale(1.08); }
.wish-btn svg { width: 18px; height: 18px; stroke-width: 1.5; fill: none; }
.wish-btn.active svg { fill: var(--brown); stroke: var(--brown); }

.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 12px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s;
}
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--brown); }

.product-card .info { padding-top: 14px; }
.product-card .info h3 {
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  margin-bottom: 4px;
}
.product-card .info .cat {
  font-size: 11px; color: rgba(35,32,29,0.55);
  letter-spacing: 0.15em; text-transform: uppercase;
}
.product-card .info .price { display: flex; gap: 8px; align-items: baseline; margin-top: 6px; }
.product-card .info .price .now { font-family: var(--f-serif); font-size: 18px; }
.product-card .info .price .was { font-size: 12px; color: var(--ash); text-decoration: line-through; }
.swatches { display: flex; gap: 5px; margin-top: 8px; }
.swatch {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid var(--line-strong);
}

/* ========== STORY ========== */
.story {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--base);
}
.story-media { position: relative; overflow: hidden; min-height: 600px; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-body { padding: clamp(60px, 8vw, 120px) clamp(40px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.story-body h2 {
  font-family: var(--f-serif);
  font-size: clamp(40px, 4.5vw, 68px);
  line-height: 1.02; letter-spacing: -0.015em;
  margin: 1.5rem 0 2rem;
}
.story-body h2 em { font-style: italic; color: var(--brown); }
.story-body p { color: rgba(35,32,29,0.72); font-size: 16px; line-height: 1.8; margin-bottom: 1.5rem; }
.story-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.story-stats div strong { font-family: var(--f-serif); font-size: 44px; display: block; color: var(--brown); line-height: 1; }
.story-stats div span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(35,32,29,0.55); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story-media { min-height: 400px; } }

/* ========== EDITORIAL / FEATURE ========== */
.feature-strip {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 3rem;
  padding: 70px 6vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.feature-strip div { text-align: center; }
.feature-strip svg { width: 26px; height: 26px; margin: 0 auto 12px; stroke-width: 1.3; color: var(--brown); }
.feature-strip h4 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 6px; }
.feature-strip p { font-size: 13px; color: rgba(35,32,29,0.6); }
@media (max-width: 780px) { .feature-strip { grid-template-columns: repeat(2,1fr); gap: 2rem; } }

/* ========== REVIEWS ========== */
.reviews { background: var(--ink); color: var(--cream); }
.reviews .section-head h2 { color: var(--cream); }
.reviews .section-head .eyebrow { color: var(--gold); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.review {
  padding: 40px 32px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  transition: transform .5s var(--ease), border-color .3s;
}
.review:hover { transform: translateY(-6px); border-color: var(--gold); }
.review .stars { color: var(--gold); font-size: 13px; letter-spacing: 4px; margin-bottom: 20px; }
.review blockquote {
  font-family: var(--f-serif); font-size: 22px; line-height: 1.4;
  font-style: italic; margin-bottom: 24px;
}
.review cite { font-style: normal; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(253,251,249,0.7); }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ========== NEWSLETTER ========== */
.newsletter {
  background: var(--base);
  padding: clamp(80px, 12vw, 160px) 6vw;
  text-align: center;
}
.newsletter .container { max-width: 720px; }
.newsletter h2 {
  font-family: var(--f-serif);
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1; letter-spacing: -0.02em; margin: 1.5rem 0 1rem;
}
.newsletter h2 em { font-style: italic; color: var(--brown); }
.newsletter p { color: rgba(35,32,29,0.65); margin-bottom: 2.5rem; }
.news-form {
  display: flex; gap: 8px; max-width: 500px; margin: 0 auto;
  background: var(--cream);
  padding: 6px; border-radius: 999px;
  border: 1px solid var(--line);
}
.news-form input {
  flex: 1; border: 0; background: transparent; padding: 14px 20px; outline: none;
  font-size: 14px;
}
.news-form button {
  padding: 14px 26px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  transition: background .25s;
}
.news-form button:hover { background: var(--brown); }

/* ========== FOOTER ========== */
.footer { background: var(--ink); color: var(--cream); padding: 90px 6vw 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { font-family: var(--f-serif); font-size: 40px; margin-bottom: 1rem; }
.footer-brand em { font-style: italic; color: var(--gold); }
.footer p.tag { color: rgba(253,251,249,0.6); max-width: 320px; font-size: 14px; line-height: 1.7; }
.footer-col h5 { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(253,251,249,0.72); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; font-size: 12px; color: rgba(253,251,249,0.5);
  flex-wrap: wrap; gap: 1rem;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center;
  transition: background .25s, color .25s, border-color .25s;
}
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.socials svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }

/* ========== SHOP / FILTER ========== */
.page-head {
  padding: 100px 6vw 60px; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end;
}
.page-head h1 { font-family: var(--f-serif); font-size: clamp(56px, 8vw, 120px); line-height: 0.95; letter-spacing: -0.02em; }
.page-head h1 em { font-style: italic; color: var(--brown); }
.page-head p { color: rgba(35,32,29,0.65); max-width: 420px; justify-self: end; }
@media (max-width: 780px) { .page-head { grid-template-columns: 1fr; } .page-head p { justify-self: start; } }

.shop-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 4rem; padding: 60px 6vw; }
.filters h4 { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1.2rem; }
.filters .group { border-bottom: 1px solid var(--line); padding: 20px 0; }
.filters ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.filters li { font-size: 14px; color: rgba(35,32,29,0.75); cursor: pointer; transition: color .2s; }
.filters li:hover, .filters li.active { color: var(--brown); }
.filters li.active::before { content: "— "; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; gap: 1rem; flex-wrap: wrap; }
.shop-toolbar .count { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(35,32,29,0.6); }
.shop-toolbar select {
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--cream);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
}
@media (max-width: 780px) {
  .shop-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .filters { display: flex; overflow-x: auto; gap: 1.5rem; padding-bottom: 8px; }
  .filters .group { border: 0; padding: 0; flex-shrink: 0; }
  .filters ul { flex-direction: row; }
}

/* ========== PRODUCT PAGE ========== */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; padding: 60px 6vw; }
.pdp-gallery { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; align-items: start; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pdp-thumbs button {
  aspect-ratio: 1; overflow: hidden; border-radius: 6px;
  border: 1px solid transparent; opacity: .6;
  transition: opacity .25s, border-color .25s;
}
.pdp-thumbs button.active { opacity: 1; border-color: var(--brown); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main { aspect-ratio: 4/5; overflow: hidden; border-radius: 12px; background: var(--base); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info h1 { font-family: var(--f-serif); font-size: clamp(36px, 4vw, 56px); line-height: 1.02; margin-bottom: .5rem; }
.pdp-info .price { display: flex; gap: 12px; align-items: baseline; margin: 1rem 0 2rem; }
.pdp-info .price .now { font-family: var(--f-serif); font-size: 28px; }
.pdp-info .price .was { color: var(--ash); text-decoration: line-through; }
.pdp-info .desc { color: rgba(35,32,29,0.72); line-height: 1.75; }

.opt-group { margin: 2rem 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.opt-group h5 { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1rem; }
.color-opts { display: flex; gap: 10px; }
.color-opt {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  padding: 3px; background-clip: content-box;
  transition: transform .2s;
}
.color-opt.active { outline: 1px solid var(--ink); outline-offset: 3px; }
.size-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.size-opt {
  min-width: 52px; padding: 12px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 12px; letter-spacing: 0.14em;
  transition: background .2s, color .2s, border-color .2s;
}
.size-opt.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.pdp-actions { display: flex; gap: 10px; margin-top: 2rem; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty button { width: 44px; height: 48px; font-size: 16px; }
.qty span { padding: 0 6px; min-width: 30px; text-align: center; }
.pdp-add { flex: 1; }

.pdp-meta { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 13px; color: rgba(35,32,29,0.72); }
.pdp-meta div { display: flex; gap: 10px; }
.pdp-meta svg { width: 18px; height: 18px; stroke-width: 1.4; color: var(--brown); flex-shrink: 0; }

@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; }
  .pdp-thumbs button { width: 70px; flex-shrink: 0; }
}

/* ========== CART ========== */
.cart-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; padding: 60px 6vw; }
.cart-item {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 20px;
  padding: 24px; background: var(--cream);
  border: 1px solid var(--line); border-radius: 16px;
  margin-bottom: 1rem;
  align-items: start;
}
.cart-item img { aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; width: 100%; }
.cart-item h3 { font-family: var(--f-serif); font-size: 22px; margin-bottom: 4px; }
.cart-item .opts { font-size: 12px; color: var(--ash); letter-spacing: 0.1em; text-transform: uppercase; }
.cart-item .price { font-family: var(--f-serif); font-size: 20px; margin-top: 8px; }
.cart-item .actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.cart-item .qty { border-radius: 999px; }
.cart-item .qty button { width: 36px; height: 40px; }
.cart-item .remove { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(35,32,29,0.6); }
.cart-item .remove:hover { color: var(--brown); }

.summary {
  background: var(--base);
  padding: 32px; border-radius: 16px;
  position: sticky; top: 110px; height: fit-content;
}
.summary h2 { font-family: var(--f-serif); font-size: 30px; margin-bottom: 1.5rem; }
.summary .row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 14px; }
.summary .row.total { border-top: 1px solid var(--line-strong); margin-top: 12px; padding-top: 20px; font-family: var(--f-serif); font-size: 22px; }
.summary .btn { width: 100%; margin-top: 1.5rem; }

.empty { text-align: center; padding: 100px 20px; }
.empty h1 { font-family: var(--f-serif); font-size: clamp(40px, 5vw, 64px); margin-bottom: 1rem; }
.empty p { color: rgba(35,32,29,0.6); margin-bottom: 2rem; }

@media (max-width: 900px) {
  .cart-wrap { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart-item { grid-template-columns: 90px 1fr; }
  .cart-item .actions { grid-column: 1 / -1; }
}

/* ========== TOAST ========== */
.toast-wrap { position: fixed; bottom: 30px; right: 30px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 16px 22px; background: var(--ink); color: var(--cream);
  border-radius: 12px; font-size: 13px; letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 10px;
  min-width: 260px;
  transform: translateX(120%); opacity: 0;
  animation: toastIn .4s var(--ease) forwards;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.4);
}
.toast.out { animation: toastOut .35s var(--ease) forwards; }
.toast svg { color: var(--gold); width: 18px; height: 18px; }
@keyframes toastIn  { to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { to { transform: translateX(120%); opacity: 0; } }

/* ========== REVEAL ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ========== NEW: RATINGS / LOW STOCK ========== */
.stars-inline { letter-spacing: 2px; line-height: 1; }
.card-rating { display: flex; align-items: center; gap: 6px; margin: 6px 0 2px; font-size: 12px; color: rgba(35,32,29,0.6); }
.card-rating span { font-family: var(--f-serif); font-size: 14px; }
.badge-tag.low { background: #f3e3d3; color: var(--brown-deep); }

/* ========== NEW: MODAL SYSTEM ========== */
.modal-root { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(35,32,29,0.45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s ease; }
.modal-card { position: relative; background: var(--cream); border-radius: 18px; max-width: 960px; width: 100%; max-height: 90vh; overflow: auto; padding: 40px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); transform: translateY(20px) scale(.98); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.modal-root.open .modal-backdrop { opacity: 1; }
.modal-root.open .modal-card { transform: translateY(0) scale(1); opacity: 1; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--base); transition: background .25s; z-index: 3; }
.modal-close:hover { background: var(--sand); }

/* Search modal */
.search-modal .search-input { width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; padding: 14px 0; font-size: 22px; font-family: var(--f-serif); outline: none; margin: 1rem 0 1.5rem; }
.search-hint { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(35,32,29,.5); margin-bottom: 1rem; }
.search-results .product-grid { gap: 1.2rem 1rem; }

/* Quick view */
.quickview { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.quickview-media { border-radius: 12px; overflow: hidden; background: var(--base); aspect-ratio: 4/5; }
.quickview-media img { width: 100%; height: 100%; object-fit: cover; }
.quickview-info h3 { font-family: var(--f-serif); }
@media (max-width: 720px) {
  .quickview { grid-template-columns: 1fr; gap: 1.5rem; }
  .modal-card { padding: 28px 22px; }
  .reviews-score { font-size: 48px; }
}

/* Size guide */
.sizeguide .sg-scroll { overflow-x: auto; }
.sg-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sg-table th, .sg-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.sg-table th { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(35,32,29,.6); font-weight: 600; }
.sg-table tbody tr:hover { background: var(--base); }

/* Product card quick-view button */
.quick-view-btn {
  position: absolute; left: 12px; right: 12px; bottom: 56px;
  padding: 11px; border-radius: 999px; text-align: center;
  background: rgba(253,251,249,0.92); color: var(--ink);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500;
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .3s;
  backdrop-filter: blur(4px);
}
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.product-card:hover .quick-view-btn { opacity: 1; transform: translateY(0); }
.quick-view-btn:hover { background: var(--cream); }

/* ========== NEW: REVIEWS BLOCK ========== */
.reviews-block { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.reviews-summary { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
.reviews-score { font-family: var(--f-serif); font-size: 60px; line-height: 1; color: var(--brown); }
.rv-count { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(35,32,29,.55); margin-top: 6px; }
.rv-form { background: var(--base); padding: 24px; border-radius: 16px; margin-bottom: 2rem; }
.rv-form h5 { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1rem; }
.rv-form-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.rv-form input[type=text], .rv-form textarea {
  border: 1px solid var(--line-strong); background: var(--cream); border-radius: 10px;
  padding: 12px 14px; outline: none; font-family: inherit; font-size: 14px; width: 100%;
}
.rv-form input[type=text] { flex: 1; min-width: 180px; }
.rv-form textarea { resize: vertical; margin-bottom: 1rem; }
.rv-pick { display: flex; gap: 4px; }
.rv-pick label { cursor: pointer; }
.rv-pick input { position: absolute; opacity: 0; width: 0; height: 0; }
.rv-pick span { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 13px; color: rgba(35,32,29,.6); transition: all .2s; }
.rv-pick input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.rv-list { display: grid; gap: 1.2rem; }
.rv { padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.rv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.rv-head strong { font-size: 14px; font-weight: 500; }
.rv-date { font-size: 11px; color: rgba(35,32,29,.5); }
.rv p { color: rgba(35,32,29,.75); font-size: 14px; line-height: 1.6; margin-top: 6px; }
.rv-empty { color: rgba(35,32,29,.55); font-style: italic; }

/* Size guide link on PDP */
.size-guide-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 1rem; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }

/* ========== ABOUT / TEXT PAGES ========== */
.text-page { padding: 100px 6vw; max-width: 820px; margin: 0 auto; }
.text-page h1 { font-family: var(--f-serif); font-size: clamp(48px, 6vw, 88px); line-height: 1; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.text-page h1 em { font-style: italic; color: var(--brown); }
.text-page h2 { font-family: var(--f-serif); font-size: 32px; margin: 3rem 0 1rem; }
.text-page p { color: rgba(35,32,29,0.75); line-height: 1.85; margin-bottom: 1.2rem; font-size: 16px; }
.text-page .lead { font-family: var(--f-serif); font-size: 24px; line-height: 1.5; color: var(--ink); font-style: italic; }
  .text-page img { border-radius: 12px; margin: 3rem 0; }
  .studio-figure { margin: 3rem 0; }
  .studio-figure img { border-radius: 12px; width: 100%; }
  .studio-figure figcaption { margin-top: 1rem; font-size: 13px; letter-spacing: .04em; color: rgba(35,32,29,.6); font-style: italic; }

/* ========== NEW: MEGA MENU ========== */
.nav-item.has-mega { position: relative; }
.mega {
  position: absolute; top: 100%; left: 0; margin-top: 16px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.3);
  display: none; grid-template-columns: repeat(4, auto); gap: 2.5rem;
  padding: 28px 32px; min-width: 640px; z-index: 70;
}
.nav-item.has-mega:hover .mega, .nav-item.has-mega:focus-within .mega { display: grid; }
.mega::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.mega-col h6 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); margin-bottom: 1rem; }
.mega-col a { display: block; font-size: 14px; color: rgba(35,32,29,.8); padding: 5px 0; transition: color .2s; }
.mega-col a:hover { color: var(--brown); }
.mega-feature { background: var(--base); border-radius: 10px; padding: 22px; }

/* ========== NEW: COLOR FILTER ========== */
.color-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.color-chip {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-strong); cursor: pointer; position: relative;
  transition: transform .2s, outline-color .2s; outline: 2px solid transparent; outline-offset: 2px;
}
.color-chip:hover { transform: scale(1.12); }
.color-chip.active { outline-color: var(--ink); }

/* ========== NEW: BREADCRUMBS ========== */
.crumbs {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(35,32,29,.55); display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.crumbs a:hover { color: var(--brown); }
.crumbs .current { color: var(--ink); }
.crumbs > span { opacity: .5; }

/* ========== NEW: PDP RATING + TABS ========== */
.rating-row { display: flex; align-items: center; gap: 10px; margin: .6rem 0 1rem; }
.rating-num { font-size: 13px; color: rgba(35,32,29,.6); }
.tabs { display: flex; gap: 1.6rem; border-bottom: 1px solid var(--line); margin: 1.6rem 0 0; flex-wrap: wrap; }
.tab {
  background: none; border: none; padding: 12px 0; cursor: pointer;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(35,32,29,.55); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .2s;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel { display: none; padding-top: 1.3rem; }
.tab-panel.active { display: block; animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ========== NEW: CHECKOUT ========== */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; padding: 40px 6vw 90px; align-items: start; }
.checkout-main h2 { font-size: 30px; margin-bottom: 1.2rem; }
.checkout-bag .continue { display: inline-block; margin-top: 1rem; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(35,32,29,.6); }
.checkout-bag .continue:hover { color: var(--brown); }
.checkout-form { display: flex; flex-wrap: wrap; gap: 1rem; }
.checkout-form .field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 180px; }
.checkout-form .field.full { flex-basis: 100%; }
.checkout-form .field label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(35,32,29,.6); }
.checkout-form input, .checkout-form textarea {
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 13px 14px;
  background: var(--cream); font-family: inherit; font-size: 14px; outline: none; transition: border-color .2s;
}
.checkout-form input:focus, .checkout-form textarea:focus { border-color: var(--brown); }
.card-fields { display: flex; flex-wrap: wrap; gap: 1rem; width: 100%; }
.card-fields .field { flex: 1; min-width: 140px; }
.ship-methods, .pay-methods { display: flex; flex-direction: column; gap: .6rem; width: 100%; }
.ship-opt, .pay-opt {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px 16px;
  transition: border-color .2s, background .2s;
}
.ship-opt:hover, .pay-opt:hover { border-color: var(--brown); }
.ship-opt.active, .pay-opt.active { border-color: var(--ink); background: var(--base); }
.ship-opt input, .pay-opt input { accent-color: var(--brown); }
.ship-opt span, .pay-opt span { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 14px; }
.ship-price { color: rgba(35,32,29,.55); font-size: 13px; }
.pay-note { font-size: 12px; color: rgba(35,32,29,.55); margin: .6rem 0 1.2rem; }
.pay-btn { width: 100%; }
.checkout-summary { position: sticky; top: 110px; height: fit-content; }
.discount-row { display: flex; gap: 8px; margin-bottom: 1.2rem; }
.discount-row input { flex: 1; border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 18px; background: var(--cream); font-family: inherit; outline: none; font-size: 13px; }
.discount-row input:focus { border-color: var(--brown); }
.ship-progress { margin-top: 1rem; padding: 12px 14px; background: var(--cream); border-radius: 12px; font-size: 12px; color: rgba(35,32,29,.65); }
.ship-progress.ok { background: rgba(74,124,80,.12); color: var(--success); }

/* ========== NEW: CONFIRMATION ========== */
.confirm { text-align: center; padding: 80px 20px 120px; max-width: 640px; }
.confirm-badge { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-size: 30px; margin: 0 auto 1.5rem; }
.confirm h1 { font-size: clamp(40px, 6vw, 72px); margin: .5rem 0 1rem; }
.confirm-sub { color: rgba(35,32,29,.65); margin-bottom: 2rem; }
.confirm-summary { text-align: left; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 2rem; }
.confirm-item { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.confirm-summary .row { display: flex; justify-content: space-between; margin-top: 14px; font-family: var(--f-serif); font-size: 22px; }
.confirm-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ========== NEW: ORDERS ========== */
.order-card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 1.5rem; }
.order-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.order-top strong { font-family: var(--f-serif); font-size: 20px; }
.order-date, .order-method { font-size: 12px; color: rgba(35,32,29,.55); letter-spacing: .1em; text-transform: uppercase; }
.order-items { padding: 1rem 0; }
.order-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.order-foot { display: flex; justify-content: space-between; padding-top: 1rem; font-family: var(--f-serif); font-size: 20px; }

/* ========== NEW: FAQ ========== */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--brown); font-weight: 300; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: rgba(35,32,29,.7); line-height: 1.7; margin-top: 12px; font-size: 15px; }
.faq a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }

/* ========== NEW: CONTACT ========== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; padding: 40px 6vw 90px; align-items: start; }
.contact-info > div { margin-bottom: 1.8rem; }
.contact-info p { font-size: 15px; color: rgba(35,32,29,.75); }
.contact-form { display: flex; flex-wrap: wrap; gap: 1rem; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 200px; }
.contact-form .field.full { flex-basis: 100%; }
.contact-form label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(35,32,29,.6); }
.contact-form input, .contact-form textarea { border: 1px solid var(--line-strong); border-radius: 10px; padding: 13px 14px; background: var(--cream); font-family: inherit; font-size: 14px; outline: none; transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brown); }
.contact-form button { margin-top: .5rem; }

/* ========== NEW: AUTH (SIGN IN / SIGN UP) ========== */
.auth-page {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.auth-aside {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--cream);
  padding: clamp(40px, 6vw, 90px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
}
.auth-aside::after {
  content: ""; position: absolute; right: -25%; top: -20%;
  width: 70%; height: 140%;
  background: radial-gradient(circle at center, rgba(201,160,107,.28), transparent 70%);
  pointer-events: none;
}
.auth-brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.auth-mark { color: var(--gold); font-size: 20px; line-height: 1; }
.auth-brand-name { font-family: var(--f-serif); font-size: 22px; letter-spacing: .02em; }
.auth-brand-name em { font-style: italic; color: var(--gold); }
.auth-aside-body { position: relative; z-index: 1; max-width: 440px; }
.auth-aside-body h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(34px, 4vw, 54px); line-height: 1.04; margin-bottom: 1.2rem; }
.auth-aside-body h2 em { font-style: italic; color: var(--gold); }
.auth-aside-body p { color: rgba(253,251,249,.72); font-size: 15px; line-height: 1.7; margin-bottom: 2rem; }
.auth-perks { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.auth-perks li { font-family: var(--f-serif); font-size: 21px; color: var(--cream); line-height: 1.2; }
.auth-perks li span { display: block; font-family: var(--f-sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.auth-aside-foot { position: relative; z-index: 1; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(253,251,249,.5); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 60px 24px; }
.auth-card {
  width: 100%; max-width: 420px;
  background: transparent; border: 0; border-radius: 0;
  padding: 0; box-shadow: none; text-align: center;
}
@media (max-width: 820px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-aside { padding: 44px 26px; gap: 2rem; }
  .auth-perks, .auth-aside-foot { display: none; }
  .auth-main { padding: 48px 22px; }
}
.auth-card .eyebrow { display: block; margin-bottom: 1rem; }
.auth-card h1 { font-size: 46px; line-height: 1; margin-bottom: .6rem; }
.auth-sub { color: rgba(35,32,29,.65); font-size: 14px; margin-bottom: 2rem; }
.auth-form { display: flex; flex-direction: column; gap: 1.1rem; text-align: left; }
.auth-field { display: flex; flex-direction: column; gap: 7px; }
.auth-field label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(35,32,29,.6); }
.auth-field input {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 13px 14px;
  background: #fff;
  font-family: inherit; font-size: 14px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.auth-field input:focus { border-color: var(--brown); box-shadow: 0 0 0 3px rgba(139,94,60,.12); }
.auth-error { color: #b4452f; font-size: 13px; }
.auth-error:empty { display: none; }
.auth-form .btn { margin-top: .4rem; }
.auth-switch { margin-top: 1.6rem; font-size: 13.5px; color: rgba(35,32,29,.7); }
.auth-switch a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }
.auth-logout { margin-top: 1.4rem; font-size: 13.5px; color: rgba(35,32,29,.7); }
.auth-logout strong { color: var(--ink); font-weight: 500; }
.auth-logout a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; }

/* ========= NEW: AUTH MODAL ========= */
.auth-modal { width: 100%; max-width: 420px; max-height: calc(100vh - 60px); overflow-y: auto; text-align: center; }
.auth-modal-head { margin-bottom: 1.4rem; }
.auth-tabs { display: inline-flex; background: var(--base); border-radius: 999px; padding: 4px; gap: 4px; }
.auth-tab { padding: 9px 22px; border-radius: 999px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: rgba(35,32,29,.6); transition: background .25s var(--ease), color .25s var(--ease); }
.auth-tab.active { background: var(--ink); color: var(--cream); }
.input-icon { position: relative; display: flex; align-items: center; }
.input-icon svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--brown); pointer-events: none; }
.input-icon input { width: 100%; padding-left: 42px !important; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 1.4rem 0 1.1rem; color: rgba(35,32,29,.45); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-social { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 13px; font-weight: 500; background: #fff; transition: border-color .2s, background .2s; }
.social-btn:hover { border-color: var(--brown); background: var(--base); }
.social-btn svg { flex: none; }
.auth-recaptcha { display: flex; justify-content: center; margin-top: .2rem; }
.auth-recaptcha > div { transform: scale(.92); transform-origin: top center; }

/* ========= NEW: ACCOUNT DROPDOWN ========= */
.account-wrap { position: relative; }
.account-panel {
  position: absolute; right: 0; top: calc(100% + 12px);
  display: flex; flex-direction: column; gap: 8px;
  width: min(240px, calc(100vw - 24px)); padding: 16px;
  background: var(--cream);
  border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: 0 22px 55px rgba(35,32,29,.14);
  text-align: left; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.account-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.account-greet { font-family: var(--f-serif); font-size: 19px; line-height: 1.1; margin-bottom: 4px; }
.account-panel a { display: block; padding: 8px 0; font-size: 13.5px; color: rgba(35,32,29,.75); border-bottom: 1px solid var(--line); }
.account-panel .btn { width: 100%; margin: 0; }
.account-signout { border: 0; background: none; padding: 8px 0; text-align: left; font-size: 13.5px; color: #b4452f; cursor: pointer; }
.pdp-actions { flex-wrap: wrap; }
.pdp-buy { flex: 1; min-width: 150px; }

/* ========== NEW: PAYMENT PROCESSING ========== */
.pay-processing { text-align: center; padding: 50px 20px; }
.spinner { width: 42px; height: 42px; border: 3px solid var(--line-strong); border-top-color: var(--brown); border-radius: 50%; margin: 0 auto 1.2rem; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== RESPONSIVE (ALL DEVICES) ========== */
@media (max-width: 1100px) {
  .header-inner { padding: 16px 24px; }
  .mega { min-width: 560px; }
}

@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; gap: 2.5rem; }
  .checkout-summary { position: static; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .mega { display: none !important; }
  .nav-item.has-mega:hover .mega { display: none; }
  .cart-item { grid-template-columns: 90px 1fr; }
  .cart-item .price { grid-column: 1 / -1; text-align: left; margin-top: 2px; }
}

@media (max-width: 780px) {
  .page-head { grid-template-columns: 1fr; }
  .page-head p { justify-self: start; }
  .shop-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .filters {
    display: flex; overflow-x: auto; gap: 1.5rem; padding-bottom: 8px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filters .group { border: 0; padding: 0; flex-shrink: 0; }
  .filters ul { flex-direction: row; }
  .quickview { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 600px) {
  body { font-size: 14px; }
  .header-inner { padding: 12px 16px; gap: 1rem; }
  .brand { font-size: 20px; }
  .icons { gap: .2rem; }
  .section { padding: 56px 20px; }
  .section-head { margin-bottom: 3rem; gap: 1.5rem; }
  .section-head h2 { font-size: clamp(34px, 9vw, 56px); }
  .hero-copy { padding: 14vw 22px; }
  .hero-media { height: 52vh; }
  .hero-meta { flex-direction: column; gap: 1rem; }
  .cat-grid { gap: 1rem; }
  .cat-card-body { left: 22px; right: 22px; bottom: 22px; }
  .cat-card .arrow { top: 18px; right: 18px; width: 40px; height: 40px; }
  .product-grid { gap: 1.2rem 1rem; }
  .story-media { min-height: 320px; }
  .story-body { padding: 48px 24px; }
  .feature-strip { grid-template-columns: repeat(2,1fr); gap: 2rem 1rem; padding: 48px 22px; }
  .reviews { padding: 56px 20px; }
  .newsletter { padding: 64px 20px; }
  .news-form { flex-wrap: nowrap; }
  .news-form input { min-width: 0; }
  .news-form button { white-space: nowrap; }
  .footer { padding: 60px 22px 32px; }
  .footer-top { gap: 2rem; }
  .text-page { padding: 64px 22px; }
  .page-head { padding: 84px 22px 40px; }
  .shop-wrap, .pdp, .cart-wrap, .checkout, .contact-wrap { padding-left: 22px; padding-right: 22px; }
  .pdp-gallery { gap: .6rem; }
  .pdp-thumbs button { width: 56px; }
  .pdp-actions { gap: 8px; }
  .modal-card { padding: 26px 18px; border-radius: 14px; }
  .auth-modal-head { margin-bottom: 1rem; }
  .cart-item { gap: 14px; padding: 16px; }
  .summary { padding: 24px; }
  .checkout-form .field, .card-fields .field, .contact-form .field { min-width: 100%; }
  .confirm { padding: 56px 18px 90px; }
  .confirm-actions { flex-direction: column; }
  .confirm-actions .btn { width: 100%; }
  .toast-wrap { right: 16px; bottom: 16px; left: 16px; }
  .toast { min-width: 0; }
}

@media (max-width: 380px) {
  .header-inner { padding: 10px 12px; }
  .brand { font-size: 18px; }
  .product-grid { gap: 1rem .6rem; }
  .btn { padding: 14px 22px; letter-spacing: .16em; }
  .btn-lg { padding: 16px 24px; }
  .feature-strip { grid-template-columns: 1fr; }
}

@media (hover: none) {
  .quick-add, .quick-view-btn { opacity: 1; transform: none; }
}
