/* ============================================================
   JUEL EQUESTRIAN — Complete Stylesheet
   ============================================================ */

/* 1. Google Fonts
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* 2. Reset & CSS Variables
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Sage green — primary */
  --primary-dark: #2C3E2D;
  /* Olive — secondary */
  --secondary: #4A5E3A;
  /* Gold accent */
  --gold: #B8922A;
  /* Cream background */
  --cream: #FAF8F3;
  /* White (cards) */
  --white: #FFFFFF;
  /* Soft stone-grey (muted text/borders) */
  --stone: #9A9488;
  /* Dark text */
  --text: #1C1A16;
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 76px;
  --phone-width: 280px;
  --section-padding: 48px;
  --section-padding-mobile: 32px;
  /* Checkout compatibility aliases */
  --primary: #2C3E2D;
  --text-light: #9A9488;
  --border: #E6E1D8;
  --shadow: 0 2px 12px rgba(44,62,45,0.08);

  /* New accent + component tokens — aliased onto the sage/gold palette */
  --burnt-orange: #B8922A;
  --copper: #4A5E3A;
  --off-white: #FAF8F3;
  --soft-beige: #EDF0E6;
  --charcoal: #1C1A16;
  --deep-blue: #2C3E2D;
  --saddle-brown: #4A5E3A;
  --radius-card: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 4px 20px rgba(44,62,45,0.07);
  --shadow-lift: 0 18px 40px rgba(44,62,45,0.16);
  --transition-base: 0.28s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* 3. Body
   ============================================================ */
body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 4. Typography
   ============================================================ */
h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 1.8rem);
  line-height: 1.2;
}

h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

p {
  line-height: 1.6;
}

/* 5. Utility
   ============================================================ */
.hidden {
  display: none !important;
}

.pf-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: pf-spin 0.8s linear infinite;
}

@keyframes pf-spin {
  to { transform: rotate(360deg); }
}

/* Progress indicator in nearby search modal */
#pf-nearby-progress div {
  transition: color 0.3s ease, font-weight 0.3s ease;
}

#pf-nearby-modal .modal {
  animation: pf-modal-in 0.25s ease-out;
}

@keyframes pf-modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* 6. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  text-decoration: none;
  border: none;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary-dark);
  color: var(--cream);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--stone);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 8px;
  line-height: 1;
  font-family: inherit;
  transition: color 0.15s;
}
.btn-icon:hover { color: var(--text); }

.btn-gold {
  background: var(--gold);
  color: var(--cream);
}

.btn-get-started {
  background: var(--gold);
  color: var(--cream);
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 4px;
}

.btn-demo {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--cream);
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 4px;
}

.btn-cream-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  color: var(--cream);
}

/* 7. Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid #e6e1d8;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: border-bottom 0.3s;
}

.navbar.scrolled {
  border-bottom: 1px solid rgba(184, 146, 42, 0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img,
.logo-img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-cart svg {
  stroke: var(--text);
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: var(--cream);
  font-size: 10px;
  font-weight: 500;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login {
  color: var(--text);
  background: none;
  border: none;
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 6px 12px;
}

.btn-login:hover {
  color: var(--gold);
}

.btn-logout {
  color: var(--stone);
  background: none;
  border: none;
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 6px 12px;
}

.btn-logout:hover {
  color: var(--text);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* 8. Hero
   ============================================================ */
.hero {
  min-height: 88vh;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
}

.hero-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-left {
  flex: 1;
  min-width: 0;
  padding-left: 6%;
  padding-right: 4%;
}

.hero-tag {
  color: var(--gold);
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.hero h1 {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  margin-bottom: 16px;
}

.hero p {
  color: var(--stone);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 420px;
}

.hero-gold-line {
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 4%;
}

.hero-images {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

/* 9. Positioning Strip
   ============================================================ */
.positioning-strip {
  background: var(--cream);
  padding: 20px 0;
  text-align: center;
}

.positioning-strip p {
  font-size: 14px;
  color: var(--secondary);
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
  line-height: 1.6;
}

/* 10. Before/After
   ============================================================ */
.before-after {
  background: var(--white);
  padding: var(--section-padding) 24px;
}

.ba-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  align-items: stretch;
}

.ba-before,
.ba-after {
  flex: 1;
  font-size: 14px;
  line-height: 1.9;
}

.ba-before {
  padding-right: 32px;
  border-right: 2px solid var(--gold);
}

.ba-item {
  font-size: 14px;
  line-height: 1.9;
  padding: 2px 0;
}

.ba-after {
  background: var(--primary-dark);
  border-radius: 8px;
  padding: 24px;
  color: var(--cream);
  margin-left: 32px;
}

.ba-before p,
.ba-after p {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.9;
}

.ba-before .icon-x {
  color: #E24B4A;
}

.ba-after .icon-check {
  color: var(--gold);
}

/* ❌ and ✅ emoji fallback */
.ba-before p::before {
  content: none;
}

.ba-after p::before {
  content: none;
}

/* 11. How It Works
   ============================================================ */
.how-it-works {
  background: var(--cream);
  padding: var(--section-padding) 24px;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.step p {
  color: var(--stone);
  font-size: 13px;
  line-height: 1.5;
}

.steps-tagline {
  text-align: center;
  color: var(--gold);
  font-size: 13px;
  margin-top: 32px;
  font-style: italic;
}

/* 12. Benefits
   ============================================================ */
.benefits {
  background: var(--white);
  padding: var(--section-padding) 24px;
}

.benefits h2 {
  text-align: center;
  margin-bottom: 36px;
  color: var(--text);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  border-top: 3px solid var(--primary-dark);
  padding: 20px;
}

.benefit-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.benefit-card h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.benefit-card p {
  color: var(--stone);
  font-size: 13px;
  line-height: 1.5;
}

/* 13. Gift Options
   ============================================================ */
.gift-options {
  background: var(--primary-dark);
  padding: var(--section-padding) 24px;
}

.gift-options .section-label {
  display: block;
  text-align: center;
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 12px;
}

.gift-options h2 {
  color: var(--cream);
  text-align: center;
  margin-bottom: 8px;
}

.gift-subline {
  color: var(--stone);
  text-align: center;
  font-size: 13px;
  margin-bottom: 32px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 146, 42, 0.3);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.product-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.2);
}

.product-info {
  padding: 16px;
  color: var(--cream);
}

.product-badge {
  display: inline-block;
  background: rgba(184, 146, 42, 0.2);
  color: var(--gold);
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.product-info h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--cream);
}

.product-desc {
  color: var(--stone);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.product-includes {
  color: var(--stone);
  font-size: 12px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.product-price {
  color: var(--gold);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.product-tagline {
  color: var(--gold);
  font-size: 12px;
  font-style: italic;
  margin-bottom: 8px;
}

.product-skeleton {
  height: 360px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 37%, rgba(255,255,255,0.04) 63%);
  background-size: 400% 100%;
  animation: product-skeleton-shimmer 1.4s ease infinite;
}

@keyframes product-skeleton-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.gift-empty {
  grid-column: 1 / -1;
  color: var(--stone);
  text-align: center;
  font-size: 14px;
  padding: 40px 20px;
}

.gift-note {
  color: var(--stone);
  text-align: center;
  font-size: 12px;
  margin-top: 24px;
}

/* ── Stock badges (storefront product cards) ── */
.stock-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  margin-left: 6px;
}
.stock-in   { background: rgba(34, 197, 94, 0.18);  color: #4ade80; }
.stock-low  { background: rgba(234, 179, 8, 0.18);  color: #facc15; }
.stock-out  { background: rgba(239, 68, 68, 0.18);  color: #f87171; }

/* ── Quantity stepper (light-card contexts: PDP, cart drawer, checkout) ──
   + and − sit stacked in a column to the right of the number field, rather
   than flanking it left/right — DOM order stays [minus][input][plus], only
   the grid placement below is reordered visually. */
.qty-stepper {
  display: inline-grid;
  grid-template-columns: auto 26px;
  grid-template-rows: 1fr 1fr;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0;
}
.qty-stepper button {
  grid-column: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: var(--soft-beige);
  color: var(--deep-blue);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}
.qty-stepper button:last-of-type { grid-row: 1; }
.qty-stepper button:first-of-type { grid-row: 2; border-top: 1px solid var(--border); }
.qty-stepper button:hover { background: rgba(184, 146, 42, 0.25); }
.qty-stepper input[type="number"] {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 48px !important;
  height: 100%;
  text-align: center;
  border: none !important;
  border-right: 1px solid var(--border) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
  font-size: 14px !important;
  -moz-appearance: textfield !important;
}
.qty-stepper input[type="number"]::-webkit-inner-spin-button,
.qty-stepper input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.qty-stepper.qty-stepper-sm { height: 30px; grid-template-columns: auto 20px; }
.qty-stepper.qty-stepper-sm button { font-size: 9px; }
.qty-stepper.qty-stepper-sm input[type="number"] { width: 34px !important; font-size: 12.5px !important; }

/* ── Shop pagination ── */
.shop-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.shop-pager-label {
  color: var(--stone);
  font-size: 13px;
}

/* 14. Who It's For
   ============================================================ */
.who-for {
  background: var(--cream);
  padding: var(--section-padding-mobile) 24px;
}

.who-for .section-label {
  display: block;
  text-align: center;
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 24px;
}

.who-for h2 {
  text-align: center;
  margin-bottom: 24px;
  color: var(--text);
}

.who-for-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.who-item {
  font-size: 13px;
  color: var(--secondary);
  cursor: default;
  transition: color 0.2s, transform 0.2s;
}

.who-item:hover {
  color: var(--primary-dark);
  transform: scale(1.1);
}

/* 15. Results
   ============================================================ */
.results {
  background: var(--white);
  padding: var(--section-padding) 24px;
}

.results h2 {
  text-align: center;
  margin-bottom: 32px;
  color: var(--text);
}

.results-inner {
  display: flex;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  align-items: flex-start;
}

.results-inner > div {
  flex: 1;
}

.result-item {
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 4px;
}

.result-item .check {
  color: var(--gold);
}

.results blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 12px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}

.results cite {
  color: var(--stone);
  font-size: 12px;
  font-style: normal;
}

/* 16. Final CTA
   ============================================================ */
.final-cta {
  background: var(--text);
  padding: var(--section-padding) 24px;
  text-align: center;
}

.final-cta h2 {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-sub {
  color: var(--stone);
  font-size: 12px;
  margin-top: 16px;
}

/* 17. Footer
   ============================================================ */
.footer {
  background: var(--text);
  padding: 32px 24px;
  border-top: 1px solid rgba(184, 146, 42, 0.3);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-tagline {
  color: var(--stone);
  font-size: 11px;
}

.footer-copy {
  color: var(--stone);
  font-size: 11px;
}

/* 18. Modals
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  width: 90%;
  max-width: 400px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
  color: var(--stone);
  background: none;
  border: none;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
}

.modal h2 {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-dark);
}

.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-dark);
}

.phone-input-group {
  display: flex;
  gap: 8px;
}

.phone-input-group select {
  width: 90px !important;
  flex-shrink: 0 !important;
  min-width: 0 !important;
}

.phone-input-group input {
  flex: 1 !important;
  width: auto !important;
  min-width: 0 !important;
}

.auth-switch {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--stone);
}

.auth-switch a,
.auth-switch button {
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
  font-size: 13px;
  text-decoration: underline;
}

.error-msg {
  color: #E24B4A;
  font-size: 12px;
  margin-top: 8px;
  text-align: center;
}

.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--stone);
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

/* 19. Cart Drawer
   ============================================================ */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 26, 22, 0.55);
  z-index: 1500;
  transition: opacity var(--transition-base);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 92vw;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(44,62,45,0.18);
  border-top-left-radius: var(--radius-card);
  border-bottom-left-radius: var(--radius-card);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--deep-blue);
  font-weight: 500;
}

.cart-header button {
  font-size: 24px;
  cursor: pointer;
  color: var(--stone);
  background: none;
  border: none;
  line-height: 1;
  transition: color var(--transition-base);
}
.cart-header button:hover { color: var(--burnt-orange); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 24px;
}

.cart-empty {
  text-align: center;
  color: var(--stone);
  font-size: 14px;
  margin-top: 48px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-item img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--soft-beige);
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--deep-blue);
  margin-bottom: 4px;
}

.cart-item-info p {
  font-size: 12px;
  color: var(--stone);
}

.cart-item-subtotal {
  font-weight: 700;
  color: var(--deep-blue);
  margin: 6px 0 4px;
}

.cart-item-remove {
  color: var(--stone);
  font-size: 12px;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
  transition: color var(--transition-base);
}

.cart-item-remove:hover {
  color: var(--burnt-orange);
}

.cart-footer {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 16px;
}

.cart-total span:last-child {
  color: var(--deep-blue);
  font-size: 1.2rem;
  font-weight: 700;
}

/* 20. Scroll Anchors
   ============================================================ */
#how-it-works,
#shop {
  scroll-margin-top: 64px;
}

/* 21. Responsive
   ============================================================ */

/* Tablet: 769px – 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: up to 768px */
@media (max-width: 768px) {
  :root {
    --section-padding: 32px;
  }

  /* Navbar mobile */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 32px;
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero-left {
    padding: 0 24px;
    text-align: left;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-right {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }

  .hero-images {
    gap: 10px;
    justify-content: center;
  }

  /* Grids */
  .product-grid {
    grid-template-columns: 1fr;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ba-inner {
    flex-direction: column;
    gap: 24px;
  }

  .ba-before {
    padding-right: 0;
    border-right: none;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 24px;
  }

  .ba-after {
    margin-left: 0;
  }

  .results-inner {
    flex-direction: column;
    gap: 24px;
  }

  .who-for-grid {
    gap: 16px;
  }

  /* Buttons full-width on mobile */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Cart drawer */
  .cart-drawer {
    width: 100%;
  }

}

/* ============================================================
   CHECKOUT — Global form field styles (Change 7)
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea,
select {
  border: 1px solid var(--stone) !important;
  border-radius: 4px !important;
  background: var(--white) !important;
  color: var(--text) !important;
  font-size: 16px !important;
  font-family: var(--font-body) !important;
  padding: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

input:focus,
textarea:focus,
select:focus {
  border: 2px solid var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(184,146,42,0.15) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--stone) !important;
  font-size: 14px !important;
}

/* Readonly / disabled inputs (date pickers) */
input[readonly] {
  cursor: pointer !important;
  background: var(--white) !important;
}

/* Flatpickr overrides */
.flatpickr-input {
  background: var(--white) !important;
  color: var(--text) !important;
}

/* ============================================================
   CHECKOUT — Character counter (Change 8)
   ============================================================ */
.char-counter {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--stone);
  text-align: right;
  margin-top: 4px;
  transition: color 0.2s;
}
.char-counter.counter-amber { color: #F59E0B; }
.char-counter.counter-red   { color: #E24B4A; font-weight: 500; }

/* ============================================================
   CHECKOUT — Customer type cards
   ============================================================ */
.customer-type-cards {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.customer-type-card {
  flex: 1;
  padding: 16px 12px;
  border: 1px solid var(--stone);
  border-radius: 8px;
  background: var(--white);
  color: var(--stone);
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  text-align: center;
  font-family: var(--font-body);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-type-card:hover {
  border-color: var(--gold);
  color: var(--text);
}

.customer-type-card.selected {
  border: 2px solid var(--gold);
  background: rgba(184,146,42,0.08);
  color: var(--text);
}

.customer-type-card.selected::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 8px;
  color: var(--gold);
  font-size: 0.8rem;
}

.ct-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Required asterisk */
.req {
  color: var(--gold) !important;
  margin-left: 2px;
}

/* ============================================================
   CHECKOUT — Preview modal
   ============================================================ */
.preview-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.72);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.preview-modal {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,0.24);
}

.preview-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
}

.preview-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  /* min-height:0 overrides the flex default of min-height:auto (content size) —
     without it, some WebKit/Firefox versions let this grow past the modal's
     max-height instead of scrolling, pushing the footer off-screen. */
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.preview-modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
}

/* ============================================================
   CHECKOUT — Mobile compatibility (Change 6)
   ============================================================ */
@media (max-width: 600px) {
  /* Checkout cards */
  .checkout-page {
    margin-top: 80px;
    padding: 0 12px;
  }
  .checkout-card {
    padding: 20px 16px;
  }

  /* All inputs, textareas, selects — 44px touch targets */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="date"],
  input[type="number"],
  textarea,
  select {
    min-height: 44px !important;
    font-size: 16px !important;
    padding: 12px !important;
  }

  /* Textarea min-height */
  textarea {
    min-height: 120px !important;
    resize: vertical !important;
  }

  /* Full-width buttons on mobile */
  .checkout-nav .btn,
  .btn-full {
    width: 100%;
    min-height: 44px;
  }

  /* Customer type cards — stack on very narrow screens */
  @media (max-width: 380px) {
    .customer-type-cards {
      flex-direction: column;
    }
  }

  /* Preview modal — full screen on mobile */
  .preview-modal {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  /* Grid: single column on mobile */
  .grid-2col,
  .grid-3col {
    grid-template-columns: 1fr !important;
  }
}


/* ============================================================
   22. Premium Storefront Components
   (product cards, badges, wishlist, ratings, category/testimonial
   cards, instagram-style gallery, newsletter, filter sidebar,
   PDP gallery/zoom, breadcrumb, footer v2, animations)
   ============================================================ */

/* ── Animation utilities ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.reveal {
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.reveal.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; }
}

/* ── Section shell ── */
.pv-section { padding: var(--section-padding) 24px; max-width: 1240px; margin: 0 auto; }
.pv-section-header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.pv-eyebrow { display: block; color: var(--burnt-orange); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 10px; }
.pv-section-header h2 { color: var(--deep-blue); margin-bottom: 10px; }
.pv-section-header p { color: var(--text-light); font-size: 15px; }

/* ── Hero (premium, parallax) ── */
.pv-hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(155deg, var(--deep-blue) 0%, #3B4E33 55%, var(--saddle-brown) 140%); }
.pv-hero-bg { position: absolute; inset: -10% -10% -10% -10%; background: radial-gradient(ellipse at 30% 30%, rgba(184,146,42,0.18), transparent 55%), radial-gradient(ellipse at 80% 70%, rgba(74,94,58,0.16), transparent 50%); will-change: transform; }
.pv-hero-inner { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%; }
.pv-hero-eyebrow { color: var(--gold); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 20px; display: block; }
.pv-hero h1 { color: var(--off-white); font-size: clamp(2.6rem, 5.5vw, 4.4rem); max-width: 780px; margin-bottom: 20px; }
.pv-hero p { color: rgba(253,251,247,0.78); font-size: 17px; max-width: 480px; margin-bottom: 32px; line-height: 1.7; }
.pv-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.pv-hero-scenery { position: absolute; right: calc(9% + 151px); top: 50%; transform: translateY(-50%); height: 68%; max-height: 540px; width: auto; opacity: 0.94; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35)); }
@media (max-width: 900px) {
  .pv-hero-scenery { right: auto; left: 50%; top: 46%; height: 60vh; max-height: 380px; opacity: 0.22; transform: translate(-50%, -50%); z-index: 0; }
}

/* ── Buttons (premium variants) ── */
.pv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 30px; border-radius: 100px; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base); border: 1.5px solid transparent; }
.pv-btn:hover { transform: translateY(-2px); }
.pv-btn-primary { background: var(--burnt-orange); color: var(--off-white); box-shadow: 0 10px 24px rgba(184,146,42,0.32); }
.pv-btn-primary:hover { background: #9C7A1F; box-shadow: 0 14px 30px rgba(184,146,42,0.4); }
.pv-btn-outline { background: transparent; color: var(--off-white); border-color: rgba(253,251,247,0.5); }
.pv-btn-outline:hover { background: rgba(253,251,247,0.12); border-color: var(--off-white); }
.pv-btn-ghost { background: transparent; color: var(--deep-blue); border-color: var(--border); }
.pv-btn-ghost:hover { border-color: var(--deep-blue); }

/* ── Category cards ── */
.pv-category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 220px)); justify-content: center; gap: 20px; }
.pv-category-card { position: relative; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4/5; cursor: pointer; transition: transform var(--transition-base); background: linear-gradient(155deg, var(--saddle-brown), var(--deep-blue)); }
.pv-category-card:hover { transform: translateY(-6px); }
.pv-category-card svg { position: absolute; inset: 0; margin: auto; width: 42%; height: 42%; opacity: 0.35; color: var(--off-white); }
.pv-category-card-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 16px; background: linear-gradient(to top, rgba(27,26,22,0.75), transparent); color: var(--off-white); font-family: var(--font-display); font-size: 1.05rem; }

/* ── Product card v2 ── */
.pcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.pcard { background: var(--white); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform var(--transition-base), box-shadow var(--transition-base); position: relative; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.pcard-media { position: relative; aspect-ratio: 1/1; background: var(--soft-beige); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.pcard-badge { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; color: var(--off-white); }
.pcard-badge.sale { background: var(--burnt-orange); }
.pcard-badge.featured { background: var(--deep-blue); }
.pcard-badge.out { background: var(--stone); }
.pcard-wishlist { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(253,251,247,0.92); display: flex; align-items: center; justify-content: center; color: var(--deep-blue); transition: transform var(--transition-base), color var(--transition-base); box-shadow: 0 4px 10px rgba(44,62,45,0.15); }
.pcard-wishlist:hover { transform: scale(1.1); }
.pcard-wishlist.active { color: var(--burnt-orange); }
.pcard-wishlist svg { width: 18px; height: 18px; }
.pcard-quickadd { position: absolute; left: 12px; right: 12px; bottom: -46px; z-index: 2; background: var(--deep-blue); color: var(--off-white); border-radius: 100px; padding: 10px; text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; transition: bottom var(--transition-base); cursor: pointer; }
.pcard:hover .pcard-quickadd { bottom: 12px; }
.pcard-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-cat { font-size: 11px; color: var(--stone); text-transform: uppercase; letter-spacing: 0.08em; }
.pcard-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--deep-blue); line-height: 1.3; }
.pcard-rating { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--stone); }
.pcard-rating .stars { color: var(--gold); letter-spacing: 1px; }
.pcard-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.pcard-price { font-weight: 700; color: var(--deep-blue); font-size: 1.05rem; }
.pcard-price-was { text-decoration: line-through; color: var(--stone); font-size: 0.85rem; }
.pcard-stock { margin-top: 2px; }

/* Stock badges (redesigned to new palette) */
.stock-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 9px; border-radius: 100px; }
.stock-badge.stock-in  { background: rgba(76,122,84,0.14); color: #3E6B48; }
.stock-badge.stock-low { background: rgba(184,134,46,0.16); color: #8A6212; }
.stock-badge.stock-out { background: rgba(184,146,42,0.14); color: var(--burnt-orange); }

/* ── Star rating (shared) ── */
.pv-stars { color: var(--gold); letter-spacing: 1px; font-size: 14px; }
.pv-stars.lg { font-size: 20px; }

/* ── Testimonials ── */
.pv-testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pv-testimonial-card { background: var(--white); border-radius: var(--radius-card); padding: 30px 28px; box-shadow: var(--shadow-soft); }
.pv-testimonial-card .stars { margin-bottom: 14px; }
.pv-testimonial-card blockquote { font-family: var(--font-display); font-size: 1.1rem; color: var(--deep-blue); line-height: 1.5; margin-bottom: 16px; }
.pv-testimonial-card cite { font-size: 13px; color: var(--stone); font-style: normal; }

/* ── Instagram-style gallery ── */
.pv-insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.pv-insta-tile { position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 6px; background: linear-gradient(155deg, var(--soft-beige), var(--saddle-brown)); cursor: pointer; }
.pv-insta-tile svg { position: absolute; inset: 0; margin: auto; width: 34%; height: 34%; color: var(--off-white); opacity: 0.55; }
.pv-insta-tile::after { content: ''; position: absolute; inset: 0; background: rgba(44,62,45,0); transition: background var(--transition-base); }
.pv-insta-tile:hover::after { background: rgba(44,62,45,0.25); }
@media (max-width: 900px) { .pv-insta-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .pv-insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Newsletter ── */
.pv-newsletter { background: var(--deep-blue); border-radius: var(--radius-card); padding: 56px 40px; text-align: center; color: var(--off-white); }
.pv-newsletter h2 { color: var(--off-white); margin-bottom: 10px; }
.pv-newsletter p { color: rgba(253,251,247,0.72); margin-bottom: 26px; }
.pv-newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.pv-newsletter-form input { flex: 1; padding: 14px 18px; border-radius: 100px; border: none; font-size: 14px; }
.pv-newsletter-msg { margin-top: 12px; font-size: 13px; color: var(--gold); min-height: 1.2em; }

/* ── Why choose us / benefit cards (v2) ── */
.pv-benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.pv-benefit-card { background: var(--white); border-radius: var(--radius-card); padding: 30px 26px; box-shadow: var(--shadow-soft); text-align: center; transition: transform var(--transition-base); }
.pv-benefit-card:hover { transform: translateY(-4px); }
.pv-benefit-icon { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; background: var(--soft-beige); display: flex; align-items: center; justify-content: center; color: var(--burnt-orange); }
.pv-benefit-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--deep-blue); margin-bottom: 8px; font-weight: 500; }
.pv-benefit-card p { font-size: 13.5px; color: var(--text-light); }

/* ── Filter sidebar (shop page) ── */
.pv-filter-panel { background: var(--white); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-soft); }
.pv-filter-group { margin-bottom: 24px; }
.pv-filter-group:last-child { margin-bottom: 0; }
.pv-filter-group h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--stone); margin-bottom: 12px; }
.pv-filter-option { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); padding: 5px 0; cursor: pointer; }
.pv-filter-option input { accent-color: var(--burnt-orange); }
.pv-price-range { display: flex; align-items: center; gap: 8px; }
.pv-price-range input { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; }

/* ── Breadcrumb ── */
.pv-breadcrumb { font-size: 12.5px; color: var(--stone); margin-bottom: 20px; }
.pv-breadcrumb a { color: var(--deep-blue); }
.pv-breadcrumb a:hover { color: var(--burnt-orange); }

/* ── PDP gallery + zoom ── */
.pdp-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); gap: 52px; }
@media (max-width: 900px) { .pdp-layout { grid-template-columns: 1fr; gap: 28px; } }
.pdp-main-img { border-radius: var(--radius-card); overflow: hidden; background: var(--soft-beige); aspect-ratio: 1/1; cursor: zoom-in; position: relative; }
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp-thumb { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; background: var(--soft-beige); }
.pdp-thumb.active { border-color: var(--burnt-orange); }
.pdp-zoom-overlay { position: fixed; inset: 0; background: rgba(27,26,22,0.9); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 24px; }
.pdp-zoom-overlay.open { display: flex; }
.pdp-zoom-overlay img { max-width: 92vw; max-height: 92vh; border-radius: 8px; }
.pdp-info h1 { font-size: 1.9rem; color: var(--deep-blue); margin-bottom: 10px; }
.pdp-price-row { display: flex; align-items: baseline; gap: 12px; margin: 14px 0; }
.pdp-price { font-size: 1.6rem; font-weight: 700; color: var(--deep-blue); }
.pdp-specs { margin: 20px 0; border-top: 1px solid var(--border); padding-top: 18px; }
.pdp-spec-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.pdp-spec-row span:first-child { color: var(--stone); }

/* ── Reviews ── */
.pdp-rating-summary { display: flex; gap: 40px; flex-wrap: wrap; padding-bottom: 24px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.pdp-rating-summary-avg { flex-shrink: 0; text-align: center; min-width: 120px; }
.pdp-rating-summary-num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--deep-blue); }
.pdp-rating-summary-outof { font-size: 12.5px; color: var(--stone); margin-top: 6px; }
.pdp-rating-summary-avg .pv-stars { display: block; margin: 8px 0 6px; }
.pdp-rating-summary-count { font-size: 12.5px; color: var(--stone); margin-top: 2px; }
.pdp-rating-bars { flex: 1; min-width: 200px; max-width: 360px; }
.pdp-rating-bar-row { display: flex; align-items: center; gap: 10px; }
.pdp-rating-bar-row + .pdp-rating-bar-row { margin-top: 7px; }
.pdp-rating-bar-label { flex-shrink: 0; width: 44px; font-size: 12.5px; color: var(--text); }
.pdp-rating-bar-track { flex: 1; height: 10px; border-radius: 6px; background: var(--border); overflow: hidden; }
.pdp-rating-bar-fill { height: 100%; background: var(--gold); border-radius: 6px 0 0 6px; }
.pdp-rating-bar-pct { flex-shrink: 0; width: 36px; text-align: right; font-size: 12.5px; color: var(--stone); font-variant-numeric: tabular-nums; }

.pv-review { border-bottom: 1px solid var(--border); padding: 18px 0; }
.pv-review:last-child { border-bottom: none; }
.pv-review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.pv-review-name { font-weight: 600; color: var(--deep-blue); font-size: 13.5px; }
.pv-review-date { font-size: 12px; color: var(--stone); }
.pv-review-title { font-weight: 600; margin: 4px 0; font-size: 14px; }
.pv-review-body { font-size: 13.5px; color: var(--text); line-height: 1.6; }

/* ── Footer v2 ── */
.pv-footer { background: var(--deep-blue); color: rgba(253,251,247,0.82); padding: 64px 24px 24px; }
.pv-footer-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.pv-footer-col h4 { color: var(--off-white); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.pv-footer-col a { display: block; color: rgba(253,251,247,0.72); font-size: 13.5px; margin-bottom: 10px; transition: color var(--transition-base); }
.pv-footer-col a:hover { color: var(--gold); }
.pv-footer-brand p { font-size: 13.5px; color: rgba(253,251,247,0.62); margin-top: 14px; max-width: 280px; line-height: 1.6; }
.pv-footer-social { display: flex; gap: 12px; margin-top: 18px; }
.pv-footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(253,251,247,0.1); display: flex; align-items: center; justify-content: center; }
.pv-footer-bottom { max-width: 1240px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(253,251,247,0.12); font-size: 12.5px; color: rgba(253,251,247,0.5); text-align: center; }
@media (max-width: 860px) { .pv-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pv-footer-inner { grid-template-columns: 1fr; } .pv-insta-grid { grid-template-columns: repeat(3,1fr); } }

/* ============================================================
   23. Shop / Listing page
   ============================================================ */
.shop-page-header { padding: 40px 24px 0; max-width: 1240px; margin: 0 auto; }
.shop-page-header h1 { color: var(--deep-blue); margin-bottom: 6px; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; max-width: 1240px; margin: 0 auto; padding: 24px 24px 64px; align-items: start; }
.shop-toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.shop-search { flex: 1; min-width: 200px; position: relative; }
.shop-search input { width: 100% !important; padding: 12px 16px 12px 42px !important; border: 1px solid var(--border) !important; border-radius: 100px !important; font-size: 14px !important; background: var(--white) !important; }
.shop-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--stone); width: 18px; height: 18px; pointer-events: none; }
.shop-sort select { padding: 11px 16px; border: 1px solid var(--border); border-radius: 100px; font-size: 13.5px; background: var(--white); color: var(--text); }
.shop-count { font-size: 13px; color: var(--stone); margin-bottom: 16px; }
.shop-filter-toggle { display: none; }
@media (max-width: 860px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filter-toggle { display: inline-flex; }
  .pv-filter-panel { display: none; }
  .pv-filter-panel.open { display: block; margin-bottom: 20px; }
}
.shop-pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 36px; }
.shop-pager-label { color: var(--stone); font-size: 13px; }
.shop-empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--stone); }
