/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color Palette */
  --bg-color: #07040a;
  --panel-bg: rgba(18, 12, 28, 0.75);
  --panel-border: rgba(255, 42, 95, 0.15);
  --accent-red: #ff2a5f;
  --accent-purple: #9d4edd;
  --accent-gold: #e0a96d;
  --text-primary: #ffffff;
  --text-secondary: #a49dbb;
  --text-muted: #6b6382;
  
  /* Glow Effects */
  --glow-red: 0 0 20px rgba(255, 42, 95, 0.45);
  --glow-purple: 0 0 20px rgba(157, 78, 221, 0.45);
  --glow-gold: 0 0 15px rgba(224, 169, 109, 0.3);
  
  /* Fonts */
  --font-display: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-spring: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Hide language elements based on body class */
body.lang-en [lang="de"] {
  display: none !important;
}
body.lang-de [lang="en"] {
  display: none !important;
}

/* ==========================================================================
   AMBIENT GLOW BACKGROUND
   ========================================================================== */
.glow-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
  transition: var(--transition-smooth);
}

.glow-red {
  background: radial-gradient(circle, var(--accent-red) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: orbFloat1 25s infinite ease-in-out alternate;
}

.glow-purple {
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: orbFloat2 30s infinite ease-in-out alternate;
}

@keyframes orbFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, 100px) scale(1.1); }
  100% { transform: translate(50px, -50px) scale(0.9); }
}

@keyframes orbFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, -120px) scale(0.95); }
  100% { transform: translate(-60px, 60px) scale(1.15); }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 4, 10, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(157, 78, 221, 0.1);
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.logo-symbol {
  font-size: 1.5rem;
  color: var(--accent-red);
  text-shadow: var(--glow-red);
  font-weight: 700;
  white-space: nowrap;
}

.logo-text {
  font-size: 1.15rem;
  letter-spacing: 2px;
  font-weight: 700;
  white-space: nowrap;
  background: linear-gradient(135deg, #fff 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Desktop Nav - Hidden on mobile */
.desktop-nav {
  display: none;
}

/* Utilities (Language selector & Cart & mobile menu) */
.header-utilities {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Separate Language Selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.lang-sel-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.lang-sel-btn:hover {
  color: var(--text-primary);
}

.lang-sel-btn.active {
  color: var(--accent-red);
  text-shadow: var(--glow-red);
}

.lang-separator {
  color: rgba(255, 255, 255, 0.15);
  font-weight: 300;
  user-select: none;
}

/* Floating Cart Icon Button */
.cart-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition-smooth);
}

.cart-icon {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: var(--glow-red);
}

.cart-btn:hover {
  border-color: var(--accent-purple);
  background: rgba(157, 78, 221, 0.15);
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

/* Mobile Teapot Button */
.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 5px;
  z-index: 110;
  display: block;
}

.teapot-container {
  position: relative;
  width: 44px;
  height: 44px;
  transition: var(--transition-smooth);
}

.teapot-svg {
  width: 100%;
  height: 100%;
  color: var(--text-secondary);
  filter: drop-shadow(0px 0px 1px rgba(0,0,0,0.5));
  transition: var(--transition-spring);
}

/* Steam particles rising from teapot */
.teapot-steam {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.teapot-steam span {
  width: 2px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: steamRise 1.5s infinite ease-in-out;
}

.teapot-steam span:nth-child(2) {
  animation-delay: 0.3s;
}

.teapot-steam span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes steamRise {
  0% { transform: translateY(0) scaleX(1); opacity: 0; }
  50% { transform: translateY(-6px) scaleX(1.5); opacity: 0.7; }
  100% { transform: translateY(-12px) scaleX(0.5); opacity: 0; }
}

.mobile-menu-btn:hover .teapot-steam {
  opacity: 1;
}

.mobile-menu-btn:hover .teapot-svg {
  color: var(--accent-red);
  filter: drop-shadow(0 0 6px var(--accent-red));
}

/* Teapot Pouring State */
.mobile-menu-btn.active .teapot-svg {
  transform: rotate(-35deg);
  color: var(--accent-purple);
  filter: drop-shadow(0 0 10px var(--accent-purple));
}

.mobile-menu-btn.active .teapot-steam {
  opacity: 0;
}

/* ==========================================================================
   MOBILE NAV OVERLAY & LIQUID POUR
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(7, 4, 10, 0.96);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Stream visual effect */
.spout-pour-stream {
  position: absolute;
  top: 80px;
  right: 50%;
  width: 3px;
  height: 0vh;
  background: linear-gradient(180deg, var(--accent-purple) 0%, var(--accent-red) 70%, transparent 100%);
  filter: drop-shadow(0 0 8px var(--accent-purple));
  transition: height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateX(12px);
  pointer-events: none;
}

.mobile-nav-overlay.active .spout-pour-stream {
  height: 80vh;
}

.mobile-nav {
  text-align: center;
  z-index: 102;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav ul li {
  margin: 2.5rem 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.mobile-nav-overlay.active .mobile-nav ul li {
  opacity: 1;
  transform: translateY(0);
}

/* Sequential animation for mobile menu items */
.mobile-nav-overlay.active .mobile-nav ul li:nth-child(1) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav ul li:nth-child(2) { transition-delay: 0.45s; }
.mobile-nav-overlay.active .mobile-nav ul li:nth-child(3) { transition-delay: 0.6s; }

.mobile-link {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 3px;
  position: relative;
  padding: 0.5rem 1.5rem;
  display: inline-block;
  transition: var(--transition-smooth);
}

.mobile-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-red) 100%);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.mobile-link:hover {
  color: var(--accent-red);
  text-shadow: var(--glow-red);
}

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

/* ==========================================================================
   SHOPPING CART SLIDE-OUT DRAWER
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #0d0917;
  border-left: 1px solid rgba(157, 78, 221, 0.2);
  z-index: 151;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.cart-drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
}

.cart-drawer-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.cart-drawer-close:hover {
  color: var(--accent-red);
}

/* Cart Items Scrollable Container */
.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-empty-message {
  text-align: center;
  color: var(--text-muted);
  margin-top: 3rem;
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.75rem;
  border-radius: 8px;
  position: relative;
  transition: var(--transition-smooth);
}

.cart-item:hover {
  border-color: rgba(255, 42, 95, 0.2);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.cart-item-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--accent-gold);
  font-weight: 500;
}

/* Quantity controls in cart item */
.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qty-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
}

.qty-val {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 15px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 5px;
  transition: var(--transition-smooth);
}

.cart-item-remove:hover {
  color: var(--accent-red);
}

/* Cart Footer Panel */
.cart-drawer-footer {
  padding: 1.5rem;
  background: rgba(7, 4, 10, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.summary-lbl {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.summary-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-shadow: var(--glow-gold);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-red) 100%);
  color: var(--text-primary);
  border: none;
  box-shadow: var(--glow-red);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-purple) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(255, 42, 95, 0.8);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-purple);
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ==========================================================================
   PAGES STRUCTURE & TRANSITIONS
   ========================================================================== */
.content-wrapper {
  margin-top: 80px; /* Header gap */
  padding: 1.5rem 1rem;
}

.page-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.page-section.active {
  display: block;
  animation: pageEnter 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes pageEnter {
  0% {
    display: block;
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   SECTION: HOME (HERO)
   ========================================================================== */
.hero-container {
  display: flex;
  flex-direction: column-reverse;
  gap: 3rem;
  align-items: center;
  padding: 1rem 0;
}

.hero-text {
  text-align: center;
}

.badge {
  display: inline-block;
  background: rgba(255, 42, 95, 0.12);
  border: 1px solid rgba(255, 42, 95, 0.3);
  color: var(--accent-red);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 10px rgba(255, 42, 95, 0.1);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-shadow: var(--glow-gold);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  width: 280px;
  height: 280px;
}

.image-glow-ring {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-red));
  opacity: 0.35;
  filter: blur(25px);
  z-index: 1;
  animation: glowPulse 6s infinite ease-in-out alternate;
}

@keyframes glowPulse {
  0% { transform: scale(0.95); opacity: 0.25; }
  100% { transform: scale(1.05); opacity: 0.45; }
}

.hero-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 42, 95, 0.3);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   HERO TEA CEREMONY ANIMATION (pure SVG + CSS, no image/video assets)
   Looping storyboard: empty cup -> spoon adds leaves -> teapot pours ->
   steam rises -> cup is tilted as if sipped -> resets
   ========================================================================== */
.ceremony-svg {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow: visible;
}

.tc-table {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
  stroke-linecap: round;
}

.tc-teapot {
  color: var(--accent-gold);
  filter: drop-shadow(0 0 6px rgba(224, 169, 109, 0.5));
  transform-box: view-box;
  transform-origin: 210px 114px; /* body center — tilting from here dips the spout downward */
  animation: tcTeapotMove 16s infinite linear;
}

.tc-stream {
  stroke: var(--accent-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  filter: drop-shadow(0 0 4px rgba(224, 169, 109, 0.6));
  animation: tcStream 16s infinite linear;
}

.tc-spoon {
  transform-box: view-box;
  transform-origin: 156px 132px; /* near handle top, so the bowl dips toward the cup */
  animation: tcSpoon 16s infinite linear;
}

.tc-leaf {
  transform-box: view-box;
}

.tc-leaf-a {
  animation: tcLeafA 16s infinite linear;
}

.tc-leaf-b {
  animation: tcLeafB 16s infinite linear;
}

.tc-leaf-c {
  animation: tcLeafC 16s infinite linear;
}

.tc-cup {
  transform-box: view-box;
  transform-origin: 150px 232px; /* bottom center of the cup */
  animation: tcCupSip 16s infinite linear;
}

.tc-cup-outline {
  stroke: var(--text-secondary);
  stroke-width: 2;
  stroke-linejoin: round;
}

.tc-cup-rim {
  stroke: var(--text-secondary);
  stroke-width: 2;
}

.tc-cup-handle {
  stroke: var(--text-secondary);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.tc-liquid {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: tcLiquidLevel 16s infinite linear;
}

.tc-steam {
  fill: #fff;
  opacity: 0;
  animation: tcSteamGroup 16s infinite linear;
}

.tc-steam rect {
  animation: steamRise 1.6s infinite ease-in-out;
}

.tc-steam rect:nth-child(2) {
  animation-delay: 0.3s;
}

.tc-steam rect:nth-child(3) {
  animation-delay: 0.6s;
}

/* Storyboard (16s): 5-19% spoon drops leaves into the cup -> 22-45% teapot
   pours from the spout -> 31-45% liquid rises -> 45-70% steam -> 63-81% sip */
@keyframes tcTeapotMove {
  0%, 20% { opacity: 0; transform: translate(46px, -16px); }
  25% { opacity: 1; transform: translate(0, 0); }
  29% { opacity: 1; transform: rotate(-52deg); }
  40% { opacity: 1; transform: rotate(-52deg); }
  44% { opacity: 1; transform: translate(0, 0); }
  48%, 100% { opacity: 0; transform: translate(46px, -16px); }
}

@keyframes tcStream {
  0%, 29% { opacity: 0; stroke-dashoffset: 100; }
  32% { opacity: 1; stroke-dashoffset: 100; }
  36% { opacity: 1; stroke-dashoffset: 0; }
  39% { opacity: 1; stroke-dashoffset: 0; }
  42%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

@keyframes tcSpoon {
  0%, 4% { opacity: 0; transform: translate(4px, -14px) rotate(-6deg); }
  8% { opacity: 1; transform: translate(0, 0) rotate(-6deg); }
  12% { opacity: 1; transform: rotate(24deg); }
  15% { opacity: 1; transform: rotate(24deg); }
  19%, 100% { opacity: 0; transform: translate(6px, -12px) rotate(-6deg); }
}

@keyframes tcLeafA {
  0%, 10% { opacity: 0; transform: translate(0, 0); }
  13% { opacity: 1; transform: translate(-1px, 4px); }
  17% { opacity: 1; transform: translate(-2px, 20px); }
  20%, 100% { opacity: 0; transform: translate(-3px, 28px); }
}

@keyframes tcLeafB {
  0%, 11% { opacity: 0; transform: translate(0, 0); }
  14% { opacity: 1; transform: translate(0, 5px); }
  18% { opacity: 1; transform: translate(0, 22px); }
  21%, 100% { opacity: 0; transform: translate(1px, 29px); }
}

@keyframes tcLeafC {
  0%, 12% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: 1; transform: translate(1px, 4px); }
  19% { opacity: 1; transform: translate(2px, 21px); }
  22%, 100% { opacity: 0; transform: translate(3px, 28px); }
}

@keyframes tcLiquidLevel {
  0%, 31% { transform: scaleY(0); }
  45% { transform: scaleY(1); }
  64% { transform: scaleY(1); }
  72% { transform: scaleY(0.5); }
  80% { transform: scaleY(0.12); }
  85%, 100% { transform: scaleY(0); }
}

@keyframes tcSteamGroup {
  0%, 45% { opacity: 0; }
  50% { opacity: 0.85; }
  63% { opacity: 0.85; }
  70%, 100% { opacity: 0; }
}

@keyframes tcCupSip {
  0%, 63% { transform: rotate(0deg) translateY(0); }
  68% { transform: rotate(-11deg) translateY(-5px); }
  73% { transform: rotate(0deg) translateY(0); }
  77% { transform: rotate(-7deg) translateY(-3px); }
  81%, 100% { transform: rotate(0deg) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .tc-teapot,
  .tc-spoon,
  .tc-leaves,
  .tc-leaf-a,
  .tc-leaf-b,
  .tc-leaf-c,
  .tc-stream,
  .tc-cup,
  .tc-liquid {
    animation: none !important;
  }

  .tc-teapot,
  .tc-spoon,
  .tc-leaves,
  .tc-stream {
    opacity: 0;
  }

  .tc-liquid {
    transform: scaleY(1);
  }

  .tc-steam {
    animation: none !important;
    opacity: 0.85;
  }
}

/* ==========================================================================
   SCROLL CUE (STEAM) — nudges visitors toward the Bestseller block
   ========================================================================== */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0.5rem auto 2rem;
  background: none;
  border: none;
  color: var(--accent-gold);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-cue.visible {
  opacity: 0.85;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-cue:hover {
  opacity: 1;
  color: var(--text-primary);
}

.scroll-steam {
  display: flex;
  gap: 4px;
  height: 14px;
}

.scroll-steam span {
  width: 3px;
  height: 12px;
  background: var(--accent-gold);
  box-shadow: var(--glow-gold);
  border-radius: 2px;
  animation: scrollSteamRise 1.8s infinite ease-in-out;
}

.scroll-steam span:nth-child(2) {
  animation-delay: 0.3s;
}

.scroll-steam span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes scrollSteamRise {
  0% { transform: translateY(4px) scaleX(1); opacity: 0; }
  50% { transform: translateY(-6px) scaleX(1.4); opacity: 0.9; }
  100% { transform: translateY(-14px) scaleX(0.6); opacity: 0; }
}

.scroll-chevron {
  width: 22px;
  height: 22px;
  animation: chevronBob 1.8s infinite ease-in-out;
}

@keyframes chevronBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-steam span,
  .scroll-chevron {
    animation: none;
  }
}

/* ==========================================================================
   SECTION: BESTSELLER SPOTLIGHT (below the Hero, within Home)
   ========================================================================== */
.bestseller-section {
  border-top: 1px solid var(--panel-border);
  padding-top: 3rem;
  margin-top: 1rem;
}

.section-eyebrow {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* The Bestseller CTA row already has a solid gradient button (Explore Blend);
   keep the Add to Cart button ghost-styled instead of double-stacking gradients */
.bestseller-section .card-btn-add {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.bestseller-section .card-btn-add:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-purple);
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION: SHOP (9-ITEM GRID)
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff 40%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

/* Shop Card Styles */
.shop-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.shop-card:hover {
  transform: translateY(-8px);
  border-color: rgba(157, 78, 221, 0.4);
  box-shadow: 0 15px 35px rgba(157, 78, 221, 0.15), 0 0 15px rgba(255, 42, 95, 0.1);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.shop-card:hover .card-img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.green-badge {
  background: rgba(8, 24, 15, 0.88);
  border: 1px solid rgba(39, 174, 96, 0.5);
  color: #2ecc71;
}

.black-badge {
  background: rgba(28, 13, 3, 0.88);
  border: 1px solid rgba(211, 84, 0, 0.5);
  color: #e67e22;
}

.special-badge {
  background: rgba(20, 9, 30, 0.88);
  border: 1px solid rgba(157, 78, 221, 0.5);
  color: #c77dff;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: rgba(12, 8, 20, 0.94); /* Darker and less transparent to improve text readability */
  border-top: 1px solid rgba(157, 78, 221, 0.1);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #fff;
  transition: var(--transition-smooth);
}

.shop-card:hover .card-title {
  color: var(--accent-red);
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-weight: 300;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.card-price small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

.card-btn-details,
.card-btn-add {
  background: transparent;
  border: 1px solid rgba(255, 42, 95, 0.35);
  color: var(--text-primary);
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.card-btn-details:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-purple);
  box-shadow: var(--glow-purple);
}

.card-btn-add {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-red) 100%);
  border: none;
  box-shadow: var(--glow-red);
}

.card-btn-add:hover {
  box-shadow: 0 0 15px rgba(255, 42, 95, 0.6);
  transform: translateY(-1px);
}

/* ==========================================================================
   SECTION: CONTACT
   ========================================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-intro {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-detail-item .icon {
  font-size: 1.2rem;
  color: var(--accent-red);
}

.contact-detail-item .text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hours-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
}

.hours-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row .days {
  color: var(--text-secondary);
}

.hours-row .time {
  font-weight: 600;
  color: #fff;
}

/* Form Styles */
.contact-form-wrapper {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(7, 4, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

/* ==========================================================================
   MODALS CORE
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 2, 7, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 1.5rem;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2.2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  line-height: 1;
  z-index: 10;
}

.modal-close:hover {
  color: var(--accent-red);
  transform: rotate(90deg);
}

/* ==========================================================================
   SQUARE PRODUCT DETAIL MODAL (ELIMINATING SCROLLBARS)
   ========================================================================== */
.modal-container {
  background: #0f0b1a;
  border: 1px solid rgba(255, 42, 95, 0.25);
  border-radius: 12px;
  width: 100%;
  max-width: 780px; /* Square proportions */
  height: auto;
  max-height: 90vh; /* Fit within screen */
  overflow: hidden; /* No parent scrollbar */
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 42, 95, 0.15);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
  max-height: 90vh;
}

.modal-image-panel {
  width: 100%;
  height: 200px;
  position: relative;
  background: #000;
}

.modal-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-panel {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  height: 100%;
}

.modal-badge-wrapper {
  margin-bottom: 0.5rem;
}

.modal-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.modal-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Scroll is restricted strictly to the description box itself */
.modal-description-wrapper {
  flex-grow: 1;
  max-height: 120px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: 5px;
}

.modal-description-wrapper::-webkit-scrollbar {
  width: 4px;
}
.modal-description-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 42, 95, 0.3);
  border-radius: 2px;
}

.modal-description {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 300;
}

/* Brewing guide inside product modal */
.brewing-guide {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.guide-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.guide-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.guide-icon {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.guide-val {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

/* ==========================================================================
   DISCLAIMER MODAL
   ========================================================================== */
.disclaimer-container {
  background: #180d1e;
  border: 1px solid rgba(224, 169, 109, 0.3);
  border-radius: 12px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(224, 169, 109, 0.1);
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .disclaimer-container {
  transform: scale(1);
}

.disclaimer-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.disclaimer-icon {
  font-size: 2.5rem;
}

.disclaimer-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-gold);
}

.disclaimer-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.disclaimer-actions {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   LEGAL MODAL
   ========================================================================== */
.legal-container {
  background: #09060f;
  border: 1px solid rgba(157, 78, 221, 0.25);
  border-radius: 12px;
  padding: 3rem 2rem;
  max-width: 650px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .legal-container {
  transform: scale(1);
}

.legal-content h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(157, 78, 221, 0.2);
  padding-bottom: 0.5rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem 0;
  color: var(--accent-gold);
}

.legal-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #040206;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 4rem 0 2rem 0;
  margin-top: 5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-container h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
}

.footer-links ul li,
.footer-legal ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
  color: var(--accent-red);
  padding-left: 5px;
}

.footer-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.footer-btn:hover {
  color: var(--accent-red);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0 auto;
  padding: 1.5rem 1.5rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ==========================================================================
   MEDIA QUERIES (SMALL MOBILE SCREENS)
   ========================================================================== */
@media (max-width: 480px) {
  .header-container {
    padding: 0 1rem;
  }

  .header-utilities {
    gap: 0.6rem;
  }

  .logo-symbol {
    font-size: 1.2rem;
  }

  /* Wordmark hidden below the kanji at narrow phone widths (covers devices
     like the Pixel 7 at 412px) so the cart and menu buttons never get
     pushed off-screen */
  .logo-text {
    display: none;
  }
}

/* ==========================================================================
   MEDIA QUERIES (DESKTOP AND LARGE SCREENS)
   ========================================================================== */
@media (min-width: 768px) {
  /* Header */
  .desktop-nav {
    display: block;
  }
  
  .desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
  }
  
  .nav-link {
    font-family: var(--font-display);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-red);
    transition: var(--transition-smooth);
  }
  
  .nav-link:hover {
    color: var(--accent-red);
    text-shadow: var(--glow-red);
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  .nav-link.active {
    color: var(--text-primary);
  }
  
  .nav-link.active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-red));
    height: 2px;
  }
  
  /* Mobile menu button should be hidden on desktop */
  .mobile-menu-btn {
    display: none;
  }
  
  /* Hero */
  .hero-container {
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
    padding: 5rem 0;
  }

  .hero-container.reverse {
    flex-direction: row-reverse;
  }

  .bestseller-section .hero-container {
    padding: 1rem 0 3rem;
  }

  .bestseller-section .hero-title {
    font-size: 2.2rem;
  }

  .hero-text {
    text-align: left;
    flex: 1.2;
  }
  
  .hero-subtitle {
    margin-left: 0;
  }
  
  .hero-stats {
    justify-content: flex-start;
    gap: 3rem;
  }
  
  .hero-actions {
    flex-direction: row;
    gap: 1.5rem;
  }
  
  .hero-visual {
    width: 400px;
    height: 400px;
    flex: 0.8;
  }


  /* Shop Grid */
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  /* Contact Page */
  .contact-container {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
    padding: 3rem 0;
  }
  
  /* SQUARE DETAILED PRODUCT MODAL - Desktop layout grid */
  .modal-content-grid {
    grid-template-columns: 1fr 1.15fr; /* Symmetrical split */
    height: 520px; /* Fixed height for square shape */
  }
  
  .modal-image-panel {
    height: 100%;
  }
  
  .modal-info-panel {
    padding: 2.25rem;
  }
  
  .modal-description-wrapper {
    max-height: 160px; /* Restrict description overflow on desktop */
  }
  
  /* Footer */
  .footer-container {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
