/* ════════════════════════════════════════════════════════════
   AMBER & BARK — ENHANCEMENTS v2
   Hero Cinematic, History Storyline, Grade Banner, Polish
════════════════════════════════════════════════════════════ */

/* ─── HERO ENHANCEMENTS ─── */

/* Ambient particles */
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.particle {
  position: absolute;
  font-size: 1rem;
  color: var(--gold);
  opacity: 0;
  animation: particleDrift 12s ease-in-out infinite;
  user-select: none;
}
.p1 { left: 12%; top: 25%; animation-delay: 0s;    animation-duration: 14s; font-size: 0.8rem; }
.p2 { left: 78%; top: 18%; animation-delay: 2.5s;  animation-duration: 11s; }
.p3 { left: 55%; top: 72%; animation-delay: 5s;    animation-duration: 16s; font-size: 0.7rem; }
.p4 { left: 22%; top: 62%; animation-delay: 1.5s;  animation-duration: 9s;  font-size: 1.6rem; opacity: 0; }
.p5 { left: 88%; top: 55%; animation-delay: 3.5s;  animation-duration: 13s; font-size: 1.3rem; }
.p6 { left: 40%; top: 15%; animation-delay: 7s;    animation-duration: 10s; font-size: 0.65rem; }

@keyframes particleDrift {
  0%   { opacity: 0;    transform: translateY(0) rotate(0deg); }
  20%  { opacity: 0.7; }
  80%  { opacity: 0.45; }
  100% { opacity: 0;    transform: translateY(-55px) rotate(20deg); }
}

/* Corner decorative lines - removed */
.hero-corner,
.hero-vrule,
.hot-dash,
.hero-badge-line,
.hbb-line {
  display: none !important;
}


/* ═══ EDITORIAL HERO LAYOUT ═══
   Split layout: huge title left, tagline+CTA right.
   Nothing is centred. Nothing looks like a template.
══════════════════════════════════ */

/* Override base hero-content centering */
.hero.hero-editorial-wrap,
.hero-content.hero-editorial {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding: 0;
  text-align: left;
  display: flex;
  align-items: stretch;
  height: 100%;
}

/* ── Left column: owns ~65% width ── */
.hero-col-title {
  flex: 0 0 62%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5vw 9vh 6vw;
  position: relative;
}

/* ── Origin tag (replaces old badge) ── */
.hero-origin-tag {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards 0.4s;
}
.hero-origin-tag span:not(.hot-dash) {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.75);
}
.hot-dash {
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(201,168,76,0.55);
  flex-shrink: 0;
}

/* ── Main title ── */
.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin-bottom: 0;
}
.hero-word {
  display: block;
  opacity: 0;
  transform: translateY(60px);
  animation: heroWordIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
  font-size: clamp(5.5rem, 13vw, 12rem);
}
.hero-w1 {
  color: var(--gold-light);
  animation-delay: 0.65s;
}
.hero-title-row2 {
  display: flex;
  align-items: baseline;
  gap: 0.12em;
  padding-left: 0.5em; /* indent second row for editorial offset */
}
.hero-amp {
  display: inline-block;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: rgba(250,247,242,0.35);
  opacity: 0;
  animation: heroWordIn 0.9s ease forwards 0.88s;
  line-height: 1;
}
.hero-w2 {
  color: var(--cream);
  animation-delay: 1.05s;
}

@keyframes heroWordIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Grade stamp (bottom-left under title) ── */
.hero-grade-stamp {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.2rem;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards 1.7s;
}
.hero-grade-stamp span {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.45);
}
.gs-dot {
  color: rgba(201,168,76,0.5) !important;
  letter-spacing: 0 !important;
}

/* ── Vertical gold rule ── */
.hero-vrule {
  flex: 0 0 1px;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    transparent 8%,
    rgba(201,168,76,0.35) 25%,
    rgba(201,168,76,0.55) 55%,
    rgba(201,168,76,0.3) 78%,
    transparent 95%
  );
  opacity: 0;
  animation: heroFadeUp 1s ease forwards 1.2s;
  margin: 0;
}

/* ── Right column: tagline + minimal CTAs ── */
.hero-col-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4vw 9vh 4vw;
  opacity: 0;
  animation: heroFadeUp 1s ease forwards 1.35s;
}
.hero-side-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.65);
  margin-bottom: 1.1rem;
}
.hero-side-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 300;
  color: rgba(250,247,242,0.82);
  line-height: 1.6;
  margin-bottom: 2.8rem;
}

/* ── Editorial actions: text-link style, no boxy buttons ── */
.hero-editorial-actions {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.hero-act-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid rgba(250,247,242,0.35);
  padding-bottom: 0.55rem;
  transition: color 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
  width: fit-content;
}
.hero-act-primary:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
  gap: 1.2rem;
}
.hero-act-arrow {
  transition: transform 0.3s ease;
}
.hero-act-primary:hover .hero-act-arrow {
  transform: translateX(5px);
}
.hero-act-secondary {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.45);
  transition: color 0.3s ease;
  width: fit-content;
}
.hero-act-secondary:hover {
  color: rgba(250,247,242,0.82);
}

/* Keep bottom bar + scroll hint */
.hero-bottom-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.9rem 2rem;
  background: rgba(42,20,6,0.55);
  backdrop-filter: blur(4px);
  z-index: 2;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards 2.2s;
}
.hbb-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.35));
}
.hbb-line:last-child {
  background: linear-gradient(to left, transparent, rgba(201,168,76,0.35));
}
.hbb-text {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.7);
  white-space: nowrap;
}

/* Hero scroll hint */
.hero-scroll-hint {
  bottom: 4rem;
  opacity: 0;
  animation: heroFadeUp 0.9s ease forwards 2.5s;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}



/* ─── PRODUCTS SUBHEAD ─── */
.products-subhead {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 680px;
  margin: 0 auto 3.5rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ─── PRODUCT TAG BADGE ─── */
.product-card-tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--amber);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 1px;
}

/* ─── GRADES BANNER ─── */
.grades-banner {
  margin-top: 4rem;
  background: var(--cream);
  border: 1px solid rgba(200,112,42,0.15);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.grades-banner-inner {
  padding: 2.2rem 2.5rem;
}
.grades-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.4rem;
  text-align: center;
}
.grades-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}
.grade-pill {
  padding: 1.4rem 1.5rem;
  border-radius: 2px;
  border: 1px solid;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.grade-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.grade-alba {
  background: linear-gradient(135deg, #FFF9F0, #FAF7F2);
  border-color: rgba(201,168,76,0.35);
}
.grade-c4 {
  background: linear-gradient(135deg, #FBF2E8, #FAF7F2);
  border-color: rgba(200,112,42,0.25);
}
.grade-c5 {
  background: linear-gradient(135deg, #FAF0E6, var(--cream));
  border-color: rgba(92,46,14,0.2);
}
.grade-pill-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.grade-alba .grade-pill-name { color: var(--gold); }
.grade-c4  .grade-pill-name { color: var(--amber); }
.grade-c5  .grade-pill-name { color: var(--brown); }
.grade-pill-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.65;
}
.grades-note {
  font-size: 0.78rem;
  color: rgba(107,66,38,0.55);
  font-weight: 300;
  text-align: center;
}
.grades-note a {
  color: var(--amber);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}
.grades-note a:hover { border-bottom-color: var(--amber); }

/* ─── HISTORY STORYLINE ─── */
.history {
  background: var(--brown-dark);
  position: relative;
  overflow: hidden;
}
.history::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(201,168,76,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(200,112,42,0.08) 0%, transparent 50%);
}
.history .container { position: relative; z-index: 1; }
.history .section-eyebrow { color: var(--gold-light); }
.history .section-heading { color: var(--cream); }

.history-intro {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(250,247,242,0.72);
  max-width: 700px;
  margin: 0 auto 0;
  font-weight: 300;
  line-height: 1.75;
}

.history-timeline {
  max-width: 940px;
  margin: 5rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Central vertical line */
.history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.5), rgba(201,168,76,0.1));
  transform: translateX(-50%);
}

.history-era {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 3rem;
  align-items: start;
  margin-bottom: 5rem;
  position: relative;
}

/* Alternate: odd eras left-content right-ornament, even eras flipped */
.history-era:nth-child(even) .era-year    { order: 3; text-align: left; }
.history-era:nth-child(even) .era-content { order: 1; text-align: right; }
.history-era:nth-child(even) .era-ornament{ order: 2; }

.history-era:nth-child(odd) .era-year    { order: 1; text-align: right; }
.history-era:nth-child(odd) .era-content { order: 3; text-align: left; }
.history-era:nth-child(odd) .era-ornament{ order: 2; }

.era-year {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding-top: 0.2rem;
  white-space: nowrap;
  align-self: start;
}

.era-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--brown-dark);
  border: 1.5px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: border-color var(--transition), background var(--transition-fast);
  box-shadow: 0 0 0 6px var(--brown-dark);
  align-self: start;
}
.era-ornament.era-final {
  background: rgba(200,112,42,0.18);
  border-color: var(--amber);
  font-size: 0.9rem;
}
.history-era:hover .era-ornament {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
}

.era-content {
  padding-bottom: 0.5rem;
  padding-top: 0.15rem;
}
.era-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.7rem;
  line-height: 1.2;
  transition: color var(--transition-fast);
}
.history-era:hover .era-title { color: var(--gold-light); }
.era-text {
  font-size: 0.9rem;
  color: rgba(250,247,242,0.65);
  font-weight: 300;
  line-height: 1.85;
}

/* ─── RESPONSIVE: History on mobile ─── */
@media (max-width: 768px) {
  .history-timeline::before { left: 24px; }
  .history-era {
    grid-template-columns: auto 1fr;
    gap: 0 1.2rem;
  }
  .history-era:nth-child(odd) .era-year,
  .history-era:nth-child(even) .era-year { order: initial; grid-column: 2; text-align: left; font-size: 0.85rem; }
  .history-era:nth-child(odd) .era-ornament,
  .history-era:nth-child(even) .era-ornament { order: initial; grid-row: 1 / span 2; grid-column: 1; align-self: start; width: 40px; height: 40px; font-size: 1rem; }
  .history-era:nth-child(odd) .era-content,
  .history-era:nth-child(even) .era-content { order: initial; grid-column: 2; text-align: left; }
  .era-year { padding-bottom: 0.2rem; }
  .grades-list { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   STORY-BASED CATEGORIES & COMMERCIAL SUPPLY ENHANCEMENTS
════════════════════════════════════════════════════════════ */

.story-chapter {
  margin-top: 4.5rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.chapter-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(200, 112, 42, 0.1);
  border: 1px solid rgba(200, 112, 42, 0.3);
  padding: 0.35rem 1rem;
  border-radius: 40px;
  margin-bottom: 0.8rem;
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.chapter-subtitle {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

/* Product Card Enhancements */
.flagship-card, .oil-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(92, 46, 14, 0.08);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(92, 46, 14, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.flagship-card:hover, .oil-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(92, 46, 14, 0.12);
}

.product-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1.2rem 0;
  padding: 0.8rem 1rem;
  background: rgba(250, 247, 242, 0.7);
  border-left: 3px solid var(--amber);
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--text-dark);
}

.product-specs-list span {
  font-family: var(--font-sans);
  line-height: 1.4;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.2rem;
}

.btn-quick-quote {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--amber-dark);
  background: transparent;
  border: 1px solid var(--amber);
  padding: 0.65rem 1.1rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.btn-quick-quote:hover {
  background: var(--amber);
  color: #ffffff;
}

/* On Request Tag for Oils & Bulk */
.tag-requested {
  background: linear-gradient(135deg, #c8702a, #96420c) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
}

.btn-request-quote {
  display: inline-block;
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

/* Bulk Grid Layout */
.bulk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  margin-top: 1.5rem;
}

.bulk-card {
  background: #ffffff;
  border: 1px solid rgba(92, 46, 14, 0.1);
  border-radius: 8px;
  padding: 1.8rem;
  box-shadow: 0 6px 20px rgba(92, 46, 14, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.bulk-card:hover {
  border-color: var(--amber);
  box-shadow: 0 12px 32px rgba(92, 46, 14, 0.1);
}

.bulk-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.bulk-icon {
  font-size: 2rem;
  line-height: 1;
}

.bulk-card-header h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.2rem;
}

.bulk-sub {
  font-size: 0.8rem;
  color: var(--amber);
  font-weight: 500;
}

.bulk-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.bulk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px dashed rgba(92, 46, 14, 0.12);
}

.bulk-moq {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  background: rgba(200, 112, 42, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.btn-bulk-quote {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brown);
  text-decoration: underline;
  transition: color var(--transition-fast);
}
.btn-bulk-quote:hover {
  color: var(--amber);
}

/* Commercial Specifications Table */
.commercial-specs-wrap {
  margin-top: 4.5rem;
  background: #ffffff;
  border-radius: 10px;
  padding: 2.5rem;
  border: 1px solid rgba(92, 46, 14, 0.1);
  box-shadow: 0 10px 30px rgba(92, 46, 14, 0.06);
}

.specs-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 0.4rem;
}

.specs-intro {
  font-size: 0.92rem;
  color: var(--text-mid);
  margin-bottom: 1.8rem;
}

.specs-table-container {
  overflow-x: auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.specs-table th {
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brown-dark);
  padding: 1rem;
  border-bottom: 2px solid rgba(92, 46, 14, 0.12);
}

.specs-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(92, 46, 14, 0.06);
  color: var(--text-dark);
}

.specs-table tr:hover td {
  background: rgba(250, 247, 242, 0.5);
}

.status-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
}

.status-ready {
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.25);
}

.status-request {
  background: rgba(200, 112, 42, 0.12);
  color: #c8702a;
  border: 1px solid rgba(200, 112, 42, 0.3);
}

@media (max-width: 768px) {
  .commercial-specs-wrap {
    padding: 1.5rem 1rem;
  }
  .card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-quick-quote {
    text-align: center;
  }
}

/* ════════════════════════════════════════════════════════════
   THE CHRONICLES OF AMBER & BARK — STORYBOOK JOURNAL STYLES
════════════════════════════════════════════════════════════ */

.chronicles-section {
  position: relative;
  background: var(--cream);
}

.chronicles-header {
  margin-bottom: 4rem;
}

.journal-stamp {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid rgba(200, 112, 42, 0.3);
  padding-bottom: 0.2rem;
}

/* Chronicle Chapters */
.chronicle-chapter {
  margin-bottom: 5.5rem;
  position: relative;
}

.chapter-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.ch-num {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
}

.ch-sep {
  color: var(--gold);
  font-size: 1.2rem;
}

.ch-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--brown-dark);
  letter-spacing: -0.01em;
}

.chapter-narrative {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.ch-prose {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-mid);
}

/* ── Flagship Teaser 3-Column Single Row Layout ── */
.flagship-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  max-width: 1140px;
  margin: 2.5rem auto 0 auto;
}

.flagship-grid .journal-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.flagship-grid .journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(92, 46, 14, 0.12);
}

.flagship-grid .product-card-img {
  height: 190px !important;
  overflow: hidden;
  position: relative;
}

.flagship-grid .product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.flagship-grid .journal-card:hover .product-card-img img {
  transform: scale(1.05);
}

.flagship-grid .product-card-body {
  padding: 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.flagship-grid .product-grade {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.flagship-grid .product-name {
  font-size: 1.25rem !important;
  line-height: 1.25 !important;
  margin: 0.3rem 0 0.4rem 0 !important;
  color: var(--brown-dark);
  font-family: var(--font-serif);
}

.flagship-grid .product-price-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}
.flagship-grid .price-lkr {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--amber-dark);
  font-size: 1.1rem;
}
.flagship-grid .price-usd {
  font-size: 0.8rem;
  color: var(--text-mid);
  opacity: 0.85;
}

.flagship-grid .product-short {
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  color: var(--text-mid);
  margin-bottom: 1rem !important;
  flex: 1;
}

@media (max-width: 900px) {
  .flagship-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .flagship-grid .product-card-img {
    height: 240px !important;
  }
}

/* Journal Product Cards */
.journal-card {
  background: #ffffff;
  border: 1px solid rgba(92, 46, 14, 0.09);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(92, 46, 14, 0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.journal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(92, 46, 14, 0.11);
  border-color: rgba(200, 112, 42, 0.3);
}

.journal-tag {
  background: var(--brown-dark) !important;
  color: var(--gold-light) !important;
  font-family: var(--font-serif) !important;
  font-style: italic !important;
  letter-spacing: 0.08em !important;
  padding: 0.3rem 0.9rem !important;
}

/* Human & Heritage Story Vignette */
.journal-vignette {
  margin: 1.2rem 0;
  padding: 1rem 1.2rem;
  background: #faf5ed;
  border-left: 3px solid var(--amber);
  border-radius: 4px;
}

.jv-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--brown);
  display: block;
}

.journal-specs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.4rem;
  font-size: 0.82rem;
  color: var(--text-mid);
}

/* Epilogue Invitation */
.chronicles-epilogue {
  margin-top: 5rem;
  margin-bottom: 4.5rem;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, #4a2107 0%, #2b1102 100%);
  border-radius: 10px;
  color: var(--cream);
  box-shadow: 0 15px 40px rgba(92, 46, 14, 0.2);
  position: relative;
}

.epilogue-ornament {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.5em;
  margin-bottom: 1rem;
}

.epilogue-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.epilogue-text {
  font-size: 1.05rem;
  font-family: var(--font-serif);
  font-style: italic;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 2.2rem auto;
  color: rgba(250, 247, 242, 0.85);
}

.epilogue-btn {
  background: var(--gold) !important;
  color: var(--brown-dark) !important;
  font-weight: 600 !important;
  padding: 1rem 2.5rem !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}
.epilogue-btn:hover {
  background: var(--gold-light) !important;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .chronicles-epilogue {
    padding: 2.5rem 1.2rem;
  }
}

/* ── Price Tag Styling (LKR & USD) ── */
.product-price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.8rem 0;
  font-family: var(--font-serif);
}

.price-lkr {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: -0.01em;
}

/* ── Catalog Filter Bar & Pills ── */
.filter-pill {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  background: #ffffff;
  border: 1px solid rgba(92, 46, 14, 0.15);
  padding: 0.6rem 1.4rem;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(92, 46, 14, 0.04);
}
.filter-pill:hover {
  border-color: var(--amber);
  color: var(--amber-dark);
  transform: translateY(-2px);
}
.filter-pill.active {
  background: var(--brown-dark);
  color: var(--gold-light);
  border-color: var(--gold);
  box-shadow: 0 4px 15px rgba(92, 46, 14, 0.2);
}

/* ── Thumbnail Gallery Switcher ── */
.thumb-gallery {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 1rem 0 1rem;
  justify-content: center;
  background: #ffffff;
}

.thumb-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.65;
  transition: all 0.25s ease;
}
.thumb-img:hover {
  opacity: 1;
  transform: scale(1.05);
}
.thumb-img.active {
  opacity: 1;
  border-color: var(--amber);
  box-shadow: 0 2px 8px rgba(200, 112, 42, 0.25);
}

.main-card-img, .product-card-img img, .product-detail-hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover !important;
  object-position: center !important;
  transition: opacity 0.35s ease, transform 0.4s ease;
}

/* ── Products Page Catalog Grid & Cards ── */
.catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.8rem !important;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(92, 46, 14, 0.09);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.catalog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(92, 46, 14, 0.12);
}

.catalog-card .card-img-wrap {
  height: 210px;
  position: relative;
  overflow: hidden;
}
.catalog-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.catalog-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.catalog-card .product-card-body {
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (max-width: 992px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Social Media Badges & Buttons ── */
.social-links-bar {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream);
  background: var(--brown-dark);
  border: 1px solid rgba(201, 168, 76, 0.3);
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-btn:hover {
  background: var(--amber);
  color: #ffffff;
  border-color: var(--amber);
  transform: translateY(-2px);
}

/* ── Luxury Cart Drawer & Floating Badge ── */
.cart-nav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: var(--amber);
  color: #fff !important;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}
.cart-nav-btn:hover {
  background: var(--brown-dark);
  transform: translateY(-1px);
}
.cart-count-badge {
  background: #fff;
  color: var(--brown-dark);
  border-radius: 50%;
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Drawer Overlay & Panel */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 11, 2, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: 440px;
  max-width: 90vw;
  height: 100vh;
  background: var(--cream);
  box-shadow: -10px 0 30px rgba(0,0,0,0.25);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.open {
  transform: translateX(-440px);
}

.cart-header {
  padding: 1.5rem;
  background: var(--brown-dark);
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--amber);
}
.cart-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin: 0;
}
.cart-close-btn {
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.cart-close-btn:hover { opacity: 1; }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}
.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(92,46,14,0.12);
  align-items: center;
}
.cart-item-img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--brown-dark); margin: 0 0 0.2rem 0; }
.cart-item-price { font-size: 0.88rem; color: var(--amber); font-weight: 600; }
.cart-qty-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; }
.cart-qty-btn { background: #fff; border: 1px solid rgba(92,46,14,0.2); width: 26px; height: 26px; border-radius: 4px; cursor: pointer; font-weight: bold; font-size: 0.9rem; color: var(--brown-dark); }
.cart-qty-btn:hover { background: var(--amber); color: #fff; border-color: var(--amber); }

.cart-footer {
  padding: 1.5rem;
  background: #fff;
  border-top: 1px solid rgba(92,46,14,0.12);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 1rem;
}







