/* ============================================================
   AMBER'S ALCHEMY APOTHECARY — STYLES v7
   Deep Plum Palette · Cinzel + Lora · Apothecary Atmosphere
   ============================================================ */

:root {
  --plum-deep:    #2E1C38;
  --plum-dark:    #1E1128;
  --plum-mid:     #4B2E59;
  --amethyst:     #6E4B7E;
  --amethyst-lt:  #9B72B0;
  --brass:        #8C6A3B;
  --brass-lt:     #B8945A;
  --parchment:    #F3EBDD;
  --parchment-dk: #E0D0B8;
  --sage:         #7A8B6F;
  --text-body:    #EDE4D8;
  --text-muted:   #B8A898;
  --border:       rgba(140, 106, 59, 0.25);
  --border-lt:    rgba(243, 235, 221, 0.12);
  --shadow:       0 4px 24px rgba(30, 17, 40, 0.55);
  --font-display: 'Cinzel', serif;
  --font-body:    'Lora', Georgia, serif;
  --font-accent:  'Cormorant Garamond', serif;
  --radius:       8px;
  --radius-lg:    14px;
  --transition:   0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background-color: var(--plum-dark);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Apothecary shelf background for every pane */
.pane-bg {
  position: relative;
  background: url('apothecary-shelf-abundance-stockcake-1095398323.jpg') center / cover no-repeat;
}
.pane-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 17, 40, 0.78);
  pointer-events: none;
  z-index: 0;
}
.pane-bg > * {
  position: relative;
  z-index: 1;
}

a { color: var(--brass-lt); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--parchment); }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--plum-dark); }
::-webkit-scrollbar-thumb { background: var(--amethyst); border-radius: 3px; }

/* ---- CONSULTATION BANNER ---- */
#consultBanner {
  background: linear-gradient(90deg, var(--plum-mid), var(--amethyst));
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 13.5px;
  padding: 9px 50px;
  display: flex; align-items: center; justify-content: center;
  gap: 12px; text-align: center; position: relative; z-index: 200;
}
#consultBanner a { color: var(--parchment); font-weight: 600; text-decoration: underline; }
#consultBanner a:hover { color: var(--brass-lt); }
#consultClose {
  background: none; border: none; color: var(--parchment-dk);
  font-size: 16px; cursor: pointer; padding: 2px 6px;
  position: absolute; right: 14px; opacity: 0.7;
}
#consultClose:hover { opacity: 1; }

/* ---- NAVIGATION ---- */
#mainNav {
  position: sticky; top: 0; z-index: 100;
  background: #1a0f24;
  backdrop-filter: none;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  display: flex; align-items: center; gap: 10px;
  min-height: 56px;
  box-shadow: 0 2px 20px rgba(30,17,40,0.7);
}
.nav-brand { display: flex; flex-direction: column; margin-right: 12px; flex-shrink: 0; }
.nav-brand-sub { font-family: var(--font-display); font-size: 8px; letter-spacing: 0.18em; color: var(--brass); text-transform: uppercase; }
.nav-brand-main { font-family: var(--font-display); font-size: 13px; color: var(--parchment); white-space: nowrap; letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 2px; flex-wrap: wrap; flex: 1; }
.nav-btn {
  background: none; border: none; color: var(--text-muted);
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.06em;
  padding: 6px 9px; border-radius: var(--radius);
  transition: color var(--transition), background var(--transition); white-space: nowrap;
}
.nav-btn:hover { color: var(--parchment); background: rgba(110,75,126,0.18); }
.nav-btn.active { color: var(--brass-lt); background: rgba(140,106,59,0.15); }

/* Music Toggle */
.music-toggle-btn {
  background: rgba(110,75,126,0.2); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 13px;
  height: 30px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); flex-shrink: 0; padding: 0 10px;
  letter-spacing: 0.04em; font-family: var(--font-display); white-space: nowrap;
  min-width: 60px;
}
.music-toggle-btn:hover { color: var(--parchment); border-color: var(--brass); background: rgba(140,106,59,0.2); }
.music-toggle-btn.playing {
  color: var(--brass-lt); border-color: var(--brass-lt);
  background: rgba(140,106,59,0.25);
  animation: pulse-ring 2.5s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%,100% { box-shadow: 0 0 0 0 rgba(184,148,90,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(184,148,90,0); }
}

.cart-btn {
  background: linear-gradient(135deg, var(--plum-mid), var(--amethyst));
  border: 1px solid rgba(110,75,126,0.5); color: var(--parchment);
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.05em;
  padding: 7px 14px; border-radius: 20px; white-space: nowrap;
  transition: all var(--transition); flex-shrink: 0;
}
.cart-btn:hover { background: linear-gradient(135deg, var(--amethyst), var(--plum-mid)); }
.hamburger { display: none; background: none; border: none; color: var(--brass-lt); font-size: 22px; cursor: pointer; }

/* ---- PAGE SECTIONS ---- */
.page-section { display: none; min-height: 80vh; }
.page-section.active { display: block; }

/* ---- HERO ---- */
.hero {
  min-height: 92vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px 60px;
  position: relative; overflow: hidden;
  background: url('images/hero-background.png') center / cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,17,40,0.72) 0%, rgba(46,28,56,0.55) 40%, rgba(30,17,40,0.82) 100%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.22em; color: var(--brass-lt); margin-bottom: 20px; text-transform: uppercase; }
.hero-headline {
  font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 500; color: var(--parchment); line-height: 1.2;
  margin-bottom: 22px; letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(30,17,40,0.8);
}
.hero-sub {
  font-family: var(--font-body); font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--parchment-dk); max-width: 580px; margin: 0 auto 36px; line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 2; }
.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: var(--brass); font-size: 20px; animation: bounce 2s ease-in-out infinite; z-index: 2;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ---- BUTTONS ---- */
.btn-primary {
  background: linear-gradient(135deg, var(--brass), var(--brass-lt));
  color: var(--plum-dark); border: none; padding: 13px 28px;
  border-radius: 30px; font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.08em; font-weight: 600; transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(140,106,59,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(140,106,59,0.5); }
.btn-secondary {
  background: transparent; color: var(--parchment);
  border: 1px solid rgba(243,235,221,0.45); padding: 13px 28px;
  border-radius: 30px; font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.08em; transition: all var(--transition);
}
.btn-secondary:hover { background: rgba(243,235,221,0.1); border-color: var(--parchment); }
.btn-ghost {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); padding: 10px 22px;
  border-radius: 30px; font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.06em; transition: all var(--transition);
}
.btn-ghost:hover { color: var(--parchment); border-color: var(--amethyst-lt); }

/* ---- FEATURED STRIP ---- */
.featured-strip {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  padding: 20px 24px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.strip-item {
  background: rgba(110,75,126,0.15); border: 1px solid var(--border);
  color: var(--parchment-dk); padding: 7px 16px; border-radius: 20px;
  font-family: var(--font-body); font-size: 13px; transition: all var(--transition);
}
.strip-item:hover { background: rgba(140,106,59,0.2); border-color: var(--brass); color: var(--parchment); }

/* ---- SECTION TITLES ---- */
.section-title {
  font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--parchment); text-align: center; margin-bottom: 10px;
  letter-spacing: 0.04em; font-weight: 500;
}
.section-sub {
  font-family: var(--font-body); color: var(--text-muted);
  text-align: center; font-size: 1rem; margin-bottom: 36px; font-style: italic;
}

/* ---- TRUST SECTION ---- */
.trust-section { padding: 70px 24px; }
.trust-title {
  font-family: var(--font-display); font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--parchment); text-align: center; margin-bottom: 40px; letter-spacing: 0.04em;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}
.trust-item {
  background: rgba(46,28,56,0.55); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 22px; text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(6px);
}
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--amethyst); }
.trust-icon { font-size: 2rem; margin-bottom: 12px; }
.trust-item h4 { font-family: var(--font-display); font-size: 13px; color: var(--brass-lt); margin-bottom: 8px; letter-spacing: 0.05em; }
.trust-item p { font-family: var(--font-body); font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ---- PROMO VIDEO ---- */
.promo-video-section {
  padding: 60px 24px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.promo-video-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
}
.promo-video-label h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--parchment); margin-bottom: 8px; }
.promo-video-label p { font-family: var(--font-body); color: var(--text-muted); font-size: 15px; }
.promo-video-frame {
  width: 100%; max-width: 720px; aspect-ratio: 16/9;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.promo-video-frame iframe { width: 100%; height: 100%; border: none; }

/* ---- CATEGORIES ---- */
.categories-section {
  padding: 70px 24px;
  position: relative;
}
.categories-section .section-title,
.categories-section .section-sub { position: relative; z-index: 1; }
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
}
.cat-card {
  background: rgba(46,28,56,0.72); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 20px; text-align: center;
  cursor: pointer; transition: all var(--transition); backdrop-filter: blur(8px);
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--amethyst); background: rgba(75,46,89,0.75); }
.cat-icon { font-size: 2.2rem; margin-bottom: 14px; }
.cat-card h3 { font-family: var(--font-display); font-size: 13px; color: var(--brass-lt); margin-bottom: 8px; letter-spacing: 0.04em; }
.cat-card p { font-family: var(--font-body); font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { padding: 70px 24px; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px; max-width: 1100px; margin: 0 auto;
}
.testimonial-card {
  background: rgba(46,28,56,0.5); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px; transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); }
.stars { color: var(--brass-lt); font-size: 14px; margin-bottom: 12px; }
.testimonial-card p { font-family: var(--font-accent); font-style: italic; font-size: 15px; color: var(--text-body); line-height: 1.75; margin-bottom: 14px; }
.testimonial-author { font-family: var(--font-display); font-size: 13px; color: var(--brass); letter-spacing: 0.08em; }

/* ---- ABOUT PREVIEW ---- */
.about-preview { padding: 70px 24px; border-top: 1px solid var(--border); }
.about-preview-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.about-preview-inner h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--parchment); margin-bottom: 20px; letter-spacing: 0.04em; }
.about-preview-inner p { font-family: var(--font-body); font-size: 15.5px; color: var(--text-body); line-height: 1.85; margin-bottom: 16px; }
.about-preview-inner blockquote {
  border-left: 3px solid var(--brass); padding: 12px 20px; margin: 24px 0;
  background: rgba(140,106,59,0.1); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-accent); font-style: italic; font-size: 1.1rem; color: var(--parchment-dk);
}
.rumi-quote { font-family: var(--font-accent); font-style: italic; font-size: 1rem; color: var(--amethyst-lt); margin-top: 30px; text-align: center; }

/* ---- NEWSLETTER ---- */
.newsletter-section {
  padding: 60px 24px;
  border-top: 1px solid var(--border); text-align: center;
}
.newsletter-section h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--parchment); margin-bottom: 10px; }
.newsletter-section p { font-family: var(--font-body); color: var(--text-muted); margin-bottom: 24px; font-size: 15px; }
.nl-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 480px; margin: 0 auto; }
.nl-form input {
  flex: 1; min-width: 180px; padding: 12px 18px; border-radius: 30px;
  border: 1px solid var(--border); background: rgba(46,28,56,0.7);
  color: var(--parchment); font-family: var(--font-body); font-size: 14px;
}
.nl-form input::placeholder { color: var(--text-muted); }
.nl-form input:focus { outline: none; border-color: var(--amethyst); }

/* ---- SECTION PAGES ---- */
.section-page { padding: 50px 24px 80px; max-width: 1200px; margin: 0 auto; }
.section-page-header { text-align: center; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.section-page-header h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--parchment); margin-bottom: 10px; letter-spacing: 0.04em; }
.section-page-header p { font-family: var(--font-body); color: var(--text-muted); font-size: 15px; font-style: italic; }

/* ---- PRODUCT CARDS ---- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card {
  background: rgba(46,28,56,0.6); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  backdrop-filter: blur(6px);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--amethyst); }
.product-img { height: 200px; overflow: hidden; background: rgba(30,17,40,0.5); display: flex; align-items: center; justify-content: center; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-badge {
  display: inline-block; background: rgba(140,106,59,0.2); border: 1px solid rgba(140,106,59,0.35);
  color: var(--brass-lt); font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.1em; padding: 3px 10px; border-radius: 12px; margin-bottom: 10px; text-transform: uppercase;
}
.product-name { font-family: var(--font-display); font-size: 15px; color: var(--parchment); margin-bottom: 6px; letter-spacing: 0.03em; }
.product-benefit { font-family: var(--font-body); font-size: 13px; color: var(--brass-lt); font-style: italic; margin-bottom: 8px; }
.product-desc { font-family: var(--font-body); font-size: 13.5px; color: var(--text-muted); line-height: 1.65; margin-bottom: 12px; flex: 1; }
.product-herbs { font-family: var(--font-body); font-size: 13px; color: var(--sage); margin-bottom: 12px; }

/* ---- HERB CHIPS (illustrated ingredient badges) ---- */
.product-herb-chips { margin-bottom: 14px; }
.herb-chips-label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brass-lt);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.herb-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.herb-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(30,17,40,0.55);
  border: 1px solid rgba(140,106,59,0.3);
  border-radius: 10px;
  padding: 6px 8px;
  min-width: 60px;
  max-width: 72px;
  transition: all 0.2s;
  cursor: default;
}
.herb-chip:hover {
  border-color: var(--brass-lt);
  background: rgba(140,106,59,0.12);
  transform: translateY(-2px);
}
.herb-chip img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(140,106,59,0.2);
}
.herb-chip span {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 64px;
}

/* ---- BEST SELLER CARD ---- */
.best-seller-card { position: relative; }
.best-seller-badge-wrap { position: absolute; top: 10px; left: 10px; z-index: 2; }
.best-seller-badge {
  background: linear-gradient(135deg, var(--brass), var(--brass-lt));
  color: var(--plum-dark);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ---- QUIZ RESULT HERB IMAGE ---- */
.quiz-result-img-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(140,106,59,0.3);
  background: rgba(30,17,40,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.quiz-result-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quiz-result-emoji-fallback {
  font-size: 1.8rem;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.quiz-result-herb-info { flex: 1; }
.quiz-result-herb-info strong { display: block; color: #EDE4D8; font-family: 'Cinzel', serif; font-size: 1rem; margin-bottom: 0.2rem; }
.quiz-result-herb-info em { display: block; color: #c9a8e0; font-size: 0.85rem; margin-bottom: 0.3rem; }
.quiz-result-herb-info p { color: #d4c8bc; font-size: 0.9rem; line-height: 1.6; margin: 0; }
.product-sample-note { font-family: var(--font-body); font-size: 13px; color: var(--brass-lt); background: rgba(184,148,90,0.12); border: 1px solid rgba(184,148,90,0.3); border-radius: 6px; padding: 6px 10px; margin-bottom: 12px; font-weight: 600; }
.product-price { font-family: var(--font-display); font-size: 15px; color: var(--brass-lt); margin-bottom: 12px; }
.product-size-select {
  width: 100%; padding: 9px 14px; border-radius: var(--radius);
  border: 1px solid var(--border); background: rgba(30,17,40,0.6);
  color: var(--parchment); font-family: var(--font-body); font-size: 13px; margin-bottom: 12px; cursor: pointer;
}
.product-size-select:focus { outline: none; border-color: var(--amethyst); }
.product-add-btn {
  width: 100%; padding: 11px;
  background: linear-gradient(135deg, var(--plum-mid), var(--amethyst));
  border: 1px solid rgba(110,75,126,0.5); color: var(--parchment);
  border-radius: var(--radius); font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.06em; transition: all var(--transition); margin-top: auto;
}
.product-add-btn:hover { background: linear-gradient(135deg, var(--amethyst), var(--plum-mid)); transform: translateY(-1px); }

/* Category filter */
.cat-filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; justify-content: center; }
.cat-filter-btn {
  background: rgba(46,28,56,0.6); border: 1px solid var(--border); color: var(--text-muted);
  padding: 7px 18px; border-radius: 20px; font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.06em; transition: all var(--transition);
}
.cat-filter-btn:hover, .cat-filter-btn.active { background: rgba(140,106,59,0.2); border-color: var(--brass); color: var(--brass-lt); }

/* ---- HERB LIBRARY ---- */
.herb-search-bar { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.herb-search-bar input, .herb-search-bar select {
  padding: 10px 16px; border-radius: var(--radius); border: 1px solid var(--border);
  background: rgba(30,17,40,0.7); color: var(--parchment); font-family: var(--font-body); font-size: 14px; flex: 1; min-width: 160px;
}
.herb-search-bar input::placeholder { color: var(--text-muted); }
.herb-search-bar input:focus, .herb-search-bar select:focus { outline: none; border-color: var(--amethyst); }
.herb-count-display {
  font-family: var(--font-display); font-size: 13px; color: var(--brass); letter-spacing: 0.06em;
  padding: 8px 14px; background: rgba(140,106,59,0.12); border: 1px solid var(--border); border-radius: var(--radius); white-space: nowrap;
}
.herb-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px; max-height: 520px; overflow-y: auto; padding-right: 4px;
}
.herb-card {
  background: rgba(46,28,56,0.55); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px; cursor: pointer; transition: all var(--transition);
}
.herb-card:hover { border-color: var(--amethyst); background: rgba(75,46,89,0.5); }
.herb-card.selected { border-color: var(--brass-lt); background: rgba(140,106,59,0.18); }
.herb-card-name { font-family: var(--font-display); font-size: 14px; color: var(--parchment); margin-bottom: 4px; letter-spacing: 0.03em; font-weight: 600; }
.herb-card-latin { font-family: var(--font-body); font-style: italic; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.herb-card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.herb-tag {
  background: rgba(110,75,126,0.25); color: var(--amethyst-lt); font-family: var(--font-body);
  font-size: 13px; padding: 3px 8px; border-radius: 10px; border: 1px solid rgba(110,75,126,0.3);
}
.herb-detail-panel {
  background: rgba(46,28,56,0.7); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; margin-top: 24px;
}
.herb-detail-panel h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--parchment); margin-bottom: 6px; }
.herb-detail-panel .latin { font-family: var(--font-body); font-style: italic; color: var(--text-muted); margin-bottom: 14px; }
.herb-detail-panel p { font-family: var(--font-body); font-size: 14.5px; color: var(--text-body); line-height: 1.75; margin-bottom: 10px; }
.herb-detail-panel strong { color: var(--brass-lt); }

/* Selected herbs */
.selected-herbs-panel { background: rgba(30,17,40,0.6); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
.selected-herbs-panel h4 { font-family: var(--font-display); font-size: 13px; color: var(--brass-lt); letter-spacing: 0.06em; margin-bottom: 12px; }
.selected-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.selected-tag {
  background: rgba(140,106,59,0.2); border: 1px solid rgba(140,106,59,0.4);
  color: var(--parchment-dk); font-family: var(--font-body); font-size: 13px;
  padding: 5px 12px; border-radius: 16px; display: flex; align-items: center; gap: 6px;
}
.selected-tag button { background: none; border: none; color: var(--text-muted); font-size: 13px; cursor: pointer; padding: 0; line-height: 1; }
.selected-tag button:hover { color: var(--parchment); }

/* ---- FORMULA FORM ---- */
.formula-form { background: rgba(46,28,56,0.5); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; }
.formula-form label { display: block; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.06em; color: var(--brass); margin-bottom: 6px; text-transform: uppercase; }
.formula-form input, .formula-form textarea, .formula-form select {
  width: 100%; padding: 11px 16px; border-radius: var(--radius); border: 1px solid var(--border);
  background: rgba(30,17,40,0.65); color: var(--parchment); font-family: var(--font-body); font-size: 14px; margin-bottom: 16px;
}
.formula-form input:focus, .formula-form textarea:focus, .formula-form select:focus { outline: none; border-color: var(--amethyst); }
.formula-form textarea { min-height: 100px; resize: vertical; }

/* ---- CART DRAWER ---- */
.cart-drawer {
  position: fixed; top: 0; right: -420px; width: 420px; max-width: 100vw;
  height: 100vh; background: var(--plum-dark); border-left: 1px solid var(--border);
  z-index: 500; overflow-y: auto; transition: right 0.3s ease; padding: 0 0 40px;
  box-shadow: -8px 0 40px rgba(30,17,40,0.7);
}
.cart-drawer.open { right: 0; }
.cart-overlay { position: fixed; inset: 0; background: rgba(30,17,40,0.65); z-index: 499; display: none; backdrop-filter: blur(3px); }
.cart-overlay.visible { display: block; }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--plum-dark); z-index: 10;
}
.cart-header h3 { font-family: var(--font-display); font-size: 16px; color: var(--parchment); letter-spacing: 0.06em; }
.cart-header button { background: none; border: none; color: var(--text-muted); font-size: 18px; cursor: pointer; }
.cart-header button:hover { color: var(--parchment); }
#cartItems { padding: 16px 24px; }
.empty-cart { font-family: var(--font-body); font-style: italic; color: var(--text-muted); text-align: center; padding: 30px 0; }
.cart-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border-lt); }
.cart-item-info { flex: 1; }
.cart-item-name { font-family: var(--font-body); font-size: 14px; color: var(--parchment); }
.cart-item-price { font-family: var(--font-body); font-size: 13px; color: var(--text-muted); }
.cart-item-remove { background: none; border: none; color: var(--text-muted); font-size: 14px; cursor: pointer; }
.cart-item-remove:hover { color: #e07070; }
.cart-totals { padding: 16px 24px; border-top: 1px solid var(--border); }
.cart-row { display: flex; justify-content: space-between; font-family: var(--font-body); font-size: 14px; color: var(--text-muted); padding: 5px 0; }
.total-row { font-family: var(--font-display); font-size: 15px; color: var(--parchment); border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }
.cart-shipping-note { padding: 10px 24px; }
.cart-shipping-note p { font-family: var(--font-body); font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.cart-form { padding: 16px 24px; display: flex; flex-direction: column; gap: 10px; }
.cart-form input, .cart-form textarea {
  padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--border);
  background: rgba(46,28,56,0.7); color: var(--parchment); font-family: var(--font-body); font-size: 13px;
}
.cart-form input::placeholder, .cart-form textarea::placeholder { color: var(--text-muted); }
.cart-form input:focus, .cart-form textarea:focus { outline: none; border-color: var(--amethyst); }
.cart-form textarea { min-height: 70px; resize: vertical; }
.payment-options { padding: 16px 24px; display: flex; flex-direction: column; gap: 10px; }
.payment-label { font-family: var(--font-display); font-size: 13px; color: var(--text-muted); letter-spacing: 0.06em; }
.pay-btn { display: block; text-align: center; padding: 12px; border-radius: var(--radius); font-family: var(--font-display); font-size: 13px; letter-spacing: 0.05em; transition: all var(--transition); }
.venmo-btn { background: rgba(75,46,89,0.4); border: 1px solid rgba(110,75,126,0.4); color: var(--amethyst-lt); }
.venmo-btn:hover { background: rgba(110,75,126,0.3); color: var(--parchment); }
.cashapp-btn { background: rgba(46,89,46,0.3); border: 1px solid rgba(75,126,75,0.3); color: #7db87d; }
.cashapp-btn:hover { background: rgba(75,126,75,0.2); color: var(--parchment); }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; background: rgba(46,28,56,0.45); }
.faq-question {
  width: 100%; background: none; border: none; color: var(--parchment);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 18px 20px; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; transition: color var(--transition);
}
.faq-question:hover { color: var(--brass-lt); }
.faq-question .faq-icon { font-size: 18px; color: var(--brass); transition: transform var(--transition); }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 20px 18px; font-family: var(--font-body); font-size: 14.5px; color: var(--text-muted); line-height: 1.75; }
.faq-answer.open { display: block; }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--parchment); margin-bottom: 16px; }
.contact-info p { font-family: var(--font-body); color: var(--text-muted); font-size: 14.5px; line-height: 1.75; margin-bottom: 10px; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea {
  padding: 11px 16px; border-radius: var(--radius); border: 1px solid var(--border);
  background: rgba(30,17,40,0.65); color: var(--parchment); font-family: var(--font-body); font-size: 14px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--amethyst); }
.contact-form textarea { min-height: 120px; resize: vertical; }

/* ---- FOOTER ---- */
footer { border-top: 1px solid var(--border); padding: 50px 24px 30px; text-align: center; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto 36px; text-align: left; }
.footer-col h4 { font-family: var(--font-display); font-size: 14px; color: var(--brass-lt); letter-spacing: 0.08em; margin-bottom: 14px; text-transform: uppercase; }
.footer-col a { display: block; font-family: var(--font-body); font-size: 14.5px; color: var(--text-muted); margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--parchment); }
.footer-divider { border: none; border-top: 1px solid var(--border); margin: 0 auto 24px; max-width: 1000px; }
.footer-bottom { font-family: var(--font-body); font-size: 13.5px; color: var(--text-muted); }
.footer-quote { font-family: var(--font-accent); font-style: italic; font-size: 14px; color: var(--amethyst-lt); margin-top: 10px; }

/* ---- TOAST ---- */
#toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, var(--plum-mid), var(--amethyst));
  color: var(--parchment); font-family: var(--font-display); font-size: 13px;
  letter-spacing: 0.05em; padding: 12px 28px; border-radius: 30px;
  box-shadow: var(--shadow); opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999; pointer-events: none; white-space: nowrap;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- ABOUT PAGE ---- */
.about-hero-img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brass); margin: 0 auto 24px; box-shadow: 0 0 30px rgba(140,106,59,0.3); }
.about-content { max-width: 760px; margin: 0 auto; }
.about-content h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--parchment); margin-bottom: 20px; text-align: center; }
.about-content p { font-family: var(--font-body); font-size: 15.5px; color: var(--text-body); line-height: 1.85; margin-bottom: 18px; }
.about-content blockquote { border-left: 3px solid var(--brass); padding: 14px 22px; margin: 28px 0; background: rgba(140,106,59,0.1); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-accent); font-style: italic; font-size: 1.1rem; color: var(--parchment-dk); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #1a0f24; flex-direction: column; padding: 12px 16px; border-bottom: 1px solid var(--border); gap: 4px; z-index: 99; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .nav-brand-main { font-size: 13px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { background: url('images/hero-background.png') center / cover no-repeat; }
  .cart-drawer { width: 100vw; }
}
@media (max-width: 480px) {
  .hero { padding: 60px 16px 50px; }
  .section-page { padding: 30px 16px 60px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .herb-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}


/* ============================================================
   THE LIVING GRIMOIRE - Styles
   ============================================================ */

.grimoire-section { position: relative; overflow: hidden; }
.grimoire-header { text-align: center; padding: 3rem 1.5rem 2rem; max-width: 760px; margin: 0 auto; }
.grimoire-ornament { font-size: 1.4rem; color: #B8945A; letter-spacing: 0.5rem; margin-bottom: 0.75rem; opacity: 0.8; }
.grimoire-title { font-family: 'Cinzel', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); color: #B8945A; letter-spacing: 0.06em; margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(184,148,90,0.3); }
.grimoire-subtitle { font-family: 'Lora', serif; font-size: 1.05rem; color: #B8A898; line-height: 1.7; margin-bottom: 1rem; }
.grimoire-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #6E4B7E; font-size: 0.95rem; opacity: 0.85; }

.grimoire-explorer { max-width: 860px; margin: 0 auto 2.5rem; padding: 2rem; }
.explorer-header h3 { font-family: 'Cinzel', serif; color: #B8945A; font-size: 1.3rem; margin-bottom: 0.4rem; }
.explorer-header p { color: #B8A898; font-size: 0.95rem; margin-bottom: 1.2rem; }
.explorer-search-row { display: flex; gap: 0.75rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.explorer-search-row input { flex: 1; min-width: 200px; padding: 0.75rem 1rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(140,106,59,0.25); border-radius: 8px; color: #EDE4D8; font-family: 'Lora', serif; font-size: 0.95rem; }
.explorer-search-row input:focus { outline: none; border-color: #B8945A; box-shadow: 0 0 0 2px rgba(184,148,90,0.2); }
.explorer-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.explorer-tag { background: rgba(110,75,126,0.2); border: 1px solid rgba(140,106,59,0.25); color: #B8A898; padding: 0.35rem 0.85rem; border-radius: 20px; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; font-family: 'Lora', serif; }
.explorer-tag:hover, .explorer-tag.active { background: #6E4B7E; border-color: #6E4B7E; color: #fff; }
.explorer-searching, .explorer-no-results { text-align: center; color: #B8A898; font-style: italic; padding: 1rem; }
.explorer-result-header { margin-bottom: 1rem; }
.explorer-result-header p { color: #B8945A; font-family: 'Lora', serif; font-size: 0.95rem; }
.explorer-herb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.explorer-herb-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(140,106,59,0.25); border-radius: 10px; overflow: hidden; cursor: pointer; transition: all 0.25s; }
.explorer-herb-card:hover { border-color: #B8945A; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.explorer-herb-card img { width: 100%; height: 120px; object-fit: cover; }
.explorer-herb-info { padding: 0.75rem; }
.explorer-herb-emoji { font-size: 1.2rem; display: block; margin-bottom: 0.25rem; }
.explorer-herb-info strong { display: block; color: #EDE4D8; font-family: 'Cinzel', serif; font-size: 1rem; margin-bottom: 0.2rem; }
.explorer-herb-info em { display: block; color: #c9a8e0; font-size: 0.85rem; margin-bottom: 0.4rem; }
.explorer-herb-info p { color: #d4c8bc; font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.5rem; }
.explorer-learn-more { color: #B8945A; font-size: 0.9rem; font-family: 'Lora', serif; font-weight: 600; }

.grimoire-quiz { max-width: 760px; margin: 0 auto 2.5rem; padding: 2rem; }
.quiz-header h3 { font-family: 'Cinzel', serif; color: #B8945A; font-size: 1.3rem; margin-bottom: 0.4rem; }
.quiz-header p { color: #B8A898; font-size: 0.95rem; margin-bottom: 1.5rem; }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-question { font-family: 'Cinzel', serif; color: #EDE4D8; font-size: 1.05rem; margin-bottom: 1.2rem; letter-spacing: 0.03em; }
.quiz-options { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.quiz-opt { background: rgba(110,75,126,0.15); border: 1px solid rgba(140,106,59,0.25); color: #B8A898; padding: 0.6rem 1.1rem; border-radius: 8px; cursor: pointer; font-family: 'Lora', serif; font-size: 0.9rem; transition: all 0.2s; }
.quiz-opt:hover, .quiz-opt.selected { background: #4B2E59; border-color: #B8945A; color: #B8945A; }
.quiz-result-herbs { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.quiz-result-herb { display: flex; align-items: flex-start; gap: 1rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(140,106,59,0.25); border-radius: 10px; padding: 0.85rem 1rem; cursor: pointer; transition: all 0.2s; }
.quiz-result-herb:hover { border-color: #B8945A; background: rgba(184,148,90,0.08); }
.quiz-result-emoji { font-size: 1.6rem; flex-shrink: 0; }
.quiz-result-herb strong { display: block; color: #EDE4D8; font-family: 'Cinzel', serif; font-size: 1rem; margin-bottom: 0.2rem; }
.quiz-result-herb em { display: block; color: #c9a8e0; font-size: 0.85rem; margin-bottom: 0.3rem; }
.quiz-result-herb p { color: #d4c8bc; font-size: 0.9rem; line-height: 1.6; margin: 0; }

.grimoire-browse-header { text-align: center; padding: 1.5rem 1rem 0.5rem; max-width: 600px; margin: 0 auto; }
.grimoire-browse-header h3 { font-family: 'Cinzel', serif; color: #B8945A; font-size: 1.4rem; margin-bottom: 0.4rem; }
.grimoire-browse-header p { color: #B8A898; font-size: 0.95rem; }

.herb-card { cursor: pointer; position: relative; }

.herb-modal-overlay { position: fixed; inset: 0; background: rgba(10,6,20,0.88); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(6px); }
.herb-modal-content { background: linear-gradient(160deg, #2E1C38 0%, #1E1128 100%); border: 1px solid rgba(140,106,59,0.25); border-radius: 16px; max-width: 820px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 24px 80px rgba(0,0,0,0.7); }
.herb-modal-close { position: sticky; top: 0.75rem; left: calc(100% - 2.5rem); float: right; background: rgba(46,28,56,0.9); border: 1px solid rgba(140,106,59,0.25); color: #B8A898; width: 2rem; height: 2rem; border-radius: 50%; cursor: pointer; font-size: 0.9rem; z-index: 10; margin: 0.75rem 0.75rem 0 0; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.herb-modal-close:hover { background: #4B2E59; color: #B8945A; border-color: #B8945A; }
.herb-modal-body { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; }
@media (max-width: 640px) { .herb-modal-body { grid-template-columns: 1fr; } }
.herb-modal-img-wrap { position: relative; min-height: 280px; }
.herb-modal-img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: 16px 0 0 16px; display: block; }
@media (max-width: 640px) { .herb-modal-img { border-radius: 16px 16px 0 0; min-height: 200px; } }
.herb-modal-quote { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(10,6,20,0.9)); color: #B8945A; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 0.82rem; padding: 2rem 1rem 0.85rem; text-align: center; border-radius: 0 0 0 16px; }
.herb-modal-info { padding: 2rem 1.75rem; }
.herb-modal-emoji { font-size: 2rem; margin-bottom: 0.5rem; }
.herb-modal-name { font-family: 'Cinzel', serif; color: #B8945A; font-size: 1.6rem; margin-bottom: 0.25rem; letter-spacing: 0.04em; }
/* herb-modal-latin and herb-modal-cats now defined above in herb-modal-info block */
.herb-modal-section { margin-bottom: 1.25rem; }
.herb-modal-section h4 { font-family: 'Cinzel', serif; color: #B8945A; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.herb-modal-section p { color: #2c1a0e; font-size: 1rem; line-height: 1.75; }
.herb-modal-info { background: #fdf8f0; padding: 2rem 1.75rem; }
.herb-modal-name { font-family: 'Cinzel', serif; color: #5a2d0c; font-size: 1.6rem; margin-bottom: 0.25rem; letter-spacing: 0.04em; }
.herb-modal-latin { color: #6E4B7E; font-size: 1rem; margin-bottom: 0.75rem; font-style: italic; }
.herb-modal-cats { color: #5a2d0c; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(140,106,59,0.35); padding-bottom: 0.75rem; font-weight: 600; }
.herb-modal-emoji { font-size: 2.5rem; margin-bottom: 0.5rem; }
.herb-modal-benefits { margin: 0; padding-left: 1.2rem; }
.herb-modal-benefits li { color: #2c1a0e; font-size: 0.95rem; line-height: 1.65; margin-bottom: 0.35rem; }
.herb-modal-uses { color: #EDE4D8; font-size: 0.9rem; letter-spacing: 0.05em; }
.herb-modal-products { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.herb-product-tag { background: rgba(110,75,126,0.25); border: 1px solid rgba(140,106,59,0.25); color: #EDE4D8; padding: 0.3rem 0.75rem; border-radius: 20px; font-size: 0.8rem; font-family: 'Lora', serif; }
.herb-modal-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(140,106,59,0.25); }

.journal-section { overflow: hidden; }
.journal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto 2.5rem; padding: 0 1.5rem; }
.journal-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(140,106,59,0.25); border-radius: 14px; overflow: hidden; transition: all 0.3s; }
.journal-card:hover { border-color: #B8945A; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.journal-card-img { width: 100%; height: 200px; background-size: cover; background-position: center; position: relative; background-color: var(--plum-mid); }
.journal-card-img .img-placeholder { position: absolute; inset: 0; z-index: 0; }
.journal-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(10,6,20,0.7)); }
.journal-card-body { padding: 1.5rem; }
.journal-tag { display: inline-block; background: rgba(110,75,126,0.3); border: 1px solid rgba(140,106,59,0.25); color: #6E4B7E; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 20px; margin-bottom: 0.85rem; font-family: 'Lora', serif; }
.journal-card-body h3 { font-family: 'Cinzel', serif; color: #EDE4D8; font-size: 1.15rem; margin-bottom: 0.85rem; letter-spacing: 0.03em; line-height: 1.4; }
.journal-card-body p { color: #B8A898; font-size: 0.88rem; line-height: 1.75; margin-bottom: 0.85rem; }
.journal-wisdom { font-family: 'Cormorant Garamond', serif; font-style: italic; color: #B8945A; font-size: 0.85rem; border-left: 2px solid #B8945A; padding-left: 0.85rem; margin: 1rem 0; opacity: 0.85; }
.journal-herbs-used { color: #6E4B7E; font-size: 0.8rem; font-family: 'Lora', serif; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid rgba(140,106,59,0.25); }
.journal-cta { text-align: center; padding: 2rem 1rem 3rem; max-width: 500px; margin: 0 auto; }
.journal-cta p { color: #B8A898; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1rem; margin-bottom: 1.25rem; }


/* ---- MUSIC WELCOME MODAL ---- */
.music-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 20, 0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  animation: modalFadeIn 0.5s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.music-modal-hidden {
  animation: modalFadeOut 0.4s ease forwards;
}
@keyframes modalFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
.music-modal-box {
  background: linear-gradient(160deg, #2E1C38 0%, #1E1128 100%);
  border: 1px solid rgba(184, 148, 90, 0.35);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8), inset 0 1px 0 rgba(184,148,90,0.2);
  position: relative;
}
.music-modal-ornament {
  color: #B8945A;
  font-size: 1rem;
  letter-spacing: 0.6rem;
  margin-bottom: 1.25rem;
  opacity: 0.7;
}
.music-modal-title {
  font-family: 'Cinzel', serif;
  color: #F3EBDD;
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  font-weight: 500;
}
.music-modal-sub {
  font-family: 'Lora', serif;
  color: #B8A898;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.music-modal-btns {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.music-modal-yes {
  font-size: 14px;
  padding: 14px 28px;
  letter-spacing: 0.06em;
}
.music-modal-no {
  font-size: 13px;
  padding: 11px 24px;
  opacity: 0.75;
}
.music-modal-no:hover {
  opacity: 1;
}
.music-modal-note {
  font-family: 'Lora', serif;
  color: #6E4B7E;
  font-size: 0.78rem;
  font-style: italic;
  opacity: 0.85;
}


/* ============================================================
   CUSTOM CREATIONS — Full Styles
   ============================================================ */

.custom-creations-section {
  padding: 40px 16px 60px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.custom-creations-section > * {
  position: relative;
  z-index: 1;
}

.cc-header {
  text-align: center;
  margin-bottom: 40px;
}

.cc-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--gold);
  margin: 8px 0;
}

.cc-subtitle {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.cc-step {
  margin-bottom: 32px;
}

.cc-step-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 16px;
  text-align: center;
}

.cc-step-hint {
  font-family: var(--font-body);
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 20px;
}

/* ---- Type Selection Grid ---- */
.cc-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.cc-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 12px;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--text-primary);
  text-align: center;
}

.cc-type-btn:hover {
  border-color: var(--gold);
  background: rgba(139, 106, 59, 0.12);
  transform: translateY(-2px);
}

.cc-type-btn.selected {
  border-color: var(--gold);
  background: rgba(139, 106, 59, 0.2);
  box-shadow: 0 0 16px rgba(139, 106, 59, 0.3);
}

.cc-type-icon {
  font-size: 2rem;
}

.cc-type-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
}

.cc-type-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.cc-type-price {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--amethyst);
  font-weight: 700;
}

/* ---- Search Row ---- */
.cc-search-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cc-search-row input,
.cc-search-row select {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.cc-search-row input:focus,
.cc-search-row select:focus {
  outline: none;
  border-color: var(--gold);
}

/* ---- Selected Bar ---- */
.cc-selected-bar {
  background: rgba(75, 46, 89, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cc-selected-count {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cc-selected-count strong {
  color: var(--gold);
}

.cc-selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(110, 75, 126, 0.4);
  border: 1px solid var(--amethyst);
  border-radius: 20px;
  padding: 4px 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-primary);
}

.cc-tag-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0;
  line-height: 1;
}

.cc-tag-remove:hover {
  color: var(--gold);
}

/* ---- Herb Grid (Custom Creations) ---- */
.cc-herb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.cc-herb-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.cc-herb-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.cc-herb-card.selected {
  border-color: var(--gold);
  background: rgba(139, 106, 59, 0.15);
  box-shadow: 0 0 20px rgba(139, 106, 59, 0.35);
}

.cc-herb-card.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.cc-herb-img-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.cc-herb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cc-herb-check {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--gold);
  color: var(--bg-deep);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.cc-herb-info {
  padding: 12px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cc-herb-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
}

.cc-herb-latin {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.cc-herb-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 4px;
}

.cc-herb-benefits {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cc-herb-benefits li {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-primary);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}

.cc-herb-benefits li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
  top: 2px;
}

/* ---- Pagination Controls ---- */
.cc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.cc-page-btn {
  padding: 10px 22px;
  background: var(--card-bg);
  border: 2px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cc-page-btn:hover:not(.disabled) {
  background: rgba(139, 106, 59, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 106, 59, 0.3);
}

.cc-page-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.cc-page-info {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-secondary);
  text-align: center;
}

.cc-page-items {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .cc-pagination {
    gap: 10px;
  }
  .cc-page-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* ---- Step Actions ---- */
.cc-step-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ---- Step 3 Form ---- */
.cc-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cc-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cc-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.cc-input {
  padding: 12px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
}

.cc-input:focus {
  outline: none;
  border-color: var(--gold);
}

textarea.cc-input {
  resize: vertical;
  min-height: 80px;
}

/* ---- Summary Box ---- */
.cc-summary-box {
  background: rgba(75, 46, 89, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 18px 20px;
}

.cc-summary-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.cc-summary-row {
  display: flex;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.cc-summary-row span {
  min-width: 80px;
  color: var(--text-muted);
}

.cc-summary-row strong {
  color: var(--text-primary);
}

.cc-summary-herbs {
  flex-direction: column;
  gap: 4px;
}

.cc-final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cc-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 40px;
  grid-column: 1 / -1;
  font-family: var(--font-body);
}

/* ---- Herb Benefits List (Grimoire + Herb Index) ---- */
.herb-benefits-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.herb-benefits-list li {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-primary);
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}

.herb-benefits-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 3px;
}

/* ============================================================
   MOBILE RESPONSIVE FIXES
   ============================================================ */

/* Prevent horizontal overflow globally */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Nav fix for mobile */
@media (max-width: 768px) {
  #mainNav {
    padding: 10px 14px;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .nav-brand {
    flex: 1;
    min-width: 0;
  }

  .nav-brand-main {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    display: block;
  }

  .nav-brand-sub {
    font-size: 0.55rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #1a0f24;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 60px 20px 30px;
    z-index: 1000;
    overflow-y: auto;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .music-toggle-btn {
    font-size: 0.7rem;
    padding: 5px 8px;
    min-width: 48px;
  }

  .cart-btn {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .hamburger {
    font-size: 1.4rem;
    padding: 6px 8px;
  }

  /* Hero mobile */
  .hero {
    min-height: 100svh;
    padding: 80px 20px 40px;
  }

  .hero-headline {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    width: 100%;
    max-width: 320px;
  }

  /* Trust grid mobile */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Categories grid mobile */
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Featured strip mobile */
  .featured-strip {
    gap: 8px;
    padding: 12px;
  }

  .strip-item {
    font-size: 0.78rem;
    padding: 8px 12px;
    white-space: nowrap;
  }

  /* Product grid mobile */
  .shop-grid,
  .soaps-grid {
    grid-template-columns: 1fr;
  }

  /* Herb grid mobile */
  .herb-grid {
    grid-template-columns: 1fr;
  }

  .herb-card-img {
    height: 180px;
  }

  /* CC grid mobile */
  .cc-type-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cc-herb-grid {
    grid-template-columns: 1fr;
  }

  .cc-herb-img-wrap {
    height: 200px;
  }

  /* Cart drawer mobile */
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }

  /* Grimoire mobile */
  .grimoire-herb-grid {
    grid-template-columns: 1fr;
  }

  .explorer-herb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Journal mobile */
  .journal-grid {
    grid-template-columns: 1fr;
  }

  /* Promo video mobile */
  .promo-video-inner {
    flex-direction: column;
  }

  .promo-video-frame {
    width: 100%;
  }

  /* Section padding mobile */
  .page-section {
    padding: 20px 14px 40px;
  }

  .section-header h2,
  .grimoire-title,
  .cc-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

@media (max-width: 480px) {
  .trust-grid,
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .cc-type-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cc-type-btn {
    padding: 14px 8px;
  }

  .cc-type-icon {
    font-size: 1.5rem;
  }

  .cc-type-name {
    font-size: 0.78rem;
  }

  .cc-type-desc {
    display: none;
  }

  .explorer-herb-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   ARTISAN SOAPS SECTION
   ============================================================ */

.soap-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem auto 2.5rem;
  max-width: 800px;
}

.soap-badge {
  background: rgba(75, 46, 89, 0.5);
  border: 1px solid var(--accent-gold);
  color: var(--text-parchment);
  font-family: 'Lora', serif;
  font-size: 0.78rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.soap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 0 auto 3rem;
  max-width: 1200px;
}

.soap-card {
  background: linear-gradient(145deg, rgba(46, 28, 56, 0.95), rgba(30, 17, 40, 0.98));
  border: 1px solid rgba(184, 148, 90, 0.3);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.soap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 20px rgba(184, 148, 90, 0.15);
}

.soap-img-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.soap-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.soap-img-crop {
  object-position: 25% center;
}

.soap-card:hover .soap-img {
  transform: scale(1.05);
}

.soap-img-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #B8945A, #8C6A3B);
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
}

.soap-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.soap-name {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--accent-gold);
  margin: 0;
  line-height: 1.3;
}

.soap-latin {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.soap-desc {
  font-family: 'Lora', serif;
  font-size: 0.92rem;
  color: var(--text-parchment);
  line-height: 1.65;
  margin: 0.25rem 0;
}

.soap-benefits {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.soap-benefits li {
  font-family: 'Lora', serif;
  font-size: 0.87rem;
  color: #c8b89a;
  line-height: 1.4;
}

.soap-scent-note {
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(110, 75, 126, 0.2);
  border-left: 3px solid var(--accent-amethyst);
  padding: 0.5rem 0.75rem;
  border-radius: 0 8px 8px 0;
  margin: 0.25rem 0;
}

.soap-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.soap-price {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.soap-size {
  font-family: 'Lora', serif;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.soap-order-btn {
  margin-top: auto;
  width: 100%;
}

/* Collection Banner */
.soap-collection-banner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: linear-gradient(135deg, rgba(46, 28, 56, 0.95), rgba(75, 46, 89, 0.8));
  border: 1px solid rgba(184, 148, 90, 0.4);
  border-radius: 20px;
  overflow: hidden;
  margin: 2rem auto 3rem;
  max-width: 900px;
}

.soap-banner-img {
  width: 320px;
  height: 220px;
  object-fit: cover;
  flex-shrink: 0;
}

.soap-banner-text {
  padding: 2rem;
  flex: 1;
}

.soap-banner-text h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.soap-banner-text p {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--text-parchment);
  margin-bottom: 1.25rem;
}

/* Custom Soap Form */
.custom-soap-form {
  background: linear-gradient(145deg, rgba(46, 28, 56, 0.95), rgba(30, 17, 40, 0.98));
  border: 1px solid rgba(184, 148, 90, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.custom-soap-form h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--accent-gold);
  text-align: center;
  margin-bottom: 0.5rem;
}

.custom-soap-form p {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: var(--text-parchment);
  text-align: center;
  margin-bottom: 1.5rem;
}

.soap-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.soap-form-grid textarea {
  grid-column: 1 / -1;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(30, 17, 40, 0.8);
  border: 1px solid rgba(184, 148, 90, 0.3);
  border-radius: 10px;
  color: var(--text-parchment);
  font-family: 'Lora', serif;
  font-size: 0.92rem;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-select option {
  background: #2E1C38;
  color: var(--text-parchment);
}

.soap-form-note {
  font-family: 'Lora', serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

/* Mobile Soaps */
@media (max-width: 768px) {
  .soap-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .soap-collection-banner {
    flex-direction: column;
    gap: 0;
  }

  .soap-banner-img {
    width: 100%;
    height: 200px;
  }

  .soap-banner-text {
    padding: 1.5rem;
    text-align: center;
  }

  .soap-form-grid {
    grid-template-columns: 1fr;
  }

  .custom-soap-form {
    padding: 1.5rem 1rem;
  }

  .soap-img-wrap {
    height: 240px;
  }
}

/* ============================================================
   NEW SECTIONS — Social Links, Live Price, Homepage Upgrades
   ============================================================ */

/* ---- Social Link Buttons (About section) ---- */
.about-social-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.social-link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 30px; font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.04em; font-weight: 600;
  text-decoration: none; transition: all var(--transition);
}
.facebook-btn {
  background: linear-gradient(135deg, #1877F2, #0d5bbf);
  color: #fff; border: 1px solid rgba(24,119,242,0.4);
}
.facebook-btn:hover { background: linear-gradient(135deg, #0d5bbf, #1877F2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(24,119,242,0.35); }
.instagram-btn {
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
  color: #fff; border: 1px solid rgba(131,58,180,0.4);
}
.instagram-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(131,58,180,0.35); }

/* ---- About Stats Row ---- */
.about-stats-row { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 20px; }
.about-stat {
  background: rgba(140,106,59,0.12); border: 1px solid rgba(140,106,59,0.3);
  border-radius: var(--radius); padding: 14px 20px; text-align: center; flex: 1; min-width: 110px;
}
.about-stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--brass-lt); margin-bottom: 4px; }
.about-stat span { font-family: var(--font-body); font-size: 13px; color: var(--text-muted); }
.about-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---- Live Price Display (Custom Tea Builder) ---- */
.cc-live-price {
  background: rgba(140,106,59,0.12); border: 1px solid rgba(140,106,59,0.3);
  border-radius: var(--radius); padding: 12px 18px; margin: 12px 0;
  font-family: var(--font-body); font-size: 14px; color: var(--parchment-dk);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.cc-price-base { color: var(--text-muted); }
.cc-price-botanicals { color: var(--amethyst-lt); }
.cc-price-total { color: var(--brass-lt); font-size: 16px; }
.cc-summary-note { text-align: center; color: var(--text-muted); font-size: 13px; margin-top: 8px; }

/* ---- Trust Bar ---- */
.trust-bar {
  background: rgba(140,106,59,0.1); border-top: 1px solid rgba(140,106,59,0.2);
  border-bottom: 1px solid rgba(140,106,59,0.2); padding: 14px 24px;
}
.trust-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 36px;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 13px;
  color: var(--parchment-dk); letter-spacing: 0.04em;
}
.trust-item span:first-child { font-size: 1.1rem; }

/* ---- 3-Path CTA Section ---- */
.path-cta-section { padding: 60px 24px; background: linear-gradient(180deg, rgba(30,17,40,0) 0%, rgba(46,28,56,0.6) 100%); }
.path-cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 900px; margin: 0 auto; }
.path-cta-card {
  background: rgba(46,28,56,0.55); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px; text-align: center;
  cursor: pointer; transition: all var(--transition);
}
.path-cta-card:hover { border-color: var(--brass); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.path-cta-icon { font-size: 2.5rem; margin-bottom: 14px; }
.path-cta-card h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--parchment); margin-bottom: 10px; letter-spacing: 0.04em; }
.path-cta-card p { font-family: var(--font-body); font-size: 14.5px; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; }
.path-cta-card .btn-ghost { font-size: 13px; padding: 9px 20px; }

/* ---- Best Sellers Section ---- */
.best-sellers-section { padding: 60px 24px; }
.best-sellers-section .section-header { margin-bottom: 36px; }
.best-sellers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto 36px; }
.best-sellers-soaps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto 36px; padding-top: 20px; border-top: 1px solid var(--border); }
.best-seller-card {
  background: rgba(46,28,56,0.55); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition);
}
.best-seller-card:hover { border-color: var(--brass); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.best-seller-img { width: 100%; height: 200px; object-fit: cover; }
.best-seller-body { padding: 18px; }
.best-seller-badge { display: inline-block; background: rgba(140,106,59,0.2); border: 1px solid rgba(140,106,59,0.4); color: var(--brass-lt); font-family: var(--font-display); font-size: 13px; letter-spacing: 0.08em; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; text-transform: uppercase; }
.best-seller-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--parchment); margin-bottom: 6px; }
.best-seller-desc { font-family: var(--font-body); font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.best-seller-price { font-family: var(--font-display); font-size: 1.2rem; color: var(--brass-lt); margin-bottom: 14px; }
.best-sellers-cta { text-align: center; }

/* ---- Apothecary Process Section ---- */
.process-section { padding: 60px 24px; background: rgba(30,17,40,0.4); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.process-step { text-align: center; padding: 24px 16px; }
.process-icon { font-size: 2.5rem; margin-bottom: 14px; }
.process-step h4 { font-family: var(--font-display); font-size: 1rem; color: var(--parchment); margin-bottom: 10px; letter-spacing: 0.04em; }
.process-step p { font-family: var(--font-body); font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.process-divider { width: 40px; height: 2px; background: var(--brass); margin: 12px auto 0; border-radius: 2px; }

/* ---- Herbal Match Quiz (Homepage) ---- */
.home-quiz-section { padding: 60px 24px; }
.home-quiz-card {
  max-width: 680px; margin: 0 auto;
  background: rgba(46,28,56,0.6); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 36px; text-align: center;
}
.home-quiz-card h2 { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--parchment); margin-bottom: 12px; }
.home-quiz-card p { font-family: var(--font-body); font-size: 15.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.home-quiz-options { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.home-quiz-option {
  background: rgba(110,75,126,0.2); border: 1px solid rgba(110,75,126,0.35);
  color: var(--parchment-dk); font-family: var(--font-body); font-size: 14px;
  padding: 9px 18px; border-radius: 24px; cursor: pointer; transition: all var(--transition);
}
.home-quiz-option:hover, .home-quiz-option.selected { background: rgba(110,75,126,0.45); border-color: var(--amethyst); color: var(--parchment); }

/* ---- Nav Social Icons ---- */
.nav-social-links { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-social-link { color: var(--text-muted); font-size: 1rem; transition: color var(--transition); text-decoration: none; }
.nav-social-link:hover { color: var(--parchment); }

/* ---- Herb Modal Image Fix ---- */
.herb-modal-img-wrap { position: relative; min-height: 260px; background: #1a0f24; border-radius: 16px 0 0 16px; overflow: hidden; }
.herb-modal-img-wrap img { width: 100%; height: 100%; object-fit: contain; background: #f5efe6; padding: 12px; }
@media (max-width: 640px) { .herb-modal-img-wrap { border-radius: 16px 16px 0 0; min-height: 200px; } }

/* ---- Responsive additions ---- */
@media (max-width: 600px) {
  .about-stats-row { gap: 10px; }
  .about-stat { min-width: 80px; padding: 10px 12px; }
  .path-cta-grid { grid-template-columns: 1fr; }
  .home-quiz-card { padding: 28px 20px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Herb Price Badge (Custom Tea Builder) ---- */
.cc-herb-price-badge {
  position: absolute; top: 8px; right: 8px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  padding: 3px 8px; border-radius: 12px; letter-spacing: 0.03em;
  pointer-events: none;
}
.cc-herb-price-badge.tier-base { background: rgba(100,160,100,0.85); color: #fff; }
.cc-herb-price-badge.tier-mid { background: rgba(140,106,59,0.85); color: #fff; }
.cc-herb-price-badge.tier-mid-high { background: rgba(110,75,126,0.85); color: #fff; }
.cc-herb-price-badge.tier-premium { background: rgba(180,60,60,0.85); color: #fff; }
.cc-herb-breakdown { display: block; color: var(--text-muted); font-size: 13px; margin-top: 4px; line-height: 1.5; }
.cc-herb-img-wrap { position: relative; }

/* ---- Sourcing Statement Component ---- */
.sourcing-statement {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(60, 100, 60, 0.12);
  border: 1px solid rgba(80, 140, 80, 0.3);
  border-radius: var(--radius); padding: 18px 20px; margin: 20px 0;
}
.sourcing-statement.sourcing-compact { padding: 12px 16px; margin: 12px 0; }
.sourcing-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.sourcing-statement p {
  font-family: var(--font-body); font-size: 14.5px;
  color: var(--parchment-dk); line-height: 1.7; margin: 0;
}
.sourcing-statement strong { color: var(--parchment); }
.sourcing-compact p { font-size: 13.5px; }


/* ---- Safety Notice Boxes (Custom Builder + Consultation Form) ---- */
.cc-safety-notice,
.formula-safety-notice {
  background: rgba(80, 40, 100, 0.18);
  border: 1px solid rgba(160, 100, 200, 0.35);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 18px 0 14px;
}
.cc-safety-notice p,
.formula-safety-notice p {
  font-size: 13.5px;
  color: var(--parchment-dk);
  line-height: 1.7;
  margin: 0 0 12px;
}
.cc-safety-notice strong,
.formula-safety-notice strong { color: var(--parchment); }
.cc-safety-label,
.formula-safety-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--parchment-dk);
  line-height: 1.6;
  cursor: pointer;
  margin-bottom: 6px;
}
.cc-safety-label input[type="checkbox"],
.formula-safety-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  accent-color: var(--amethyst-lt);
  cursor: pointer;
}

/* ---- IMAGE PLACEHOLDER FALLBACKS ---- */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--plum-mid) 0%, var(--plum-deep) 100%);
  font-size: 3.5rem;
  border-bottom: 1px solid var(--border);
}
.soap-img-wrap .img-placeholder {
  font-size: 4rem;
  background: linear-gradient(135deg, rgba(75,46,89,0.6) 0%, rgba(46,28,56,0.8) 100%);
}
.journal-card-img .img-placeholder {
  font-size: 2.5rem;
  color: var(--brass-lt);
  background: linear-gradient(135deg, var(--plum-mid) 0%, var(--plum-deep) 100%);
}

/* ---- Add to My Custom Creation Button ---- */
.add-to-custom-btn {
  display: block;
  width: 100%;
  margin: 10px 0 6px;
  padding: 9px 16px;
  background: linear-gradient(135deg, var(--sage), #5e7352);
  color: var(--parchment);
  border: 1px solid rgba(122,139,111,0.4);
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.06em;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.add-to-custom-btn:hover {
  background: linear-gradient(135deg, #5e7352, var(--sage));
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(122,139,111,0.4);
}
.add-to-custom-btn:active {
  transform: translateY(0);
}
/* In botanical index card overlay */
.bic-add-custom-btn {
  margin: 8px 0 4px;
  font-size: 11px;
  padding: 8px 14px;
}
/* In herb detail modal (full page SEO) */
.herb-page-add-custom-btn {
  width: auto;
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  padding: 10px 22px;
}
/* In herb detail modal (fallback) */
.herb-modal-add-custom-btn {
  width: auto;
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  padding: 10px 22px;
}

/* ---- PRODUCT IMAGE LIGHTBOX ---- */
.product-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 20, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}
.product-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(46,28,56,0.9);
  border: 1px solid rgba(140,106,59,0.35);
  color: var(--parchment);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10001;
}
.product-lightbox-close:hover {
  background: var(--amethyst);
  border-color: var(--brass);
}
.product-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  cursor: default;
}

/* Make product images show a zoom cursor */
.product-img img,
.soap-img-wrap img {
  cursor: zoom-in;
}

/* ---- LARGER FONTS FOR DESKTOP / WEB VIEW ---- */
@media (min-width: 769px) {
  html {
    font-size: 19px; /* base bump from 16px — scales all rem values */
  }

  body {
    font-size: 19px;
    line-height: 1.8;
  }

  /* Navigation */
  .nav-brand-sub  { font-size: 10px; }
  .nav-brand-main { font-size: 15px; }
  .nav-links a    { font-size: 15px; }
  .nav-actions a,
  .nav-actions button { font-size: 15px; }
  .hamburger      { font-size: 26px; }

  /* Consultation banner */
  #consultBanner  { font-size: 15px; }

  /* Hero section */
  .hero-eyebrow   { font-size: 15px; }
  .hero-subtitle   { font-size: clamp(1.05rem, 2vw, 1.25rem); }
  .hero-cta, .hero-cta-outline, .hero-cta-accent { font-size: 15px; }

  /* Section headings & body text */
  .section-eyebrow { font-size: 15px; }
  .section-subtitle { font-size: 1.1rem; }

  /* Trust bar */
  .trust-item h4  { font-size: 15px; }

  /* Product cards & descriptions */
  .product-card .product-name { font-size: 1.15rem; }
  .product-card .product-desc { font-size: 0.95rem; }
  .product-card .product-price { font-size: 1.1rem; }

  /* Footer */
  .footer-col h4  { font-size: 15px; }
  .footer-col p,
  .footer-col a,
  .footer-col li  { font-size: 15px; }
  .footer-bottom  { font-size: 14px; }
}
