/**
 * Kids Store - Main Stylesheet
 * Mobile-first responsive design
 */

/* ===========================
   CSS Variables
   =========================== */
:root {
  /* Colors - Premium UI Redesign */
  --primary: #00e676;
  --primary-hover: #00c853;
  --secondary: #2d3436;
  --accent: #ffeb3b;
  
  /* Layout Colors */
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-secondary: #f7f7f7;
  --text: #1a1a1a;
  --text-light: #444444;
  --text-muted: #9e9e9e;
  --border: #eeeeee;
  
  /* Status */
  --success: #00e676;
  --warning: #ff9f43;
  --danger: #ff5252;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);

  /* Spacing & Radius */
  --container-width: 1200px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-circle: 50%;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Outfit', sans-serif;
}

/* ===========================
   Reset & Base
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===========================
   Layout
   =========================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

.main {
  flex: 1;
  padding: 24px 0 48px;
}

/* ===========================
   Header
   =========================== */
.header {
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%; /* Maintains the circular look of the logo */
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  padding: 16px;
  gap: 8px;
}

.nav.active {
  display: flex;
}

.nav-link {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text);
}

.nav-link:hover,
.nav-link.active {
  background: var(--bg-alt);
  color: var(--primary);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--secondary);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: #f5f5f5;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  min-width: 180px;
  padding: 8px;
  z-index: 50;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.dropdown-item:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

/* Desktop Nav */
@media (min-width: 768px) {
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    box-shadow: none;
    padding: 0;
    gap: 4px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-link {
    padding: 8px 16px;
  }
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 48px 24px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero {
    padding: 64px 48px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* ===========================
   Section Headers
   =========================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 8px;
}

.view-all {
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-all:hover {
  color: var(--primary-dark);
}

/* ===========================
   Product Grid
   =========================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* ===========================
   Product Card
   =========================== */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card-image {
  position: relative;
  padding-top: 100%;
  background: var(--bg-alt);
  overflow: hidden;
}

.product-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 1;
}

.product-badge.featured {
  background: var(--accent);
  color: var(--text);
}

.product-badge.out-of-stock {
  background: var(--text-muted);
  color: white;
}

.product-badge.color {
  background: var(--secondary);
  color: white;
}

.product-card-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===========================
   Premium Product Redesign
   =========================== */

.product-page {
  padding: 24px 0 100px;
  background: var(--bg);
}

.product-detail {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 992px) {
  .product-detail {
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
  }
}

/* Gallery Section */
.product-gallery {
  position: sticky;
  top: 100px;
}

.gallery-main {
  position: relative;
  aspect-ratio: 4/5;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rating-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: white;
  padding: 6px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.rating-badge .star {
  color: var(--warning);
}

.rating-badge .count {
  color: var(--text-muted);
  font-weight: 500;
}

.gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.gallery-dots .dot {
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  transition: var(--transition);
}

.gallery-dots .dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 4px;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.gallery-thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  background: white;
  box-shadow: var(--shadow-sm);
}

.gallery-thumb.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.gallery-thumb:hover:not(.active) {
  border-color: var(--border);
  transform: translateY(-2px);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info Section */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}

.product-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.badge-eco {
  background: #e8f5e9;
  color: #2e7d32;
}

.badge-bestseller {
  background: #e3f2fd;
  color: #1565c0;
}

.product-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
}

/* Variant Selectors */
.variant-group {
  margin-bottom: 24px;
}

.variant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.variant-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

.size-guide-link {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: underline;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Swatches */
.variant-option.swatch {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--border);
  transition: var(--transition);
  position: relative;
}

.variant-option.swatch.active {
  box-shadow: 0 0 0 2px var(--primary);
}

.variant-option.swatch.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.variant-option.swatch::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 20px;
  height: 20px;
  background: white;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") no-repeat center/contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") no-repeat center/contain;
  transition: var(--transition);
}

.variant-option.swatch.active::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Pills (AJIO Style) */
.variant-option.pill {
  min-width: 56px;
  height: 44px;
  padding: 0 16px;
  border-radius: 8px; /* Square-ish with rounded corners like Ajio */
  background: white;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.variant-option.pill:hover:not(.disabled) {
  border-color: var(--secondary);
  background: #fcfcfc;
}

.variant-option.pill.active {
  background: white;
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--primary);
}

.variant-option.pill.disabled {
  color: #c0c0c0;
  background: #f9f9f9;
  border-color: #eeeeee;
  cursor: not-allowed;
  pointer-events: none;
}

/* Diagonal strike-through for out-of-stock */
.variant-option.pill.disabled::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #d0d0d0;
  transform: rotate(-15deg);
}

/* Accordions */
.product-accordions {
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  padding: 24px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--secondary);
  cursor: pointer;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-header .icon {
  font-size: 1.5rem;
  transition: var(--transition);
}

.accordion-item[open] .accordion-header .icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding-bottom: 24px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Sticky Footer */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 16px 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.footer-flex {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 4px;
  height: 56px;
}

.qty-btn {
  width: 44px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  border-radius: 10px;
  transition: var(--transition);
}

.qty-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.quantity-selector input {
  width: 40px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--secondary);
}

/* WhatsApp Button Updated */
.whatsapp-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--primary);
  color: white !important;
  height: 56px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.whatsapp-btn:hover:not(.disabled) {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 230, 118, 0.3);
}

.whatsapp-btn.disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
}

/* Custom Fields Display */
.product-specs {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.product-specs h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.specs-list {
  list-style: none;
}

.specs-list li {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.specs-list li:last-child {
  border-bottom: none;
}

.specs-list .spec-label {
  font-weight: 600;
  color: var(--text-light);
  flex: 0 0 40%;
}

.specs-list .spec-value {
  flex: 1;
}

/* ===========================
   Breadcrumbs
   =========================== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-light);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span {
  color: var(--text-muted);
}

.breadcrumbs .current {
  color: var(--text);
  font-weight: 600;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--text);
  color: white;
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand .logo-icon {
  font-size: 2rem;
}

.footer-brand .logo-text {
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-tagline {
  opacity: 0.7;
  margin-top: 8px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer .whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: var(--transition);
}

.footer .whatsapp-link:hover {
  background: #1da851;
}

.footer .whatsapp-icon {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 0.9rem;
}

/* ===========================
   Empty State
   =========================== */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-light);
}

/* ===========================
   Utilities
   =========================== */
.text-center {
  text-align: center;
}
.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--secondary);
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-32 {
  margin-bottom: 32px;
}

/* ===========================
   Premium Homepage Redesign
   =========================== */

/* Updated Header & Icons */
.header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  height: 64px;
}

.svg-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
}

/* Logo Redesign */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-circle {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  gap: 8px;
  margin-left: 24px;
}

.desktop-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}

.desktop-nav .nav-link:hover {
  background: #f5f5f5;
  color: var(--secondary);
}

.desktop-nav .nav-link.active {
  background: var(--primary);
  color: white;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-action-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--secondary);
  transition: var(--transition);
}

.header-action-btn:hover {
  background: #f5f5f5;
}

.cart-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 7px;
  height: 7px;
  background: #ff5252;
  border-radius: 50%;
}

/* Classic Search Bar (Drawer) */
.header-search-bar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.header-search-bar.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.search-form-refined {
  display: flex;
  gap: 12px;
  background: #f7f7f7;
  padding: 6px;
  border-radius: 12px;
  align-items: center;
}

.search-form-refined input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
}

.search-submit {
  background: var(--secondary);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-nav-overlay.active .mobile-nav-content {
  left: 0;
}

.mobile-nav-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-header .logo-text {
  font-size: 1.2rem;
}

.close-nav {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-links {
  padding: 16px 0;
  overflow-y: auto;
}

.mobile-nav-link {
  display: block;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  border-bottom: 1px solid #f9f9f9;
}

.mobile-nav-link:active {
  background: #f5f5f5;
}

/* Desktop Adjustments */
@media (min-width: 768px) {
  .header-grid {
    padding: 0 32px;
    height: 72px;
  }
  
  .desktop-nav {
    display: flex;
  }
  
  .nav-toggle {
    display: none;
  }
}

/* Hero Slider */
.hero-slider {
  margin-bottom: 48px;
}

.hero-banner {
  border-radius: 32px;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 48px;
  overflow: hidden;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 400px;
}

.hero-subtitle {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.btn-hero {
  background: white;
  color: var(--secondary);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Category Circles */
.category-circles {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: none;
}

.category-circles::-webkit-scrollbar {
  display: none;
}

.category-circle-item {
  flex: 0 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.category-circle-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: white;
  padding: 6px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-circle-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.category-placeholder {
  font-size: 2.5rem;
}

.category-circle-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.category-circle-item:hover .category-circle-img {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

/* Premium Product Cards */
.product-grid-premium {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 992px) {
  .product-grid-premium {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.product-card-premium {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.product-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card-premium .product-img {
  aspect-ratio: 1;
  background: #f8f8f8;
}

.product-card-premium .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-premium {
  padding: 16px;
}

.product-info-premium .product-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--secondary);
}

.product-meta {
  margin-bottom: 12px;
}

.product-cat {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
}

.add-btn {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
}

/* Promo Banner */
.promo-banner {
  background: #f1f8e9;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.promo-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--secondary);
}

.promo-content p {
  color: var(--text-light);
}

.promo-icon {
  font-size: 3rem;
}

/* Brand Section */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.brand-item {
  background: #f5f5f5;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #bdbdbd;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.view-all {
  color: #ff8a65;
  font-weight: 700;
  text-decoration: none;
}

.mb-48 {
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .header-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-search {
    max-width: 400px;
  }
}
