/* ==========================================================================
   ONLY FRESH FRUITS — Master Design System (v17 Complete Overhaul)
   ========================================================================== */

:root {
  color-scheme: light;

  /* Brand Palette */
  --primary: #1b6620;          /* Deep organic leaf green */
  --primary-hover: #134d17;    /* Dark green hover */
  --primary-light: #f4f8f4;    /* Subtle green background tint */
  --primary-mid: #cde4ce;      /* Soft green border accent */
  --accent-gold: #d97706;      /* Warm golden amber */
  --whatsapp: #25d366;         /* WhatsApp Green */
  --whatsapp-hover: #1ebd5a;

  /* Neutral Backgrounds */
  --bg-body: #f8faf8;          /* Light fresh off-white */
  --bg-surface: #ffffff;       /* Pure white surface */
  --bg-subtle: #f1f5f1;        /* Soft neutral card background */

  /* Text Palette */
  --text-dark: #0f172a;        /* High-contrast slate black */
  --text-body: #334155;        /* Charcoal body copy */
  --text-muted: #64748b;       /* Muted gray text */

  /* Borders & Shadows */
  --border: #e2e8f0;           /* Crisp light border */
  --border-hover: #cbd5e1;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

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

  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  background-color: var(--bg-body) !important;
  color: var(--text-dark) !important;
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

*, *::before, *::after { box-sizing: inherit; }

/* GLOBAL LINK RULE: OVERRIDE ALL DEFAULT BLUE INK LINK COLORS */
a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

/* BREADCRUMB STYLING (NO BLUE INK EVER) */
.breadcrumb {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted) !important;
  margin: 20px 0 12px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted) !important;
  text-decoration: none !important;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--primary) !important;
  text-decoration: underline !important;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Announcement Bar (Infinite Marquee Ticker) */
.top-announcement {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.ticker-scroll {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}
.ticker-scroll span {
  padding: 0 50px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex !important;
  align-items: center;
  gap: 8px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.nav-links a {
  display: inline-block;
  padding: 9px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body) !important;
  text-decoration: none !important;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary) !important;
  background: var(--primary-light) !important;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  min-height: 48px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  text-decoration: none !important;
  transition: var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(27, 102, 32, 0.3);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-dark) !important;
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--primary-light);
}

.btn-sm { font-size: 0.85rem; padding: 8px 18px; min-height: 40px; }
.btn-lg { font-size: 1rem; padding: 14px 28px; min-height: 52px; }

/* Hero Video Section */
.hero-video-section {
  position: relative;
  width: 100% !important;
  max-width: 100vw !important;
  height: calc(100vh - 116px) !important; /* Viewport height minus announcement bar (40px) and header (76px) */
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  background: #0f172a;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  opacity: 0.85;
}

.hero-video-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  background: rgba(15, 23, 42, 0.7); /* Increased dark overlay opacity for extreme legibility */
}

.hero-video-container {
  position: relative;
  z-index: 3;
  padding: 80px 24px; /* Centered padding */
  text-align: center;
  max-width: 860px;
}

.hero-video-content {
  color: #ffffff;
}

.hero-badge-video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-video-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-video-desc {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #f1f5f9;
  margin-bottom: 32px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-video-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-features-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 700;
  color: #86efac;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Catalog Section */
.catalog-section {
  padding: 60px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 8px 0;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 36px 0;
}

/* Grid Layouts & Product Cards */
a.product-card, a.city-product-card {
  color: var(--text-dark) !important;
  text-decoration: none !important;
}

a.product-card *, a.city-product-card * {
  text-decoration: none !important;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-mid);
}

.product-card img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-origin, .city-card-origin {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary) !important;
  margin-bottom: 6px;
}

.card-name, .card-title, .city-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark) !important;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-body) !important;
  line-height: 1.5;
  margin-bottom: 16px;
}

.card-price, .city-card-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary) !important;
  margin-top: auto;
}

.product-grid-city {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.city-product-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.city-product-card img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  display: block !important;
}

.city-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-grid-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 30px 0 60px;
}

.product-image-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.product-image-card img {
  width: 100% !important;
  height: 420px !important;
  object-fit: cover !important;
  display: block !important;
}

.info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.info-card h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 16px 0;
}

.info-card p {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 14px 0;
}

/* Nutrition Grid */
.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}

.nutrition-card {
  background: var(--primary-light);
  border: 1px solid var(--primary-mid);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.nutrition-card .value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.nutrition-card .label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Reviews Section */
.reviews-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.review-card {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

/* Dates Showcase Banner */
.dates-banner {
  background: linear-gradient(135deg, #1b6620 0%, #0f3e13 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 48px;
  margin: 40px 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.dates-banner-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: #ffffff;
}

.dates-banner-content p {
  font-size: 1.05rem;
  color: #dcfce7;
  margin: 0 0 24px 0;
  max-width: 600px;
}

.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.weight-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* Size Selector Grid for Dates */
.size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.size-btn {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.size-btn.active, .size-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.size-btn .size-weight {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.size-btn .size-price {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
}

/* Feature List Checklist */
.feature-list, .delivery-checklist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 24px 0 !important;
}

.feature-list li, .delivery-checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 10px;
  line-height: 1.5;
}

.feature-list li::before, .delivery-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

/* Cities Grid */
.cities-section {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.city-link-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-decoration: none !important;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.city-link-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.sidebar-origin-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 8px;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.sidebar-price-tag {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.sidebar-unit {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 24px;
}

/* FAQ Section */
.faq-section {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
}

.faq-question {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* Slide-over Cart & Recipient Checkout Modal */
.cart-modal-overlay {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  z-index: 10000 !important;
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(6px) !important;
  display: none;
  justify-content: flex-end;
}

.cart-modal-overlay.open {
  display: flex !important;
}

.cart-drawer {
  width: 100% !important;
  max-width: 440px !important;
  height: 100% !important;
  background: #ffffff !important;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

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

.cart-header h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-dark);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-muted);
}

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

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

/* Mobile Sticky Bottom Checkout Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 960px) {
  .container { padding: 0 16px; }
  
  .nav-inner {
    height: 64px;
    padding: 0 4px;
    gap: 8px;
  }

  .nav-logo img {
    height: 36px;
    max-width: 130px;
  }

  .nav-links { display: none !important; }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .btn-whatsapp {
    font-size: 0.78rem;
    padding: 6px 12px;
    min-height: 38px;
  }

  .nav-actions .btn-secondary {
    font-size: 0.78rem;
    padding: 6px 10px;
    min-height: 38px;
  }

  .product-grid-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px 0 80px;
  }

  .product-image-card img { height: 280px !important; }
  .info-card { padding: 20px; margin-bottom: 20px; }
  .info-card h2 { font-size: 1.3rem; }
  .page-title { font-size: 1.8rem; margin-bottom: 8px; }
  .page-subtitle { font-size: 0.95rem; }

  .sticky-sidebar {
    position: static;
    padding: 24px;
    margin-top: 20px;
  }

  .sidebar-price-tag { font-size: 1.8rem; }
  .mobile-sticky-bar { display: flex; gap: 8px; }
  .cart-drawer { max-width: 100% !important; }
  .dates-banner { flex-direction: column; padding: 28px; }
}

@media (max-width: 768px) {
  .nav-actions .btn-whatsapp {
    display: none !important; /* Hide redundant header button on mobile/tablets to free up space */
  }
}

@media (max-width: 480px) {
  .top-announcement { 
    font-size: 0.68rem !important; 
    padding: 6px 10px !important; 
    line-height: 1.4 !important;
  }

  .hero-video-section {
    height: calc(100vh - 108px) !important; /* Exact fullscreen height minus mobile announcement and header */
    min-height: 520px !important;
    padding: 40px 16px !important; /* Balanced padding */
    display: flex !important;
    align-items: center !important;
  }

  .hero-video-container {
    padding: 0 !important;
  }

  .hero-video-title {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }

  .hero-video-desc {
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
  }

  .hero-video-actions {
    gap: 10px !important;
  }

  .hero-video-actions .btn {
    width: 100% !important;
    margin: 0 !important;
    font-size: 0.88rem !important;
    padding: 10px 16px !important;
    min-height: 44px !important;
  }

  .hero-features-row {
    font-size: 0.72rem !important;
    margin-top: 18px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px !important;
  }

  .page-title { font-size: 1.55rem; }
  .info-card { padding: 16px; }
  .btn-lg { font-size: 0.92rem; padding: 12px 20px; min-height: 48px; }
}

/* Floating Cart Badge (Shopify style) */
.floating-cart-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 9999;
  transition: all var(--transition-speed) ease;
}
.floating-cart-badge:hover {
  background-color: var(--primary-hover);
  transform: scale(1.08);
}
.floating-cart-icon {
  font-size: 1.5rem;
}
.floating-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #ef4444; /* Bright Red badge */
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .floating-cart-badge {
    bottom: 80px; /* Positions it above the mobile sticky bar to avoid overlap */
    right: 16px;
    width: 48px;
    height: 48px;
  }
  .floating-cart-icon {
    font-size: 1.3rem;
  }
}

/* Mobile Hamburger Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  padding: 8px;
  margin-right: 8px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.mobile-menu-toggle:hover {
  background: var(--bg-body);
}

@media (max-width: 960px) {
  .mobile-menu-toggle {
    display: block; /* Show hamburger button on mobile & tablets */
  }
}

/* Mobile Menu Navigation Drawer (Slide-over from Left) */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}
.menu-drawer {
  position: absolute;
  top: 0;
  left: -300px; /* Hidden off-screen left */
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
.mobile-menu-overlay.open .menu-drawer {
  left: 0; /* Slide in left */
}
.menu-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.menu-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
}
.menu-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-muted);
}
.menu-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  overflow-y: auto;
}
.menu-drawer-links li a {
  display: block;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.menu-drawer-links li a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 28px;
}

/* Force small marquee spans and feature constraints on mobile */
@media (max-width: 480px) {
  .ticker-scroll span {
    font-size: 0.68rem !important; /* Forces small text size inside running marquee */
  }
  .hero-features-row {
    max-width: 82% !important; /* Centered, leaving bottom corners clear for floating cart button */
    margin: 20px auto 0 !important;
  }
}


