/* ==========================================================================
   SEVEN SEEDS COFFEE ROASTERS — MODERN, TIDY & LUXURY STOREFRONT
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette: Warm Specialty Coffee Elegance */
  --color-bg: #FAF8F5;
  --color-bg-alt: #F4EFEB;
  --color-surface: #FFFFFF;
  --color-surface-trans: rgba(255, 255, 255, 0.85);
  
  --color-espresso: #14110F;
  --color-charcoal: #231F1D;
  --color-text: #37312C;
  --color-muted: #7A726A;
  --color-border: #E8E2D9;
  --color-border-warm: #DDD5C9;
  --color-border-dark: #C9BFB2;

  /* Specialty Accent Tones */
  --color-terracotta: #A45A38;
  --color-terracotta-hover: #8D4B2C;
  --color-amber: #C98A4B;
  --color-gold: #D4A359;
  --color-forest: #1F3F30;
  --color-forest-light: #2E5A45;
  --color-mist-ice: #F7F5F0;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-neon: 'Orbitron', sans-serif;

  /* Shadows & Elevation */
  --shadow-sm: 0 2px 8px rgba(20, 17, 15, 0.04);
  --shadow-md: 0 6px 18px rgba(20, 17, 15, 0.08);
  --shadow-lg: 0 16px 36px rgba(20, 17, 15, 0.12);
  --shadow-glow: 0 12px 32px rgba(164, 90, 56, 0.22);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

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

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5.5rem 0;
}

/* Eyebrow & Badges */
.carousel-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(164, 90, 56, 0.08);
  color: var(--color-terracotta);
  border: 1px solid rgba(164, 90, 56, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.carousel-eyebrow-pill i {
  font-size: 0.7rem;
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-espresso);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-espresso);
  color: #FFFFFF;
  border: 1px solid var(--color-espresso);
}

.btn-primary:hover {
  background-color: var(--color-terracotta);
  border-color: var(--color-terracotta);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--color-espresso);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-terracotta {
  background: var(--color-terracotta);
  color: #FFFFFF;
  border: 1px solid var(--color-terracotta);
}

.btn-terracotta:hover {
  background: var(--color-terracotta-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background-color: var(--color-espresso);
  color: #EDE8E1;
  font-size: 0.78rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 500;
}

.announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.announcement-item i {
  color: var(--color-gold);
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.currency-select-wrap select {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.currency-select-wrap select option {
  background: var(--color-espresso);
  color: #FFFFFF;
}

/* ==========================================================================
   2. LUXURY STICKY HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(20, 17, 15, 0.1);
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  padding: 2px;
}

.brand-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-espresso);
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-top: 2px;
}

/* Desktop Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-charcoal);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-terracotta);
  transition: width var(--transition-normal);
}

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

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

.nav-badge-pill {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  background: var(--color-forest);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  margin-left: 0.35rem;
  font-weight: 700;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  position: relative;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.action-btn:hover {
  background: var(--color-terracotta);
  color: #FFFFFF;
  border-color: var(--color-terracotta);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(164, 90, 56, 0.25);
}

.action-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-terracotta);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 19px;
  height: 19px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

.mobile-menu-toggle {
  display: none;
}

/* ==========================================================================
   3. CINEMATIC HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  background: linear-gradient(180deg, rgba(244, 239, 235, 0.7) 0%, rgba(250, 248, 245, 1) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-charcoal);
  box-shadow: var(--shadow-sm);
}

.hero-tag i {
  color: var(--color-gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.6rem;
  line-height: 1.12;
  color: var(--color-espresso);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-terracotta);
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 580px;
  margin-bottom: 2.25rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border-warm);
  max-width: 540px;
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-espresso);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

/* Hero Showcase Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-showcase {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgba(20, 17, 15, 0.12);
  position: relative;
  max-width: 420px;
  width: 100%;
}

.hero-img-wrap {
  width: 100%;
  height: 340px;
  background: var(--color-mist-ice);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-img-wrap img {
  max-height: 290px;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.hero-card-showcase:hover .hero-img-wrap img {
  transform: scale(1.05) translateY(-5px);
}

.hero-float-pill {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.1rem;
  box-shadow: 0 8px 24px rgba(20, 17, 15, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-espresso);
  z-index: 3;
}

.pill-top-right {
  top: 15px;
  right: -20px;
  animation: floatSlow 4s ease-in-out infinite;
}

.pill-bottom-left {
  bottom: 30px;
  left: -25px;
  animation: floatSlow 4s ease-in-out infinite 2s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-showcase-info {
  margin-top: 1.5rem;
}

.hero-showcase-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-espresso);
  margin-bottom: 0.35rem;
}

.hero-notes-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.note-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  color: var(--color-charcoal);
}

.hero-price-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--color-border);
}

.hero-price-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-espresso);
}

/* ==========================================================================
   4. INTERACTIVE COFFEE ROAST QUIZ STRIP
   ========================================================================== */
.quiz-strip-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 0;
}

.quiz-card-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-warm);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 3rem;
}

.quiz-info h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--color-espresso);
  margin-bottom: 0.65rem;
}

.quiz-info p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.quiz-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quiz-question-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.quiz-options-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quiz-chip {
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quiz-chip:hover {
  border-color: var(--color-terracotta);
}

.quiz-chip.active {
  background: var(--color-terracotta);
  color: #FFFFFF;
  border-color: var(--color-terracotta);
  box-shadow: 0 4px 12px rgba(164, 90, 56, 0.3);
}

.quiz-result-recommendation {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

/* ==========================================================================
   5. BEST SELLERS 3D CONCAVE RIBBON CAROUSEL (EXACT AQWAKE IMPLEMENTATION)
   ========================================================================== */
.bestsellers-section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
  padding: 5rem 0 6rem;
}

.bestsellers-3d-stage-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1150px;
  perspective-origin: 50% 50%;
  overflow: visible;
  user-select: none;
  touch-action: pan-y;
}

/* Flanking Stage Nav Arrows */
.bestsellers-3d-stage-wrap .stage-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 24px rgba(20, 17, 15, 0.12);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bestsellers-3d-stage-wrap .stage-nav-arrow.arrow-left {
  left: -10px;
}

.bestsellers-3d-stage-wrap .stage-nav-arrow.arrow-right {
  right: -10px;
}

@media (min-width: 1280px) {
  .bestsellers-3d-stage-wrap .stage-nav-arrow.arrow-left {
    left: -24px;
  }
  .bestsellers-3d-stage-wrap .stage-nav-arrow.arrow-right {
    right: -24px;
  }
}

.bestsellers-3d-stage-wrap .stage-nav-arrow:hover {
  background: var(--color-terracotta);
  color: #FFFFFF;
  border-color: var(--color-terracotta);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 28px rgba(164, 90, 56, 0.35);
}

.bestsellers-3d-stage-wrap .stage-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* 3D Ring Stage */
.bestsellers-3d-ring {
  position: relative;
  width: 100%;
  min-height: 490px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  user-select: none;
}

/* Product Card in 3D Stage */
.bestsellers-3d-ring .product-card {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  margin-top: -240px !important;
  margin-left: -135px !important;
  transform-origin: center center !important;
  width: 270px !important;
  min-height: 480px;
  height: 480px;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 30px rgba(20, 17, 15, 0.08);
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), 
              opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 0.35s ease, 
              border-color 0.35s ease;
  will-change: transform, opacity;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.bestsellers-3d-ring .product-card:hover {
  border-color: var(--color-terracotta);
}

/* Center Highlight Card — Front & Prominent */
.bestsellers-3d-ring .product-card.card-center {
  border: 2px solid var(--color-terracotta);
  box-shadow: 0 24px 50px rgba(20, 17, 15, 0.18), 0 0 0 1px rgba(164, 90, 56, 0.35);
}

/* Media Wrap */
.bestsellers-3d-ring .product-card .card-media-wrap {
  height: 220px;
  position: relative;
  background-color: var(--color-mist-ice);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.card-img-primary {
  max-height: 190px;
  max-width: 90%;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

.product-card:hover .card-img-primary {
  transform: scale(1.06);
}

/* Product Badges */
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  z-index: 5;
  background: var(--color-espresso);
  color: #FFFFFF;
}

.card-badge.badge-best {
  background: var(--color-terracotta);
  color: #FFFFFF;
}

.card-badge.badge-compostable {
  background: var(--color-forest);
  color: #FFFFFF;
}

.card-badge.badge-filter {
  background: var(--color-gold);
  color: var(--color-espresso);
}

/* Wishlist Button */
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 5;
  transition: all var(--transition-fast);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.wishlist-btn:hover,
.wishlist-btn.active {
  background: #FFFFFF;
  color: #E63946;
  transform: scale(1.12);
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.2);
}

/* Quick Actions Overlay */
.card-quick-actions {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 0.45rem;
  z-index: 6;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-normal);
}

.product-card:hover .card-quick-actions,
.product-card.card-center .card-quick-actions {
  opacity: 1;
  transform: translateY(0);
}

.card-quick-view-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  color: var(--color-espresso);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.card-quick-view-btn:hover {
  background: var(--color-espresso);
  color: #FFFFFF;
}

.card-quick-add-btn {
  width: 36px;
  height: 36px;
  background: var(--color-terracotta);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.card-quick-add-btn:hover {
  background: var(--color-terracotta-hover);
  transform: scale(1.08);
}

/* Card Body */
.bestsellers-3d-ring .product-card .card-body {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #FFFFFF;
  justify-content: space-between;
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.card-category {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-rating {
  font-size: 0.72rem;
  color: var(--color-amber);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-rating span {
  color: var(--color-muted);
  font-size: 0.68rem;
}

.bestsellers-3d-ring .product-card .card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-espresso);
  line-height: 1.3;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
}

.card-tasting-notes {
  font-size: 0.74rem;
  color: var(--color-muted);
  line-height: 1.4;
  margin-bottom: 0.65rem;
  min-height: 2.1rem;
}

.card-grind-swatches {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.grind-tag {
  font-size: 0.65rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  color: var(--color-charcoal);
  font-weight: 600;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--color-border);
}

.card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-espresso);
}

.card-compare-price {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: line-through;
}

/* Indicators */
.carousel-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.25rem;
}

.carousel-indicator-dot {
  height: 8px;
  width: 8px;
  border-radius: var(--radius-full);
  background: var(--color-border-dark);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.carousel-indicator-dot.active {
  width: 32px;
  background: var(--color-terracotta);
  box-shadow: 0 2px 6px rgba(164, 90, 56, 0.4);
}

/* ==========================================================================
   6. COFFEE SUBSCRIPTION BUILDER WIDGET
   ========================================================================== */
.subscription-section {
  background: var(--color-bg-alt);
  padding: 5.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.sub-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.sub-config-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.65rem;
}

.sub-config-group {
  margin-bottom: 1.75rem;
}

.sub-options-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.65rem;
}

.sub-choice-card {
  padding: 0.85rem 0.65rem;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sub-choice-card:hover {
  border-color: var(--color-terracotta);
}

.sub-choice-card.active {
  border-color: var(--color-terracotta);
  background: rgba(164, 90, 56, 0.06);
  color: var(--color-terracotta);
  font-weight: 700;
}

.sub-choice-title {
  font-size: 0.88rem;
  font-weight: 600;
}

.sub-choice-sub {
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-top: 2px;
}

.sub-summary-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  margin-top: 1.25rem;
}

.sub-price-calc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.sub-total-val {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-espresso);
}

/* ==========================================================================
   8. VENUES & CAFES (CARLTON, BBB, TRAVELLER, SUBURBIA)
   ========================================================================== */
.venues-section {
  padding: 5.5rem 0;
  background: var(--color-bg);
}

.venues-tabs {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.venue-tab-btn {
  padding: 0.65rem 1.45rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.venue-tab-btn:hover {
  border-color: var(--color-terracotta);
}

.venue-tab-btn.active {
  background: var(--color-forest);
  color: #FFFFFF;
  border-color: var(--color-forest);
}

.venue-panel {
  display: none;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.venue-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: fadeIn 0.4s ease;
}

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

.venue-image-wrap {
  height: 100%;
  min-height: 400px;
  background: #111;
  overflow: hidden;
}

.venue-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.venue-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-terracotta);
  margin-bottom: 0.5rem;
}

.venue-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--color-espresso);
  margin-bottom: 1rem;
}

.venue-desc {
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.venue-detail-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.venue-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.venue-detail-item i {
  color: var(--color-gold);
  margin-top: 4px;
}

/* ==========================================================================
   9. TRANSPARENCY & IMPACT (FY25/26 REPORT)
   ========================================================================== */
.impact-section {
  background: var(--color-forest);
  color: #EDE8E1;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.impact-header h2 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.impact-header p {
  color: #B5C9BE;
  font-size: 1.05rem;
  max-width: 680px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.impact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(10px);
}

.impact-card i {
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.impact-card h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
}

.impact-card p {
  color: #B5C9BE;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   10. MODALS & DRAWERS (QUICK VIEW & CART)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 15, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  animation: modalScale 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-espresso);
  color: #FFFFFF;
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.modal-media {
  background: var(--color-mist-ice);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-info {
  padding: 3rem;
}

/* Cart Slide-out Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 15, 0.6);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
}

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

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

.cart-header h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-espresso);
}

.cart-free-shipping-bar {
  padding: 1rem 1.5rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.shipping-bar-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.shipping-bar-track {
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  overflow: hidden;
}

.shipping-bar-fill {
  height: 100%;
  background: var(--color-forest);
  width: 60%;
  transition: width 0.4s ease;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.cart-item-img {
  width: 75px;
  height: 75px;
  background: var(--color-mist-ice);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  object-fit: contain;
}

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

.cart-item-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-espresso);
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 2px 0 6px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.45rem;
}

.cart-qty-ctrl button {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-charcoal);
}

.cart-qty-ctrl span {
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cart-subtotal-row span {
  font-size: 0.92rem;
  color: var(--color-muted);
}

.cart-subtotal-row strong {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-espresso);
}

/* ==========================================================================
   11. FOOTER & THE EXACT "CREATED BY SYSTECT" CREDIT (FROM AQWAKE.CO.ZA)
   ========================================================================== */
.site-footer {
  background: #110E0C;
  color: #EDE8E1;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand-col p {
  color: #9C948B;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 1.25rem 0 1.75rem;
  max-width: 320px;
}

.footer-socials {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.social-label {
  font-size: 0.74rem;
  color: #9C948B;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  animation: socialWave var(--bd, 4s) ease-in-out infinite var(--bdy, 0s);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, filter 0.35s, opacity 0.3s;
  will-change: transform;
}

.footer-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  transition: transform 0.25s ease;
}

/* Neon Colors Matching www.systect.co.za */
.footer-icon-btn.facebook {
  background: #1877F2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.footer-icon-btn.instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.45);
}

.footer-icon-btn.tiktok {
  background: #010101;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 14px rgba(105, 201, 208, 0.35);
}

.footer-icon-btn.youtube {
  background: #FF0000;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.45);
}

.footer-icon-btn.x-twitter {
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.footer-icon-btn.linkedin {
  background: #0A66C2;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.45);
}

/* Hover States & Neon Glow Radiance */
.footer-icon-btn:hover {
  transform: translateY(-8px) scale(1.15) !important;
  filter: brightness(1.18);
  z-index: 2;
}

.footer-icon-btn:hover svg {
  transform: scale(1.12);
}

.footer-icon-btn.facebook:hover {
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.75), 0 0 20px rgba(24, 119, 242, 0.6);
}

.footer-icon-btn.instagram:hover {
  box-shadow: 0 8px 24px rgba(220, 39, 67, 0.75), 0 0 20px rgba(204, 35, 102, 0.6);
}

.footer-icon-btn.tiktok:hover {
  box-shadow: 0 8px 24px rgba(105, 201, 208, 0.65), 0 0 20px rgba(255, 0, 79, 0.6);
}

.footer-icon-btn.youtube:hover {
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.75), 0 0 20px rgba(255, 0, 0, 0.6);
}

.footer-icon-btn.x-twitter:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.45), 0 0 20px rgba(255, 255, 255, 0.3);
}

.footer-icon-btn.linkedin:hover {
  box-shadow: 0 8px 24px rgba(10, 102, 194, 0.75), 0 0 20px rgba(10, 102, 194, 0.6);
}

.footer-social-icons:hover .footer-icon-btn:not(:hover) {
  opacity: 0.7;
}

@keyframes socialWave {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-6px) rotate(2deg);
  }
  75% {
    transform: translateY(4px) rotate(-1.5deg);
  }
}

.footer-col h5 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 1.35rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  color: #9C948B;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: #FFFFFF;
}

.footer-bottom-bar {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

.payment-badges {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pay-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #CFC7BD;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --------------------------------------------------------------------------
   EXACT AQWAKE "CREATED BY SYSTECT" STYLES
   -------------------------------------------------------------------------- */
.footer-systect-credit {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.footer-created-by-text {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.systect-neon-led {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00f0ff;
  background: rgba(8, 8, 10, 0.78);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px rgba(0, 0, 0, 0.95),
     0 0 5px rgba(0, 240, 255, 0.75),
     0 0 12px rgba(0, 240, 255, 0.35);
  animation: systectNeonPulse 6s ease-in-out infinite;
  transition: all 0.25s ease;
}

.systect-neon-led:hover {
  background: rgba(0, 0, 0, 0.92);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 240, 255, 0.25);
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px #000,
     0 0 6px #fff,
     0 0 14px currentColor;
}

@keyframes systectNeonPulse {
  0%, 100% {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(0, 240, 255, 0.75),
       0 0 12px rgba(0, 240, 255, 0.35);
  }
  20% {
    color: #ff3de6;
    border-color: rgba(255, 61, 230, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(255, 61, 230, 0.75),
       0 0 12px rgba(255, 61, 230, 0.35);
  }
  40% {
    color: #44ff26;
    border-color: rgba(68, 255, 38, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(68, 255, 38, 0.75),
       0 0 12px rgba(68, 255, 38, 0.35);
  }
  60% {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(255, 215, 0, 0.75),
       0 0 12px rgba(255, 215, 0, 0.35);
  }
  80% {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(0, 240, 255, 0.75),
       0 0 12px rgba(0, 240, 255, 0.35);
  }
}

/* ==========================================================================
   12. TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--color-espresso);
  color: #FFFFFF;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 4px solid var(--color-gold);
}

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

/* ==========================================================================
   13. MOBILE APP BOTTOM NAVIGATION DOCK (PWA / APP-LIKE EXPERIENCE)
   ========================================================================== */
.mobile-app-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border-warm);
  box-shadow: 0 -4px 20px rgba(20, 17, 15, 0.08);
  height: 64px;
  padding: 0 0.5rem calc(0.2rem + env(safe-area-inset-bottom, 0px)) 0.5rem;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  body {
    padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-app-dock {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
  }
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.25rem 0;
  text-decoration: none;
  color: var(--color-muted);
  transition: transform 0.15s ease, color 0.2s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.dock-item:active {
  transform: scale(0.92);
}

.dock-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 1.15rem;
  color: var(--color-muted);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dock-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-muted);
  margin-top: 2px;
  transition: color 0.2s ease;
}

/* Dock Active State */
.dock-item.active .dock-icon-wrap {
  color: var(--color-terracotta);
  transform: translateY(-2px);
}

.dock-item.active .dock-label {
  color: var(--color-terracotta);
  font-weight: 800;
}

/* Cart Badge in Mobile Dock */
.dock-cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--color-terracotta);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(164, 90, 56, 0.4);
}

/* ==========================================================================
   14. COMPREHENSIVE RESPONSIVE & ZERO-OVERFLOW MOBILE OPTIMIZATION
   ========================================================================== */
@media (max-width: 1080px) {
  .section-padding {
    padding: 4rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.75rem;
  }

  .hero-title {
    font-size: 2.85rem;
  }

  .hero-lead {
    margin: 0 auto 2rem;
  }

  .hero-badge-row,
  .hero-cta-group {
    justify-content: center;
  }

  .hero-metrics {
    margin: 0 auto;
  }

  .sub-box {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 2.5rem;
  }

  .quiz-card-box {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }

  .venue-panel.active {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .modal-body-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Prevent Any Off-Screen Overflow */
  *, *::before, *::after {
    max-width: 100%;
  }

  .container {
    padding: 0 1.15rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nav-menu {
    display: none;
  }

  /* Header Compact on Mobile */
  .header-container {
    height: 66px;
  }

  .brand-logo-mark {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 1.4rem;
  }

  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .action-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  /* Top Announcement Bar */
  .announcement-bar {
    padding: 0.45rem 0;
  }

  .announcement-left {
    max-width: 65%;
    overflow: hidden;
  }

  .announcement-item span {
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
  }

  .announcement-item:nth-child(2) {
    display: none;
  }

  .announcement-right .announcement-item {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7.8vw, 2.5rem);
    line-height: 1.18;
  }

  .hero-lead {
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    box-sizing: border-box;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding-top: 1.25rem;
    width: 100%;
  }

  .metric-number {
    font-size: 1.35rem;
  }

  .metric-label {
    font-size: 0.68rem;
  }

  /* Hero Card Visual: Guard against off-screen pills */
  .hero-visual {
    width: 100%;
  }

  .hero-card-showcase {
    width: 100%;
    max-width: 100%;
    padding: 1.25rem;
    box-sizing: border-box;
  }

  .hero-img-wrap {
    height: 250px;
  }

  .hero-img-wrap img {
    max-height: 210px;
  }

  .pill-top-right {
    top: 8px;
    right: 8px;
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
  }

  .pill-bottom-left {
    bottom: 12px;
    left: 8px;
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
  }

  /* Roast Quiz */
  .quiz-card-box {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .quiz-info h3 {
    font-size: 1.5rem;
  }

  .quiz-chip {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
  }

  .quiz-result-recommendation {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
  }

  .quiz-result-recommendation button {
    width: 100%;
  }

  /* Best Sellers 3D Carousel Stage on Mobile: Zero Overflow */
  .bestsellers-section {
    padding: 3.5rem 0 4rem;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .section-title {
    font-size: 1.95rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .bestsellers-3d-stage-wrap {
    width: 100%;
    max-width: 100%;
    min-height: 460px;
    overflow: hidden;
    position: relative;
  }

  .bestsellers-3d-ring {
    min-height: 440px;
  }

  .bestsellers-3d-ring .product-card {
    width: 215px !important;
    min-height: 420px;
    height: 420px;
    margin-top: -210px !important;
    margin-left: -107px !important;
    border-radius: 16px;
  }

  .bestsellers-3d-ring .product-card .card-media-wrap {
    height: 185px;
    padding: 0.75rem;
  }

  .card-img-primary {
    max-height: 155px;
  }

  .bestsellers-3d-ring .product-card .card-body {
    padding: 0.85rem 0.95rem;
  }

  .bestsellers-3d-ring .product-card .card-title {
    font-size: 0.92rem;
    height: 2.4rem;
    margin-bottom: 0.25rem;
  }

  .card-tasting-notes {
    font-size: 0.7rem;
    min-height: 1.8rem;
    margin-bottom: 0.45rem;
  }

  /* Stage Nav Flanking Arrows safely inside screen boundaries */
  .bestsellers-3d-stage-wrap .stage-nav-arrow {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    z-index: 80;
  }

  .bestsellers-3d-stage-wrap .stage-nav-arrow.arrow-left {
    left: 4px;
  }

  .bestsellers-3d-stage-wrap .stage-nav-arrow.arrow-right {
    right: 4px;
  }

  /* Subscription Section */
  .subscription-section {
    padding: 3.5rem 0;
  }

  .sub-box {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .sub-box h2 {
    font-size: 1.85rem !important;
  }

  .sub-options-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }

  .sub-choice-card {
    padding: 0.65rem 0.25rem;
  }

  .sub-choice-title {
    font-size: 0.78rem;
  }

  .sub-choice-sub {
    font-size: 0.65rem;
  }

  /* Venues Section */
  .venues-section {
    padding: 3.5rem 0;
  }

  .venues-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .venue-tab-btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
    text-align: center;
  }

  .venue-image-wrap {
    min-height: 210px;
    height: 210px;
  }

  .venue-content {
    padding: 1.5rem 1.15rem;
  }

  .venue-title {
    font-size: 1.75rem;
  }

  .venue-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .venue-detail-row {
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
  }

  /* Impact Section */
  .impact-section {
    padding: 3.5rem 0;
  }

  .impact-header h2 {
    font-size: 2rem;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .impact-card {
    padding: 1.75rem 1.25rem;
  }

  /* Footer Centered Clean Mobile Stack */
  .site-footer {
    padding: 3.5rem 0 calc(2rem + 68px) 0;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

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

  .footer-brand-col p {
    margin: 0.85rem auto 1.25rem auto;
  }

  .footer-socials {
    align-items: center;
    width: 100%;
  }

  .footer-social-icons {
    justify-content: center;
  }

  .footer-col h5 {
    text-align: center;
    margin-bottom: 0.85rem;
  }

  .footer-col ul {
    align-items: center;
  }

  .footer-col form {
    flex-direction: column;
    width: 100%;
  }

  .footer-col form button {
    width: 100%;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.45rem;
    align-items: center;
  }

  .payment-badges {
    justify-content: center;
  }

  /* Modals: Ensure Full Viewport Mobile Fit */
  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-content-card {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: var(--radius-lg);
  }

  .modal-media {
    padding: 1.5rem;
  }

  .modal-media img {
    max-height: 220px;
  }

  .modal-info {
    padding: 1.5rem 1.15rem;
  }

  .modal-close-btn {
    top: 0.75rem;
    right: 0.75rem;
    width: 34px;
    height: 34px;
  }

  /* Cart Drawer: Full Width on Mobile */
  .cart-drawer {
    max-width: 100vw;
    width: 100%;
  }

  /* Toast floating nicely above mobile dock */
  .toast-container {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    left: 1rem;
    align-items: center;
  }

  .toast {
    width: 100%;
    max-width: 380px;
    box-sizing: border-box;
    justify-content: center;
  }
}
