/* ==========================================================================
   SM ELECTRONICS / SSEDIMU BUSINESS ENTERPRISES
   Pure HTML & CSS Modern Light Design System
   Human-Crafted, Ultra-Clean Light Aesthetic (Zero Gradients)
   Universal Electronics Store + Mobile App Bottom Navigation Bar
   ========================================================================== */

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

:root {
  /* Clean Solid Light Palette */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark-accent: #0f172a;
  
  --border-color: #e2e8f0;
  --border-dark: #cbd5e1;
  --border-active: #2563eb;
  
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;
  
  --primary-blue: #2563eb;
  --primary-blue-hover: #1d4ed8;
  --primary-dark: #0f172a;
  --accent-amber: #d97706;
  --accent-emerald: #059669;
  --accent-rose: #e11d48;
  --whatsapp-green: #25D366;
  --whatsapp-green-hover: #1eae53;
  
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12);
  --shadow-whatsapp: 0 8px 24px rgba(37, 211, 102, 0.35);
  
  /* Transitions */
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
}

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

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 650px;
  line-height: 1.5;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* Responsive Section Header Flex Between */
.section-header.flex-between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-header.flex-between > div {
  flex: 1;
  min-width: 250px;
}

.section-header.flex-between .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-blue {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.badge-amber {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-cyan {
  background: #cff4fc;
  color: #087990;
  border: 1px solid #b6effb;
}

.badge-dark {
  background: #0f172a;
  color: #ffffff;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.brand-logo span {
  color: var(--primary-blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-blue);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.action-btn {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
}

.action-btn:hover {
  background-color: #e2e8f0;
  border-color: var(--border-dark);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--primary-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
}

/* Brand Strip Bar */
.brand-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.brand-strip-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

.brand-strip-container span {
  transition: var(--transition);
}

.brand-strip-container span:hover {
  color: var(--primary-blue);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  background-color: #ffffff;
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content .badge {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--primary-blue);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 520px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #ffffff;
  border: 1px solid var(--primary-blue);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border: 1px solid var(--whatsapp-green);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-green-hover);
  border-color: var(--whatsapp-green-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-whatsapp);
}

.hero-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-surface);
}

.hero-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: var(--transition);
}

.hero-image-card:hover img {
  transform: scale(1.02);
}

/* Feature Grid / Value Props */
.features-section {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 2.75rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.75rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: #eff6ff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  border: 1px solid #dbeafe;
}

.feature-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.feature-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.product-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #f1f5f9;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-badge-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}

.product-brand-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.product-actions-overlay {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}

.product-card:hover .product-actions-overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.product-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  color: var(--text-main);
}

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

.product-specs-pills {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.spec-pill {
  font-size: 0.7rem;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--text-secondary);
  font-weight: 500;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--accent-amber);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.product-rating span {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

/* Product Card Footer & Micro Price Formatting */
.product-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
}

.product-price-box {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem;
  width: 100%;
}

.product-price {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1.2;
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}

.price-currency {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
}

.price-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-unit {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-blue);
}

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

.product-price-old .price-currency,
.product-price-old .price-val,
.product-price-old .price-unit {
  color: var(--text-muted);
  font-size: inherit;
}

.add-cart-btn {
  width: 100%;
  text-align: center;
  background-color: #eff6ff;
  color: var(--primary-blue);
  border: 1px solid #bfdbfe;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Contact Page Grid & Form Controls */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background-color: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  width: 58px;
  height: 58px;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-whatsapp);
  transition: var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: var(--whatsapp-green-hover);
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* App-Like Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  z-index: 1400;
  display: none;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  position: relative;
  transition: var(--transition);
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--primary-blue);
}

.bottom-nav-item.whatsapp-nav-item {
  color: var(--whatsapp-green);
}

.bottom-nav-item .cart-count {
  position: absolute;
  top: 4px;
  right: 24%;
  width: 16px;
  height: 16px;
  font-size: 0.65rem;
}

/* Cart Slide Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background-color: #ffffff;
  border-left: 1px solid var(--border-color);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

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

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

.cart-title {
  font-size: 1.2rem;
  font-weight: 800;
}

.close-btn {
  background: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
}

.close-btn:hover {
  color: var(--text-main);
}

.cart-body {
  padding: 1.5rem 1.75rem;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-size: 0.9rem;
  color: var(--primary-blue);
  font-weight: 800;
}

.cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

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

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

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.cart-total-price {
  color: var(--primary-blue);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  animation: slideIn 0.25s forwards;
}

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

/* Footer Section */
.site-footer {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 1rem;
  max-width: 340px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #60a5fa;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.85rem;
}

/* ==========================================================================
   Super Responsive Media Queries & Mobile Optimizations
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 868px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

/* Mobile Devices (< 640px) */
@media (max-width: 640px) {
  body {
    padding-bottom: 60px;
  }

  .mobile-bottom-nav {
    display: flex;
  }

  /* Keep the cart drawer clear of the fixed mobile navigation. */
  .cart-drawer {
    top: 0;
    bottom: calc(60px + env(safe-area-inset-bottom));
    width: 100%;
    max-width: none;
    height: auto;
    border-left: 0;
  }

  .cart-header {
    padding: 1rem;
  }

  .cart-body {
    padding: 1rem;
  }

  .cart-footer {
    padding: 1rem;
  }

  .cart-item {
    gap: 0.75rem;
  }

  .cart-item-title {
    font-size: 0.85rem;
  }

  .whatsapp-float {
    bottom: 4.75rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .container {
    padding: 0 0.85rem;
  }

  .navbar {
    height: 66px;
  }

  .brand-logo {
    font-size: 1.15rem;
    gap: 0.35rem;
  }

  .brand-logo svg {
    width: 22px;
    height: 22px;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .action-btn,
  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
  }

  .cart-count {
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    top: -4px;
    right: -4px;
  }

  .nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    transform: translateY(-150%);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .section {
    padding: 2.25rem 0;
  }

  /* Responsive Section Headers Mobile Stacking */
  .section-header.flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
  }

  .section-header.flex-between > div {
    width: 100%;
  }

  .section-header.flex-between .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .hero-section {
    padding: 1.75rem 0 2.5rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.45;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-image-card img {
    height: 220px;
  }

  /* 2-Column Responsive Product Grid for Mobile */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }

  .product-card {
    border-radius: var(--radius-sm);
  }

  .product-thumb {
    aspect-ratio: 16 / 11;
  }

  .product-details {
    padding: 0.65rem;
  }

  .product-title {
    font-size: 0.82rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
  }

  .product-footer {
    padding-top: 0.5rem;
    gap: 0.4rem;
  }

  .product-price {
    font-size: 0.82rem;
  }

  .price-currency {
    font-size: 0.62rem;
  }

  .price-val {
    font-size: 0.92rem;
  }

  .price-unit {
    font-size: 0.72rem;
  }

  .product-price-old {
    font-size: 0.68rem;
  }

  .add-cart-btn {
    padding: 0.45rem 0.5rem;
    font-size: 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-card {
    padding: 1.25rem;
  }
}
