/* ============================================================
   SERGIO'S JEWELRY — Luxury redesign stylesheet
   Palette: ivory #faf7f2 / warm white #fffdf9 / charcoal #1a1815
   champagne #c9ab6e / gold #b08d4f
   Fonts: Cormorant Garamond (display) + Jost (sans)
   Corner style: square throughout
   ============================================================ */

:root {
  --ivory: #faf7f2;
  --warm-white: #fffdf9;
  --charcoal: #1a1815;
  --black: #0e0d0b;
  --champagne: #c9ab6e;
  --gold: #b08d4f;
  --muted: #6f6a60;
  --hairline: #e5ddce;
  --hairline-dark: rgba(250, 247, 242, 0.18);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; }

.container { max-width: 1340px; margin: 0 auto; padding: 0 4.5vw; }
.container--narrow { max-width: 860px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  display: block;
  margin-bottom: 22px;
}
.eyebrow--light { color: var(--champagne); }

.display-xl {
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 400;
}
.display-lg {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 400;
}
.display-md {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 400;
}
.display-xl em, .display-lg em, .display-md em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--gold);
}
.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--dark { background: var(--charcoal); color: var(--ivory); }
.section--dark .lede { color: rgba(250, 247, 242, 0.72); }
.section--black { background: var(--black); color: var(--ivory); }
.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .lede { margin-top: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 17px 42px;
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid transparent;
  transition: all 0.45s var(--ease);
  background: none;
  text-align: center;
}
.btn-dark { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.btn-dark:hover { background: transparent; color: var(--charcoal); }
.btn-light { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.btn-light:hover { background: transparent; color: var(--ivory); }
.btn-outline { border-color: currentColor; color: inherit; }
.btn-outline:hover { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.btn-outline-light { border-color: rgba(250,247,242,0.6); color: var(--ivory); }
.btn-outline-light:hover { background: var(--ivory); color: var(--charcoal); border-color: var(--ivory); }
.btn-small { padding: 12px 26px; font-size: 10.5px; }
.btn-gold { border-color: var(--gold); color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--ivory); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4.5vw;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; overflow: hidden; }
.brand-name {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-sub {
  font-size: 8.5px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.header--transparent:not(.is-solid) { color: var(--ivory); }
.header--transparent:not(.is-solid) .brand-sub { color: var(--champagne); }
.header--solid { color: var(--charcoal); }

.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a.nav-link {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 6px 0;
  position: relative;
}
.nav-links a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav-links a.nav-link:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.nav-icon-btn {
  background: none;
  border: none;
  color: inherit;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.nav-icon-btn svg { width: 20px; height: 20px; stroke: currentColor; }
.cart-count {
  position: absolute;
  top: -4px; right: -6px;
  background: var(--gold);
  color: var(--ivory);
  font-size: 9.5px;
  min-width: 16px; height: 16px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}
.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 12px 24px; font-size: 10.5px; }
.auth-user-name { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.auth-logout-btn {
  background: none; border: none; color: inherit;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding: 0 0 2px;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: inherit;
  position: relative;
  z-index: 960;
  flex-shrink: 0;
  width: 40px; height: 40px;
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 1px;
  background: currentColor;
  margin: 6px auto;
  transition: all 0.4s var(--ease);
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .header-inner { height: 66px; }
  .brand-name { font-size: 19px; }
  .mobile-menu {
    position: fixed;
    top: 66px; left: 0; right: 0; bottom: 0;
    background: var(--ivory);
    color: var(--charcoal);
    z-index: 940;
    padding: 48px 8vw;
    display: none;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-family: var(--serif);
    font-size: 30px;
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .mobile-menu .btn { margin-top: 28px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ivory);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 7, 0.38);
  z-index: 1;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 0 6vw; max-width: 1000px; }
.hero-content .eyebrow { color: var(--champagne); }
.hero-title { margin-bottom: 26px; text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(250, 247, 242, 0.88);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.8;
}
.hero-ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.7);
  writing-mode: vertical-rl;
}

/* Page hero (interior pages) */
.page-hero {
  padding: 200px 0 90px;
  text-align: center;
  background: var(--warm-white);
  border-bottom: 1px solid var(--hairline);
}
.page-hero .lede { margin-top: 24px; }
.page-hero--dark { background: var(--charcoal); color: var(--ivory); border-bottom: none; }
.page-hero--dark .lede { color: rgba(250,247,242,0.72); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Editorial split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  align-items: stretch;
}
.split-media { overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 2.4s var(--ease); }
.split-media:hover img { transform: scale(1.05); }
.split-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 120px);
  background: var(--warm-white);
}
.split-body--dark { background: var(--charcoal); color: var(--ivory); }
.split-body--dark .lede { color: rgba(250,247,242,0.72); }
.split-body .lede { margin: 0 0 36px; }
.split-body .display-lg { margin-bottom: 26px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split-media { min-height: 380px; }
  .split-media--first { order: -1; }
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2vw 2vw;
}
@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; } }

.product-card { position: relative; }
.product-card-media {
  position: relative;
  overflow: hidden;
  background: #efeae1;
  aspect-ratio: 5 / 4;
  margin-bottom: 16px;
  cursor: pointer;
}
.product-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease), opacity 0.6s ease;
}
.product-card:hover .product-card-media img { transform: scale(1.06); }
.product-card-badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.badge {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--charcoal);
  color: var(--ivory);
}
.badge--gold { background: var(--gold); }
.product-card-actions {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease);
}
.product-card:hover .product-card-actions,
.product-card:focus-within .product-card-actions { transform: translateY(0); opacity: 1; }
.product-card-actions .btn { width: 100%; border-radius: 0; padding: 14px; font-size: 10px; letter-spacing: 0.22em; }
@media (hover: none) {
  .product-card-actions { transform: none; opacity: 1; position: static; margin-top: 10px; }
}
.product-card-info { text-align: center; }
.product-card-cat {
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.product-card-info h3 { font-size: 21px; font-weight: 500; margin-bottom: 6px; }
.product-card-price { font-size: 13px; letter-spacing: 0.12em; color: var(--muted); }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; }
.cat-tile { position: relative; overflow: hidden; display: block; aspect-ratio: 4 / 3; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,9,7,0.62) 0%, rgba(10,9,7,0.05) 55%);
}
.cat-tile-label {
  position: absolute;
  left: 0; right: 0; bottom: 30px;
  z-index: 2;
  text-align: center;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cat-tile-label small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.34em;
  color: var(--champagne);
  margin-top: 6px;
}
@media (max-width: 860px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } .cat-tile { aspect-ratio: 3/2; } }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  padding: 46px 38px;
  text-align: center;
}
.testimonial-stars { color: var(--gold); letter-spacing: 0.5em; font-size: 12px; margin-bottom: 22px; }
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 26px;
}
.testimonial-cite { font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.service-item { background: var(--ivory); padding: 52px 40px; transition: background 0.5s ease; }
.service-item:hover { background: var(--warm-white); }
.service-num { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: 0.2em; display: block; margin-bottom: 20px; }
.service-item h3 { font-size: 26px; margin-bottom: 14px; }
.service-item p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Diamond 4C interactive ---------- */
.c-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2vw; }
@media (max-width: 980px) { .c-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .c-cards { grid-template-columns: 1fr; } }
.c-card { border: 1px solid var(--hairline); background: var(--warm-white); padding: 44px 32px; text-align: center; transition: border-color 0.4s ease; }
.c-card:hover { border-color: var(--gold); }
.c-card h3 { font-size: 44px; color: var(--gold); margin-bottom: 12px; }
.c-card h4 { font-family: var(--serif); font-size: 24px; margin-bottom: 12px; }
.c-card p { font-size: 14px; color: var(--muted); }

/* Diamond shape explorer */
.shape-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.shape-btn {
  border: 1px solid var(--hairline);
  background: var(--warm-white);
  padding: 20px 26px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: all 0.4s ease;
  text-align: center;
}
.shape-btn svg { width: 34px; height: 34px; display: block; margin: 0 auto 10px; stroke: var(--gold); fill: none; stroke-width: 1.1; }
.shape-btn:hover, .shape-btn.active { border-color: var(--gold); background: var(--charcoal); color: var(--ivory); }
.shape-desc {
  max-width: 620px;
  margin: 34px auto 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  min-height: 68px;
  color: var(--charcoal);
}

/* ---------- Custom process steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2vw; counter-reset: step; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { border-top: 1px solid var(--hairline-dark); padding-top: 34px; }
.step-card .step-num { font-family: var(--serif); font-size: 60px; color: var(--gold); line-height: 1; display: block; margin-bottom: 18px; }
.step-card h3 { font-size: 27px; margin-bottom: 14px; }
.step-card p { font-size: 14.5px; color: rgba(250,247,242,0.7); }
.section:not(.section--dark) .step-card p, .section--black .step-card p { color: var(--muted); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #cfc7b6;
  background: transparent;
  padding: 12px 2px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--charcoal);
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }

/* ---------- Booking calendar ---------- */
.booking-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 980px) { .booking-layout { grid-template-columns: 1fr; } }
.calendar-card { background: var(--warm-white); border: 1px solid var(--hairline); padding: 36px; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.calendar-head h3 { font-size: 26px; }
.cal-nav-btn { background: none; border: 1px solid var(--hairline); width: 42px; height: 42px; font-size: 16px; color: var(--charcoal); transition: all 0.3s ease; }
.cal-nav-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.cal-nav-btn:disabled { opacity: 0.3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 8px 0; }
.cal-day {
  aspect-ratio: 1;
  border: 1px solid transparent;
  background: none;
  font-size: 14px;
  color: var(--charcoal);
  transition: all 0.25s ease;
  display: flex; align-items: center; justify-content: center;
}
.cal-day:hover:not(:disabled):not(.selected) { border-color: var(--gold); }
.cal-day:disabled { color: #c9c2b4; text-decoration: line-through; cursor: default; }
.cal-day.selected { background: var(--charcoal); color: var(--ivory); }
.cal-day.today { border-color: var(--hairline); }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.slot-btn {
  border: 1px solid var(--hairline);
  background: var(--ivory);
  padding: 13px 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  transition: all 0.3s ease;
}
.slot-btn:hover:not(:disabled):not(.selected) { border-color: var(--gold); }
.slot-btn.selected { background: var(--gold); border-color: var(--gold); color: var(--ivory); }
.slot-btn:disabled { color: #c9c2b4; text-decoration: line-through; cursor: default; }
.booking-hint { font-size: 12.5px; color: var(--muted); margin-top: 18px; letter-spacing: 0.04em; }

.auth-prompt {
  border: 1px solid var(--champagne);
  background: rgba(201, 171, 110, 0.08);
  padding: 26px 30px;
  margin: 10px 0;
  text-align: center;
}
.auth-prompt p { font-size: 14px; margin-bottom: 18px; }

/* ---------- Appointments dashboard ---------- */
.appt-list { display: flex; flex-direction: column; gap: 20px; }
.appt-card {
  background: var(--warm-white);
  border: 1px solid var(--hairline);
  padding: 30px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.appt-card h3 { font-size: 24px; margin-bottom: 6px; }
.appt-meta { font-size: 13px; color: var(--muted); letter-spacing: 0.06em; }
.status-badge {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 8px 18px;
  white-space: nowrap;
}
.status-pending { background: #f0e6cf; color: #7a5f22; }
.status-confirmed { background: #dde8dd; color: #2e5339; }
.status-denied, .status-cancelled { background: #f0dcd8; color: #7c352a; }

/* ---------- Admin table ---------- */
.admin-table { width: 100%; border-collapse: collapse; background: var(--warm-white); border: 1px solid var(--hairline); }
.admin-table th {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--hairline);
}
.admin-table td { padding: 20px; font-size: 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.admin-table tr:hover td { background: rgba(201, 171, 110, 0.05); }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-actions .btn { padding: 9px 16px; font-size: 9.5px; letter-spacing: 0.18em; }
.admin-filter { display: flex; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; align-items: center; }
.admin-filter select { border: 1px solid var(--hairline); background: var(--warm-white); padding: 12px 18px; font-family: var(--sans); font-size: 13px; color: var(--charcoal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(250,247,242,0.75); padding: clamp(64px, 8vw, 110px) 0 44px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(36px, 5vw, 70px);
  margin-bottom: 70px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: var(--ivory); font-size: 22px; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 19px; color: rgba(250,247,242,0.7); margin-top: 18px; max-width: 300px; line-height: 1.5; }
.footer-col h4 {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--champagne);
  font-weight: 400;
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 13.5px; letter-spacing: 0.06em; color: rgba(250,247,242,0.75); transition: color 0.3s ease; }
.footer-col a:hover { color: var(--champagne); }
.footer-col p { font-size: 13.5px; margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid var(--hairline-dark);
  padding-top: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11.5px;
  letter-spacing: 0.12em;
}
.footer-bottom a { opacity: 0.5; font-weight: 300; color: inherit; }
.social-links { display: flex; gap: 22px; }
.social-links a { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; }

/* ---------- Cart drawer (guide-mandated structure) ---------- */
#cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  height: 100%;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
}
#cart-drawer.active { visibility: visible; pointer-events: none; }
.cart-drawer-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 9, 7, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
  pointer-events: none;
}
#cart-drawer.active .cart-drawer-overlay { opacity: 1; visibility: visible; pointer-events: auto; }
.cart-drawer-content {
  position: fixed;
  top: 0; right: -460px;
  width: min(440px, 100vw);
  height: 100vh;
  background: var(--ivory);
  box-shadow: -20px 0 60px rgba(10,9,7,0.18);
  transition: right 0.5s var(--ease);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}
#cart-drawer.active .cart-drawer-content { right: 0; }
.cart-drawer-header {
  padding: 26px 30px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-header h2 { font-size: 24px; letter-spacing: 0.14em; text-transform: uppercase; }
.close-cart { background: none; border: none; font-size: 28px; color: var(--muted); line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 30px; }
.cart-item { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--hairline); position: relative; }
.cart-item img { width: 84px; height: 84px; object-fit: cover; flex-shrink: 0; }
.cart-item-details { flex: 1; }
.cart-item-details h4 { font-family: var(--serif); font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.cart-item-details p { font-size: 12px; color: var(--muted); margin: 2px 0; }
.cart-item-status { font-size: 11px; font-weight: 400; }
.cart-item-status.out-of-stock { color: #7c352a; letter-spacing: 0.14em; text-transform: uppercase; }
.quantity-controls { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.quantity-controls button {
  width: 28px; height: 28px;
  border: 1px solid var(--hairline);
  background: var(--warm-white);
  border-radius: 0;
}
.remove-btn {
  background: none; border: none;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  align-self: flex-start;
}
.remove-btn:hover { border-bottom-color: var(--muted); }
.cart-item-unavailable { opacity: 0.55; }
.cart-empty { text-align: center; padding: 70px 30px; color: var(--muted); }
.cart-empty p { font-family: var(--serif); font-size: 22px; font-style: italic; margin-bottom: 26px; }
.cart-footer { padding: 24px 30px 30px; border-top: 1px solid var(--hairline); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.cart-footer .btn { width: 100%; margin-bottom: 10px; }
.cart-notification {
  position: fixed;
  top: 24px; right: 24px;
  z-index: 1400;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 16px 30px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-14px);
  transition: all 0.4s var(--ease);
}
.cart-notification.show { opacity: 1; transform: none; }

/* ---------- Shop page ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(30px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }
.filters-sidebar { position: sticky; top: 110px; }
@media (max-width: 900px) { .filters-sidebar { position: static; } }
.filters-header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--hairline); padding-bottom: 14px; margin-bottom: 24px; }
.filters-header h3 { font-size: 24px; letter-spacing: 0.1em; text-transform: uppercase; }
.btn-text { background: none; border: none; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.filter-group { margin-bottom: 30px; }
.filter-group h4 { font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 14px; }
.price-inputs { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.price-input { width: 100%; border: 1px solid var(--hairline); background: var(--warm-white); padding: 10px 12px; font-family: var(--sans); font-size: 13px; border-radius: 0; }
.filter-cat-list { list-style: none; }
.filter-cat-list li { margin-bottom: 10px; }
.filter-cat-list button { background: none; border: none; font-size: 13.5px; color: var(--charcoal); letter-spacing: 0.06em; padding: 0; border-bottom: 1px solid transparent; }
.filter-cat-list button:hover, .filter-cat-list button.active { color: var(--gold); border-bottom-color: var(--gold); }
.checkbox-label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.checkbox-label input { accent-color: var(--gold); width: 15px; height: 15px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; gap: 16px; flex-wrap: wrap; }
#product-count { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.sort-select { border: 1px solid var(--hairline); background: var(--warm-white); padding: 12px 18px; font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.08em; color: var(--charcoal); }
.pagination-controls { display: flex; justify-content: center; gap: 10px; margin-top: 60px; flex-wrap: wrap; }
.pagination-btn {
  min-width: 46px; height: 46px;
  border: 1px solid var(--hairline);
  background: var(--warm-white);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  padding: 0 14px;
  transition: all 0.3s ease;
}
.pagination-btn:hover { border-color: var(--gold); color: var(--gold); }
.pagination-btn.active { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.pagination-ellipsis { align-self: center; color: var(--muted); }
.loading, .no-products, .error { text-align: center; padding: 80px 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--muted); grid-column: 1 / -1; }

/* ---------- Product detail page ---------- */
.pdp-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
@media (max-width: 940px) { .pdp-grid { grid-template-columns: 1fr; } }
.pdp-media { position: relative; overflow: hidden; }
#main-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; cursor: zoom-in; transition: opacity 0.4s ease; background: #efeae1; }
#main-image.zoomed { cursor: zoom-out; }
#main-image.zoomed:hover { transform: scale(1.35); transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%); transition: transform 0.4s ease; }
#main-image.zoomed { position: relative; z-index: 5; }
.thumbnail-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.thumbnail-gallery img { aspect-ratio: 1; object-fit: cover; cursor: pointer; opacity: 0.75; transition: opacity 0.3s ease, border 0.3s ease; border: 1px solid transparent; }
.thumbnail-gallery img:hover { opacity: 1; border-color: var(--gold); }
.pdp-info { position: sticky; top: 110px; }
@media (max-width: 940px) { .pdp-info { position: static; } }
.pdp-info h1 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 16px; }
.pdp-price { font-size: 19px; letter-spacing: 0.14em; color: var(--charcoal); margin: 18px 0 8px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.price-compare { color: var(--muted); text-decoration: line-through; font-size: 15px; }
.price-discount { background: var(--gold); color: var(--ivory); font-size: 10px; letter-spacing: 0.14em; padding: 4px 10px; }
.pdp-desc { margin: 26px 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.variant-selector { margin: 24px 0; }
.variant-label { display: block; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.variant-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.variant-button {
  padding: 12px 24px;
  border: 1px solid var(--hairline);
  background: var(--warm-white);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--charcoal);
  border-radius: 0;
  transition: all 0.3s ease;
}
.variant-button:hover:not(:disabled) { border-color: var(--gold); }
.variant-button.selected { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }
.variant-button:disabled, .variant-button.disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.pdp-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.pdp-actions .btn { width: 100%; }
.inventory-status { font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; display: inline-block; padding: 6px 14px; }
.inventory-status.in-stock { color: #2e5339; background: #dde8dd; }
.inventory-status.out-of-stock { color: #7c352a; background: #f0dcd8; }
.pdp-specs { margin-top: 40px; border-top: 1px solid var(--hairline); }
.pdp-specs details { border-bottom: 1px solid var(--hairline); }
.pdp-specs summary {
  padding: 18px 2px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pdp-specs summary::after { content: "+"; color: var(--gold); font-size: 16px; }
.pdp-specs details[open] summary::after { content: "−"; }
.pdp-specs details p, .pdp-specs details ul { padding: 0 2px 20px; font-size: 14px; color: var(--muted); }
.pdp-specs ul { padding-left: 20px; }

/* ---------- Search page ---------- */
.search-hero-form { display: flex; max-width: 640px; margin: 0 auto; border-bottom: 1px solid var(--charcoal); }
.search-hero-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 18px 6px;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--charcoal);
  outline: none;
}
.search-hero-form button { background: none; border: none; padding: 0 10px; }
.search-hero-form svg { width: 22px; height: 22px; stroke: var(--charcoal); }
#search-info { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; margin: 30px 0 50px; }
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state svg { width: 40px; height: 40px; stroke: var(--gold); margin: 0 auto 24px; display: block; }
.empty-state p { font-family: var(--serif); font-size: 24px; font-style: italic; margin-bottom: 10px; }
.empty-state p + p { font-family: var(--sans); font-size: 14px; font-style: normal; color: var(--muted); margin-bottom: 30px; }

/* ---------- Story / stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; text-align: center; }
@media (max-width: 720px) { .stats-row { grid-template-columns: 1fr; gap: 40px; } }
.stat-num { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.6rem); color: var(--gold); line-height: 1; }
.stat-label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 12px; display: block; }
.section--dark .stat-label { color: rgba(250,247,242,0.6); }

/* ---------- Appointment type cards ---------- */
.appt-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6vw; margin-bottom: clamp(56px, 7vw, 100px); }
@media (max-width: 980px) { .appt-types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .appt-types { grid-template-columns: 1fr; } }
.appt-type {
  border: 1px solid var(--hairline);
  background: var(--warm-white);
  padding: 38px 30px;
  cursor: pointer;
  transition: all 0.4s ease;
  text-align: left;
}
.appt-type:hover, .appt-type.selected { border-color: var(--gold); background: var(--charcoal); color: var(--ivory); }
.appt-type:hover .appt-type-sub, .appt-type.selected .appt-type-sub { color: var(--champagne); }
.appt-type h3 { font-size: 24px; margin-bottom: 10px; }
.appt-type-sub { font-size: 13px; color: var(--muted); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 34px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 10px; color: var(--gold); }

/* ---------- Marquee divider ---------- */
.marquee-divider {
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
  background: var(--warm-white);
}
.marquee-track { display: flex; gap: 70px; white-space: nowrap; animation: marquee 40s linear infinite; width: max-content; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--muted); letter-spacing: 0.06em; }
.marquee-track span::after { content: "—"; color: var(--champagne); margin-left: 70px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
