/* ==========================================================================
   Vita Eco Vita Eco Greens Design System
   Premium minimal aesthetic — fresh vita eco greens, clean typography, soft shadows
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ==========================================================================
   1. CSS Variables
   ========================================================================== */
:root {
  /* Brand Colors — Vita Eco Greens */
  --primary: #1a5c2a;
  --primary-light: #2d8a3e;
  --primary-hover: #14501f;
  --accent-green: #3da34f;
  --accent-light: #5cb85c;
  --accent-bright: #6cc070;

  /* Backgrounds — Soft Greens */
  --bg-warm-1: #f5faf5;
  --bg-warm-2: #edf7ed;
  --bg-warm-3: #e4f2e4;
  --bg-white: #ffffff;

  /* Borders */
  --border-card: #c8e6c9;
  --border-light: #d5edd5;

  /* Text */
  --text-dark: #1a1a1a;
  --text-muted: #525252;
  --text-light: #737373;
  --text-white: #ffffff;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;

  /* Spacing */
  --section-py: clamp(3rem, 6vw, 5rem);
  --container-px: clamp(1rem, 4vw, 2rem);

  /* Shadows — Green-tinted */
  --shadow-sm: 0 1px 3px rgba(26, 92, 42, 0.04), 0 1px 2px rgba(26, 92, 42, 0.02);
  --shadow-md: 0 4px 12px rgba(26, 92, 42, 0.06), 0 2px 6px rgba(26, 92, 42, 0.03);
  --shadow-lg: 0 12px 32px rgba(26, 92, 42, 0.08), 0 4px 12px rgba(26, 92, 42, 0.04);
  --shadow-xl: 0 20px 48px rgba(26, 92, 42, 0.10), 0 8px 20px rgba(26, 92, 42, 0.05);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.25s var(--ease-out);
  --transition-slow: 0.4s var(--ease-out);

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

  /* Z-Index */
  --z-header: 100;
  --z-dropdown: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-float: 500;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-warm-1);
  
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 600;
}

/* ==========================================================================
   3. Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.container-narrow {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* ==========================================================================
   4. Section Spacing
   ========================================================================== */
.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section-sm {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.section-lg {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

/* ==========================================================================
   5. Header
   ========================================================================== */

/* Announcement Bar */
.announcement-bar {
  background-color: var(--primary);
  color: var(--text-white);
  text-align: center;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  overflow: hidden;
  position: relative;
}

.announcement-bar .message-track {
  position: relative;
  height: 20px;
  width: 100%;
  overflow: hidden;
}

.announcement-bar .message-track span {
  position: absolute;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  white-space: nowrap;
}

.announcement-bar .message-track span.active {
  opacity: 1;
  transform: translateY(0);
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: rgba(252, 250, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo img {
  height: 36px;
  width: auto;
}

/* Desktop Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-base);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--primary);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-dark);
}

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

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

.header-actions button,
.header-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--text-dark);
  transition: background-color var(--transition-base), color var(--transition-base);
}

.header-actions button:hover,
.header-actions a:hover {
  background-color: var(--bg-warm-3);
}

.header-actions .cart-btn {
  position: relative;
}

.header-actions .cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background-color: var(--text-dark);
  transition: transform var(--transition-base), opacity var(--transition-base);
  border-radius: 2px;
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-warm-1);
  z-index: var(--z-overlay);
  padding: 80px 24px 100px;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.mobile-nav.open {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition-base);
}

.mobile-nav a:hover {
  color: var(--primary-light);
}

/* ==========================================================================
   6. Product Card
   ========================================================================== */
.product-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  position: relative;
}

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

/* Image Area */
.product-card .card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-warm-3);
}

.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .card-image img {
  transform: scale(1.05);
}

/* Category Badge */
.product-card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background-color: var(--bg-white);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

/* Quick Add Overlay */
.product-card .quick-add {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

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

.quick-add-btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
  transition: background-color var(--transition-base);
}

.quick-add-btn:hover {
  background-color: var(--primary-hover);
}

/* Card Body */
.product-card .card-body {
  padding: 16px 18px 18px;
}

.product-card .card-category {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.product-card .card-title {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .card-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card .price-current {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.product-card .price-original {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-card .price-discount {
  font-size: 11.5px;
  font-weight: 600;
  color: #b45309;
  background-color: #fef3c7;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Card without image hover — always visible add button */
.product-card .card-actions-always {
  padding: 0 18px 18px;
}

.product-card .card-actions-always .add-to-cart-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--primary);
  background-color: transparent;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.product-card .card-actions-always .add-to-cart-btn:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

/* Horizontal Scroll Snap Carousel */
.product-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.product-carousel > * {
  flex: 0 0 calc(25% - 15px);
  scroll-snap-align: start;
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-warm-3);
  color: var(--text-dark);
}

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

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 12.5px;
}

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

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary);
  color: var(--text-white);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-white);
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}

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

.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--text-white);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Newsletter */
.footer-newsletter {
  margin-top: 20px;
}

.footer-newsletter .input-group {
  display: flex;
  gap: 0;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 18px;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  font-size: 13px;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter button {
  padding: 12px 22px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  transition: background-color var(--transition-base);
}

.footer-newsletter button:hover {
  background-color: #d4aa7c;
}

/* ==========================================================================
   9. Mobile Bottom Nav
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  z-index: var(--z-header);
  padding: 0 8px;
}

.mobile-bottom-nav .nav-items {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
}

.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 8px;
  transition: color var(--transition-base);
  position: relative;
}

.mobile-bottom-nav .nav-item.active {
  color: var(--primary);
}

.mobile-bottom-nav .nav-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.mobile-bottom-nav .nav-item .mobile-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-white);
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ==========================================================================
   10. Scrollbar Hide
   ========================================================================== */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
   11. WhatsApp Float Button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: var(--z-float);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   12. Mobile Responsive Breakpoints
   ========================================================================== */

/* Tablet and below: 1024px */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

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

  .mobile-nav {
    display: block;
  }

  .mobile-bottom-nav {
    display: block;
  }

  body {
    padding-bottom: 60px;
  }

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

  .product-carousel > * {
    flex: 0 0 calc(33.333% - 14px);
  }

  .whatsapp-float {
    bottom: 110px;
  }
}

/* Mobile: 640px */
@media (max-width: 640px) {
  .header-inner {
    height: 56px;
  }

  .logo-text {
    font-size: 20px;
  }

  .product-carousel > * {
    flex: 0 0 calc(75% - 8px);
  }

  .product-card .card-body {
    padding: 12px 14px 14px;
  }

  .product-card .card-title {
    font-size: 13.5px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
  
  .footer-grid > .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .announcement-bar {
    height: 40px;
    font-size: 11.5px;
  }
}

/* Small mobile: 380px */
@media (max-width: 380px) {
  .product-carousel > * {
    flex: 0 0 calc(85% - 6px);
  }

  .btn {
    padding: 11px 22px;
    font-size: 13px;
  }
}

/* ==========================================================================
   13. Animations
   ========================================================================== */

/* Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide Up */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scale In */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-fade {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.reveal-fade.visible {
  opacity: 1;
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 560ms; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   14. Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }

.bg-warm-1 { background-color: var(--bg-warm-1); }
.bg-warm-2 { background-color: var(--bg-warm-2); }
.bg-warm-3 { background-color: var(--bg-warm-3); }
.bg-white { background-color: var(--bg-white); }

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }

.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- App-like Mobile UX Optimizations --- */
@media (max-width: 768px) {
    body, html {
        
        
        -webkit-tap-highlight-color: transparent;
        -webkit-font-smoothing: antialiased;
    }
    
    /* Hide scrollbars for native feel */
    ::-webkit-scrollbar {
        width: 0;
        background: transparent;
        display: none;
    }

    /* Native-like active button states */
    .btn, button, .nav-item, .add-to-cart-btn {
        transition: transform 0.15s ease, background-color 0.2s ease !important;
    }
    .btn:active, button:active, .add-to-cart-btn:active, a:active {
        transform: scale(0.96) !important;
    }

    /* Enhance Bottom Nav for Modern Phones (iPhone Safe Area) */
    .mobile-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.95);
        border-top: 1px solid rgba(0,0,0,0.04);
        box-shadow: 0 -10px 25px rgba(0,0,0,0.04);
    }
    
    /* Better touch targets for standard elements */
    input, select, textarea {
        font-size: 16px !important; /* Prevents iOS auto-zoom */
        border-radius: 12px;
    }
    
    /* Ensure cards and buttons don't touch edges */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Modernize card shadows for mobile */
    .product-card, .card {
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        border: 1px solid rgba(0,0,0,0.03);
    }
}

/* --- Additional Mobile Layout Fixes --- */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: calc(110px + env(safe-area-inset-bottom)) !important;
    }
    
    .site-header .logo img {
        height: 44px !important; /* Smaller logo for mobile to prevent crowding */
    }
    
    .header-inner {
        padding: 0 8px;
    }
    
    /* Hide top announcement bar contact info properly on mobile if Tailwind hidden fails due to inline */
    .announcement-bar .hidden {
        display: none !important;
    }
}
