/* ==========================================================================
   PureMart Authentic Duplicate - Comprehensive Responsive Stylesheet
   Color Palette: Terracotta (#835E54), Forest Green (#7A9B0E), Warm Cream (#FFFCFA)
   Breakpoints: 320px, 480px, 768px, 1024px, 1280px, 1440px+
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  --primary: #835E54;
  --primary-hover: #6B4A41;
  --primary-light: #F7EDE9;
  --primary-border: #C9907C;
  --secondary: #7A9B0E;
  --secondary-hover: #627E0B;
  --secondary-light: #F1F6E6;
  --accent: #E5A93C;
  --bg-cream: #FFFCFA;
  --bg-soft: #F9F5F0;
  --text-main: #2C2C2C;
  --text-muted: #666666;
  --text-light: #888888;
  --border-subtle: #E6D6CD;
  --gold: #E5A93C;
  --danger: #D9534F;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(68, 55, 40, 0.05);
  --shadow-md: 0 6px 20px rgba(68, 55, 40, 0.08);
  --shadow-lg: 0 12px 30px rgba(68, 55, 40, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --font-main: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  touch-action: manipulation;
}

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

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

/* ==========================================================================
   1. TOP ANNOUNCEMENT BAR & UTILITIES
   ========================================================================== */
.top-bar {
  background: var(--secondary);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.top-bar-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.top-bar-msg span.badge-free {
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.top-bar-links select {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11.5px;
  outline: none;
  cursor: pointer;
}

.top-bar-links select option {
  background: var(--text-main);
  color: var(--white);
}

/* ==========================================================================
   2. MAIN HEADER (Logo, Search, Actions)
   ========================================================================== */
.main-header {
  padding: 14px 0;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 100;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.mobile-nav-toggle {
  display: none;
  font-size: 22px;
  color: var(--primary);
  padding: 6px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(131, 94, 84, 0.25);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Search Bar */
.search-container {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px 5px 3px 14px;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(131, 94, 84, 0.12);
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text-main);
  background: transparent;
}

.search-btn {
  background: var(--primary);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--primary-hover);
}

/* Search Results Autocomplete */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  max-height: 360px;
  overflow-y: auto;
  display: none;
  z-index: 200;
}

.search-results.active {
  display: block;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bg-soft);
  cursor: pointer;
  transition: var(--transition);
}

.search-item:hover {
  background: var(--primary-light);
}

.search-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.search-item-info {
  flex: 1;
}

.search-item-title {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-main);
}

.search-item-price {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
}

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

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  position: relative;
}

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

.action-btn .icon {
  font-size: 17px;
  color: var(--primary);
}

.action-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--secondary);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.action-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.action-btn-text .label {
  font-size: 9.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.action-btn-text .value {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   3. STICKY NAVIGATION BAR & MOBILE MENU DRAWER
   ========================================================================== */
.nav-bar {
  background: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFF6F2;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-link svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  transition: transform 0.2s;
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  color: var(--text-main);
  min-width: 220px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
  padding: 8px 0;
  z-index: 150;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
}

.dropdown-menu li a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 22px;
}

.nav-right-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #6B4A41;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  color: #FFEAE2;
  white-space: nowrap;
}

.nav-right-badge i {
  color: var(--gold);
}

/* Mobile Slide-Out Menu Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--bg-cream);
  z-index: 999;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-nav-header {
  padding: 16px 20px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-header .logo-brand {
  color: var(--white);
  font-size: 22px;
}

.mobile-nav-close {
  color: var(--white);
  font-size: 20px;
}

.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-list a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ==========================================================================
   4. REELS / STORY HIGHLIGHTS BAR
   ========================================================================== */
.reels-section {
  padding: 16px 0 10px;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border-subtle);
}

.reels-wrapper {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reels-wrapper::-webkit-scrollbar {
  display: none;
}

.reel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  width: 72px;
  text-align: center;
}

.reel-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(45deg, var(--secondary), var(--gold), var(--primary));
  transition: var(--transition);
}

.reel-item:hover .reel-avatar {
  transform: scale(1.08);
}

.reel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--white);
}

.reel-title {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ==========================================================================
   5. HERO SLIDER CAROUSEL
   ========================================================================== */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 460px;
  background: #1A1A1A;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.03);
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68);
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 10;
}

.slide-card {
  max-width: 560px;
  background: rgba(255, 252, 250, 0.94);
  backdrop-filter: blur(10px);
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--secondary);
  box-shadow: var(--shadow-lg);
  animation: slideFadeIn 0.8s ease forwards;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-tag {
  display: inline-block;
  background: var(--secondary-light);
  color: var(--secondary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 10px;
}

.slide-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(131, 94, 84, 0.3);
  transition: var(--transition);
}

.btn-hero:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-main);
  z-index: 20;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--white);
  color: var(--primary);
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

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

/* ==========================================================================
   6. CATEGORIES QUICK GRID
   ========================================================================== */
.categories-section {
  padding: 40px 0;
  background: var(--bg-cream);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px;
}

.section-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(44, 44, 44, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: var(--white);
}

.category-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}

.category-count {
  font-size: 11.5px;
  color: var(--gold);
  font-weight: 600;
}

/* ==========================================================================
   7. FEATURED PRODUCTS SECTION (With Filter Tabs & Cards)
   ========================================================================== */
.products-section {
  padding: 40px 0 60px;
  background: var(--bg-soft);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(131, 94, 84, 0.2);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Product Card */
.product-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

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

/* Badges */
.badge-container {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 5;
}

.badge-discount {
  background: var(--primary);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-organic {
  background: var(--secondary);
  color: var(--white);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

/* Wishlist Icon Button */
.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 5;
  transition: var(--transition);
}

.wishlist-btn:hover, .wishlist-btn.active {
  background: var(--primary);
  color: var(--white);
}

/* Product Image */
.product-img-wrapper {
  height: 180px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

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

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

.quick-view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 44, 44, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .quick-view-overlay {
  opacity: 1;
}

.btn-quick-view {
  background: var(--white);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
}

/* Product Info */
.product-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.3;
  cursor: pointer;
}

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

.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 10px;
  font-size: 11.5px;
  color: var(--gold);
}

.rating-count {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 11px;
  margin-left: 3px;
}

/* Weight Variant Selector Pills */
.weight-selector {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.weight-pill {
  flex: 1;
  min-width: 44px;
  padding: 3px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  background: var(--bg-cream);
  transition: var(--transition);
}

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

/* Pricing & Add to Cart Action Row */
.product-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-current {
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
}

.price-original {
  font-size: 12.5px;
  color: var(--text-light);
  text-decoration: line-through;
}

.btn-add-cart {
  width: 100%;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(131, 94, 84, 0.25);
}

/* ==========================================================================
   8. VALUE PROPOSITION TRUST BAR
   ========================================================================== */
.trust-bar {
  background: var(--secondary);
  color: var(--white);
  padding: 30px 0;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.trust-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.trust-desc {
  font-size: 11.5px;
  opacity: 0.85;
  margin-top: 2px;
}

/* ==========================================================================
   9. TESTIMONIALS & REVIEWS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 50px 0;
  background: var(--bg-cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.testimonial-stars {
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 10px;
}

.testimonial-text {
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.user-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-main);
}

.user-location {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   10. PRESS & MEDIA COVERAGE SCROLLER
   ========================================================================== */
.press-section {
  padding: 24px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.press-title {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.press-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.press-logo-badge {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #A58E85;
  opacity: 0.7;
}

/* ==========================================================================
   11. CART SLIDE-OUT DRAWER
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-cream);
  z-index: 1001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.active {
  transform: translateX(0);
}

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

.cart-header-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-main);
}

.free-shipping-meter {
  background: var(--secondary-light);
  padding: 10px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.shipping-txt {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
}

.progress-bar-bg {
  height: 7px;
  background: rgba(122, 155, 14, 0.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--secondary);
  width: 0%;
  transition: width 0.4s ease;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.empty-cart-view {
  text-align: center;
  margin: auto;
  padding: 30px 16px;
}

.empty-cart-view i {
  font-size: 42px;
  color: var(--border-subtle);
  margin-bottom: 10px;
}

.empty-cart-view p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cart-item {
  display: flex;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
  line-height: 1.2;
}

.cart-item-variant {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.qty-picker {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--bg-cream);
}

.qty-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-main);
}

.qty-val {
  width: 26px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.cart-item-remove {
  color: var(--text-light);
  font-size: 13px;
}

.cart-footer {
  padding: 16px 20px;
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
}

.coupon-box {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.coupon-box input {
  flex: 1;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  font-size: 11.5px;
  outline: none;
}

.btn-coupon {
  background: var(--secondary);
  color: var(--white);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
}

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

.summary-row.total {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  border-top: 1px dashed var(--border-subtle);
  padding-top: 8px;
  margin-top: 8px;
}

.summary-row.total span:last-child {
  color: var(--primary);
}

.btn-checkout {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px;
  border-radius: var(--radius-pill);
  margin-top: 12px;
  box-shadow: 0 4px 14px rgba(131, 94, 84, 0.3);
}

/* ==========================================================================
   12. QUICK VIEW MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-content {
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 10;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px;
}

.modal-img-wrapper {
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  display: flex;
  flex-direction: column;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ==========================================================================
   13. TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--text-main);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease forwards;
}

.toast i {
  color: var(--secondary);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
footer {
  background: #231F20;
  color: #CCCCCC;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col-title {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 28px;
  height: 2px;
  background: var(--primary-border);
}

.footer-about p {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--secondary);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-form input {
  background: #332E30;
  border: 1px solid #443E40;
  border-radius: var(--radius-pill);
  padding: 9px 14px;
  color: var(--white);
  font-size: 12.5px;
  outline: none;
}

.newsletter-form button {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-bottom {
  border-top: 1px solid #332E30;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.payment-icons {
  display: flex;
  gap: 12px;
  font-size: 18px;
  color: #888888;
}

/* ==========================================================================
   15. ADVANCED RESPONSIVE MEDIA QUERIES (320px to 1440px+)
   ========================================================================== */

/* Ultra-Wide Displays (>1440px) */
@media (min-width: 1441px) {
  .container {
    max-width: 1360px;
  }
  .hero-slider {
    height: 520px;
  }
}

/* Laptops & Standard Desktops (1025px - 1280px) */
@media (max-width: 1280px) {
  .category-grid, .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* Tablets Landscape & Small Laptops (769px - 1024px) */
@media (max-width: 1024px) {
  .nav-right-badge { display: none; }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablets Portrait & Large Mobiles (481px - 768px) */
@media (max-width: 768px) {
  .top-bar-links { display: none; }
  .top-bar-msg { justify-content: center; text-align: center; }

  .main-header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .search-container {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 4px;
  }

  .nav-menu {
    display: none; /* Hidden on tablet/mobile, uses side drawer */
  }

  .hero-slider {
    height: 360px;
  }
  .slide-card {
    max-width: 100%;
    padding: 20px 24px;
    margin: 0 16px;
  }
  .slide-title {
    font-size: 26px;
  }
  .slide-subtitle {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .btn-hero {
    padding: 9px 20px;
    font-size: 12.5px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

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

  .modal-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .modal-img-wrapper {
    height: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Small Mobiles & Smartphones (320px - 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .top-bar {
    font-size: 11px;
    padding: 6px 0;
  }

  .logo-brand {
    font-size: 22px;
  }
  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .logo-tagline {
    font-size: 8.5px;
    letter-spacing: 1.2px;
  }

  .action-btn-text {
    display: none; /* Hide label text on mobile, show icons */
  }
  .action-btn {
    padding: 7px 10px;
  }

  .hero-slider {
    height: 320px;
  }
  .slide-card {
    padding: 16px;
    margin: 0 10px;
  }
  .slide-title {
    font-size: 22px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .category-card {
    height: 160px;
  }

  .filter-tabs {
    gap: 6px;
  }
  .tab-btn {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-card {
    padding: 10px;
  }
  .product-img-wrapper {
    height: 130px;
  }
  .product-title {
    font-size: 13px;
  }
  .price-current {
    font-size: 16px;
  }
  .btn-add-cart {
    font-size: 10.5px;
    padding: 8px 6px;
  }

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

  .cart-drawer {
    max-width: 100vw;
  }

  .toast-container {
    bottom: 12px;
    right: 12px;
    left: 12px;
  }
  .toast {
    font-size: 12px;
    justify-content: center;
  }
}
