/* ============================================================ */
/* FOREST-ESSENTIALS-STYLE LAYOUT — keeps the Nature Sage theme  */
/* ============================================================ */

/* ANNOUNCEMENT BAR */
.announce-bar {
  background: var(--dark);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem;
  height: 34px; padding: 0 1rem;
  font-size: 0.72rem; letter-spacing: 0.1em;
}
.announce-track { position: relative; height: 100%; flex: 1; max-width: 600px; }
.announce-item {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.announce-item.active { opacity: 1; pointer-events: auto; }
.announce-item strong { color: var(--gold-light); margin-left: 0.35em; }
.announce-arrow {
  background: none; border: none; color: var(--gold);
  font-size: 1.1rem; cursor: pointer; line-height: 1; padding: 0 0.25rem;
}

/* HEADER */
.fe-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  border-bottom: 1px solid rgba(200,124,58,0.25);
}
.fe-header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px; padding: 0 1.25rem;
}
.fe-header .logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600;
  color: var(--gold); letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 0.5rem;
  justify-content: center; cursor: pointer;
}
.fe-header .logo-icon { width: 28px; height: 28px; fill: var(--gold); }
.fe-header-left { display: flex; align-items: center; gap: 0.75rem; }
.fe-header-right { display: flex; align-items: center; gap: 0.85rem; justify-content: flex-end; }
.fe-header .nav-icon {
  color: var(--cream); font-size: 1.15rem;
  cursor: pointer; background: none; border: none; padding: 4px;
  position: relative;
}
.fe-header .nav-icon:hover { color: var(--gold); }
.fe-header .hamburger { display: none; }

/* CATEGORY NAV */
.fe-catnav {
  position: static; height: auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1.75rem;
  background: var(--dark);
  border-top: 1px solid rgba(200,124,58,0.18);
  border-bottom: none;
  padding: 0.7rem 1.25rem;
  box-shadow: none;
}
.fe-catnav-item {
  color: rgba(255,255,255,0.82);
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  transition: color 0.2s; white-space: nowrap;
}
.fe-catnav-item:hover { color: var(--gold); }

/* mobile menu sits below the taller header */
#landing-view .mobile-menu { top: 98px; }

/* HERO CAROUSEL */
.hero-carousel {
  position: relative; overflow: hidden; width: 100%;
  background: linear-gradient(135deg, #faf2e2 0%, #ecdcc0 100%);
}
.hc-track { display: flex; width: 100%; transition: transform 0.6s cubic-bezier(.4,0,.2,1); }
.hc-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center; gap: 2.5rem;
  padding: 3rem max(2rem, calc((100% - 1280px) / 2));
  min-height: 460px;
}
/* Full-bleed banner slides (image with baked-in text) */
.hc-slide.hc-banner {
  display: block; padding: 0; min-height: 0;
  cursor: pointer;
  width: 100%;
  aspect-ratio: 1916 / 821;   /* matches banner art — scales without over/underflow */
  max-height: 78vh;           /* guard against oversized hero on tall/ultrawide screens */
  background: linear-gradient(135deg, #faf2e2 0%, #ecdcc0 100%);
}
.hc-slide.hc-banner img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hc-content {
  padding-right: 0; min-width: 0;
}
.hc-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 1rem; font-weight: 500;
}
.hc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 400; line-height: 1.05; margin-bottom: 1.1rem; color: var(--green);
}
.hc-title em { font-style: italic; color: var(--saffron); font-weight: 500; }
.hc-sub {
  font-size: 0.95rem; color: var(--text);
  max-width: 440px; margin-bottom: 1.6rem; font-weight: 400; line-height: 1.7;
  opacity: 0.85;
}
.hc-cta-row {
  display: flex; gap: 1rem; align-items: center;
  margin-bottom: 1.75rem; flex-wrap: wrap;
}
.btn-link {
  background: transparent; border: none; cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); padding: 0.6rem 0;
  border-bottom: 1px solid var(--green);
  transition: opacity 0.2s;
}
.btn-link:hover { opacity: 0.65; }
.hc-badges {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
}
.hc-badge {
  font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--green); opacity: 0.7; font-weight: 500;
}
.hc-image {
  display: flex; align-items: center; justify-content: center;
  height: 100%; min-width: 0;
}
.hc-image img {
  width: 100%; max-width: 480px;
  aspect-ratio: 4 / 3;
  object-fit: cover; display: block;
  border-radius: 18px;
  box-shadow:
    0 30px 60px -25px rgba(45,90,62,0.35),
    0 14px 30px -15px rgba(28,15,5,0.18);
  border: 1px solid rgba(255,255,255,0.45);
}
.hc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.85); color: var(--green);
  border: 1px solid rgba(45,90,62,0.15);
  width: 42px; height: 42px; border-radius: 50%;
  font-size: 1.4rem; cursor: pointer; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.hc-arrow:hover { background: var(--saffron); color: #fff; }
.hc-prev { left: 1rem; } .hc-next { right: 1rem; }
.hc-dots {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 3;
}
.hc-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(45,90,62,0.3); border: none; cursor: pointer; padding: 0;
  transition: background 0.2s, width 0.2s;
}
.hc-dot.active { background: var(--saffron); width: 24px; border-radius: 5px; }

/* SHOP BY CATEGORY */
.cat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  max-width: 1100px; margin: 0 auto;
}
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-tile {
  position: relative; aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  cursor: pointer; overflow: hidden;
}
.cat-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,15,5,0) 35%, rgba(28,15,5,0.72) 100%);
  transition: background 0.3s;
}
.cat-tile:hover::after { background: linear-gradient(180deg, rgba(28,15,5,0.1) 0%, rgba(28,15,5,0.8) 100%); }
.cat-tile-inner {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 1.1rem; color: #fff; text-align: center;
}
.cat-tile-name {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 500; margin-bottom: 0.2rem;
}
.cat-tile-cta {
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-light); opacity: 0; transition: opacity 0.25s;
}
.cat-tile:hover .cat-tile-cta { opacity: 1; }

/* PRODUCT RAIL (New Launches) */
.prod-rail {
  display: flex; gap: 1rem; overflow-x: auto;
  padding-bottom: 0.75rem; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.prod-rail::-webkit-scrollbar { height: 6px; }
.prod-rail::-webkit-scrollbar-thumb { background: rgba(200,124,58,0.4); border-radius: 3px; }
.prod-rail .prod-card {
  flex: 0 0 70%; max-width: 240px; scroll-snap-align: start;
}
@media (min-width: 600px) { .prod-rail .prod-card { flex: 0 0 240px; } }

/* SHOP BY CONCERN */
.concern-grid {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
  max-width: 760px; margin: 0 auto;
}
.concern-chip {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--ivory); border: 1px solid rgba(200,124,58,0.25);
  color: var(--green); padding: 0.7rem 1.2rem;
  font-family: 'Jost', sans-serif; font-size: 0.82rem;
  cursor: pointer; transition: all 0.2s;
}
.concern-chip:hover { background: var(--saffron); color: #fff; border-color: var(--saffron); }
.concern-icon { font-size: 1rem; }

/* HERITAGE STORY */
.story-banner {
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 800px) { .story-banner { grid-template-columns: 1fr 1fr; } }
.story-img { min-height: 320px; background-size: cover; background-position: center; }
.story-text {
  background: var(--cream2);
  padding: 3rem 2rem; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; gap: 0.4rem;
}
.story-body {
  font-size: 0.9rem; color: var(--text); line-height: 1.8;
  font-weight: 300; margin: 0.75rem 0 1.5rem; max-width: 460px;
}

/* GIFTING BANNER */
.gift-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #2A1200 0%, #3D1C08 60%, #4A2510 100%);
  text-align: center; padding: 4rem 1.5rem;
}
.gift-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,124,58,0.18) 0%, transparent 60%);
}
.gift-content { position: relative; z-index: 2; max-width: 520px; margin: 0 auto; }
.gift-sub {
  font-size: 0.9rem; color: rgba(255,255,255,0.7);
  line-height: 1.7; font-weight: 300; margin: 0.75rem 0 1.75rem;
}

/* THE JOURNAL */
.journal-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
  max-width: 1100px; margin: 0 auto;
}
@media (min-width: 700px) { .journal-grid { grid-template-columns: repeat(3, 1fr); } }
.journal-card {
  background: var(--ivory); border: 1px solid rgba(200,124,58,0.12);
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.journal-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.journal-img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.journal-body { padding: 1.1rem; }
.journal-tag {
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--saffron); font-weight: 500;
}
.journal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 500; color: var(--green);
  line-height: 1.25; margin: 0.4rem 0 0.5rem;
}
.journal-excerpt { font-size: 0.8rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.75rem; }
.journal-link {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--saffron); text-decoration: none; font-weight: 500;
}
.journal-link:hover { color: var(--gold-light); }

/* INSTAGRAM */
.insta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
  max-width: 760px; margin: 0 auto;
}
@media (min-width: 600px) { .insta-grid { grid-template-columns: repeat(6, 1fr); } }
.insta-tile {
  aspect-ratio: 4/3; background-size: cover; background-position: center;
  display: block; position: relative; transition: opacity 0.2s;
}
.insta-tile::after {
  content: '⊕'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  background: rgba(28,15,5,0.35); opacity: 0; transition: opacity 0.2s;
}
.insta-tile:hover::after { opacity: 1; }

/* FOOTER EXTENSIONS */
.footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 0.72rem; letter-spacing: 0.05em;
}
.footer-social a:hover { color: var(--gold); }
.footer-pay {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  padding: 1.25rem 0; margin-bottom: 0.5rem;
  border-top: 1px solid rgba(200,124,58,0.12);
}
.footer-pay-label {
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-right: 0.5rem;
}
.pay-pill {
  font-size: 0.62rem; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(200,124,58,0.3);
  padding: 0.25rem 0.6rem; border-radius: 3px;
}

/* MOBILE */
@media (max-width: 760px) {
  .fe-header .hamburger {
    display: flex; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 4px;
  }
  .fe-header .hamburger span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; }
  .fe-header-left { display: none; }
  .fe-header-row { grid-template-columns: auto 1fr auto; padding: 0 1rem; }
  .fe-header .logo { font-size: 1.3rem; }
  .fe-catnav { display: none; }
  #landing-view .mobile-menu { top: 64px; }
  .hc-slide {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.25rem 3rem;
    min-height: auto;
    text-align: center;
    gap: 1.5rem;
  }
  .hc-content { padding-right: 0; order: 2; }
  .hc-image { order: 1; margin-bottom: 0.25rem; }
  .hc-image img { max-width: 320px; aspect-ratio: 4 / 3; border-radius: 14px; }
  .hc-cta-row { justify-content: center; }
  .hc-badges { justify-content: center; gap: 0.9rem; }
  .hc-sub { margin-left: auto; margin-right: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hc-image img { max-width: 260px; }
  .hc-title { font-size: clamp(1.85rem, 8vw, 2.4rem) !important; }
  .footer-top { grid-template-columns: 1fr; }
}

/* Tablet hero adjustments — keep 2-column but tighter */
@media (min-width: 761px) and (max-width: 1024px) {
  .hc-slide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 1.5rem;
    padding: 2.25rem 2rem;
    min-height: 400px;
  }
  .hc-image img { max-width: 380px; }
  .hc-sub { font-size: 0.88rem; }
  .hc-cta-row { gap: 0.75rem; }
  .hc-badges { gap: 0.85rem; }
  .hc-badge { font-size: 0.6rem; letter-spacing: 0.12em; }
}
