/* public/css/style.css */
/* Modern, Mobile-First Organic Food E-Commerce Landing Page Styles */

/* 1. Typography & Font Definition */
@font-face {
  font-family: 'Tatsam BD';
  src: local('Tatsam BD'),
       url('/fonts/tatsambd.woff2') format('woff2'),
       url('/fonts/tatsambd.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #2D5A27;
  --primary-dark: #1E3F20;
  --primary-light: #417D39;
  --primary-subtle: #EEF6EC;
  
  --accent: #C58B16;
  --accent-hover: #A6720D;
  --accent-subtle: #FDF6E7;
  
  --bg-main: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-alt: #F4F0E8;
  
  --text-main: #1D2A1C;
  --text-muted: #5C695A;
  --text-light: #879485;
  
  --border-color: #E2DBD0;
  --border-light: #EFEBE4;
  
  --danger: #D32F2F;
  --danger-subtle: #FDE8E8;
  --success: #2E7D32;
  --success-subtle: #E8F5E9;
  --warning: #ED6C02;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 6px rgba(29, 42, 28, 0.04);
  --shadow-md: 0 4px 16px rgba(29, 42, 28, 0.08);
  --shadow-lg: 0 10px 30px rgba(29, 42, 28, 0.12);
  
  --font-family: 'Tatsam BD', 'Hind Siliguri', 'Noto Serif Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-width: 1200px;
  --header-height: 86px;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile sticky bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Top Announcement Bar */
.top-notice-bar {
  background: var(--primary-dark);
  color: #F0F7EE;
  font-size: 0.85rem;
  padding: 8px 16px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.top-notice-bar strong {
  color: var(--accent);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  min-height: var(--header-height);
  height: auto;
  padding: 8px 0;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.brand-logo-wrapper {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 72px;
  max-height: 78px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.brand-logo-area.has-logo .brand-text {
  display: none !important;
}

.brand-logo-area:hover .brand-logo-img {
  transform: scale(1.03);
}

.footer-logo-img {
  height: 72px;
  max-height: 78px;
  max-width: 280px;
  margin-bottom: 12px;
  object-fit: contain;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-subtle);
  border: 1px solid #D6EAD2;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
}

.brand-text h1 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.nav-links {
  display: none;
  gap: 24px;
  align-items: center;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.2s;
  font-size: 0.95rem;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-track {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-track:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
}

.btn-cart-header {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(45, 90, 39, 0.25);
}

.btn-cart-header:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.cart-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Hero Section */
.hero-section {
  padding: 40px 0 50px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-main) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-subtle);
  color: #8C5E09;
  border: 1px solid #F0D9A8;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.1rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

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

.btn-primary-lg {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(45, 90, 39, 0.3);
  transition: all 0.25s ease;
}

.btn-primary-lg:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(45, 90, 39, 0.4);
}

.btn-outline-lg {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-outline-lg:hover {
  background: var(--primary-subtle);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 500;
}

.hero-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
  background: #fff;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.hero-image-wrapper.has-video {
  aspect-ratio: 16 / 9;
  max-width: 520px;
  background: #000;
  border-color: #1E3F20;
}

.hero-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.hero-video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.hero-video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-video-poster:hover img {
  transform: scale(1.04);
  filter: brightness(0.88);
}

.hero-video-play-btn {
  position: absolute;
  width: 72px;
  height: 72px;
  background: rgba(220, 38, 38, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  animation: heroPlayPulse 2s infinite;
  transition: transform 0.25s ease, background 0.25s ease;
  cursor: pointer;
  border: 3px solid #fff;
  z-index: 3;
}

.hero-video-play-btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  margin-left: 4px;
}

.hero-video-poster:hover .hero-video-play-btn {
  transform: scale(1.15);
  background: #ff0000;
}

@keyframes heroPlayPulse {
  0% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  70% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 0 18px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

.btn-hero-unmute {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.btn-hero-unmute:hover {
  background: #2D5A27;
  border-color: #2D5A27;
}

/* Trust Badges Section */
.trust-section {
  padding: 40px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.trust-card {
  padding: 22px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s ease, box-shadow 0.28s ease, border-color 0.2s ease;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trust-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.trust-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.section-badge {
  display: inline-block;
  background: var(--primary-subtle);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 10px;
  border: 1px solid #D6EAD2;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Products Section */
.products-section {
  padding: 60px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.25s ease;
  position: relative;
}

.product-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fdfdfd;
  overflow: hidden;
  cursor: pointer;
}

.product-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-stock-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  color: var(--primary);
  border: 1px solid #D6EAD2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.product-stock-tag.out {
  background: var(--danger-subtle);
  color: var(--danger);
  border-color: #F8B4B4;
}

.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  cursor: pointer;
  transition: color 0.2s;
}

.product-name:hover {
  color: var(--primary);
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Variant Selector Tabs */
.variant-selector-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.variant-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.variant-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
}

.variant-btn:hover {
  border-color: var(--primary);
}

.variant-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  margin-top: auto;
}

.price-offer {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.price-regular {
  font-size: 0.88rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.discount-badge {
  font-size: 0.72rem;
  background: #FFF3D6;
  color: #945B07;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-details {
  background: var(--bg-alt);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 8px 10px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.btn-details:hover {
  background: #E8E2D5;
}

.btn-buy-now {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
}

.btn-buy-now:hover {
  background: var(--primary-dark);
}

.btn-buy-now:disabled {
  background: #B0B9AE;
  cursor: not-allowed;
}

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

.faq-container {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--bg-main);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.active {
  border-color: var(--primary);
  background: #fff;
}

.faq-question {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  display: block;
}

/* Customer Reviews Section */
.reviews-section {
  padding: 65px 0;
  background: #F9FBF8;
  border-top: 1px solid var(--border-light);
}

.reviews-stats-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  background: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  border: 1px solid #DCE6DA;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.stat-pill .stat-star {
  letter-spacing: 1px;
}

.btn-write-review {
  background: #EEF5EB;
  color: #2D5A27;
  border: 1px solid #C8DECA;
  border-radius: var(--radius-full);
  padding: 7px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  margin-left: auto;
}

.btn-write-review:hover {
  background: #2D5A27;
  color: #fff;
  border-color: #2D5A27;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 680px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.review-card {
  background: #fff;
  border: 1px solid #E2ECE0;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s ease, box-shadow 0.28s ease, border-color 0.2s ease;
  position: relative;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2D5A27, #4D8B45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(45, 90, 39, 0.2);
}

.review-user-info {
  flex: 1;
  min-width: 0;
}

.review-user-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1E3F20;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-user-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  background: #EBF7EB;
  color: #2D5A27;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 4px;
}

.review-stars-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.review-date {
  font-size: 0.75rem;
  color: #8E9E8C;
}

.review-product-pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #2D5A27;
  background: #F2F8F0;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  border: 1px solid #D6E8D4;
}

.review-comment {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #374735;
  font-style: normal;
  position: relative;
  flex-grow: 1;
}

.review-comment::before {
  content: '“';
  font-size: 1.8rem;
  line-height: 0;
  color: #BFDDBB;
  vertical-align: -0.4em;
  margin-right: 4px;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #D2E0CF;
  padding: 60px 0 30px;
  border-top: 1px solid #2B4E28;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
  }
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #B5C9B2;
  margin-bottom: 16px;
}

.footer-links h4, .footer-contact h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
  font-weight: 600;
}

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

.footer-links a {
  color: #B5C9B2;
  font-size: 0.9rem;
  transition: color 0.2s;
  cursor: pointer;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #B5C9B2;
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid #294726;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #8CA689;
}

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Sticky Mobile Order Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 99;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-info {
  display: flex;
  flex-direction: column;
}

.sticky-cart-summary {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sticky-total-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.btn-sticky-order {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Modals & Drawers */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 33, 22, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

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

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.25s ease;
  position: relative;
}

.modal-backdrop.open .modal-window {
  transform: translateY(0);
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.modal-close {
  background: var(--bg-alt);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all 0.2s;
}

.modal-close:hover {
  background: #E8E2D5;
  color: var(--text-main);
}

.modal-content {
  padding: 24px;
}

/* Product Details Modal Styles */
.modal-product-img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto 20px auto;
  display: block;
}

.detail-section {
  margin-bottom: 18px;
}

.detail-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-section p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Checkout Drawer / Modal */
.checkout-modal-window {
  max-width: 680px;
}

.cart-items-list {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  padding: 14px;
}

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

.cart-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.cart-item-thumb {
  width: 56px;
  height: 56px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.cart-item-variant {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  border: none;
  width: 28px;
  height: 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--bg-alt);
}

.qty-value {
  padding: 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  min-width: 70px;
  text-align: right;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
}

.btn-remove-item:hover {
  color: var(--danger);
}

/* Coupon Box */
.coupon-box {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.coupon-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.coupon-input:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-apply-coupon {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-apply-coupon:hover {
  background: #E8E2D5;
}

/* Order Summary Table */
.summary-table {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 22px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.summary-row.total-row {
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
  margin-top: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Checkout Form */
.form-group {
  margin-bottom: 16px;
}

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

.form-label.required::after {
  content: ' *';
  color: var(--danger);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-main);
  background: #fff;
  transition: border-color 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.12);
}

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

.payment-method-box {
  background: var(--primary-subtle);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.payment-method-box input[type="radio"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.payment-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

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

.btn-wallet-choice {
  flex: 1;
  padding: 8px 10px;
  background: #fff;
  border: 1.5px solid #DCE6DA;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.2s ease;
  text-align: center;
}

.btn-wallet-choice.active {
  border-color: var(--primary);
  background: var(--primary-subtle);
  color: var(--primary-dark);
  box-shadow: 0 2px 6px rgba(45, 90, 39, 0.12);
}

.btn-copy-num {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-copy-num:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.consent-checkbox-group {
  margin-bottom: 18px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 8px;
  line-height: 1.4;
}

.consent-label input[type="checkbox"] {
  accent-color: var(--primary);
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-confirm-order {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(45, 90, 39, 0.25);
  transition: all 0.2s;
}

.btn-confirm-order:hover {
  background: var(--primary-dark);
}

.btn-confirm-order:disabled {
  background: #A1AFA0;
  cursor: not-allowed;
}

/* Order Success Receipt Modal */
.order-success-card {
  text-align: center;
  padding: 10px;
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--success-subtle);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px auto;
}

.success-order-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

/* Order Tracking View */
.tracking-timeline {
  position: relative;
  padding-left: 28px;
  margin: 20px 0;
}

.tracking-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border-color);
}

.timeline-step {
  position: relative;
  margin-bottom: 20px;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--text-light);
}

.timeline-step.completed .timeline-dot {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.timeline-step.current .timeline-dot {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px #FDF6E7;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.timeline-time {
  font-size: 0.78rem;
  color: var(--text-light);
}

.timeline-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Toast Messages */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #fff;
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid var(--primary);
  font-size: 0.9rem;
  animation: slideIn 0.3s ease;
  max-width: 340px;
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.success {
  border-left-color: var(--success);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Print Invoice Styles */
@media print {
  body * {
    visibility: hidden;
  }
  .printable-invoice, .printable-invoice * {
    visibility: visible;
  }
  .printable-invoice {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
  .no-print {
    display: none !important;
  }
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 980;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  padding: 12px 18px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
  color: #FFFFFF !important;
}

.floating-whatsapp-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.whatsapp-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.whatsapp-btn-icon svg {
  display: block;
}

.whatsapp-btn-text {
  letter-spacing: -0.2px;
  font-size: 0.92rem;
}

.whatsapp-btn-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: #25D366;
  opacity: 0.55;
  animation: waPulse 2.2s infinite ease-out;
  pointer-events: none;
  z-index: -1;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  60% { transform: scale(1.26); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ====================================================================
   FULL WEBSITE ANIMATIONS & MICRO-INTERACTIONS (DESKTOP & MOBILE)
   ==================================================================== */

/* 1. Hero Smooth Entrance (Runs immediately on load - No flash/blink) */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content-col {
  animation: heroFadeIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-media-col {
  animation: heroFadeIn 0.85s 0.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

/* 2. Hero Floating Animation */
@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-image-wrapper {
  animation: heroFloat 5.5s ease-in-out infinite;
  will-change: transform;
}

/* 3. Top Notice Bar Subtle Shimmer */
@keyframes topBarGlow {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 1; }
}

.top-notice-bar {
  animation: topBarGlow 3s ease-in-out infinite;
}

/* 4. Badge Pulse & Glow */
@keyframes badgeShine {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.hero-badge, .section-badge {
  animation: badgeShine 4s ease-in-out infinite;
}

/* 5. Unified Butter-Smooth Scroll Reveal Animations */
.scroll-anim {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-anim.in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* 6. Cart Badge Bouncy Pop Animation */
@keyframes cartBadgeBounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.4); }
  65% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.badge-bounce {
  animation: cartBadgeBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 7. Hover & Tap Micro-Interactions (Guarded for desktop to prevent sticky hover on touch) */
@media (hover: hover) and (pointer: fine) {
  button:active, 
  .btn-primary-lg:active, 
  .btn-outline-lg:active, 
  .btn-buy-now:active, 
  .btn-confirm-order:active, 
  .variant-btn:active, 
  .btn-track:active, 
  .btn-cart-header:active {
    transform: scale(0.97);
  }

  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(45, 90, 39, 0.14);
    border-color: #A3C99C;
  }

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

  .trust-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #C7DFC2;
  }

  .review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(29, 42, 28, 0.08);
    border-color: #B5D4AF;
  }
}

/* 8. Button Base Transition */
button, .btn-primary-lg, .btn-outline-lg, .btn-buy-now, .btn-confirm-order, .variant-btn, .btn-track, .btn-cart-header {
  transition: transform 0.18s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* 9. FAQ Accordion Smooth Expansion */
.faq-item {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-question i {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

/* 10. Modal Window Scale In */
.modal-window {
  transform: scale(0.95) translateY(16px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.modal-backdrop.open .modal-window {
  transform: scale(1) translateY(0);
}

/* 11. Accessibility: Respect User's Reduced Motion Preferences */
@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;
  }
  .scroll-anim {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ====================================================================
   MOBILE-FIRST RESPONSIVE OPTIMIZATION (Up to 768px & Ultra-Small 360px)
   ==================================================================== */

@media (max-width: 768px) {
  /* Container Padding */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Mobile Animation Tuning (Faster, lighter, zero layout shift) */
  .scroll-anim {
    transform: translateY(14px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  .hero-image-wrapper {
    animation: heroFloatMobile 4.5s ease-in-out infinite;
  }

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

  /* Header on Mobile */
  .site-header {
    height: auto;
    min-height: 64px;
    padding: 6px 0;
  }

  .brand-logo-img {
    height: 50px;
    max-height: 54px;
    max-width: 185px;
  }

  .footer-logo-img {
    height: 54px;
    max-height: 58px;
    max-width: 200px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }

  .brand-text h1 {
    font-size: 1.2rem;
  }

  .brand-text span {
    font-size: 0.72rem;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-track {
    padding: 7px 11px;
    font-size: 0.8rem;
  }

  .btn-cart-header {
    padding: 7px 13px;
    font-size: 0.84rem;
  }

  /* Hero Section on Mobile */
  .hero-section {
    padding: 24px 0 36px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 1.9rem;
    line-height: 1.26;
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 22px;
  }

  .btn-primary-lg, .btn-outline-lg {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.98rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 16px;
  }

  .hero-feature-item {
    font-size: 0.85rem;
  }

  /* Products Grid on Mobile */
  .products-section {
    padding: 40px 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-body {
    padding: 16px;
  }

  .product-name {
    font-size: 1.15rem;
  }

  .variant-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .variant-tabs::-webkit-scrollbar {
    display: none;
  }

  .variant-btn {
    padding: 7px 14px;
    font-size: 0.85rem;
    white-space: nowrap;
    border-radius: var(--radius-full);
  }

  .product-price-row {
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px;
  }

  .price-offer {
    font-size: 1.35rem;
  }

  .product-actions {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 10px;
  }

  .btn-details {
    padding: 12px;
    font-size: 0.9rem;
  }

  .btn-buy-now {
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 700;
  }

  /* Trust Badges on Mobile */
  .trust-section {
    padding: 36px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trust-card {
    padding: 16px;
    gap: 14px;
  }

  /* Reviews on Mobile */
  .reviews-section {
    padding: 40px 0;
  }

  .reviews-stats-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
  }

  .stat-pill {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .btn-write-review {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding: 10px 18px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* FAQ on Mobile */
  .faq-section {
    padding: 40px 0;
  }

  .faq-question {
    padding: 15px 16px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 16px 16px;
    font-size: 0.88rem;
  }

  /* Floating WhatsApp Button on Mobile */
  .floating-whatsapp-btn {
    bottom: 74px; /* Sits cleanly above sticky bottom bar */
    right: 14px;
    padding: 10px 16px;
    font-size: 0.86rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  }

  .whatsapp-btn-icon svg {
    width: 22px;
    height: 22px;
  }

  /* Sticky Mobile Bar */
  .mobile-sticky-bar {
    padding: 10px 16px;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  }

  .sticky-total-price {
    font-size: 1.2rem;
  }

  .btn-sticky-order {
    padding: 11px 22px;
    font-size: 0.96rem;
    border-radius: var(--radius-full);
  }

  /* Modals on Mobile: Bottom Sheet Experience */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .modal-window {
    width: 100%;
    max-height: 90vh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .modal-header {
    padding: 16px 20px;
  }

  .modal-title {
    font-size: 1.15rem;
  }

  .modal-content {
    padding: 18px 18px 32px 18px;
    -webkit-overflow-scrolling: touch;
  }

  /* Form Elements: Avoid iOS auto-zoom bug with 16px font */
  .form-input, .form-select, .form-textarea, .coupon-input {
    font-size: 16px !important;
    min-height: 44px;
    padding: 10px 14px;
  }

  /* Cart Items on Mobile */
  .cart-item-row {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
  }

  .cart-item-info {
    width: 100%;
  }

  .qty-control {
    order: 2;
  }

  .cart-item-price {
    order: 3;
    margin-left: auto;
  }

  .btn-remove-item {
    order: 4;
  }
}

/* Extra Small Phones (320px - 400px) */
@media (max-width: 400px) {
  .brand-text h1 {
    font-size: 1.05rem;
  }

  .btn-track span:not(:first-child) {
    display: none; /* Icon-only on very narrow phones */
  }

  .btn-cart-header span:nth-child(2) {
    display: none; /* Icon and badge only */
  }

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

  .floating-whatsapp-btn .whatsapp-btn-text {
    display: none; /* Compact icon button on tiny screens */
  }

  .floating-whatsapp-btn {
    padding: 12px;
    border-radius: 50%;
  }
}


