/* ========== CSS VARIABLES ========== */
:root {
  --silk-terracotta: #B25A38;
  --silk-burnt: #8C4022;
  --silk-gold: #C09265;
  --silk-ivory: #FDF9F6;
  --silk-pink: #E0988A;
  --silk-green: #6C8C78;
  --silk-blue: #5C7B8E;
  --flipkart-blue: #B25A38; /* Changed accent to match theme */
  --silk-purple: #814C94;
  --silk-yellow: #DBB008;
  --silk-orange: #CF6E1E;
  --silk-red: #D53B2F;
  --silk-maroon: #7A0000;
  --silk-teal: #16A085;
  
  --text-dark: #1E130D;
  --text-muted: #6B5A53;
  --text-light: #A39690;
  --bg-light: #FCF9F6;
  --bg-white: #FFFFFF;
  --border-light: #EBE0D8;
  --border-medium: #DECFC5;
  
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.15);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ========== RESET ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
  padding-top: 116px;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F5E6DE; }
::-webkit-scrollbar-thumb { background: var(--silk-terracotta); border-radius: 10px; }

/* ========== TOP BANNER ========== */
.top-banner {
  background: linear-gradient(90deg, #B55A38, #D98A64);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  animation: slideDown 0.5s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002; /* Above navbar */
  height: 36px;
  line-height: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.promo-marquee {
  width: 100%;
  color: white;
  letter-spacing: 0.5px;
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 36px;
  left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: height 0.3s ease, box-shadow 0.3s ease;
  height: 80px;
}
.navbar.scrolled {
  height: 68px;
  box-shadow: var(--shadow-md);
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #B55A38, #D98A64);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo:hover { transform: scale(1.05); }
.logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.search-bar {
  flex: 1;
  max-width: 500px;
  margin: 0 2rem;
  position: relative;
}
.search-bar input {
  width: 100%;
  padding: 0.7rem 1.2rem 0.7rem 3rem;
  border: 2px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.search-bar input:focus { 
  border-color: var(--flipkart-blue); 
  box-shadow: 0 0 0 3px rgba(178,90,56,0.1); 
}
.search-bar i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--silk-terracotta);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--silk-terracotta); }

.nav-btn {
  background: var(--flipkart-blue);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}
.nav-btn:hover {
  background: #8C4022;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(178,90,56,0.3);
}

.cart-icon {
  position: relative;
  background: #FFF2EA;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}
.cart-icon:hover { 
  background: #FFE4D6; 
  transform: scale(1.1) rotate(5deg);
}
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #D53B2F;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 0.15rem 0.4rem;
  border-radius: 30px;
  min-width: 20px;
  text-align: center;
  animation: pulse 2s infinite;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ========== HERO SECTION ========== */
/*
  CSS Grid stacking: all direct children of .hero share grid-area 1/1.
  The image (width:100%; height:auto) is the tallest child → it defines the row height.
  The overlay and content are in the SAME cell, naturally overlapping the image.
  No fixed heights, no bottom:% guessing — works on any image size, any screen.
*/
.hero {
  display: grid;        /* ← key: grid creates the stacking context */
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #111;
}
/* Every direct child occupies the same single cell */
.hero > * {
  grid-column: 1;
  grid-row: 1;
}
/* Slide images stack in the same cell; first/active one is visible */
.hero-slide {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  transition: opacity 0.8s ease;
  /* Do NOT use position:absolute — grid handles the stacking */
}
.hero-slide:first-child { opacity: 1; }   /* visible before JS runs */
.hero-slide.active       { opacity: 1; z-index: 1; }
.hero-slide:not(.active) { opacity: 0; }

.hero-bg-img {
  display: block;
  width: 100%;
  height: auto;         /* natural image height → drives the grid row height */
  object-fit: cover;
}

/* Overlay: same grid cell, aligned to fill entire area */
.hero-overlay {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.2) 45%,
    transparent 75%
  );
  z-index: 2;
  pointer-events: none;
}

/* Content: same grid cell, centered vertically */
.hero-content {
  grid-column: 1;
  grid-row: 1;
  align-self: center;         /* centers content perfectly vertically upon the image */
  z-index: 3;
  padding: 0 4%;             /* side padding only */
  text-align: left;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: white;
  margin-top: 0;
  margin-bottom: 0.6rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  max-width: 260px;
}
.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 0 1.2rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}
.hero-badges {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.hero-badge {
  background: rgba(255,255,255,0.15);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.hero-badge:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.25);
  box-shadow: var(--shadow-md);
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}


/* ========== BUTTONS ========== */
.btn-primary {
  background: linear-gradient(135deg, var(--flipkart-blue), #8C4022);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(178,90,56,0.4);
  letter-spacing: 0.3px;
}
.btn-primary:hover { 
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(178,90,56,0.45);
}
.btn-secondary {
  background: white;
  color: var(--flipkart-blue);
  border: 2px solid var(--flipkart-blue);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: #F0F6FF;
  transform: translateY(-2px);
}

/* ========== TRUST BADGES ========== */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 3rem;
  background: white;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.trust-badge i {
  font-size: 1.5rem;
  color: var(--silk-terracotta);
}

/* ========== SECTION TITLES ========== */
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--silk-terracotta), var(--silk-gold));
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ========== FLIPKART STYLE CATEGORIES ========== */
.compact-categories-section {
  padding: 2rem 0;
  background: white;
  border-bottom: 8px solid var(--bg-light);
}
.flipkart-scroll-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 2rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: flex-start;
}
@media (min-width: 1024px) {
  .flipkart-scroll-container { justify-content: center; } /* Center perfectly on desktop if few items */
}
.flipkart-scroll-container::-webkit-scrollbar {
  display: none;
}
.flip-cat-item {
  scroll-snap-align: start;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  width: 100px;
}
.flip-cat-item:hover {
  transform: translateY(-5px);
}
.flip-cat-img {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
}
.flip-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.flip-cat-item span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.2;
}
.flip-cat-item:hover .flip-cat-img {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-color: var(--silk-terracotta);
}
.flip-cat-item.active-category .flip-cat-img {
  border: 3px solid var(--silk-terracotta);
  box-shadow: 0 4px 16px rgba(178,90,56,0.3);
}
.flip-cat-item.active-category span {
  color: var(--silk-terracotta);
  font-weight: 800;
}

/* ========== FEATURED PRODUCTS ========== */
.featured-products {
  padding: 2rem 1.5rem;
  background: var(--bg-light);
}

/* ========== PRODUCT GRID ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
}
.product-card:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--shadow-lg);
}
.product-card:hover .product-img {
  transform: scale(1.08);
}
.product-card .quick-view-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.65);
  color: white;
  text-align: center;
  padding: 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 3;
}
.product-card:hover .quick-view-overlay {
  opacity: 1;
  transform: translateY(0);
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #D53B2F;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 2;
}
.wishlist-btn:hover, .wishlist-btn.active {
  background: #D53B2F;
  color: white;
  transform: scale(1.1);
}
.product-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: var(--transition);
}
.product-info { padding: 0.9rem; }
.product-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  line-height: 1.3;
  color: var(--text-dark);
}
.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.color-dots {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}
.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: var(--transition);
}
.color-dot:hover {
  transform: scale(1.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.price-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.price { font-size: 1.4rem; font-weight: 900; color: var(--silk-burnt); }
.old-price { font-size: 0.95rem; color: var(--text-light); text-decoration: line-through; }
.discount-tag {
  background: #28a745;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.rating i { color: #FFB800; }
.rating span { color: var(--text-muted); font-weight: 600; }
.add-btn {
  background: linear-gradient(135deg, var(--silk-terracotta), var(--silk-burnt));
  border: none;
  width: 100%;
  padding: 0.85rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.add-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.add-btn:hover::before { left: 100%; }
.add-btn:hover { 
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(178,90,56,0.4);
}
.add-btn.added { background: #28B463; }

/* ========== OFFERS SECTION ========== */
.offers-section {
  padding: 3rem;
  background: linear-gradient(90deg, #FFF8F0, #FFF0E4);
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto 0;
}
.offer-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--silk-terracotta);
  transition: var(--transition);
  text-align: center;
}
.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--silk-burnt);
}
.offer-icon {
  width: 60px;
  height: 60px;
  background: #FFF2EA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--silk-terracotta);
}
.offer-card h4 {
  color: var(--silk-terracotta);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.offer-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.offer-code {
  background: #FFF2EA;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 700;
  color: var(--silk-terracotta);
  font-family: monospace;
}

/* ========== ABOUT SECTION ========== */
.about-section {
  padding: 4rem 3rem;
  background: white;
}

/* ========== FOOTER ========== */
footer {
  background: #1A1008;
  color: #D4C4B8;
  padding: 3rem 3rem 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-col h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-col a {
  display: block;
  color: #999;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-col a:hover { color: white; transform: translateX(5px); }
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #333;
  font-size: 0.85rem;
}

/* ========== SHOP LAYOUT (Products Page) ========== */
.shop-layout {
  display: flex;
  gap: 2rem;
  padding: 1rem 2rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ========== FILTER SIDEBAR ========== */
.filter-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 80px;
  box-shadow: var(--shadow-sm);
}
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}
.filter-header h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.clear-filters-btn {
  background: none;
  border: none;
  color: var(--silk-terracotta);
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 500;
}
.clear-filters-btn:hover { text-decoration: underline; }

.filter-section {
  margin-bottom: 1.5rem;
}
.filter-title {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
  color: var(--text-dark);
}
.filter-title i {
  font-size: 0.75rem;
  transition: var(--transition);
}
.filter-content {
  padding-top: 0.5rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.checkbox-label:hover { color: var(--text-dark); }
.checkbox-label input { accent-color: var(--flipkart-blue); }

/* Price Filter */
.price-range { margin-bottom: 1rem; }
.price-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.price-inputs input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
}
.price-inputs input:focus { border-color: var(--flipkart-blue); }
.price-slider {
  width: 100%;
  margin: 0.5rem 0;
  accent-color: var(--flipkart-blue);
}
.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
}
.price-presets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.price-btn {
  background: #F8F5F2;
  border: 1px solid var(--border-medium);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}
.price-btn:hover {
  background: #F0F6FF;
  border-color: var(--flipkart-blue);
}

/* Color Filter */
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.color-checkbox {
  position: relative;
  cursor: pointer;
}
.color-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.color-swatch {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: var(--transition);
}
.color-checkbox input:checked + .color-swatch {
  border-color: var(--text-dark);
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--text-dark);
}
.color-checkbox:hover .color-swatch {
  transform: scale(1.1);
}

/* Rating Filter */
.rating-stars {
  color: #FFB800;
  font-size: 0.85rem;
}

/* Sort Select */
.sort-select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
}
.sort-select:focus { border-color: var(--flipkart-blue); }

/* ========== PRODUCTS MAIN ========== */
.products-main {
  flex: 1;
  min-width: 0;
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  cursor: pointer;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.filter-count {
  background: var(--silk-terracotta);
  color: white;
  padding: 0.1rem 0.5rem;
  border-radius: 30px;
  font-size: 0.8rem;
}

/* Results Header */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.results-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}
.results-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.results-actions {
  display: flex;
  gap: 0.5rem;
}
.view-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-medium);
  background: white;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.view-toggle:hover, .view-toggle.active {
  background: var(--flipkart-blue);
  color: white;
  border-color: var(--flipkart-blue);
}

/* Active Filters */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.filter-tag {
  background: #F0F6FF;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--flipkart-blue);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.filter-tag i {
  cursor: pointer;
  font-size: 0.75rem;
  transition: var(--transition);
}
.filter-tag i:hover { color: #D53B2F; }

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: var(--radius-lg);
}
.no-results h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.no-results p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ========== CART SIDEBAR ========== */
.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: 100%; max-width: 450px;
  height: 100%;
  background: white;
  z-index: 1500;
  transform: translateX(100%);
  transition: var(--transition);
  box-shadow: -5px 0 30px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFF8F4;
}
.cart-header h3 { font-size: 1.1rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem; }
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #FAF5F0;
  border-radius: var(--radius-md);
  margin-bottom: 0.8rem;
  animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.cart-item img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.cart-item-details { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.95rem; }
.cart-item-price { color: var(--silk-terracotta); font-weight: 700; }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.cart-item-controls button {
  background: var(--border-medium);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}
.cart-item-controls button:hover {
  background: #C0B0A8;
  transform: scale(1.1);
}
.cart-item-remove {
  margin-left: auto;
  background: none !important;
  color: #D53B2F;
  font-size: 0.8rem;
}
.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  background: #FFF8F4;
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.checkout-btn {
  background: linear-gradient(135deg, var(--silk-terracotta), var(--silk-burnt));
  color: white;
  border: none;
  padding: 1rem;
  width: 100%;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: var(--transition);
}
.checkout-btn:hover { 
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(178,90,56,0.4);
}
.continue-shopping {
  text-align: center;
  margin-top: 0.8rem;
  color: var(--silk-terracotta);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}
.continue-shopping:hover { color: var(--silk-burnt); }

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}
.modal-overlay.open { visibility: visible; opacity: 1; }
.modal-card {
  background: white;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}
.modal-close:hover {
  background: var(--border-medium);
  transform: rotate(90deg);
}
.modal-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.modal-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.9rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus { border-color: var(--flipkart-blue); box-shadow: 0 0 0 3px rgba(178,90,56,0.1); }
.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-size: 0.85rem;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-medium);
}
.divider span { padding: 0 1rem; }
.social-login {
  display: flex;
  gap: 0.8rem;
}
.social-btn {
  flex: 1;
  padding: 0.8rem;
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-md);
  background: white;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}
.social-btn:hover { 
  background: #F8F5F2;
  transform: translateY(-2px);
}
.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.form-footer a {
  color: var(--flipkart-blue);
  text-decoration: none;
  font-weight: 600;
}

/* ========== TOAST ========== */
.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  background: #2A1A12;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease;
  max-width: 350px;
}
.toast.success { border-left: 4px solid #28B463; }
.toast.error { border-left: 4px solid #D53B2F; }
.toast.info { border-left: 4px solid var(--flipkart-blue); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--silk-terracotta);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(196,106,70,0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  background: var(--silk-burnt);
}

/* ========== PULSE ANIMATION ========== */
.pulse { animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ========== MEGA MENU & NAV ICONS ========== */
.nav-dropdown { position: relative; display: inline-block; cursor: pointer; }
.dropdown-content {
  display: none; position: absolute; top: 100%; left: 0;
  background: white; min-width: 220px;
  box-shadow: var(--shadow-xl); border-radius: var(--radius-md);
  padding: 0.5rem 0; z-index: 2000; border: 1px solid var(--border-light);
}
.nav-dropdown:hover .dropdown-content { display: flex; flex-direction: column; }
.dropdown-content a {
  padding: 0.8rem 1.5rem; color: var(--text-dark); text-decoration: none;
  font-size: 0.95rem; font-weight: 500; transition: var(--transition);
}
.dropdown-content a:hover { background: var(--bg-light); color: var(--silk-terracotta); padding-left: 2rem; }
.nav-icons-desktop { display: flex; align-items: center; gap: 1.5rem; }
.icon-btn { font-size: 1.3rem; cursor: pointer; transition: var(--transition); color: var(--text-dark); position: relative; }
.icon-btn:hover { color: var(--silk-terracotta); transform: translateY(-2px); }

/* ========== HERO OFFERS & COUNTDOWN ========== */
.hero-offer-tag {
  background: var(--silk-red); color: white; padding: 0.5rem 1.5rem;
  border-radius: 30px; font-weight: 800; display: inline-block;
  margin-bottom: 1.5rem; font-size: 1rem; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(213,59,47,0.4);
  border: 2px solid white;
}
.countdown-timer {
  display: flex; gap: 1rem; margin-bottom: 2rem; justify-content: flex-start;
}
.time-box {
  background: rgba(0,0,0,0.6); border: 2px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1rem; border-radius: var(--radius-md); color: white;
  text-align: center; backdrop-filter: blur(8px);
}
.time-box span { display: block; font-size: 1.8rem; font-weight: 900; font-family: monospace; }
.time-box small { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color:#ddd; }

/* ========== QUICK FILTERS (CHIPS) ========== */
.quick-filters-wrapper {
  background: white; padding: 1.5rem 0; border-bottom: 1px solid var(--border-light);
  overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch;
}
.quick-filters-wrapper::-webkit-scrollbar { display: none; }
.quick-filters {
  display: flex; gap: 1rem; padding: 0 3rem; max-width: 1400px; margin: 0 auto;
}
.quick-chip {
  background: var(--bg-light); border: 1px solid var(--border-medium);
  padding: 0.6rem 1.2rem; border-radius: 30px; text-decoration: none;
  color: var(--text-dark); font-size: 0.9rem; font-weight: 600;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 0.5rem;
}
.quick-chip:hover { border-color: var(--silk-terracotta); color: var(--silk-terracotta); background: white; box-shadow: var(--shadow-sm); transform: translateY(-2px); }

/* ========== VIDEO SHOWCASE ========== */
.video-showcase {
  padding: 5rem 3rem;
  background: #FFF8F4;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}
.video-card {
  display: block;
  text-decoration: none;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.video-card:hover .video-thumbnail img {
  transform: scale(1.08);
}
.video-thumbnail::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  transition: var(--transition);
}
.video-card:hover .video-thumbnail::after {
  background: rgba(0,0,0,0.1);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--silk-terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.video-card:hover .play-btn {
  background: var(--silk-terracotta);
  color: white;
  transform: translate(-50%, -50%) scale(1.1);
}
.video-info {
  padding: 1.5rem;
  text-align: center;
}
.video-info h3 {
  color: var(--text-dark);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

/* ========== PREMIUM TRUST BADGES ========== */
.trust-badges-premium {
  display: flex; justify-content: center; gap: 2rem; padding: 4rem 3rem; background: linear-gradient(to bottom, white, var(--bg-light)); flex-wrap: wrap;
}
.trust-badges-premium .trust-badge {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem;
  background: white; padding: 2rem 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  width: 240px; transition: var(--transition); border-bottom: 3px solid transparent;
}
.trust-badges-premium .trust-badge:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--silk-terracotta); }
.trust-badges-premium i { font-size: 2.5rem; color: var(--silk-terracotta); }
.trust-badges-premium span { font-weight: 700; font-size: 1.05rem; color: var(--text-dark); }

/* ========== FLOATING ACTIONS ========== */
.whatsapp-float {
  position: fixed; bottom: 30px; left: 30px; background: #25D366; color: white;
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 2.2rem; box-shadow: var(--shadow-lg);
  z-index: 1000; transition: var(--transition); animation: bounce-slight 3s infinite;
  text-decoration: none !important;
}
.whatsapp-float:hover { background: #1EBE55; transform: scale(1.1) rotate(5deg); color: white; text-decoration: none; }
@keyframes bounce-slight {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

#backToTop {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: var(--silk-terracotta);
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 18px rgba(196,106,70,0.45);
  cursor: pointer;
  z-index: 1200;
  border: none;
  outline: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
}
#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#backToTop:hover { background: var(--silk-burnt); transform: translateY(-4px); }

/* ========== MOBILE BOTTOM NAV ========== */
.mobile-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: white; box-shadow: 0 -5px 20px rgba(0,0,0,0.08); z-index: 2000;
  justify-content: space-around; padding: 0.8rem 0.5rem; padding-bottom: calc(0.8rem + env(safe-area-inset-bottom));
}
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: var(--text-muted); text-decoration: none; font-size: 0.75rem; font-weight: 700; transition: var(--transition);
}
.bottom-nav-item.active, .bottom-nav-item:hover { color: var(--silk-terracotta); transform: translateY(-2px); }
.bottom-nav-item i { font-size: 1.4rem; }
.nav-badge { position: absolute; top: -8px; right: -12px; background: var(--silk-red); color: white; font-size: 0.7rem; padding: 0.15rem 0.4rem; border-radius: 30px; font-weight: bold; border: 2px solid white; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .shop-layout {
    flex-direction: column;
  }
  .filter-sidebar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1100;
    transform: translateX(-100%);
    transition: var(--transition);
    border-radius: 0;
    overflow-y: auto;
  }
  .filter-sidebar.open {
    transform: translateX(0);
  }
  .mobile-filter-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .video-showcase { padding: 3rem 1.5rem; }

  .navbar {
    padding: 0.8rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
  }
  .mobile-menu-btn {
    display: block;
    z-index: 2001;
    position: relative;
    padding: 0.5rem;
  }
  .search-bar {
    order: 3;
    max-width: 100%;
    margin: 0.5rem 0 0;
    width: 100%;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    z-index: 2000;
  }
  .nav-links.active {
    left: 0;
  }
  .nav-link {
    font-size: 1.2rem;
  }

  /* Hero on mobile — grid still drives height from image; just tweak padding/font */
  .hero {
    /* grid approach: no height override needed */
  }
  .hero-content {
    /* align-self:center dynamically places content; just reduce side padding */
    padding: 0 16px;
  }
  .hero-content > * {
    margin-bottom: 6px;
  }

  .hero h1 { 
    font-size: 2.2rem; 
    margin-top: 0; 
    margin-bottom: 8px; 
    line-height: 1.25; 
    text-shadow: 0 2px 15px rgba(0,0,0,0.4); 
    max-width: 250px; 
  }
  
  .hero p, .hero-subtitle, .countdown-timer, .hero-badges {
    display: none !important;
  }
  
  .hero-offer-tag { 
    font-size: 0.8rem; 
    padding: 0.35rem 0.8rem;
    margin-bottom: 0; 
    display: inline-block;
    border-radius: 30px;
  }
  .hero-cta { 
    display: flex;
    flex-direction: row; 
    width: auto; 
    margin-top: 0.5rem; 
    gap: 14px; 
  }
  .hero-cta .btn-primary { 
    width: auto; 
    text-align: center; 
    border-radius: 30px; 
    font-size: 0.95rem; 
    padding: 0.8rem 1.5rem; 
    margin-bottom: 0; 
    box-shadow: 0 4px 15px rgba(178,90,56,0.4);
  }
  .hero-cta .btn-secondary {
    display: inline-flex !important;
    width: auto;
    text-align: center;
    border-radius: 30px;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    margin-bottom: 0;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
  }
  .logo-img { height: 60px; }
  
  .mobile-bottom-nav { display: flex; }
  .whatsapp-float { bottom: 90px; } /* push up so it doesn't overlap bottom nav */
  #backToTop { bottom: 140px; right: 16px; } /* above both mobile bottom nav and whatsapp */
  body { padding-bottom: 70px; } /* Prevent footer from hiding behind nav */
  
  .trust-badges-premium { padding: 2rem 1rem; gap: 1rem; }
  .trust-badges-premium .trust-badge { width: 45%; padding: 1.5rem 1rem; }
  
  .quick-filters { padding: 0 1rem; }
  .nav-icons-desktop { display: none; }
  .navbar { 
    padding: 0 0.8rem; 
    height: 80px;
    align-items: center;
    display: flex;
  }
  .navbar.scrolled {
    height: 68px;
    align-items: center;
  }
  .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
  }
  .logo-img { 
    height: auto;
    max-height: 64px;
    width: auto;
  }
  .search-bar {
    flex: 1;
    max-width: 180px;
    overflow: visible;
    margin: 0 0.5rem;
    position: relative;
    display: flex;
    align-items: center;
  }
  .search-bar input {
    width: 100%;
    height: 40px;
    padding: 0 0.8rem 0 2.4rem;
    border-radius: 50px;
    border: 2px solid var(--border-light);
    cursor: text;
    transition: all 0.3s ease;
    background: #f5f5f5;
    color: var(--text-dark);
    outline: none;
    font-size: 0.8rem;
  }
  .search-bar input::placeholder {
    color: var(--text-light);
    font-size: 0.78rem;
  }
  .search-bar input:focus {
    background: white;
    border-color: var(--silk-terracotta);
    box-shadow: 0 0 0 3px rgba(178,90,56,0.1);
  }
  .search-bar i {
    font-size: 0.9rem;
    z-index: 2;
    pointer-events: none;
  }


  .countdown-timer { justify-content: flex-start; }
  
  .compact-categories-section {
    padding: 1.2rem 0;
  }
  .flipkart-scroll-container {
    gap: 1.2rem;
    padding: 0.5rem 1.2rem;
  }
  .flip-cat-item { width: 75px; gap: 0.6rem; }
  .flip-cat-img { width: 75px; height: 75px; }
  .flip-cat-item span { font-size: 0.8rem; }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0.4rem;
    gap: 0.4rem;
  }
  .product-card {
    border-radius: 8px;
  }
  .product-info { padding: 0.4rem 0.5rem 0.6rem; }
  .product-title { font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .price-row { gap: 0.3rem; margin-bottom: 0.4rem; flex-wrap: wrap; }
  .price-row .price { font-size: 0.9rem; }
  .old-price, .discount-tag { display: none; }
  .rating { font-size: 0.75rem; margin-bottom: 0.4rem; }
  .add-btn { padding: 0.45rem 0.3rem; font-size: 0.72rem; margin-top: 0.2rem; border-radius: 5px; }
  .product-desc, .color-dots { display: none; }
  
  .offers-section { padding: 2rem 1rem; }
  
  footer { padding: 2rem 1rem; }
  
  .cart-sidebar { max-width: 100%; }
}

@media (max-width: 480px) {

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-image { max-width: 300px; }
}