/* ==========================================================================
   Sherri'z Kids Garments - Master Production Stylesheet
   Kids Fashion & Children Clothing Store | Hafiz Market, Muridke, Pakistan
   ========================================================================== */

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

:root {
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Color Palette - Premium Kids Fashion */
  --color-primary: #0f172a;        /* Deep Midnight Navy */
  --color-primary-light: #1e293b;  /* Slate Navy */
  --color-accent: #0284c7;         /* Sky Blue */
  --color-accent-hover: #0369a1;
  --color-accent-light: #e0f2fe;
  --color-rose: #e11d48;           /* Coral Rose */
  --color-rose-light: #ffe4e6;
  --color-gold: #f59e0b;           /* Amber Star */
  --color-gold-light: #fef3c7;
  --color-bg-light: #f8fafc;       /* Muted Surface */
  --color-border: #e2e8f0;         /* Hairline Border */
  --color-border-hover: #cbd5e1;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-whatsapp: #25d366;       /* WhatsApp Official */
  --color-whatsapp-dark: #128c7e;

  /* Layout Spacing */
  --header-height: 84px;
  --max-width: 1320px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 12px -2px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 16px 32px -6px rgba(15, 23, 42, 0.12), 0 6px 12px -4px rgba(15, 23, 42, 0.06);
  --shadow-float: 0 20px 35px -8px rgba(15, 23, 42, 0.2);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.18s ease;
}

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

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

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Container */
.container-custom {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Top Notification / Announcement Bar */
.top-notice-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  color: #f1f5f9;
  font-size: 0.8125rem;
  padding: 0.55rem 1rem;
  text-align: center;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-bar a {
  color: #38bdf8;
  text-decoration: underline;
  margin-left: 0.5rem;
  font-weight: 600;
}

.top-notice-bar a:hover {
  color: #7dd3fc;
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo-img {
  height: 64px;
  width: auto;
  max-height: 70px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

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

@media (max-width: 640px) {
  .brand-logo-img {
    height: 50px;
    max-height: 52px;
  }
}

.nav-links-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #475569;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.18s ease;
}

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

.nav-link.active {
  color: var(--color-accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--color-accent);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  color: #334155;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
  position: relative;
}

.icon-btn:hover {
  background: #f1f5f9;
  color: var(--color-primary);
  border-color: var(--color-border-hover);
  transform: translateY(-1px);
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-rose);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  height: 19px;
  min-width: 19px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(225, 29, 72, 0.3);
}

.whatsapp-nav-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .whatsapp-nav-btn {
    display: inline-flex;
  }
}

.whatsapp-nav-btn:hover {
  background: #d1fae5;
  color: #047857;
  border-color: #6ee7b7;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}

/* Primary & Secondary Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6875rem 1.35rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
  min-height: 44px;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  color: #ffffff;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6875rem 1.35rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
  min-height: 44px;
}

.btn-navy:hover {
  background: #1e293b;
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-whatsapp);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.6875rem 1.35rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  min-height: 44px;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  color: #ffffff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6875rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: var(--color-border-hover);
  color: var(--color-accent);
}

/* Hero Banner Slider */
.hero-slider-section {
  position: relative;
  background: #0f172a;
  overflow: hidden;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 480px;
}

@media (min-width: 768px) {
  .hero-slider-container {
    min-height: 540px;
  }
}

@media (min-width: 1024px) {
  .hero-slider-container {
    min-height: 600px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(15, 23, 42, 0.10) 100%);
  z-index: 2;
}

@media (max-width: 640px) {
  .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.48) 100%);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 640px;
  padding: 3.5rem 1.25rem;
}

.hero-content h1, .hero-content h2 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-content p {
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Ensure only 1 button appears on mobile in hero banner */
@media (max-width: 639px) {
  .hero-content .flex a:nth-child(2),
  .hero-content .banner-cta-group a:nth-child(2) {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hero-content {
    padding: 4.5rem 2rem;
  }
}

.slider-controls-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.slider-controls-btn:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.slider-prev { left: 1.25rem; }
.slider-next { right: 1.25rem; }

.slider-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.active {
  background: var(--color-accent);
  width: 28px;
}

/* Category Cards */
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.category-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 85%;
  overflow: hidden;
  background: #f1f5f9;
}

.category-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.category-body {
  padding: 1.125rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Product Card - High-End eCommerce Grid Item */
.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: var(--shadow-card);
}

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

.product-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 105%;
  background: #f8fafc;
  overflow: hidden;
}

.product-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.product-badge-discount {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3);
}

.product-body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta-quiet {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

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

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
  margin-bottom: 0.875rem;
}

.price-current {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-primary);
}

.price-old {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  text-decoration: line-through;
  font-weight: 500;
}

.product-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.btn-card-cart {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.55rem 0.35rem;
  background: #f1f5f9;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all 0.18s ease;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border: 1px solid var(--color-border);
}

.btn-card-cart:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-card-wa {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.55rem 0.35rem;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all 0.18s ease;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.btn-card-wa:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

/* Product Detail Page (PDP) Module */
.pdp-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.pdp-main-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pdp-thumbs-row {
  display: flex;
  gap: 0.625rem;
}

.pdp-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  overflow: hidden;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.18s ease;
}

.pdp-thumb:hover, .pdp-thumb.active {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.pdp-size-btn {
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  transition: all 0.15s ease;
  background: #ffffff;
  min-height: 42px;
}

.pdp-size-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pdp-size-btn.active {
  border-color: var(--color-accent);
  background-color: var(--color-accent-light);
  color: var(--color-accent-hover);
  font-weight: 700;
}

/* Floating WhatsApp Beacon */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--color-whatsapp);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  background: var(--color-whatsapp-dark);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-whatsapp);
  animation: wa-pulse 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
  pointer-events: none;
}

@keyframes wa-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

@media (max-width: 640px) {
  .floating-whatsapp-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.85rem;
  }
  .floating-whatsapp-text {
    display: none;
  }
}

/* Cart Slide-Over Drawer */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(3px);
  z-index: 60;
  transition: opacity 0.3s ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  z-index: 61;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.cart-drawer-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--color-border);
  background: #f8fafc;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: #ffffff;
  z-index: 61;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Site Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  font-size: 0.875rem;
  border-top: 1px solid #1e293b;
  margin-top: auto;
}

.site-footer a {
  color: #cbd5e1;
  transition: color 0.18s ease;
}

.site-footer a:hover {
  color: #38bdf8;
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
}

/* Standalone Grid & Flex Utilities (Guarantees layout even without Tailwind CDN) */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.rounded-lg { border-radius: var(--radius-md); }
.rounded-xl { border-radius: var(--radius-lg); }
.rounded-2xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.border { border-width: 1px; border-style: solid; border-color: var(--color-border); }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: var(--color-border); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--color-border); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-card); }
.shadow-lg { box-shadow: var(--shadow-hover); }

.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-900 { background-color: #0f172a; }
.bg-navy-900 { background-color: #0f172a; }
.bg-sky-50 { background-color: #f0f9ff; }
.bg-sky-600 { background-color: #0284c7; }
.bg-rose-50 { background-color: #fff1f2; }
.bg-rose-600 { background-color: #e11d48; }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-500 { background-color: #10b981; }

.text-white { color: #ffffff; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-sky-400 { color: #38bdf8; }
.text-sky-600 { color: #0284c7; }
.text-rose-600 { color: #e11d48; }
.text-amber-400 { color: #fbbf24; }
.text-amber-500 { color: #f59e0b; }
.text-emerald-600 { color: #059669; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge-soft-emerald {
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  border: 1px solid #a7f3d0;
}

.badge-soft-sky {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   Mobile-Optimized Compact Typography & Sleek Form Styling
   "फॉर्म, फैमिली फॉर्म थोड़ा सा छोटा कर दो, ठीक है मोबाइल के हिसाब से और छोटा-छोटा करो"
   ========================================================================== */
@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }

  body {
    font-size: 0.8125rem; /* Sleek 13px baseline on mobile */
    line-height: 1.5;
  }

  /* Form Elements: Compact, Clean & Professional */
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  input[type="password"],
  select,
  textarea {
    font-size: 0.8125rem !important; /* 13px */
    padding: 0.5rem 0.75rem !important;
    border-radius: 0.5rem !important;
    line-height: 1.35 !important;
  }

  label {
    font-size: 0.75rem !important; /* 12px */
    margin-bottom: 0.25rem !important;
    font-weight: 600 !important;
  }

  /* Buttons: Refined, compact, less bulky */
  .btn-primary, 
  .btn-navy, 
  .btn-whatsapp, 
  .btn-outline {
    font-size: 0.8125rem !important;
    padding: 0.5rem 0.95rem !important;
    min-height: 38px !important;
    border-radius: 0.5rem !important;
  }

  /* Hero Banner on Mobile */
  .hero-content {
    padding: 2.25rem 0.75rem !important;
  }

  .hero-content h1, 
  .hero-content h2 {
    font-size: 1.5rem !important; /* Compact high-impact mobile title */
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-content p {
    font-size: 0.8125rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.875rem !important;
    max-width: 90% !important;
  }

  .hero-slider-container {
    min-height: 380px !important;
  }

  /* Product Cards: Sleek mobile grid */
  .product-card {
    border-radius: 0.625rem !important;
  }

  .product-card-body {
    padding: 0.625rem 0.5rem !important;
  }

  .product-title {
    font-size: 0.8125rem !important; /* 13px */
    line-height: 1.25 !important;
    margin-bottom: 0.25rem !important;
    height: 2.5em !important;
  }

  .price-current {
    font-size: 0.9375rem !important; /* 15px */
    font-weight: 800 !important;
  }

  .price-old {
    font-size: 0.6875rem !important; /* 11px */
  }

  .product-meta-quiet {
    font-size: 0.6875rem !important;
    margin-bottom: 0.15rem !important;
  }

  .btn-card-cart, 
  .btn-card-wa {
    font-size: 0.6875rem !important; /* 11px */
    padding: 0.4rem 0.2rem !important;
    min-height: 32px !important;
    border-radius: 0.375rem !important;
  }

  /* Badges & Pills */
  .badge-soft-emerald, 
  .badge-soft-sky, 
  .status-badge {
    font-size: 0.6875rem !important;
    padding: 0.15rem 0.45rem !important;
  }

  /* Section Spacing on Mobile */
  .container-custom {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Category card height on mobile */
  .category-card {
    border-radius: 0.625rem !important;
  }
}
