/* ==========================================================================
   POKKISHAM COLD PRESSED OIL MILL & GROCERY STORE - DESIGN SYSTEM & STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Primary & Accent Color Palette (Exact Match to Mockup) */
  --primary: #0F392B;           /* Deep Forest Green */
  --primary-light: #164E38;     /* Lighter Forest Green */
  --primary-dark: #0A261C;      /* Very Dark Forest Green */
  --accent: #D4AF37;            /* Warm Natural Gold */
  --accent-hover: #C59D27;      /* Rich Golden Amber */
  --accent-light: #FBF4E2;      /* Light Gold Tint */
  --bg-cream: #FAF7F2;          /* Main Page Warm Cream */
  --bg-card: #FAF6F0;           /* Soft Beige Card Background */
  --bg-white: #FFFFFF;
  --text-dark: #1B2D24;         /* Charcoal Forest Black */
  --text-muted: #5A6D63;        /* Warm Olive Gray */
  --text-light: #86998E;
  --border-color: #E6DFD5;      /* Warm Subtle Border */
  --border-hover: #D4AF37;
  
  /* Badges & Accents */
  --badge-bg: #E8F3EE;
  --badge-text: #0F392B;
  --gold-gradient: linear-gradient(135deg, #E5BA43 0%, #B8891B 100%);
  --green-gradient: linear-gradient(135deg, #164E38 0%, #0A261C 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 57, 43, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 57, 43, 0.08);
  --shadow-lg: 0 14px 32px rgba(15, 57, 43, 0.12);
  --shadow-drawer: -8px 0 30px rgba(0,0,0,0.18);
  
  /* Typography & Geometry */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

ul {
  list-style: none;
}

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

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

button {
  cursor: pointer;
  background: none;
  transition: var(--transition);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Button Variants */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
}

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--accent);
  color: var(--primary-dark);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

/* Top Announcement Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: #D2DFD8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-badges {
  display: flex;
  gap: 24px;
  align-items: center;
}
.top-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.top-badge-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
.top-bar-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-icon-link {
  color: #D2DFD8;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: var(--transition);
}
.social-icon-link:hover {
  color: var(--accent);
  transform: scale(1.15);
}

/* Main Navigation Header */
.main-header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.25s ease;
}
.header-logo-img:hover {
  transform: scale(1.04);
}
.footer-logo-img {
  height: 75px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 12px;
}
.logo-icon-wrap {
  width: 48px;
  height: 48px;
  background: #FAF5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.logo-icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}
.logo-text-group {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1.5px;
  line-height: 1.1;
}
.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Main Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 120;
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  padding: 8px 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
  display: block;
}
.dropdown-item:hover {
  background: var(--bg-cream);
  color: var(--primary);
}

/* Header Right Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.action-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}
.action-btn:hover {
  background: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}
.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-white);
}

/* Hero Section & Sliding Carousel */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #FAF7F2 0%, #F1E9DC 100%);
  padding: 50px 0 70px;
  overflow: hidden;
}
.hero-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.hero-slider-track {
  display: flex;
  width: 300%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-slide {
  width: 33.3333%;
  flex-shrink: 0;
  opacity: 0.35;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.97);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero-content {
  max-width: 580px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(15, 57, 43, 0.08);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 18px;
}
.hero-title span {
  color: var(--accent-hover);
  display: block;
}
.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-image-box {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img-main {
  width: 100%;
  max-width: 520px;
  height: 380px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(15, 57, 43, 0.15);
  object-fit: cover;
}
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 20;
  transition: var(--transition);
  cursor: pointer;
}
.hero-nav-arrow:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
}
.hero-nav-arrow.prev { left: 24px; }
.hero-nav-arrow.next { right: 24px; }

.hero-dots-wrap {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(15, 57, 43, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: var(--radius-pill);
}

/* Category Grid Section */
.categories-section {
  padding: 70px 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.category-card:hover, .category-card.active {
  background: var(--bg-white);
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.category-thumb {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-cream);
  padding: 6px;
  border: 2px solid rgba(212, 175, 55, 0.2);
}
.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.category-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.category-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Feature Trust Bar Section */
.feature-trust-bar {
  background: var(--primary);
  color: var(--bg-white);
  padding: 26px 0;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}
.feature-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.trust-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}
.trust-sub {
  font-size: 0.78rem;
  color: #B5CAC0;
}

/* Section Header styling with Ornaments */
.section-header {
  text-align: center;
  margin-bottom: 45px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  color: var(--accent);
}
.ornament-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Best Sellers / Products Section */
.products-section {
  padding: 70px 0;
}
.product-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.filter-tab.active, .filter-tab:hover {
  background: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}
.product-card:hover {
  background: var(--bg-white);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: var(--bg-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  z-index: 5;
}
.product-image-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--bg-cream);
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}
.quick-view-overlay-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 57, 43, 0.9);
  color: var(--bg-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-card:hover .quick-view-overlay-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.product-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-weight-selector {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  font-size: 0.82rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  cursor: pointer;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  margin-top: auto;
}
.current-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}
.old-price {
  font-size: 0.88rem;
  color: var(--text-light);
  text-decoration: line-through;
}
.add-cart-btn {
  width: 100%;
  background: var(--primary);
  color: var(--bg-white);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.add-cart-btn:hover {
  background: var(--primary-light);
}

/* Why Choose Pokkisham Section */
.why-choose-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #FAF6F0 0%, #F5EFE4 100%);
}
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}
.why-choose-image-box {
  position: relative;
}
.why-choose-img {
  width: 100%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 0 16px 36px rgba(15, 57, 43, 0.15);
  border: 4px solid var(--bg-white);
}
.why-choose-content h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
.why-choose-content p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.why-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.why-badge-item {
  text-align: center;
}
.why-badge-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}
.why-badge-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  line-height: 1.2;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 20px;
}
.customer-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}
.star-rating {
  color: #F5A623;
  margin-top: 4px;
}

/* Counter Banner */
.stats-banner-section {
  background: var(--bg-white);
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item {
  border-right: 1px solid var(--border-color);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Newsletter & Delivery Footer Bar */
.newsletter-bar {
  background: var(--primary);
  color: var(--bg-white);
  padding: 36px 0;
}
.newsletter-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.newsletter-left h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}
.newsletter-left p {
  font-size: 0.85rem;
  color: #B5CAC0;
}
.newsletter-form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 420px;
}
.newsletter-input {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--bg-white);
  color: var(--text-dark);
}
.newsletter-btn {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 12px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-heading);
  font-weight: 800;
}
.newsletter-btn:hover { background: var(--accent-hover); }

.delivery-badges {
  display: flex;
  gap: 20px;
}
.delivery-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}
.delivery-badge-item svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

/* Main Footer */
.main-footer {
  background: var(--bg-card);
  color: var(--text-dark);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}
.contact-list li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--accent-hover);
  min-width: 18px;
}
.bottom-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Slide-Over Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg-white);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-drawer);
}
.cart-drawer-overlay.open .cart-drawer {
  transform: translateX(0);
}
.drawer-header {
  padding: 20px;
  background: var(--primary);
  color: var(--bg-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}
.close-drawer-btn {
  color: var(--bg-white);
  font-size: 1.5rem;
}
.free-shipping-progress {
  padding: 14px 20px;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
}
.progress-bar-wrap {
  height: 6px;
  background: var(--border-color);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 6px;
}
.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.4s ease;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.cart-item-details { flex: 1; }
.cart-item-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}
.cart-item-variant {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: var(--bg-cream);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-white);
}
.coupon-box {
  display: flex;
  margin-bottom: 14px;
}
.coupon-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 0.85rem;
}
.apply-coupon-btn {
  background: var(--primary);
  color: var(--bg-white);
  padding: 8px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  font-weight: 600;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.cart-summary-row.total {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}
.checkout-btn {
  width: 100%;
  margin-top: 14px;
}

/* Modals General */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition);
}
.modal-overlay.open .modal-content {
  transform: scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.5rem;
  color: var(--text-muted);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast-item {
  background: var(--primary);
  color: var(--bg-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s forwards;
}

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

/* Responsive Rules */
@media (max-width: 992px) {
  .top-bar-badges { display: none; }
  .hero-wrapper, .why-choose-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.6rem; }
  .feature-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-flex { flex-direction: column; text-align: center; }
  .why-badges-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu { display: none; } /* Controlled via mobile drawer */
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #25D366;
  color: #FFFFFF;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

/* Auth Modal Tabs & Links */
.auth-tabs-wrap {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
}
.auth-tab-btn {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.auth-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.auth-link {
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}
.auth-link:hover {
  color: var(--accent-hover);
}

/* Admin Panel Modals & Layout */
.admin-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border-color);
}
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.admin-stat-card {
  background: var(--bg-cream);
  padding: 18px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
}
.admin-stat-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}
.admin-stat-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
.admin-table th {
  background: var(--primary);
  color: var(--bg-white);
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-weight: 700;
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
.admin-table tr:hover {
  background: var(--bg-cream);
}

/* Fullscreen Admin Modal Layout */
#adminDashboardModal.modal-overlay {
  padding: 0;
  overflow: hidden;
}
#adminDashboardModal .modal-content.admin-fullscreen-container {
  max-width: 100vw !important;
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  box-shadow: none;
  overflow: hidden !important;
}
.admin-fullscreen-topbar {
  background: var(--primary);
  color: var(--bg-white);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--accent);
  flex-shrink: 0;
}
.admin-fullscreen-layout {
  display: flex;
  flex: 1;
  height: calc(100vh - 65px);
  min-height: 0; /* Critical CSS fix for child flex scrolling */
  overflow: hidden;
}
.admin-sidebar-nav {
  width: 250px;
  background: var(--primary-dark);
  color: var(--bg-white);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  overflow-y: auto;
}
.admin-sidebar-nav .auth-tab-btn {
  width: 100%;
  padding: 14px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: #B5CAC0;
  border-left: 4px solid transparent;
  border-bottom: none;
  border-radius: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.admin-sidebar-nav .auth-tab-btn.active, .admin-sidebar-nav .auth-tab-btn:hover {
  background: var(--primary);
  color: var(--accent);
  border-left-color: var(--accent);
}
.admin-main-viewport {
  flex: 1;
  padding: 30px 40px;
  overflow-y: auto !important;
  background: var(--bg-cream);
  min-height: 0; /* Critical CSS fix for child scrolling inside flexbox */
  -webkit-overflow-scrolling: touch;
}
/* ==========================================================================
   MOBILE FRIENDLY RESPONSIVE MEDIA QUERIES (Smartphones & Tablets)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .feature-trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  /* Header Responsive Adjustments */
  .top-bar-badges {
    display: none; /* Hide top bar text list on small mobile for clean header */
  }
  .top-bar-content {
    justify-content: center;
  }
  .nav-menu {
    gap: 14px;
    font-size: 0.85rem;
  }
  .header-actions {
    gap: 10px;
  }
  .header-action-btn {
    width: 38px;
    height: 38px;
  }
  
  /* Sections Padding */
  .hero-slider-section {
    padding: 30px 0;
  }
  .hero-heading {
    font-size: 2rem;
    line-height: 1.2;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .categories-section, .products-section {
    padding: 40px 0;
  }

  /* Grid Layouts for Mobile */
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .category-card {
    padding: 14px 8px;
  }
  .category-thumb {
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
  }
  .category-name {
    font-size: 0.88rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-card {
    padding: 12px;
  }
  .product-image-wrap img {
    height: 150px;
  }
  .product-title {
    font-size: 0.92rem;
    height: auto;
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  .feature-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Modals Fullscreen / Touch Friendly on Mobile */
  .modal-content {
    width: 94% !important;
    max-width: 100% !important;
    padding: 20px 16px !important;
    margin: 10px auto;
  }

  /* Admin Panel Full Mobile Responsiveness */
  .admin-fullscreen-topbar {
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .admin-fullscreen-topbar h3 {
    font-size: 1.05rem !important;
  }
  .admin-fullscreen-layout {
    flex-direction: column;
    height: calc(100vh - 75px);
    overflow: hidden;
  }
  .admin-sidebar-nav {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding: 6px 4px;
    background: var(--primary-dark);
    -webkit-overflow-scrolling: touch;
    border-bottom: 2px solid var(--accent);
  }
  .admin-sidebar-nav::-webkit-scrollbar {
    height: 4px;
  }
  .admin-sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }
  .admin-sidebar-nav .auth-tab-btn {
    padding: 10px 16px;
    white-space: nowrap;
    font-size: 0.82rem;
    border-left: none;
    border-bottom: 3px solid transparent;
    flex-shrink: 0;
  }
  .admin-sidebar-nav .auth-tab-btn.active, .admin-sidebar-nav .auth-tab-btn:hover {
    border-left-color: transparent;
    border-bottom-color: var(--accent);
  }
  .admin-main-viewport {
    padding: 16px 12px;
    flex: 1;
    overflow-y: auto;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 1.65rem;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: 1fr; /* Full width 1 column product cards on very small phones */
  }
  .feature-trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  /* Touch target sizes for mobile accessibility */
  .btn, .add-cart-btn {
    min-height: 44px;
    font-size: 0.88rem;
  }

  /* Admin Header Buttons Stack on Mobile */
  .admin-fullscreen-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-fullscreen-topbar > div {
    width: 100%;
    justify-content: space-between;
  }
}

