/* ===================================================
   CHAI & LEAF — Stylesheet
   =================================================== */

/* 1. Design System Tokens & Custom Properties */
:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Color Palette */
  --bg-cream: #FAF7F2;
  --bg-cream-dark: #F3ECE1;
  --bg-white: #FFFFFF;
  
  --tea-brown: #3C2415;
  --tea-brown-light: #5A3924;
  --leaf-green: #2B5138;
  --leaf-green-light: #3D6E4E;
  
  --accent-gold: #C98836;
  --accent-gold-hover: #AF7124;
  
  --text-dark: #221A15;
  --text-muted: #6B5E55;
  --text-light: #9F9288;
  --border-color: #E8DEC8;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(60, 36, 21, 0.05);
  --shadow-md: 0 10px 25px rgba(60, 36, 21, 0.08);
  --shadow-lg: 0 20px 40px rgba(60, 36, 21, 0.12);

  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, textarea {
  font-family: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

/* 3. Utility Classes */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-padding {
  padding: 80px 0;
}

.bg-cream {
  background-color: var(--bg-cream-dark);
}

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

.text-highlight {
  color: var(--accent-gold);
  font-style: italic;
}

/* Section Header Structure */
.section-header {
  margin-bottom: 50px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--leaf-green);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--tea-brown);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--trans-normal);
  padding: 12px 28px;
  font-size: 0.95rem;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(201, 136, 54, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 136, 54, 0.45);
}

.btn-outline {
  border: 2px solid var(--tea-brown);
  color: var(--tea-brown);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--tea-brown);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* 4. Loader Screen */
.loader-screen {
  position: fixed;
  inset: 0;
  background-color: var(--bg-cream);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.cup-loader {
  width: 44px;
  height: 36px;
  border: 3px solid var(--tea-brown);
  border-radius: 0 0 16px 16px;
  position: relative;
  margin: 0 auto 16px;
}

.cup-loader .handle {
  position: absolute;
  right: -12px;
  top: 4px;
  width: 10px;
  height: 18px;
  border: 3px solid var(--tea-brown);
  border-left: none;
  border-radius: 0 10px 10px 0;
}

.cup-loader .steam {
  position: absolute;
  top: -14px;
  left: 12px;
  width: 4px;
  height: 10px;
  background-color: var(--accent-gold);
  border-radius: 4px;
  animation: steamRise 1.2s infinite ease-in-out;
}

@keyframes steamRise {
  0% { transform: translateY(0) scaleY(1); opacity: 0.8; }
  50% { transform: translateY(-8px) scaleY(1.3); opacity: 0.4; }
  100% { transform: translateY(-14px) scaleY(0.8); opacity: 0; }
}

.loader-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--tea-brown);
  letter-spacing: 2px;
}

.loader-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 5. Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color var(--trans-normal), box-shadow var(--trans-normal), padding var(--trans-normal);
  padding: 18px 0;
}

.site-header.scrolled {
  background-color: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-leaf {
  font-size: 1.6rem;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tea-brown);
  letter-spacing: 1px;
  display: block;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.65rem;
  color: var(--leaf-green);
  font-weight: 600;
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--leaf-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--leaf-green);
  transition: width var(--trans-fast);
}

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

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

.cart-trigger {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-count {
  background: var(--leaf-green);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.hamburger {
  display: none;
  background: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--tea-brown);
  transition: all var(--trans-fast);
}

.mobile-nav-cta {
  display: none;
}

/* 6. Hero Section */
.hero-section {
  padding: 60px 0 100px;
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(43, 81, 56, 0.1);
  color: var(--leaf-green);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--leaf-green);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.15;
  color: var(--tea-brown);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

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

.stat-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tea-brown);
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background-color: var(--border-color);
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img {
  width: 100%;
  max-width: 440px;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  transition: transform var(--trans-normal);
}

.hero-img:hover {
  transform: scale(1.02);
}

.floating-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(201, 136, 54, 0.25) 0%, rgba(250, 247, 242, 0) 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: pulseBlob 6s ease-in-out infinite alternate;
}

@keyframes pulseBlob {
  0% { transform: translate(-50%, -50%) scale(0.9); }
  100% { transform: translate(-50%, -50%) scale(1.15); }
}

.floating-badge {
  position: absolute;
  background-color: var(--bg-white);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tea-brown);
  z-index: 3;
  animation: floatMotion 4s ease-in-out infinite alternate;
}

.badge-top {
  top: 24px;
  left: -20px;
}

.badge-bottom {
  bottom: 24px;
  right: -10px;
  animation-delay: -2s;
}

@keyframes floatMotion {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* 7. Why Choose Us / Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-white);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-normal), box-shadow var(--trans-normal);
  border: 1px solid rgba(232, 222, 200, 0.4);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tea-brown);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 8. Special Teas Section */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.tea-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-normal), box-shadow var(--trans-normal);
  display: flex;
  flex-direction: column;
}

.tea-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.tea-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.tea-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.tea-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: var(--tea-brown);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.tea-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tea-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.tea-rating {
  color: var(--accent-gold);
  font-weight: 700;
}

.tea-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--tea-brown);
  margin-bottom: 8px;
}

.tea-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.tea-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.tea-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--leaf-green);
}

/* 9. Deal & Offer Section */
.offer-card {
  background: linear-gradient(135deg, var(--tea-brown) 0%, #20130A 100%);
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.offer-content {
  padding: 50px 40px;
}

.offer-pill {
  display: inline-block;
  background-color: var(--accent-gold);
  color: var(--bg-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.offer-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 14px;
}

.offer-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  font-size: 1rem;
}

.countdown-wrapper {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.timer-unit {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  min-width: 70px;
  text-align: center;
}

.timer-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
}

.timer-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}

.offer-img-box {
  height: 100%;
}

.offer-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 10. About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-experience-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 250px;
}

.exp-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--leaf-green);
}

.exp-text {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--tea-brown);
}

/* 11. Menu Section & Filters */
.menu-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--trans-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--leaf-green);
  color: var(--bg-white);
  border-color: var(--leaf-green);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.menu-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-normal), opacity var(--trans-normal);
}

.menu-card.hidden {
  display: none;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.menu-card-img {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card-details {
  flex-grow: 1;
}

.m-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.m-head h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--tea-brown);
}

.m-price {
  font-weight: 700;
  color: var(--leaf-green);
  font-size: 0.95rem;
}

.menu-card-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.3;
}

/* 12. Gallery Section & Lightbox */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(60, 36, 21, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 12, 7, 0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 75vh;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.lightbox-caption {
  color: var(--bg-white);
  margin-top: 14px;
  font-size: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: transparent;
  color: var(--bg-white);
  font-size: 2.5rem;
  line-height: 1;
}

/* 13. Testimonials Slider */
.slider-wrapper {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}

.slider-container {
  overflow: hidden;
  position: relative;
  min-height: 240px;
}

.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.slide.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.review-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: rgba(201, 136, 54, 0.2);
  line-height: 1;
  position: absolute;
  top: 20px;
  left: 20px;
}

.review-text {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviewer-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-name {
  font-weight: 700;
  color: var(--tea-brown);
  font-size: 1rem;
}

.stars {
  color: var(--accent-gold);
  font-size: 0.85rem;
}

.reviewer-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--tea-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-fast);
}

.slider-btn:hover {
  background: var(--leaf-green);
  color: var(--bg-white);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: var(--trans-fast);
}

.dot.active {
  background: var(--leaf-green);
  width: 24px;
  border-radius: var(--radius-pill);
}

/* 14. Location & Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.info-icon {
  font-size: 1.5rem;
}

.info-card h4 {
  font-size: 1rem;
  color: var(--tea-brown);
  margin-bottom: 4px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sub-text {
  font-size: 0.75rem;
  color: var(--leaf-green);
  font-weight: 600;
}

.map-placeholder {
  background: #EAE3D6;
  border-radius: var(--radius-md);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #C8BEAC;
}

.map-content {
  text-align: center;
  color: var(--tea-brown);
}

.map-pin {
  font-size: 1.8rem;
}

.contact-form {
  background: var(--bg-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tea-brown);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-cream);
  font-size: 0.95rem;
  transition: border-color var(--trans-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--leaf-green);
  background-color: var(--bg-white);
}

.error-msg {
  color: #D32F2F;
  font-size: 0.75rem;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #D32F2F;
}

/* 15. Footer */
.site-footer {
  background-color: var(--tea-brown);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo .brand-name {
  color: var(--bg-white);
}

.footer-about {
  font-size: 0.9rem;
  margin: 16px 0 20px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  background: var(--accent-gold);
}

.footer-heading {
  color: var(--bg-white);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-contact {
  display: block;
  font-size: 0.85rem;
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a:hover {
  color: var(--bg-white);
}

/* 16. Floating UI & Cart Drawer */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background-color: #25D366;
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-md);
  z-index: 900;
  transition: transform var(--trans-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--tea-brown);
  color: var(--bg-white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--leaf-green);
  transform: translateY(-4px);
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-white);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.cart-drawer-header h3 {
  font-family: var(--font-serif);
  color: var(--tea-brown);
}

.drawer-close {
  background: none;
  font-size: 1.8rem;
  line-height: 1;
}

.cart-drawer-body {
  padding: 20px;
  flex-grow: 1;
  overflow-y: auto;
}

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

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--tea-brown);
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-cream-dark);
}

.cart-item-info h5 {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.cart-item-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--tea-brown);
  color: var(--bg-white);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 3000;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* 17. Scroll Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 18. Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-badge, .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

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

  .about-image-stack {
    max-width: 600px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .desktop-cta {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: var(--bg-cream);
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    transition: left var(--trans-normal);
    overflow-y: auto;
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    margin-bottom: 24px;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .mobile-nav-cta {
    display: block;
    width: 100%;
  }

  .offer-card {
    grid-template-columns: 1fr;
  }

  .offer-img-box {
    height: 240px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .floating-badge {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}