/**
 * RSTECH Mart - Master Stylesheet
 * Modern Technical Retail Theme - Signboard Brand Edition
 * Crimson (#c81045) / Midnight Ruby (#1f0b14) / Electric Cyan (#0ea5e9) / Warm Gold (#d97706)
 */

:root {
  /* Brand Signboard Palette */
  --rst-crimson-primary: #c81045;
  --rst-crimson-hover: #a30c37;
  --rst-crimson-dark: #7a0929;
  --rst-crimson-light: #fdf2f4;
  --rst-crimson-border: #f8b4c4;

  /* Deep Midnight Ruby (Replaces standard navy dark) */
  --rst-navy-dark: #1f0b14;
  --rst-navy-surface: #2b101c;
  --rst-navy-card: #3a1526;

  /* Primary Brand Aliases */
  --rst-blue-primary: #c81045;
  --rst-blue-hover: #a30c37;

  /* Signboard Monogram Accent Colors */
  --rst-cyan-accent: #0ea5e9;
  --rst-cyan-glow: rgba(14, 165, 233, 0.25);
  --rst-gold-accent: #d97706;
  --rst-gold-light: #fef3c7;

  /* Utility Colors */
  --rst-whatsapp: #25d366;
  --rst-whatsapp-hover: #1ebd56;
  --rst-success: #10b981;
  --rst-warning: #f59e0b;
  --rst-danger: #ef4444;

  /* Surfaces & Borders */
  --rst-body-bg: #fdf8f9;
  --rst-card-bg: #ffffff;
  --rst-border: #ebdbe0;
  --rst-border-subtle: #f7edf0;
  --rst-text-main: #1e1318;
  --rst-text-muted: #6b5a63;
  --rst-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rst-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --rst-radius-sm: 8px;
  --rst-radius-md: 12px;
  --rst-radius-lg: 16px;
  --rst-shadow-sm: 0 1px 3px rgba(31, 11, 20, 0.06), 0 1px 2px rgba(31, 11, 20, 0.04);
  --rst-shadow-md: 0 4px 14px -2px rgba(31, 11, 20, 0.08), 0 2px 6px -1px rgba(31, 11, 20, 0.04);
  --rst-shadow-lg: 0 12px 28px -6px rgba(31, 11, 20, 0.14), 0 4px 10px -2px rgba(31, 11, 20, 0.06);
  --rst-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Global Styles */
body {
  font-family: var(--rst-font-sans);
  background-color: var(--rst-body-bg);
  color: var(--rst-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--rst-blue-primary);
  text-decoration: none;
  transition: var(--rst-transition);
}
a:hover {
  color: var(--rst-blue-hover);
}

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

/* Scrolling Flash Announcement Ticker (Right to Left) */
.flash-ticker-bar {
  background: linear-gradient(90deg, #14050d 0%, #1f0b14 50%, #14050d 100%);
  color: #f8fafc;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 38px;
  position: relative;
  z-index: 1030;
  border-bottom: 1px solid rgba(200, 16, 69, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-size: 0.8125rem;
}
.ticker-badge {
  background: linear-gradient(135deg, #c81045 0%, #9f0c35 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  z-index: 3;
  box-shadow: 4px 0 14px rgba(0, 0, 0, 0.45);
  text-transform: uppercase;
}
.flash-bolt-icon {
  animation: boltPulse 1.2s ease-in-out infinite;
  color: #fef08a;
}
@keyframes boltPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.2); }
}
.ticker-track-wrap {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation-name: scrollRightToLeft;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}
.ticker-track:hover {
  animation-play-state: paused;
}
.ticker-content {
  display: inline-block;
  font-weight: 500;
  color: #fce7ec;
  letter-spacing: 0.2px;
}
.ticker-link {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--rst-transition);
}
.ticker-link:hover {
  color: #fca5a5;
}
@keyframes scrollRightToLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 576px) {
  .flash-ticker-bar {
    height: 34px;
    font-size: 0.75rem;
  }
  .ticker-badge {
    padding: 0 8px;
    font-size: 0.65rem;
  }
}

/* Top Announcement & Quick Contact Bar */
.top-bar {
  background-color: var(--rst-navy-dark);
  color: #c9b6bf;
  font-size: 0.8125rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar a {
  color: #f1e4ea;
  text-decoration: none;
  transition: all 0.15s ease;
}
.top-bar a:hover {
  color: #ffffff;
}
.top-bar-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.775rem;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}
.top-bar-pill:hover {
  background: rgba(200, 16, 69, 0.45);
  border-color: rgba(200, 16, 69, 0.7);
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Header & Main Navbar */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--rst-border);
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 8px rgba(31, 11, 20, 0.04);
  transition: var(--rst-transition);
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #334155 !important;
  padding: 0.6rem 1rem !important;
  border-radius: var(--rst-radius-sm);
  transition: var(--rst-transition);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--rst-crimson-primary) !important;
  background-color: var(--rst-crimson-light);
}

/* Technical Search Input */
.header-search-box {
  position: relative;
  min-width: 260px;
}
.header-search-box input {
  padding-left: 2.5rem;
  border-radius: 999px;
  background-color: #f8f1f4;
  border: 1px solid transparent;
  font-size: 0.875rem;
  transition: var(--rst-transition);
}
.header-search-box input:focus {
  background-color: #ffffff;
  border-color: var(--rst-crimson-primary);
  box-shadow: 0 0 0 3px rgba(200, 16, 69, 0.15);
}
.header-search-box .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

/* WhatsApp Nav Button */
.btn-whatsapp {
  background-color: var(--rst-whatsapp);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  transition: var(--rst-transition);
}
.btn-whatsapp:hover {
  background-color: var(--rst-whatsapp-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Hero Carousel */
.hero-carousel {
  background: linear-gradient(135deg, #1f0b14 0%, #2b101c 60%, #3a1526 100%);
}
.hero-slide-item {
  min-height: 480px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 11, 20, 0.95) 0%, rgba(31, 11, 20, 0.82) 45%, rgba(31, 11, 20, 0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 650px;
  padding: 3rem 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(200, 16, 69, 0.22);
  border: 1px solid rgba(248, 180, 196, 0.45);
  color: #fecdd3;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-desc {
  font-size: 1.125rem;
  color: #f1e4ea;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Section Headings */
.section-header {
  margin-bottom: 2.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--rst-crimson-primary);
  background-color: var(--rst-crimson-light);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
  border: 1px solid var(--rst-crimson-border);
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--rst-navy-dark);
  letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--rst-text-muted);
  font-size: 1rem;
}

/* Category Modern Cards */
.category-card {
  background: var(--rst-card-bg);
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--rst-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--rst-crimson-primary), var(--rst-cyan-accent));
  opacity: 0;
  transition: var(--rst-transition);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rst-shadow-md);
  border-color: var(--rst-crimson-border);
}
.category-card:hover::before {
  opacity: 1;
}
.category-img-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fdf2f4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 2px solid var(--rst-border);
  transition: var(--rst-transition);
}
.category-card:hover .category-img-wrap {
  transform: scale(1.05);
  border-color: var(--rst-crimson-primary);
}
.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rst-navy-dark);
  margin-bottom: 0.25rem;
}
.category-card-count {
  font-size: 0.8125rem;
  color: var(--rst-text-muted);
}

/* Product Cards */
.product-card {
  background: var(--rst-card-bg);
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--rst-transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--rst-shadow-lg);
  border-color: var(--rst-crimson-border);
}

.product-thumb-wrap {
  position: relative;
  background-color: #faf5f7;
  padding: 1.25rem;
  text-align: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-thumb-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-thumb-wrap img {
  transform: scale(1.06);
}

/* Badges on Product Card */
.badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #c81045 0%, #e11d48 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(200, 16, 69, 0.35);
  z-index: 2;
}
.badge-offer {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #c81045 0%, #d97706 100%);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  z-index: 2;
}

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

.product-category-brand {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rst-crimson-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.product-name {
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--rst-navy-dark);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.8rem;
}
.product-name a {
  color: inherit;
}
.product-name a:hover {
  color: var(--rst-crimson-primary);
}

.product-sku-tag {
  font-family: var(--rst-font-mono);
  font-size: 0.7rem;
  color: var(--rst-text-muted);
  background: #f1f5f9;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
  width: fit-content;
}

/* Price Box */
.product-price-box {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--rst-border);
}
.price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--rst-crimson-dark);
}
.price-mrp {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 0.5rem;
}
.price-savings {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rst-success);
  margin-top: 0.2rem;
}

/* Card Action Buttons */
.product-actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.4rem;
  margin-top: 1rem;
}
.btn-view-details {
  background-color: #f8f1f4;
  color: var(--rst-navy-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--rst-radius-sm);
  border: 1px solid var(--rst-border);
  text-align: center;
  transition: var(--rst-transition);
}
.btn-view-details:hover {
  background-color: var(--rst-crimson-primary);
  color: #ffffff;
  border-color: var(--rst-crimson-primary);
}

.btn-quick-cart {
  background-color: var(--rst-crimson-light);
  color: var(--rst-crimson-primary);
  border: 1px solid var(--rst-crimson-border);
  padding: 0.5rem 0.85rem;
  border-radius: var(--rst-radius-sm);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--rst-transition);
}
.btn-quick-cart:hover {
  background-color: var(--rst-crimson-primary);
  color: #ffffff;
  border-color: var(--rst-crimson-primary);
}
.btn-quick-cart.loading {
  opacity: 0.6;
  pointer-events: none;
}

.btn-card-whatsapp {
  background-color: #eafaf1;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 0.5rem 0.85rem;
  border-radius: var(--rst-radius-sm);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--rst-transition);
}
.btn-card-whatsapp:hover {
  background-color: var(--rst-whatsapp);
  color: #ffffff;
  border-color: var(--rst-whatsapp);
}

/* Bootstrap Button Overrides for Brand Crimson */
.btn-primary {
  background-color: var(--rst-crimson-primary) !important;
  border-color: var(--rst-crimson-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(200, 16, 69, 0.25);
  transition: var(--rst-transition);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--rst-crimson-hover) !important;
  border-color: var(--rst-crimson-hover) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(200, 16, 69, 0.35);
}
.btn-outline-primary {
  color: var(--rst-crimson-primary) !important;
  border-color: var(--rst-crimson-primary) !important;
  background-color: transparent !important;
  transition: var(--rst-transition);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--rst-crimson-primary) !important;
  border-color: var(--rst-crimson-primary) !important;
  color: #ffffff !important;
}

/* Why Choose Us Cards */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius-md);
  padding: 2rem 1.5rem;
  height: 100%;
  transition: var(--rst-transition);
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rst-shadow-md);
  border-color: var(--rst-crimson-border);
}
.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--rst-crimson-light);
  color: var(--rst-crimson-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--rst-transition);
  border: 1px solid var(--rst-crimson-border);
}
.feature-card:hover .feature-icon-wrap {
  background: var(--rst-crimson-primary);
  color: #ffffff;
  border-color: var(--rst-crimson-primary);
}
.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--rst-navy-dark);
  margin-bottom: 0.5rem;
}
.feature-desc {
  font-size: 0.875rem;
  color: var(--rst-text-muted);
  line-height: 1.6;
}

/* Product Detail Page */
.product-gallery-main {
  background: #ffffff;
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius-md);
  padding: 2rem;
  text-align: center;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.product-gallery-main img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.gallery-thumbs-list {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.gallery-thumb-item {
  width: 72px;
  height: 72px;
  border-radius: var(--rst-radius-sm);
  border: 2px solid var(--rst-border);
  padding: 4px;
  background: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--rst-transition);
}
.gallery-thumb-item.active,
.gallery-thumb-item:hover {
  border-color: var(--rst-crimson-primary);
}
.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--rst-border);
  border-radius: var(--rst-radius-sm);
  overflow: hidden;
}
.spec-table th,
.spec-table td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--rst-border);
}
.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}
.spec-table th {
  background-color: #faf5f7;
  color: #475569;
  font-weight: 600;
  width: 35%;
}

/* Signboard Partner Brands Showcase Ribbon */
.signboard-brands-strip {
  background: #ffffff;
  border: 1px solid var(--rst-crimson-border);
  border-radius: 999px;
  padding: 10px 24px;
  box-shadow: 0 4px 14px rgba(200, 16, 69, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.signboard-brand-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 6px;
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.brand-amaron {
  background-color: #f7fee7;
  color: #4d7c0f;
  border: 1.5px solid #a3e635;
}
.brand-exide {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1.5px solid #f87171;
}
.brand-microtek {
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1.5px solid #93c5fd;
}
.brand-luminous {
  background-color: #eff6ff;
  color: #1e40af;
  border: 2px solid #1e40af;
  font-weight: 900;
}

/* Footer Styles */
.site-footer {
  background-color: var(--rst-navy-dark);
  color: #bfaab4;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo {
  height: 48px;
  margin-bottom: 1.25rem;
}
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--rst-crimson-primary);
  border-radius: 2px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.65rem;
}
.footer-links a {
  color: #c9b6bf;
  font-size: 0.875rem;
  transition: var(--rst-transition);
}
.footer-links a:hover {
  color: #fca5a5;
  padding-left: 4px;
}
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #c9b6bf;
}
.footer-contact-item i {
  color: #f472b6;
  margin-top: 4px;
}
.footer-social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ebdbe0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--rst-transition);
}
.footer-social-btn:hover {
  background: var(--rst-crimson-primary);
  color: #ffffff;
  transform: translateY(-2px);
}
.footer-bottom {
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: #9f8c95;
}

/* Floating WhatsApp Quick Action */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--rst-whatsapp);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--rst-transition);
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: var(--rst-whatsapp-hover);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Search Modal Overlay */
.search-modal-results {
  max-height: 380px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--rst-radius-sm);
  transition: var(--rst-transition);
}
.search-result-item:hover {
  background-color: #f1f5f9;
}
.search-result-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: #e2e8f0;
  object-fit: contain;
}

.popular-search-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none !important;
  border-radius: 50rem;
  padding: 0.22rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
}
.popular-search-tag:hover {
  background: var(--rst-crimson-primary, #c81045) !important;
  color: #ffffff !important;
  border-color: var(--rst-crimson-primary, #c81045) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 16, 69, 0.4);
}

#homeSearchInput:focus {
  outline: none;
  box-shadow: none;
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .hero-slide-item {
    min-height: 400px;
  }
  .header-search-box {
    width: 100%;
    margin-top: 1rem;
  }
}
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .product-actions {
    grid-template-columns: 1fr;
  }
  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}
