/* ==========================================================================
   ORIGIN Specialty Coffee — Main Stylesheet
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --bg-primary: #faf7ee;
  --bg-secondary: #ECE4D3;
  --bg-tertiary: #E0D6BF;
  --bg-card: #FAF6ED;
  --text-primary: #24231F;
  --text-secondary: #5C5549;
  --text-muted: #877E6F;
  --border-light: rgba(36, 35, 31, 0.12);
  --border-dark: #24231F;
  --accent-gold: #C8A452;
  --btn-black: #24231F;
  --btn-hover: #3D3B35;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-width: min(1440px, 92vw);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* --- Global Reset & Base Styles --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #fff9ea;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 20% Opacity subtle textured background layer */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/all_bg.png');
  background-repeat: repeat;
  background-size: 1000px auto;
  opacity: 0.20;
  pointer-events: none;
  z-index: 0;
}

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

button {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-smooth);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* --- Container Utility --- */
.section-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 3.5vw, 64px);
}

/* ==========================================================================
   Header & Navigation (Overlay directly on Hero Image)
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 32px 0 20px;
  pointer-events: auto;
  transition: var(--transition-smooth);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 3.5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--text-primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-trigger {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 4px;
}

.cart-trigger:hover {
  color: var(--text-primary);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: 0.3s;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 200;
  padding: 32px 24px;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.close-btn {
  font-size: 28px;
  line-height: 1;
  color: var(--text-secondary);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  font-size: 14px;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--text-primary);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Screen Preloader: Clean Coffee Cup & Progress Bar
   ========================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  background-color: #F7F3E6;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s ease;
}

.site-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.coffee-loader-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 260px;
}

.loader-cup-wrap {
  width: 66px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cupLiquidWaveMotion 2.2s ease-in-out infinite;
}

.loader-cup-img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  outline: none;
  box-shadow: none;
  filter: none;
}

/* Organic Liquid Wave & Sloshing Motion */
@keyframes cupLiquidWaveMotion {
  0% {
    transform: translateY(0) rotate(0deg) scale(1, 1);
  }

  25% {
    transform: translateY(-3px) rotate(-1.8deg) scale(0.99, 1.02);
  }

  50% {
    transform: translateY(-6px) rotate(1.2deg) scale(1.015, 0.985);
  }

  75% {
    transform: translateY(-3px) rotate(-1deg) scale(0.99, 1.015);
  }

  100% {
    transform: translateY(0) rotate(0deg) scale(1, 1);
  }
}

/* Borderless Horizontal Progress Bar Track & Fill */
.loader-progress-track {
  width: 260px;
  height: 4px;
  border: none;
  border-radius: 4px;
  background: rgba(191, 99, 24, 0.15);
  overflow: hidden;
}

.loader-progress-fill {
  height: 100%;
  width: 0%;
  background: #BF6318;
  border-radius: 4px;
  transition: width 0.05s linear;
}

/* ==========================================================================
   Section 1: Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  box-sizing: border-box;
  margin-bottom: 0px;
}

/* Hero Background Image - Full bleed with clean square edges (no border radius) */
.hero-bg-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  box-shadow: none;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Brand Watermark Typography Centered in Mountains in Hero */
.hero-mountain-brand-text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  width: 72%;
  max-width: 980px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  mix-blend-mode: multiply;
  will-change: transform, opacity;
  transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1), transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-mountain-brand-text.is-visible {
  opacity: 0.72;
  transform: translate(-50%, -50%) scale(1);
}

.hero-brand-text-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Centered Scroll to Begin Indicator below Pouches */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 30;
  color: #24231F;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.hero-scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(3px);
}

.scroll-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #24231F;
}

.scroll-arrow-icon {
  stroke: #24231F;
  animation: scrollBounce 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 240px;
  background: linear-gradient(180deg, transparent 0%, rgba(247, 243, 230, 0.35) 40%, rgba(247, 243, 230, 0.85) 80%, #F7F3E6 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(247, 243, 230, 0.05) 0%, transparent 25%, transparent 55%, rgba(247, 243, 230, 0.4) 80%, rgba(247, 243, 230, 0.88) 95%, #F7F3E6 100%);
  pointer-events: none;
}

/* ==========================================================================
   Global Minimal Luxury Falling Coffee Beans Across All Sections
   ========================================================================== */
.global-falling-beans-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 12;
}

.falling-bean {
  position: absolute;
  top: -50px;
  pointer-events: none;
  will-change: transform, opacity;
}

.bean-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(36, 35, 31, 0.32));
}

.falling-bean.bean-1 {
  left: 5%;
  width: 22px;
  animation: fallDriftSlow 14s cubic-bezier(0.3, 0, 0.7, 1) infinite;
}

.falling-bean.bean-2 {
  left: 14%;
  width: 30px;
  animation: fallDriftSway 18s cubic-bezier(0.3, 0, 0.7, 1) infinite 3s;
}

.falling-bean.bean-3 {
  left: 23%;
  width: 18px;
  animation: fallDriftSlow 22s cubic-bezier(0.3, 0, 0.7, 1) infinite 7.5s;
  opacity: 0.75;
}

.falling-bean.bean-4 {
  left: 33%;
  width: 26px;
  animation: fallDriftSway 16s cubic-bezier(0.3, 0, 0.7, 1) infinite 11s;
}

.falling-bean.bean-5 {
  left: 44%;
  width: 20px;
  animation: fallDriftSlow 20s cubic-bezier(0.3, 0, 0.7, 1) infinite 2s;
  opacity: 0.8;
}

.falling-bean.bean-6 {
  left: 55%;
  width: 28px;
  animation: fallDriftSway 17s cubic-bezier(0.3, 0, 0.7, 1) infinite 9s;
}

.falling-bean.bean-7 {
  left: 66%;
  width: 24px;
  animation: fallDriftSlow 19s cubic-bezier(0.3, 0, 0.7, 1) infinite 4.5s;
}

.falling-bean.bean-8 {
  left: 75%;
  width: 32px;
  animation: fallDriftSway 23s cubic-bezier(0.3, 0, 0.7, 1) infinite 13s;
}

.falling-bean.bean-9 {
  left: 84%;
  width: 19px;
  animation: fallDriftSlow 15s cubic-bezier(0.3, 0, 0.7, 1) infinite 6s;
  opacity: 0.8;
}

.falling-bean.bean-10 {
  left: 92%;
  width: 27px;
  animation: fallDriftSway 21s cubic-bezier(0.3, 0, 0.7, 1) infinite 1s;
}

.falling-bean.bean-11 {
  left: 10%;
  width: 25px;
  animation: fallDriftSlow 25s cubic-bezier(0.3, 0, 0.7, 1) infinite 15s;
}

.falling-bean.bean-12 {
  left: 60%;
  width: 21px;
  animation: fallDriftSway 24s cubic-bezier(0.3, 0, 0.7, 1) infinite 17s;
  opacity: 0.78;
}

@keyframes fallDriftSlow {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(0.88);
    opacity: 0;
  }

  10% {
    opacity: 0.85;
  }

  50% {
    transform: translateY(55vh) translateX(18px) rotate(180deg) scale(1);
    opacity: 0.85;
  }

  85% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(115vh) translateX(-12px) rotate(360deg) scale(0.92);
    opacity: 0;
  }
}

@keyframes fallDriftSway {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(0.85);
    opacity: 0;
  }

  10% {
    opacity: 0.85;
  }

  50% {
    transform: translateY(55vh) translateX(-20px) rotate(-160deg) scale(1.02);
    opacity: 0.85;
  }

  85% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(115vh) translateX(16px) rotate(-340deg) scale(0.9);
    opacity: 0;
  }
}

.hero-container-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  position: relative;
  z-index: 5;
}

.hero-content-aligned {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 64px;
  position: relative;
  z-index: 10;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111110;
  margin-bottom: 12px;
  opacity: 1;
}

.hero-title-single {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1.05;
  font-weight: 400;
  color: #111110;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  text-align: left;
  opacity: 1;
}

.hero-brand-inline {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111110;
}

.hero-subtitle-single {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  color: #111110;
  font-weight: 500;
  font-style: italic;
  max-width: 100%;
  white-space: nowrap;
  text-align: left;
  opacity: 1;
}

/* ==========================================================================
   Section 2: Products Showcase & Scroll-Landing Pouches
   ========================================================================== */
.products-section {
  padding: 80px 0 110px;
  position: relative;
  overflow: visible;
  z-index: 25;
}

.products-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
  z-index: 25;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3.2vw, 48px);
  width: 100%;
  overflow: visible;
  z-index: 25;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: visible;
  z-index: 25;
}

.card-arch-frame {
  width: 100%;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  z-index: 25;
}

/* Scroll-Landing Flavor Pouches: Primary Product Focal Point Centered in Map Silhouettes */
.scroll-landing-pouch-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
  max-width: 185px;
  z-index: 50;
  pointer-events: auto;
  cursor: pointer;
  will-change: transform;
}

.scroll-landing-pouch-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 36px rgba(18, 16, 12, 0.44)) drop-shadow(0 6px 14px rgba(18, 16, 12, 0.25));
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

/* Tactile Spring Pop-Up Animation on Hover: Product Pops to Front */
.product-card:hover .scroll-landing-pouch-img,
.scroll-landing-pouch-wrap:hover .scroll-landing-pouch-img {
  transform: translateY(-14px) scale(1.15) rotate(-1.5deg);
  filter: drop-shadow(0 34px 50px rgba(18, 16, 12, 0.58)) drop-shadow(0 12px 24px rgba(18, 16, 12, 0.38));
}

/* Precise Pouch Alignments on Map Silhouettes - Dead Centered */
.scroll-landing-pouch-wrap[data-pouch="ethiopia"],
.scroll-landing-pouch-wrap[data-pouch="colombia"],
.scroll-landing-pouch-wrap[data-pouch="brazil"],
.scroll-landing-pouch-wrap[data-pouch="rwanda"] {
  top: 50%;
  left: 50%;
  bottom: auto;
}

.products-section.is-visible .product-card:nth-child(1) {
  transition-delay: 0.05s;
}

.products-section.is-visible .product-card:nth-child(2) {
  transition-delay: 0.18s;
}

.products-section.is-visible .product-card:nth-child(3) {
  transition-delay: 0.31s;
}

.products-section.is-visible .product-card:nth-child(4) {
  transition-delay: 0.44s;
}

.products-section.is-visible .product-card {
  opacity: 1;
  transform: translateY(0);
}

.card-arch-frame {
  width: 100%;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.card-arch-frame::before {
  content: '';
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  width: 82%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  filter: blur(28px);
  transition: opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1), transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Flavour-specific ambient glow auras */
.product-card[data-id="ethiopia"] .card-arch-frame::before {
  background: radial-gradient(circle, rgba(162, 172, 134, 0.7) 0%, rgba(162, 172, 134, 0) 72%);
}

.product-card[data-id="colombia"] .card-arch-frame::before {
  background: radial-gradient(circle, rgba(214, 107, 72, 0.7) 0%, rgba(214, 107, 72, 0) 72%);
}

.product-card[data-id="brazil"] .card-arch-frame::before {
  background: radial-gradient(circle, rgba(214, 168, 79, 0.7) 0%, rgba(214, 168, 79, 0) 72%);
}

.product-card[data-id="rwanda"] .card-arch-frame::before {
  background: radial-gradient(circle, rgba(165, 136, 191, 0.7) 0%, rgba(165, 136, 191, 0) 72%);
}

.product-card:hover .card-arch-frame::before {
  opacity: 1;
  transform: translateX(-50%) scale(1.18);
}

/* Soft, Elegant Map Silhouette Backdrop - Keeps Product Pouch as 100% Primary Focus */
.card-bg-wrap {
  width: 86%;
  max-width: 275px;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 2;
  opacity: 0.72;
  filter: drop-shadow(0 8px 20px rgba(36, 35, 31, 0.08)) contrast(0.98) saturate(0.95);
  transition: filter 0.45s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, transform 0.4s ease;
}

/* Flavour-Specific Map Silhouette Highlights on Hover */
.product-card[data-id="ethiopia"]:hover .card-bg-wrap {
  opacity: 0.90;
  transform: scale(1.02);
  filter: drop-shadow(0 0 2px #5E7134) drop-shadow(0 0 14px rgba(94, 113, 52, 0.65)) contrast(1.02) saturate(1.05);
}

.product-card[data-id="colombia"]:hover .card-bg-wrap {
  opacity: 0.90;
  transform: scale(1.02);
  filter: drop-shadow(0 0 2px #C04A22) drop-shadow(0 0 14px rgba(192, 74, 34, 0.65)) contrast(1.02) saturate(1.05);
}

.product-card[data-id="brazil"]:hover .card-bg-wrap {
  opacity: 0.90;
  transform: scale(1.02);
  filter: drop-shadow(0 0 2px #A36B18) drop-shadow(0 0 14px rgba(163, 107, 24, 0.65)) contrast(1.02) saturate(1.05);
}

.product-card[data-id="rwanda"]:hover .card-bg-wrap {
  opacity: 0.90;
  transform: scale(1.02);
  filter: drop-shadow(0 0 2px #79488D) drop-shadow(0 0 14px rgba(121, 72, 141, 0.65)) contrast(1.02) saturate(1.05);
}

.card-bg-img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.card-flavour-wrap {
  position: absolute;
  bottom: 13%;
  left: 50%;
  transform: translateX(-50%);
  width: 32.5%;
  z-index: 4;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-flavour-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16));
  transition: filter 0.45s ease;
}

.product-card:hover .card-flavour-wrap {
  transform: translateX(-50%) translateY(-26px) scale(1.06);
}

.product-card:hover .card-flavour-img {
  filter: drop-shadow(0 26px 36px rgba(0, 0, 0, 0.32));
}

.card-info {
  width: 100%;
}

.product-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 2px;
  transition: color 0.3s ease;
}

.product-estate {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

/* Flavour-Specific Hover Heading Colors for Products */
.product-card[data-id="ethiopia"]:hover .product-name {
  color: #5E7134;
}

.product-card[data-id="colombia"]:hover .product-name {
  color: #C04A22;
}

.product-card[data-id="brazil"]:hover .product-name {
  color: #A36B18;
}

.product-card[data-id="rwanda"]:hover .product-name {
  color: #79488D;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.stars {
  color: var(--accent-gold);
  font-size: 11px;
  letter-spacing: 2px;
}

.rating-val {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
}

.price-row {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.weight-select-wrapper {
  position: relative;
}

.weight-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml;utf8,<svg fill='%2324231F' height='10' viewBox='0 0 24 24' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 8px center;
  border: 1px solid rgba(36, 35, 31, 0.28);
  border-radius: 4px;
  padding: 7px 26px 7px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.weight-select:hover,
.weight-select:focus {
  border-color: var(--text-primary);
  background-color: rgba(36, 35, 31, 0.04);
  outline: none;
}

.btn-add-cart {
  background-color: var(--btn-black);
  color: var(--bg-primary);
  border: 1px solid var(--btn-black);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--font-sans);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

.btn-add-cart:hover {
  background-color: var(--btn-hover);
  border-color: var(--btn-hover);
  transform: translateY(-1px);
}

.btn-add-cart:active {
  transform: translateY(0);
}

.cart-icon {
  stroke: var(--bg-primary);
}

.slider-next-btn {
  position: absolute;
  right: -48px;
  top: 35%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-primary);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(36, 35, 31, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  z-index: 10;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.products-section.is-visible .slider-next-btn {
  opacity: 1;
}

.slider-next-btn:hover {
  background: var(--bg-primary);
  border-color: var(--text-primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
}

/* ==========================================================================
   Section 3: Origin Deep Dive Showcase
   ========================================================================== */
.origin-deep-dive {
  padding: 35px 0 100px;
  border-top: 0px solid var(--border-light);
}

.origin-header {
  text-align: left;
  max-width: 1000px;
  margin: 0 0 32px 0;
}

.origin-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.0;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.origin-subhead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 680px;
}

/* Tabs */
.origin-tabs-wrapper {
  margin-bottom: 50px;
  overflow-x: auto;
  scrollbar-width: none;
}

.origin-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.origin-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  min-width: 760px;
}

.origin-tab {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.origin-tab .tab-title {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  margin-bottom: 2px;
  transition: color 0.3s ease;
}

.origin-tab .tab-sub {
  display: block;
  font-size: 12px;
  color: inherit;
  font-weight: 400;
  transition: color 0.3s ease;
}

/* Flavour-Specific Active Tab Colors */
.origin-tab[data-origin="ethiopia"].active {
  border-bottom-color: #5E7134;
  color: #5E7134;
}

.origin-tab[data-origin="colombia"].active {
  border-bottom-color: #C04A22;
  color: #C04A22;
}

.origin-tab[data-origin="brazil"].active {
  border-bottom-color: #A36B18;
  color: #A36B18;
}

.origin-tab[data-origin="indonesia"].active {
  border-bottom-color: #385E43;
  color: #385E43;
}

.origin-tab[data-origin="rwanda"].active {
  border-bottom-color: #79488D;
  color: #79488D;
}

/* Hover Accent */
.origin-tab[data-origin="ethiopia"]:hover {
  color: #5E7134;
}

.origin-tab[data-origin="colombia"]:hover {
  color: #C04A22;
}

.origin-tab[data-origin="brazil"]:hover {
  color: #A36B18;
}

.origin-tab[data-origin="indonesia"]:hover {
  color: #385E43;
}

.origin-tab[data-origin="rwanda"]:hover {
  color: #79488D;
}

/* Content 2-Column Grid */
.origin-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Single Origin Map Showcase */
.origin-media-showcase {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.origin-map-frame {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.origin-map-bg-wrap {
  width: 100%;
  max-width: 510px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.origin-detail-map-bg {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.75;
  filter: drop-shadow(0 12px 26px rgba(36, 35, 31, 0.10)) contrast(0.98) saturate(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Flavour-Specific Map Hover Strokes & Glowing Outlines */
.origin-map-frame[data-origin="ethiopia"]:hover .origin-detail-map-bg {
  opacity: 1;
  transform: scale(1.03);
  filter: drop-shadow(0 0 2px #5E7134) drop-shadow(0 0 16px rgba(94, 113, 52, 0.75)) drop-shadow(0 24px 48px rgba(36, 35, 31, 0.22)) contrast(1.06) saturate(1.12);
}

.origin-map-frame[data-origin="colombia"]:hover .origin-detail-map-bg {
  opacity: 1;
  transform: scale(1.03);
  filter: drop-shadow(0 0 2px #C04A22) drop-shadow(0 0 16px rgba(192, 74, 34, 0.75)) drop-shadow(0 24px 48px rgba(36, 35, 31, 0.22)) contrast(1.06) saturate(1.12);
}

.origin-map-frame[data-origin="brazil"]:hover .origin-detail-map-bg {
  opacity: 1;
  transform: scale(1.03);
  filter: drop-shadow(0 0 2px #A36B18) drop-shadow(0 0 16px rgba(163, 107, 24, 0.75)) drop-shadow(0 24px 48px rgba(36, 35, 31, 0.22)) contrast(1.06) saturate(1.12);
}

.origin-map-frame[data-origin="indonesia"]:hover .origin-detail-map-bg {
  opacity: 1;
  transform: scale(1.03);
  filter: drop-shadow(0 0 2px #385E43) drop-shadow(0 0 16px rgba(56, 94, 67, 0.75)) drop-shadow(0 24px 48px rgba(36, 35, 31, 0.22)) contrast(1.06) saturate(1.12);
}

.origin-map-frame[data-origin="rwanda"]:hover .origin-detail-map-bg {
  opacity: 1;
  transform: scale(1.03);
  filter: drop-shadow(0 0 2px #79488D) drop-shadow(0 0 16px rgba(121, 72, 141, 0.75)) drop-shadow(0 24px 48px rgba(36, 35, 31, 0.22)) contrast(1.06) saturate(1.12);
}

.origin-detail-pouch-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  max-width: 240px;
  z-index: 3;
  pointer-events: auto;
  cursor: pointer;
}

.origin-detail-pouch-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 36px rgba(28, 26, 22, 0.42)) drop-shadow(0 4px 10px rgba(28, 26, 22, 0.2));
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, filter 0.4s ease;
}

.origin-detail-pouch-wrap:hover .origin-detail-pouch-img,
.origin-map-frame:hover .origin-detail-pouch-img {
  transform: translateY(-14px) scale(1.14) rotate(-1.8deg);
  filter: drop-shadow(0 34px 52px rgba(28, 26, 22, 0.55)) drop-shadow(0 12px 26px rgba(28, 26, 22, 0.38));
}

/* Details Panel */
.origin-details-panel {
  display: flex;
  flex-direction: column;
}

.origin-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.05;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.origin-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 28px;
}

/* Tasting Notes Tags */
.tasting-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.tag-pill {
  background-color: var(--badge-bg);
  color: var(--text-primary);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
}

/* Meters */
.meters-container {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}

.meter-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meter-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dots-scale {
  display: flex;
  gap: 4px;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #D9D6CB;
}

.dot.filled {
  background: var(--text-primary);
}

/* Origin Buy Row */
.origin-buy-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.price-display {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-primary);
}

.actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.actions-group .btn-add-cart {
  padding: 9px 20px;
  font-size: 12px;
}

.actions-group .weight-select {
  padding: 8px 28px 8px 14px;
}

/* ==========================================================================
   Section 4: Philosophy Banner
   ========================================================================== */
/* ==========================================================================
   Section 4: Brand Philosophy (2-Column Editorial Split Card)
   ========================================================================== */
.philosophy-section {
  padding: 60px 0;
  width: 100%;
}

.philosophy-split-card {
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1.5px solid rgba(35, 32, 28, 0.22);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  box-shadow: 0 16px 36px rgba(28, 25, 20, 0.05);
  height: clamp(520px, 58vw, 676px);
}

.philosophy-text-col {
  padding: clamp(36px, 4.2vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  color: #23201C;
  height: 100%;
}

.philosophy-header-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  max-width: 580px;
  width: 100%;
}

.philosophy-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  font-weight: 400;
  color: #23201C;
  margin-bottom: 16px;
  text-align: left;
}

.philosophy-subhead {
  font-size: 15px;
  line-height: 1.58;
  color: rgba(35, 32, 28, 0.82);
  font-weight: 400;
  max-width: 100%;
  width: 100%;
  text-align: left;
}

.philosophy-pillars-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  border-top: 1px solid rgba(35, 32, 28, 0.14);
  padding-top: 24px;
  margin-top: auto;
  text-align: left;
}

.pillar-row-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: #C29B38;
  line-height: 1;
  margin-bottom: 2px;
}

.pillar-title-text {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #23201C;
  margin-bottom: 2px;
}

.pillar-desc-text {
  font-size: 12.5px;
  color: rgba(35, 32, 28, 0.72);
  line-height: 1.4;
}

.philosophy-image-col {
  padding: 0;
  height: 100%;
  align-self: stretch;
  display: flex;
}

.philosophy-framed-card {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border-radius: 0 24px 24px 0;
  overflow: hidden;
}

.philosophy-framed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 992px) {
  .philosophy-split-card {
    grid-template-columns: 1fr;
  }

  .philosophy-framed-card {
    min-height: 380px;
  }
}

.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.pillar-icon {
  width: 38px;
  height: 38px;
  stroke: rgba(255, 255, 255, 0.9);
}

.pillar-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Section 5: The Ritual (3 Steps)
   ========================================================================== */
.ritual-section {
  padding: 80px 0 100px;
}

.ritual-header {
  text-align: left;
  max-width: 1000px;
  margin: 0 0 40px 0;
}

.ritual-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.0;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.ritual-subhead {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 100%;
  width: 100%;
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ritual-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.ritual-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-secondary);
}

.ritual-video,
.ritual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
  pointer-events: none;
}

/* Sibling dimming when hovering over any card in the grid */
.ritual-grid:hover .ritual-card {
  opacity: 0.5;
  transform: scale(0.985);
}

/* Highlight and elevate the specific active hovered card */
.ritual-grid .ritual-card:hover {
  opacity: 1;
  transform: translateY(-8px) scale(1.02);
}

.ritual-card:hover .ritual-img-wrap {
  box-shadow: 0 20px 42px rgba(36, 35, 31, 0.16);
}

.ritual-card:hover .ritual-video,
.ritual-card:hover .ritual-img {
  transform: scale(1.05);
  filter: contrast(1.03) brightness(1.02);
}

.ritual-step {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: letter-spacing 0.3s ease, color 0.3s ease;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ritual-card:hover .step-num {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.ritual-card:hover .ritual-step {
  color: var(--text-primary);
  letter-spacing: 0.14em;
}

.ritual-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* ==========================================================================
   Section 6: Testimonials & Customer Reviews (Compact Dark Split Card)
   ========================================================================== */
.testimonial-section {
  padding: 60px 0;
  width: 100%;
}

.testimonial-split-card {
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1.5px solid rgba(35, 32, 28, 0.22);
  border-radius: 29px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  box-shadow: 0 16px 36px rgba(28, 25, 20, 0.05);
  height: clamp(520px, 58vw, 676px);
}

.testimonial-image-col {
  padding: 0;
  margin: 0;
  height: 67%;
  align-self: stretch;
  display: flex;
}

.testimonial-framed-card {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}

.testimonial-framed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.testimonial-text-col {
  padding: clamp(36px, 4.2vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  height: 100%;
  color: #23201C;
  padding-bottom: 300px;
}

.review-content-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  transition: opacity 0.35s ease, transform 0.35s ease;
  margin: 0;
  max-width: 580px;
  width: 100%;
}

.testimonial-text-col .stars {
  font-size: 18px;
  color: #C29B38;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
  display: block;
  text-align: left;
}

.testimonial-text-col .quote-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  font-weight: 400;
  color: #23201C;
  margin-bottom: 16px;
  text-align: left;
}

.testimonial-text-col .quote-subhead {
  font-size: 15px;
  line-height: 1.58;
  color: rgba(35, 32, 28, 0.82);
  font-weight: 400;
  margin-bottom: 28px;
  max-width: 100%;
  width: 100%;
  text-align: left;
}

.testimonial-text-col .quote-author-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.testimonial-text-col .author-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: #23201C;
  letter-spacing: 0.02em;
}

.author-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C29B38;
  background: rgba(194, 155, 56, 0.15);
  border: 1px solid rgba(194, 155, 56, 0.3);
  padding: 4px 10px;
  border-radius: 40px;
}

.review-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  border-top: 1px solid rgba(35, 32, 28, 0.14);
  padding-top: 24px;
  margin-top: auto;
}

.review-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #23201C;
  border: 1.5px solid #23201C;
  color: #FAF7EE;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(35, 32, 28, 0.18);
}

.review-next-btn:hover {
  background: #3B3630;
  border-color: #3B3630;
  color: #FFFFFF;
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(35, 32, 28, 0.28);
}

.author-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C29B38;
  background: rgba(194, 155, 56, 0.15);
  border: 1px solid rgba(194, 155, 56, 0.3);
  padding: 4px 10px;
  border-radius: 40px;
}

.review-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 1px solid rgba(249, 246, 238, 0.12);
  margin-top: 24px;
}

.review-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(249, 246, 238, 0.08);
  border: 1px solid rgba(249, 246, 238, 0.2);
  color: #F9F6EE;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-next-btn:hover {
  background: #C29B38;
  border-color: #C29B38;
  color: #1E1C18;
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .testimonial-split-card {
    grid-template-columns: 1fr;
  }

  .testimonial-framed-card {
    border-radius: 24px 24px 0 0;
    min-height: 380px;
  }
}

/* ==========================================================================
   Section 7: Recipe / About Banner CTA
   ========================================================================== */
.recipe-banner-section {
  padding: 60px 0 0;
  width: 100%;
}

.recipe-banner-card {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  height: 812px;
  min-height: 680px;
  display: flex;
}

.recipe-banner-card .banner-full-video,
.recipe-banner-card .banner-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.recipe-content-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 18, 14, 0.68) 0%, rgba(20, 18, 14, 0.32) 55%, transparent 100%);
  padding: 64px 0;
  display: flex;
  align-items: center;
  color: #FFFFFF;
}

.recipe-inner-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.recipe-overlay-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 16px;
  max-width: 580px;
}

.recipe-overlay-subhead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  max-width: 860px;
  margin-bottom: 32px;
}

.banner-cta-overlay-btn {
  background-color: #23201C;
  color: #FAF7EE;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 13px 26px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.banner-cta-overlay-btn:hover {
  background-color: #3B3630;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

/* ==========================================================================
   Section 8: Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 72px 0 88px;
  background-color: var(--bg-primary);
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-nav-list {
  display: flex;
  list-style: none;
  gap: 40px;
}

.footer-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--text-primary);
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.social-icon-btn:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Slide-out Cart Drawer
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 24, 22, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.cart-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 999;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.cart-drawer.open {
  right: 0;
}

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

.cart-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
}

.cart-close-btn {
  font-size: 24px;
  line-height: 1;
  color: var(--text-secondary);
}

.cart-close-btn:hover {
  color: var(--text-primary);
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-empty-msg {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.cart-empty-msg p {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cart-empty-msg span {
  font-size: 13px;
}

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

.cart-item-img {
  width: 75px;
  height: 95px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(35, 32, 28, 0.05);
  padding: 4px;
}

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

.cart-item-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cart-item-weight {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 500;
}

.cart-item-ctrls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-primary);
}

.qty-val {
  font-size: 12px;
  font-weight: 500;
}

.remove-btn {
  color: var(--text-muted);
  font-size: 16px;
  margin-left: 6px;
}

.remove-btn:hover {
  color: #B23B3B;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-primary);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.cart-shipping-note {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.btn-checkout {
  width: 100%;
  background: var(--btn-black);
  color: var(--bg-primary);
  padding: 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-checkout:hover {
  background: var(--btn-hover);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--btn-black);
  color: var(--bg-primary);
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  z-index: 1000;
  box-shadow: var(--shadow-float);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Large & Ultrawide Responsive Screens (1440px, 1680px, 1920px+)
   ========================================================================== */
@media (min-width: 1440px) {
  .hero-section {
    min-height: 100vh;
    padding: 130px 0 70px;
  }

  .mosaic-main {
    height: 460px;
  }

  .mosaic-thumbs img {
    height: 200px;
  }
}

@media (min-width: 1800px) {
  :root {
    --container-width: 1620px;
  }

  .hero-section {
    min-height: 96vh;
    padding: 150px 0 80px;
  }

  .hero-title-single {
    font-size: 76px;
  }

  .hero-subtitle-single {
    font-size: 22px;
  }

  .mosaic-main {
    height: 520px;
  }

  .mosaic-thumbs img {
    height: 230px;
  }

  .origin-headline {
    font-size: 42px;
  }
}

/* ==========================================================================
   Responsive Breakpoints (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1380px) {

  .slider-next-btn,
  .carousel-arrow-float {
    right: 0px;
  }
}

@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .origin-content-grid {
    gap: 36px;
  }

  .testimonial-dual-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-quote-box {
    border-radius: 14px 14px 0 0;
  }

  .lifestyle-photo-box {
    border-radius: 0 0 14px 14px;
  }
}

@media (max-width: 860px) {
  .header-container {
    padding: 0 24px;
  }

  .main-nav {
    display: none;
  }

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

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin: 0 auto;
  }

  .origin-content-grid {
    grid-template-columns: 1fr;
  }

  .origin-details-panel {
    padding-left: 0;
  }

  .ritual-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
}

@media (max-width: 580px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .dashed-inner-border {
    padding: 32px 20px;
  }

  .meters-container {
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-around;
  }

  .origin-buy-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .actions-group {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Preloader: Liquid Coffee Wave Flow & Overflow Steam Animation
   ========================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  background-color: #FAF7EE;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.75s ease;
}

.site-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.coffee-loader-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.loader-cup-wrap {
  position: relative;
  width: 80px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-cup-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 6px 16px rgba(40, 30, 20, 0.14));
}

.svg-wave-path {
  animation: svgWaveMotion 2.8s ease-in-out infinite alternate;
}

.svg-wave-path.wave-2 {
  animation: svgWaveMotion 2.2s ease-in-out infinite alternate-reverse;
}

@keyframes svgWaveMotion {
  0% {
    transform: translateX(-4px) translateY(0);
  }

  100% {
    transform: translateX(4px) translateY(-2px);
  }
}

/* Steam Vapor Rising Out of Cup */
.loader-steam-container {
  position: absolute;
  top: -16px;
  left: 14px;
  width: 40px;
  height: 24px;
  pointer-events: none;
  z-index: 20;
}

.steam-line {
  position: absolute;
  bottom: 0;
  width: 2.5px;
  height: 16px;
  background: linear-gradient(180deg, transparent, rgba(168, 90, 42, 0.45), transparent);
  border-radius: 50%;
  filter: blur(1px);
  animation: steamRise 1.8s ease-in-out infinite;
}

.steam-1 {
  left: 6px;
  animation-delay: 0s;
}

.steam-2 {
  left: 16px;
  animation-delay: 0.4s;
}

.steam-3 {
  left: 26px;
  animation-delay: 0.8s;
}

@keyframes steamRise {
  0% {
    transform: translateY(4px) scaleX(1);
    opacity: 0;
  }

  40% {
    opacity: 0.8;
    transform: translateY(-10px) scaleX(2);
  }

  100% {
    transform: translateY(-22px) scaleX(1.2);
    opacity: 0;
  }
}

/* ==========================================================================
   Smooth Scroll Reveal Animations Across All Sections
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}