/* 
  Lappy Baba Main Stylesheet
  ================================================
  Table of Contents:
  1. CSS Custom Properties
  2. Reset & Base
  3. Typography System
  4. Layout
  5. Header Component
  6. Hero Section
  7. Button System
  8. Trust Bar
  9. Service Cards
  10. Product Card
  11. Filter Sidebar
  12. Shop Page Layout
  13. Product Detail Page
  14. Testimonials
  15. Section Patterns
  16. Forms
  17. Footer
  18. WhatsApp Float Button
  19. Modals
  20. Badges & Chips
  21. Loading States
  22. Toast Notifications
  23. Breadcrumbs
  24. Pagination
  25. Blog Cards
  26. About/Services Page Specific
  27. Utility Classes
  28. Animations & Keyframes
  29. Print Styles
*/

/* --- 1. CSS Custom Properties --- */
:root {
  --color-primary: #A0305A;
  --color-primary-dark: #7A2145;
  --color-primary-light: #F5D6E4;
  --color-primary-xlight: #FDF0F5;
  --color-dark: #1A1A1A;
  --color-medium: #4A4A4A;
  --color-muted: #8A8A8A;
  --color-border: #E8E5E3;
  --color-border-light: #F0EDEB;
  --color-surface: #F9F7F5;
  --color-surface-2: #F3F0EE;
  --color-white: #FFFFFF;
  
  --color-success: #2D9D5E;
  --color-success-light: #E8F7EF;
  --color-warning: #E6A817;
  --color-warning-light: #FEF3CD;
  --color-danger: #D9362E;
  --color-danger-light: #FDECEA;
  --color-gold: #D4A843;
  --color-gold-light: #FDF6E3;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Baloo 2', cursive;

  /* Fluid typography baseline */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.25rem, 2vw + 1rem, 1.5rem);
  --text-2xl: clamp(1.5rem, 3vw + 1rem, 1.875rem);
  --text-3xl: clamp(1.875rem, 4vw + 1rem, 2.25rem);
  --text-4xl: clamp(2.25rem, 5vw + 1rem, 3rem);
  --text-5xl: clamp(2.5rem, 6vw + 1rem, 3.75rem);

  /* Spacing system */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.14), 0 8px 24px rgba(0,0,0,0.10);
  --shadow-primary: 0 8px 24px rgba(160, 48, 90, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2rem);
  --header-height: 70px;
}

/* --- 2. Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-dark);
  background-color: var(--color-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-surface);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

img, picture, svg, video {
  max-width: 100%;
  display: block;
}

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

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

/* --- 3. Typography System --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 var(--space-4) 0;
  color: var(--color-dark);
}

h1, .h1 { font-size: var(--text-5xl); font-weight: 700; }
h2, .h2 { font-size: var(--text-4xl); font-weight: 700; }
h3, .h3 { font-size: var(--text-3xl); font-weight: 600; }
h4, .h4 { font-size: var(--text-2xl); font-weight: 600; }
h5, .h5 { font-size: var(--text-xl); font-weight: 600; }
h6, .h6 { font-size: var(--text-lg); font-weight: 600; }

p { margin: 0 0 var(--space-4) 0; }
p:last-child { margin-bottom: 0; }

.text-lead { font-size: var(--text-lg); color: var(--color-medium); }
.text-small { font-size: var(--text-sm); }
.text-muted { color: var(--color-muted); }
.font-accent { font-family: var(--font-accent); }

/* --- 4. Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-16);
}

/* --- 5. Header Component --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: box-shadow var(--transition-base);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header-logo img {
  height: 40px;
  width: auto;
}
.header-nav ul {
  display: flex;
  gap: var(--space-6);
}
.header-nav a {
  font-weight: 500;
  position: relative;
  padding-block: var(--space-2);
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}
.header-nav a:hover::after, .header-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.mobile-menu-toggle {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}
.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-dark);
  position: absolute;
  transition: var(--transition-base);
}
.mobile-menu-toggle span:first-child { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 9px; }
.mobile-menu-toggle span:last-child { top: 18px; }

.mobile-menu-toggle.open span:first-child { transform: rotate(45deg); top: 9px; }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:last-child { transform: rotate(-45deg); top: 9px; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: var(--shadow-xl);
  z-index: 999;
  padding: calc(var(--header-height) + var(--space-8)) var(--space-6) var(--space-8);
  transition: right var(--transition-base);
  overflow-y: auto;
}
.mobile-menu.open { right: 0; }

@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* --- 6. Hero Section --- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--color-primary-xlight);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(var(--color-primary-light) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.hero-headline {
  margin-bottom: var(--space-4);
}
.hero-headline span {
  color: var(--color-primary);
  display: block;
}
.hero-subtext {
  font-size: var(--text-lg);
  color: var(--color-medium);
  margin-bottom: var(--space-8);
}
.hero-search {
  position: relative;
  margin-bottom: var(--space-8);
}
.hero-search input {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  padding-right: 120px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  font-size: var(--text-base);
}
.hero-search .btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  padding: 0 var(--space-6);
}
.search-dropdown {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  width: 100%;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 10;
}
.search-dropdown.active { display: block; }
.hero-ctas { display: flex; gap: var(--space-4); margin-bottom: var(--space-10); }
.hero-stats {
  display: flex;
  gap: var(--space-8);
}
.stat-item h4 { margin: 0; color: var(--color-primary); }
.stat-item p { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }

.hero-visual { position: relative; }
.hero-visual-card {
  position: absolute;
  background: var(--color-white);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.hero-visual-card.card-1 { top: 10%; right: 10%; }
.hero-visual-card.card-2 { bottom: 20%; left: 10%; animation-delay: 2s; }

@media (max-width: 768px) {
  .hero { min-height: 60vh; padding-block: var(--space-16); }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-ctas { flex-direction: column; }
}

/* --- 7. Button System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-align: center;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover { background-color: var(--color-primary-dark); }
.btn-secondary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.btn-ghost {
  color: var(--color-primary);
}
.btn-ghost:hover {
  background-color: var(--color-primary-light);
}
.btn-success { background-color: var(--color-success); color: var(--color-white); }
.btn-danger { background-color: var(--color-danger); color: var(--color-white); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-sm); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-lg); }
.btn-block { width: 100%; }
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}
.btn-whatsapp {
  background-color: #25D366;
  color: white;
}
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* --- 8. Trust Bar --- */
.trust-bar {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-block: var(--space-8);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.trust-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}
.trust-num {
  font-size: var(--text-2xl);
  font-weight: 700;
  font-family: var(--font-heading);
}
.trust-label { font-size: var(--text-sm); opacity: 0.9; }
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- 9. Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border-top: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-primary);
}
.service-icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-6);
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* --- 10. Product Card --- */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-surface);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-image img {
  transform: scale(1.05);
}
.product-card-badges {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 2;
}
.product-card-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card-brand {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-1);
}
.product-card-name {
  font-weight: 600;
  font-size: var(--text-md);
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-heading);
}
.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.spec-chip {
  background: var(--color-surface-2);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--color-medium);
}
.product-card-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.price-current {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-dark);
}
.price-old {
  font-size: var(--text-sm);
  color: var(--color-muted);
  text-decoration: line-through;
}
.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.product-card-list {
  flex-direction: row;
}
.product-card-list .product-card-image {
  width: 300px;
  aspect-ratio: auto;
}
@media (max-width: 600px) {
  .product-card-list { flex-direction: column; }
  .product-card-list .product-card-image { width: 100%; aspect-ratio: 4/3; }
}

/* --- 11. Filter Sidebar --- */
.filter-sidebar {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.filter-section {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
}
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-title {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: var(--space-4);
}
.filter-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-size: var(--text-sm);
}
.custom-checkbox input {
  accent-color: var(--color-primary);
  width: 16px;
  height: 16px;
}
/* Range Slider */
.range-slider {
  width: 100%;
}
.filter-active-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.active-filter-chip {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.active-filter-chip span { cursor: pointer; }

/* --- 12. Shop Page Layout --- */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-8);
  align-items: start;
}
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.view-toggle {
  display: flex;
  gap: var(--space-2);
}
.view-toggle button {
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
}
.view-toggle button.active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}
.products-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

@media (max-width: 992px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar {
    position: fixed;
    top: 0; left: -100%;
    width: 300px;
    height: 100vh;
    z-index: 1100;
    overflow-y: auto;
    border-radius: 0;
    transition: left var(--transition-base);
  }
  .filter-sidebar.open { left: 0; }
  .filter-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1099;
    display: none;
  }
  .filter-overlay.active { display: block; }
}

/* --- 13. Product Detail Page --- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}
.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
}
.gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
  cursor: zoom-in;
  border: 1px solid var(--color-border);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumbs {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-2);
}
.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--color-white);
  flex-shrink: 0;
}
.gallery-thumb.active {
  border-color: var(--color-primary);
}
.gallery-thumb img {
  width: 100%; height: 100%; object-fit: contain;
}
.product-info h1 { margin-bottom: var(--space-2); }
.product-price-block {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-block: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}
.product-price-block .price { font-size: var(--text-3xl); font-weight: 700; color: var(--color-primary); }
.product-enquiry-actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.product-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-8);
}
.product-specs-table th, .product-specs-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.product-specs-table tr:nth-child(even) { background: var(--color-surface-2); }
.emi-calculator {
  background: var(--color-primary-xlight);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
}

@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; gap: var(--space-8); }
  .product-gallery { position: static; }
  .product-enquiry-actions { flex-direction: column; }
}

/* --- 14. Testimonials --- */
.testimonials-section {
  background: var(--color-surface-2);
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-4);
  width: max-content;
  animation: scroll 30s linear infinite;
}
.testimonials-track:hover { animation-play-state: paused; }
.testimonial-card {
  width: 350px;
  background: var(--color-white);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  white-space: normal;
}
.stars { color: var(--color-warning); margin-bottom: var(--space-4); }
.quote { font-style: italic; margin-bottom: var(--space-6); color: var(--color-medium); }
.author { display: flex; align-items: center; gap: var(--space-4); }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--color-primary-light); }
.author-info h6 { margin: 0; }
.author-info span { font-size: var(--text-xs); color: var(--color-muted); }

/* --- 15. Section Patterns --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
}
.section-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.wave-divider {
  line-height: 0;
}
.wave-divider svg {
  width: 100%;
  height: 60px;
}

/* --- 16. Forms --- */
.form-group { margin-bottom: var(--space-4); }
.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
}
.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--text-base);
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.form-control.is-invalid { border-color: var(--color-danger); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-error { color: var(--color-danger); font-size: var(--text-xs); margin-top: var(--space-1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* --- 17. Footer --- */
.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding-top: var(--space-16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer-brand p { color: var(--color-muted); margin-top: var(--space-4); }
.footer-title { color: var(--color-white); margin-bottom: var(--space-6); font-size: var(--text-lg); }
.footer-links li { margin-bottom: var(--space-3); }
.footer-links a { color: var(--color-muted); }
.footer-links a:hover { color: var(--color-primary-light); padding-left: var(--space-2); }
.social-icons { display: flex; gap: var(--space-4); margin-top: var(--space-6); }
.social-icons a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.social-icons a:hover { background: var(--color-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-muted);
  font-size: var(--text-sm);
}
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; } }

/* --- 18. WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}
.whatsapp-float svg { width: 35px; height: 35px; fill: white; }

/* --- 19. Modals --- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-xl);
}
.modal-overlay.active .modal-box { transform: translateY(0); }
.modal-header {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-close { font-size: 24px; cursor: pointer; color: var(--color-muted); }
.modal-body { padding: var(--space-6); }

/* --- 20. Badges & Chips --- */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
}
.badge-condition-excellent { background: var(--color-success-light); color: var(--color-success); }
.badge-condition-good { background: #e0f2fe; color: #0284c7; }
.badge-condition-fair { background: var(--color-warning-light); color: var(--color-warning); }
.badge-featured { background: var(--color-gold-light); color: var(--color-gold); }
.badge-hot { background: var(--color-danger-light); color: var(--color-danger); }

/* --- 21. Loading States --- */
.skeleton {
  background: #eee;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  border-radius: 5px;
  background-size: 200% 100%;
  animation: 1.5s shimmer linear infinite;
}
.skeleton-card { height: 350px; width: 100%; border-radius: var(--radius-lg); }

/* --- 22. Toast Notifications --- */
.toast-container {
  position: fixed; top: 20px; right: 20px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: var(--color-white);
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  transform: translateX(120%);
  transition: transform var(--transition-base);
}
.toast.show { transform: translateX(0); }
.toast.success { border-color: var(--color-success); }
.toast.error { border-color: var(--color-danger); }

/* --- 23. Breadcrumbs --- */
.breadcrumb { display: flex; gap: 8px; font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-6); }
.breadcrumb a { color: var(--color-primary); }
.breadcrumb separator { color: var(--color-border); }

/* --- 24. Pagination --- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-8); }
.page-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}
.page-btn.active { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.page-btn:hover:not(.active) { background: var(--color-surface-2); }

/* --- 27. Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary); }
.text-success { color: var(--color-success); }
.text-danger { color: var(--color-danger); }
.bg-primary { background-color: var(--color-primary); color: white; }
.bg-surface { background-color: var(--color-surface); }
.bg-white { background-color: var(--color-white); }
.bg-dark { background-color: var(--color-dark); color: white; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.d-none { display: none !important; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-4 { margin-top: var(--space-4); }

/* --- 28. Animations & Keyframes --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position-x: -200%; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- 29. Print Styles --- */
@media print {
  .site-header, .site-footer, .hero, .btn, .whatsapp-float, .filter-sidebar { display: none !important; }
  body { background: white; color: black; }
  .container { width: 100%; max-width: none; padding: 0; }
  .product-detail { display: block; }
}
