/* =========================================
   COMERCIALIZADORA PANZAS S.A.S - STYLES.CSS
   Official Pet Store Palette: Royal Blue & Gold
   ========================================= */

:root {
  --primary: #1a3c8f;
  --primary-dark: #112860;
  --primary-light: #2a52b8;
  --secondary: #FFD700;
  --secondary-hover: #ffca00;
  --accent: #ff4757;
  --dark: #0a1738;
  --dark2: #0e204d;
  --dark3: #132a66;
  --text: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --gray-bg: #f8fafc;
  --gray-card: #f1f5f9;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(26, 60, 143, 0.08);
  --shadow: 0 8px 24px rgba(26, 60, 143, 0.12);
  --shadow-hover: 0 16px 36px rgba(26, 60, 143, 0.22);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  line-height: 1.6;
  position: relative;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ---------- LOADER ---------- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  will-change: opacity;
}
#loader.hidden { opacity: 0; pointer-events: none; }
.loader-logo { max-width: 220px; filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5)); animation: pulseLogo 1.5s infinite alternate; }
.loader-paws { font-size: 2.2rem; animation: bounce 0.6s infinite alternate; }
.loader-text { color: var(--secondary); font-size: 1.05rem; font-weight: 600; letter-spacing: 1px; }
@keyframes bounce { to { transform: translateY(-16px); } }
@keyframes pulseLogo { from { transform: scale(0.96); } to { transform: scale(1.04); } }

/* ---------- TOP NOTIFICATION BAR ---------- */
.top-bar {
  background: var(--dark);
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.45rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--secondary);
}
.top-bar-left { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.top-bar-item { display: flex; align-items: center; gap: 0.4rem; color: #e2e8f0; }
.top-bar-item i { color: var(--secondary); font-size: 0.9rem; }
.top-bar-item strong { color: var(--secondary); }
.top-bar-right { display: flex; gap: 1rem; align-items: center; }
.top-bar-right a { color: var(--white); transition: var(--transition); font-size: 0.85rem; }
.top-bar-right a:hover { color: var(--secondary); transform: scale(1.15); }

/* ---------- HEADER / NAVBAR ---------- */
#header {
  position: sticky;
  top: 0;
  left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.75rem;
  max-width: 1400px;
  margin: 0 auto;
  gap: 0.75rem;
  box-sizing: border-box;
  width: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 48px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
.brand-logo-img:hover { transform: scale(1.03); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: nowrap;
}
.nav-links a {
  padding: 0.45rem 0.78rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.88rem;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--primary);
  color: var(--white);
}
.nav-admin-link {
  background: #f1f5f9 !important;
  color: var(--primary) !important;
  border: 1px solid #cbd5e1;
  font-size: 0.82rem !important;
  padding: 0.45rem 0.85rem !important;
  white-space: nowrap !important;
}
.nav-admin-link:hover {
  background: var(--dark) !important;
  color: var(--secondary) !important;
}

.nav-actions { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.btn-nav-search, .btn-cart {
  background: var(--gray-bg);
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 44px; height: 44px;
  cursor: pointer;
  font-size: 1.05rem;
  color: var(--primary);
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-nav-search:hover, .btn-cart:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 12px rgba(26, 60, 143, 0.25);
}
.cart-count {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--secondary);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 800;
  width: 21px; height: 21px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px; height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 23, 56, 0.94);
  z-index: 2500;
  display: none;
  flex-direction: column;
  align-items: center;
  padding-top: 5rem;
  backdrop-filter: blur(8px);
}
.search-overlay.active { display: flex; }
.search-box {
  display: flex;
  width: 90%;
  max-width: 650px;
  gap: 0.75rem;
}
.search-box input {
  flex: 1;
  padding: 1.1rem 1.6rem;
  font-size: 1.1rem;
  border: 3px solid var(--secondary);
  border-radius: 50px;
  font-family: var(--font);
  outline: none;
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.search-box button {
  padding: 0 1.6rem;
  background: var(--secondary);
  color: var(--dark);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 700;
  transition: var(--transition);
}
.search-box button:hover { background: var(--secondary-hover); transform: scale(1.05); }
.search-results {
  width: 90%;
  max-width: 650px;
  margin-top: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  max-height: 480px;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.search-result-item:hover { background: #f0f5ff; }
.search-result-info strong { display: block; font-size: 0.92rem; color: var(--dark); }
.search-result-info span { font-size: 0.85rem; color: var(--primary); font-weight: 700; }

/* ---------- HERO SECTION ---------- */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, var(--dark2) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 3.5rem 2rem 4.5rem;
}
.hero-wavy-top, .hero-wavy-bottom {
  position: absolute;
  left: 0; width: 100%;
  pointer-events: none;
  opacity: 0.15;
}
.hero-wavy-top { top: 0; }
.hero-wavy-bottom { bottom: 0; }

.hero-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Hero GPU Acceleration & Fluid Animations */
.hero-banner-wrapper,
.hero-banner-badge,
.hero-banner-title,
.hero-banner-subtitle,
.hero-banner-meta,
.hero-banner-features,
.hero-banner-img-box,
.pet-interactive-heading,
.orbit-card {
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* Hero Banner Card */
.hero-banner-wrapper {
  background: linear-gradient(135deg, #15327d, #0d2259);
  border: 3px solid var(--secondary);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
  animation: heroBannerGlow 6s ease-in-out infinite alternate;
}
@keyframes heroBannerGlow {
  0% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 15px rgba(255, 215, 0, 0.15);
  }
  100% {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(255, 215, 0, 0.35);
  }
}
.hero-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
}
.hero-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 215, 0, 0.18);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}
.hero-banner-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.hero-banner-title span { color: var(--secondary); }
.hero-banner-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-banner-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.hero-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--secondary);
  color: var(--dark);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
}
.hero-pill-btn:hover {
  background: var(--secondary-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.55);
}
.hero-address-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  padding: 0.6rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-banner-img-box {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-banner-img {
  width: 100%;
  max-width: 480px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  border: 2px solid rgba(255, 215, 0, 0.4);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.hero-banner-img:hover { transform: scale(1.02); }

/* Ambient gentle float for hero image (activates smoothly after intro) */
@keyframes heroImgFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.hero-banner-img-box.floating {
  animation: heroImgFloat 5s ease-in-out infinite;
}

/* ---------- INTERACTIVE PET ORBITALS (PERRO Y GATO) ---------- */
.pet-interactive-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.pet-interactive-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.pet-interactive-heading p {
  color: var(--secondary);
  font-size: 1.05rem;
  font-weight: 500;
}

.pet-orbitals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 3.5rem;
}

.orbit-card {
  background: rgba(14, 32, 77, 0.85);
  border: 2px solid rgba(255, 215, 0, 0.35);
  border-radius: 28px;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.orbit-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 20px 50px rgba(255, 215, 0, 0.25);
}

.orbit-system {
  width: 250px;
  height: 250px;
  margin: 0 auto 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-ring {
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(255, 215, 0, 0.45);
  border-radius: 50%;
  animation: rotateOrbit 16s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}
.orbit-card.cat-orbit .orbit-ring {
  border-color: rgba(46, 196, 182, 0.6);
  animation-duration: 20s;
  animation-direction: reverse;
}
@keyframes rotateOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.orbit-satellite {
  position: absolute;
  width: 42px; height: 42px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  animation: counterRotate 16s linear infinite;
  will-change: transform;
}
.orbit-card.cat-orbit .orbit-satellite {
  animation: counterRotateReverse 20s linear infinite;
}
@keyframes counterRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
@keyframes counterRotateReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sat-top { top: -21px; left: calc(50% - 21px); }
.sat-right { top: calc(50% - 21px); right: -21px; }
.sat-bottom { bottom: -21px; left: calc(50% - 21px); }
.sat-left { top: calc(50% - 21px); left: -21px; }

.orbit-center {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, rgba(26, 60, 143, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 5;
  will-change: transform;
  transform: translateZ(0);
}
.orbit-card.dog-orbit .orbit-center {
  animation: petPulseDog 3.5s ease-in-out infinite;
}
.orbit-card.cat-orbit .orbit-center {
  animation: petPulseCat 3.8s ease-in-out infinite;
}
@keyframes petPulseDog {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.08) rotate(3deg); }
}
@keyframes petPulseCat {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.08) rotate(-3deg); }
}
.orbit-card:hover .orbit-center {
  transform: scale(1.12);
  box-shadow: 0 0 45px rgba(255, 215, 0, 0.55);
}

.orbit-card-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}
.orbit-card-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}
.orbit-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  background: var(--secondary);
  color: var(--dark);
}
.orbit-action-btn:hover {
  background: var(--white);
  color: var(--primary);
  transform: scale(1.05);
}
.orbit-card.cat-orbit .orbit-action-btn {
  background: #2ec4b6;
  color: var(--white);
}
.orbit-card.cat-orbit .orbit-action-btn:hover {
  background: var(--white);
  color: #0e8477;
}

/* Promo Showcase Cards below */
.hero-promo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.promo-showcase-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid rgba(255, 215, 0, 0.4);
}
.promo-showcase-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border-color: var(--secondary);
}
.promo-showcase-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.promo-showcase-card:hover img {
  transform: scale(1.06);
}
.promo-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 23, 56, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.promo-showcase-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.promo-showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.65rem 1.4rem;
  background: var(--secondary);
  color: var(--dark);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
}
.promo-showcase-card:hover .promo-showcase-btn {
  background: var(--white);
  color: var(--primary);
}

/* ---------- PROMO MARQUEE TICKER ---------- */
.promo-ticker {
  background: var(--dark);
  color: var(--white);
  padding: 0.75rem 0;
  overflow: hidden !important;
  contain: paint;
  width: 100%;
  max-width: 100vw;
  position: relative;
  border-top: 2px solid var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.promo-ticker-scroll {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: scrollTicker 28s linear infinite;
  white-space: nowrap;
}
.promo-ticker-scroll span {
  font-size: 0.92rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.promo-ticker-scroll span i { color: var(--secondary); }
@keyframes scrollTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- SECTION BASE ---------- */
.section { padding: 5rem 0; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-badge {
  display: inline-block;
  background: rgba(26, 60, 143, 0.1);
  color: var(--primary);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.section-header p { color: var(--text-light); font-size: 1.05rem; }

/* ---------- CATEGORIES ---------- */
.categories-section { background: var(--gray-bg); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.cat-icon { font-size: 4.2rem; margin-bottom: 1rem; }
.cat-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 1rem; color: var(--dark); }
.cat-subcats { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: center; margin-bottom: 1.5rem; }
.cat-subcats span {
  background: var(--gray-card);
  color: var(--text);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
}
.cat-count { color: var(--primary); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
.cat-arrow { color: var(--primary); font-size: 1.1rem; transition: var(--transition); }
.cat-card:hover .cat-arrow { transform: translateX(6px); color: var(--secondary); }

/* ---------- PRODUCTS SECTION ---------- */
.products-section { background: var(--white); }
.products-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  background: var(--gray-bg);
  padding: 1.25rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.65rem 1.4rem;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  color: var(--dark);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(26, 60, 143, 0.25);
}
.products-sort-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.products-sort-box select {
  padding: 0.65rem 1.2rem;
  border-radius: 50px;
  border: 2px solid var(--border);
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  background: var(--white);
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}
.product-badge {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 2;
}
.product-badge.popular { background: #e65100; }
.product-badge.oferta { background: #2e7d32; }
.product-badge.top { background: var(--primary); }
.product-badge.nuevo { background: #6a1b9a; }
.product-discount-tag {
  position: absolute;
  top: 0.85rem; right: 3.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  z-index: 2;
}
.product-wishlist {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  font-size: 1rem;
  color: var(--text-light);
  z-index: 2;
}
.product-wishlist:hover, .product-wishlist.active { color: var(--accent); border-color: var(--accent); }

.product-image {
  height: 220px;
  padding: 1.25rem;
  background: var(--gray-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image img { transform: scale(1.08); }
.fallback-emoji { font-size: 5rem; }

.product-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  font-size: 0.76rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.product-category span { color: var(--text-light); font-weight: 500; }
.product-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  margin-bottom: 1.1rem;
}
.product-price { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.product-original-price { font-size: 0.85rem; color: #a0aec0; text-decoration: line-through; }
.product-stars { font-size: 0.8rem; color: var(--secondary); }

.product-actions { display: flex; gap: 0.5rem; align-items: center; }
.btn-add-cart {
  flex: 1;
  padding: 0.7rem 0.9rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.btn-add-cart:hover { background: var(--primary-dark); transform: scale(1.02); }
.btn-view {
  padding: 0.7rem 0.85rem;
  background: var(--gray-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--dark);
  transition: var(--transition);
}
.btn-view:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-wa-direct {
  padding: 0.7rem 0.85rem;
  background: #25d366;
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.btn-wa-direct:hover { background: #128c7e; transform: scale(1.08); }

.load-more-wrapper { text-align: center; margin-top: 2rem; }
.btn-load-more {
  padding: 1rem 2.6rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 6px 20px rgba(26, 60, 143, 0.3);
}
.btn-load-more:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(26, 60, 143, 0.4);
}

/* ---------- WHY SECTION ---------- */
.why-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  color: var(--white);
}
.why-section .section-header h2 { color: var(--white); }
.why-section .section-header p { color: #cbd5e1; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: var(--secondary);
  transform: translateY(-6px);
}
.why-icon { font-size: 3.2rem; margin-bottom: 1.1rem; }
.why-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.6rem; color: var(--secondary); }
.why-card p { font-size: 0.92rem; color: #e2e8f0; line-height: 1.7; }

/* ---------- ABOUT SECTION ---------- */
.about-section { background: var(--gray-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.about-card-box {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  border-radius: 28px;
  padding: 3rem;
  color: var(--white);
  box-shadow: var(--shadow);
  border: 2px solid var(--secondary);
  text-align: center;
  position: relative;
}
.about-logo-big { max-width: 260px; margin-bottom: 1.5rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }
.about-address-box {
  background: rgba(255,255,255,0.12);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  margin-top: 1.5rem;
  border: 1px dashed var(--secondary);
}
.about-text h2 { font-size: 2.3rem; font-weight: 800; color: var(--dark); margin-bottom: 1.2rem; }
.about-text p { color: var(--text-light); margin-bottom: 1rem; line-height: 1.8; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 1.8rem 0; }
.about-feature { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.92rem; color: var(--dark); }
.about-feature i { color: #27ae60; font-size: 1.1rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
  background: var(--white);
  overflow: hidden !important;
  width: 100%;
  max-width: 100vw;
}
.testimonials-swiper {
  padding-bottom: 3.5rem !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.testimonial-stars { font-size: 1.1rem; margin-bottom: 1rem; color: var(--secondary); }
.testimonial-card p { color: var(--text-light); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-weight: 800;
  font-size: 0.95rem;
}
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--dark); }
.testimonial-author span { font-size: 0.82rem; color: var(--text-light); }

/* ---------- CONTACT SECTION ---------- */
.contact-section { background: var(--gray-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; color: var(--dark); }
.contact-item a, .contact-item span { color: var(--text-light); font-size: 0.92rem; }
.contact-item a:hover { color: var(--primary); }
.contact-socials { display: flex; gap: 0.8rem; margin-top: 1.8rem; }
.social-btn {
  width: 44px; height: 44px;
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
  font-size: 1.1rem;
}
.social-btn:hover { background: var(--primary); color: var(--secondary); transform: translateY(-3px); }
.social-btn.wa:hover { background: #25d366; color: var(--white); }

.contact-form-box {
  background: var(--white);
  padding: 2.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 0.45rem; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26, 60, 143, 0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark);
  color: #e2e8f0;
  border-top: 4px solid var(--secondary);
}
.footer-top { padding: 4.5rem 0 2.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3rem;
}
.footer-logo-img { height: 60px; width: auto; margin-bottom: 1.2rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.92rem; line-height: 1.8; color: #cbd5e1; margin-bottom: 1.5rem; }
.footer-payment-badges { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.f-pay-badge {
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 800;
}
.f-pay-badge.wompi { background: #00b2c7; color: var(--white); }
.f-pay-badge.mp { background: #ffe600; color: #1a1a1a; }
.footer-links h4 { color: var(--secondary); font-size: 1.05rem; font-weight: 800; margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: #cbd5e1; font-size: 0.92rem; transition: var(--transition); }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.newsletter-form { display: flex; border-radius: 50px; overflow: hidden; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); }
.newsletter-form input { flex: 1; padding: 0.85rem 1.2rem; background: transparent; border: none; color: var(--white); outline: none; font-family: var(--font); font-size: 0.9rem; }
.newsletter-form button { padding: 0 1.4rem; background: var(--secondary); border: none; color: var(--dark); font-weight: 700; cursor: pointer; transition: var(--transition); }
.newsletter-form button:hover { background: var(--secondary-hover); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.6rem 0; text-align: center; font-size: 0.88rem; color: #94a3b8; }

/* ---------- CART SIDEBAR (GPU ACCELERATED & ZERO LAG) ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 23, 56, 0.65);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}
.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cart-sidebar {
  position: fixed;
  top: 0; right: 0;
  width: min(420px, 100vw);
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 3100;
  display: flex;
  flex-direction: column;
  transform: translate3d(100%, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
  box-shadow: -10px 0 40px rgba(0,0,0,0.25);
  contain: content;
  visibility: hidden;
  pointer-events: none;
}
.cart-sidebar.active {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.8rem;
  background: var(--primary);
  color: var(--white);
}
.cart-header h3 { font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; gap: 0.6rem; color: var(--secondary); }
.cart-header button {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}
.cart-header button:hover { background: var(--secondary); color: var(--dark); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem; }
.cart-empty { text-align: center; padding: 4rem 1rem; color: var(--text-light); }
.cart-empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--gray-bg);
  border: 1px solid var(--border);
  margin-bottom: 0.85rem;
  align-items: center;
}
.cart-item-image {
  width: 60px; height: 60px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.cart-item-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 0.95rem; font-weight: 800; color: var(--primary); }
.cart-item-qty { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; }
.cart-item-qty button {
  width: 26px; height: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cart-item-qty button:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.cart-item-qty span { font-size: 0.9rem; font-weight: 700; min-width: 24px; text-align: center; }
.cart-item-remove {
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  padding: 0.5rem;
}
.cart-item-remove:hover { color: var(--accent); transform: scale(1.15); }
.cart-footer { padding: 1.5rem 1.8rem; border-top: 2px solid var(--border); background: var(--gray-bg); }
.cart-summary { margin-bottom: 1.2rem; }
.cart-subtotal, .cart-shipping { display: flex; justify-content: space-between; font-size: 0.95rem; color: var(--text-light); margin-bottom: 0.4rem; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.25rem; font-weight: 900; color: var(--primary); padding-top: 0.6rem; border-top: 2px solid var(--border); }
.btn-checkout {
  width: 100%;
  padding: 1.05rem;
  background: var(--primary);
  color: var(--secondary);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 15px rgba(26, 60, 143, 0.35);
}
.btn-checkout:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26, 60, 143, 0.45); }
.btn-whatsapp-order {
  width: 100%;
  padding: 0.9rem;
  background: #25d366;
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.btn-whatsapp-order:hover { background: #128c7e; transform: translateY(-2px); }

/* ---------- CHECKOUT MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 23, 56, 0.75);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(5px);
}
.checkout-modal, .product-modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(15px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}
.checkout-header h3 { font-size: 1.25rem; font-weight: 800; color: var(--secondary); display: flex; align-items: center; gap: 0.6rem; }
.checkout-header button { background: rgba(255,255,255,0.15); border: none; border-radius: 50%; width: 36px; height: 36px; color: var(--white); cursor: pointer; }
.checkout-body { padding: 2rem; }
.checkout-steps { display: flex; gap: 0.6rem; margin-bottom: 2rem; }
.step { flex: 1; padding: 0.7rem; text-align: center; background: var(--gray-bg); border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 700; color: var(--text-light); transition: var(--transition); border: 1px solid var(--border); }
.step.active { background: var(--primary); color: var(--secondary); border-color: var(--primary); }
.step.done { background: #27ae60; color: var(--white); }
.payment-methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0; }
.payment-method-card { border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 1.2rem 0.8rem; text-align: center; cursor: pointer; transition: var(--transition); }
.payment-method-card:hover, .payment-method-card.active { border-color: var(--primary); background: #f0f5ff; }
.payment-method-logo { font-size: 2.2rem; margin-bottom: 0.4rem; }
.payment-method-card span { display: block; font-weight: 800; font-size: 0.9rem; color: var(--dark); }
.payment-method-card small { font-size: 0.72rem; color: var(--text-light); }
.order-summary { background: var(--gray-bg); border-radius: var(--radius-sm); padding: 1.2rem; margin-bottom: 1.5rem; border: 1px solid var(--border); }
.order-summary-item { display: flex; justify-content: space-between; padding: 0.45rem 0; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.order-summary-item:last-child { border-bottom: none; }

/* ---------- PRODUCT DETAIL MODAL ---------- */
.product-modal { max-width: 800px; position: relative; }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px; height: 38px;
  cursor: pointer;
  font-size: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--accent); color: var(--white); }
.product-modal-body { padding: 2.5rem; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: center; }
.product-detail-image-box {
  height: 320px;
  background: var(--gray-card);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.product-detail-image-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.qty-control { display: flex; align-items: center; gap: 0.5rem; }
.qty-control button {
  width: 36px; height: 36px;
  background: var(--gray-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}
.qty-control button:hover { background: var(--primary); color: var(--white); }
.qty-control input {
  width: 60px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 0.35rem;
  outline: none;
}

/* ---------- TOAST ---------- */
.toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--dark);
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  z-index: 99999;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 2px solid var(--secondary);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--primary); color: var(--secondary); }
.toast.error { background: var(--accent); color: var(--white); border-color: var(--accent); }
.toast.warning { background: var(--secondary); color: var(--dark); }

/* ---------- CHATBOT WIDGET ---------- */
.chatbot-toggle {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 64px; height: 64px;
  background: var(--primary);
  border: 3px solid var(--secondary);
  border-radius: 50%;
  color: var(--secondary);
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(26, 60, 143, 0.45);
  z-index: 2400;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chatbot-toggle:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(26, 60, 143, 0.6);
}
.pulse-attention { animation: pulseAttention 2s infinite; }
@keyframes pulseAttention {
  0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(255, 215, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.chatbot-widget {
  position: fixed;
  bottom: 6.5rem; right: 2rem;
  width: 380px;
  max-width: calc(100vw - 2rem);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 16px 50px rgba(10, 23, 56, 0.35);
  z-index: 2400;
  overflow: hidden;
  transform: scale(0) translateY(30px);
  transform-origin: bottom right;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s, visibility 0.25s;
  max-height: 560px;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--secondary);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}
.chatbot-widget.active {
  transform: scale(1) translateY(0);
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
.chatbot-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.4rem;
  background: var(--primary);
  color: var(--white);
}
.chatbot-avatar { font-size: 2rem; }
.chatbot-info { flex: 1; }
.chatbot-info strong { display: block; font-size: 0.98rem; color: var(--secondary); }
.chatbot-status { font-size: 0.78rem; color: #a0aec0; }
.chatbot-status::before { content: '●'; margin-right: 0.3rem; color: #00ff88; }
.chatbot-header button {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.chatbot-header button:hover { background: var(--secondary); color: var(--dark); }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #f8fafc;
}
.chat-msg { display: flex; }
.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }
.chat-bubble {
  max-width: 82%;
  padding: 0.85rem 1.1rem;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.chat-msg.bot .chat-bubble {
  background: var(--white);
  color: var(--dark);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.chat-msg.user .chat-bubble {
  background: var(--primary);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chatbot-quick-actions {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chatbot-quick-actions::-webkit-scrollbar { display: none; }
.chatbot-quick-actions button {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.35rem 0.8rem;
  background: #f0f5ff;
  border: 1px solid #c7d8fe;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}
.chatbot-quick-actions button:hover { background: var(--primary); color: var(--secondary); }

.typing-dot {
  width: 7px; height: 7px;
  background: #718096;
  border-radius: 50%;
  animation: typingBounce 0.6s infinite alternate;
}
@keyframes typingBounce { to { transform: translateY(-6px); } }

.chatbot-input {
  display: flex;
  border-top: 1px solid var(--border);
  padding: 0.85rem;
  gap: 0.6rem;
  background: var(--white);
}
.chatbot-input input {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 0.6rem 1.1rem;
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
}
.chatbot-input input:focus { border-color: var(--primary); }
.chatbot-input button {
  width: 42px; height: 42px;
  background: var(--primary);
  color: var(--secondary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.chatbot-input button:hover { background: var(--primary-dark); transform: scale(1.08); }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 8.5rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  z-index: 2200;
  transition: var(--transition);
  display: none;
  align-items: center;
  justify-content: center;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--primary); color: var(--secondary); transform: translateY(-4px); }

/* ---------- RESPONSIVE SYSTEM (MOBILE, TABLET, LAPTOP, DESKTOP) ---------- */
@media (min-width: 1025px) and (max-width: 1240px) {
  .navbar { padding: 0.75rem 1.25rem; gap: 0.5rem; }
  .brand-logo-img { height: 42px; max-width: 160px; }
  .nav-links { gap: 0.15rem; }
  .nav-links a { padding: 0.4rem 0.55rem; font-size: 0.82rem; white-space: nowrap; }
  .btn-nav-search, .btn-cart, .btn-theme-toggle { width: 38px; height: 38px; font-size: 0.95rem; }
}

@media (max-width: 1024px) {
  .top-bar { display: none; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.35s ease, opacity 0.3s ease, visibility 0.3s;
    z-index: 9999;
    gap: 0.8rem;
    padding: 2rem;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
  }
  .nav-links.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
  }
  .nav-links a { color: var(--white) !important; font-size: 1.25rem; }
  .nav-links a:hover { background: var(--primary); color: var(--secondary) !important; }
  .hero-banner-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-banner-meta { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pet-orbitals-grid { grid-template-columns: 1fr; gap: 2rem; }
  .spa-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }
  .navbar {
    padding: 0.5rem 0.75rem;
    gap: 0.35rem;
    width: 100%;
    max-width: 100vw;
  }
  .nav-brand {
    flex-shrink: 1;
    min-width: 0;
  }
  .brand-logo-img {
    height: 36px;
    max-width: clamp(95px, 28vw, 130px);
    width: auto;
    object-fit: contain;
  }
  .nav-actions {
    gap: 0.25rem;
    flex-shrink: 0;
  }
  .btn-nav-search, .btn-cart, .btn-theme-toggle {
    width: 34px;
    height: 34px;
    font-size: 0.88rem;
    flex-shrink: 0;
  }
  .hamburger {
    display: flex;
    padding: 3px;
    flex-shrink: 0;
  }
  .hamburger span {
    width: 20px;
    height: 2.5px;
  }
  .hero-banner-wrapper {
    padding: 1.5rem 1rem;
    border-radius: 18px;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 100%;
  }
  .hero-banner-title { font-size: 2rem; }
  .hero-banner-subtitle { font-size: 1rem; }
  .pet-orbitals-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
    margin-bottom: 2rem;
  }
  .orbit-system {
    width: min(220px, 60vw);
    height: min(220px, 60vw);
  }
  .orbit-center {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }
  .orbit-card {
    padding: 1.75rem 1rem 1.5rem;
    width: 100%;
    max-width: 100%;
  }
  .hero-promo-cards { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .cat-card {
    padding: 1.5rem 0.85rem;
    width: 100%;
    max-width: 100%;
  }
  .cat-subcats {
    gap: 0.35rem;
    margin-bottom: 1.2rem;
  }
  .cat-subcats span {
    font-size: 0.74rem;
    padding: 0.2rem 0.6rem;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .cart-sidebar { width: 100%; }
  .chatbot-widget {
    width: calc(100vw - 1.5rem);
    right: 0.75rem;
    left: 0.75rem;
    bottom: 5rem;
    max-height: min(560px, calc(100vh - 6.5rem));
    border-radius: 18px;
  }
  .chatbot-toggle {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }
  .back-to-top {
    bottom: 4.8rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
  .product-detail-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .payment-methods-grid { grid-template-columns: 1fr; }
  .spa-grid { grid-template-columns: 1fr; }
  .spa-booking-card { padding: 1.5rem 1rem; }
  .why-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .why-card { padding: 1.6rem 1.2rem; }
  .about-card-box { padding: 2rem 1.25rem; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
    border-radius: 16px;
    background: transparent;
    border: none;
    gap: 0.5rem;
  }
  .newsletter-form input {
    width: 100%;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.75rem 1rem;
    box-sizing: border-box;
  }
  .newsletter-form button {
    width: 100%;
    border-radius: 50px;
    padding: 0.75rem 1rem;
  }
  .why-card { padding: 1.35rem 1rem; }
  .about-card-box { padding: 1.5rem 1rem; }
  .about-address-box { padding: 0.75rem 1rem; font-size: 0.85rem; }
  .container {
    padding: 0 0.65rem;
  }
  .navbar {
    padding: 0.45rem 0.5rem;
    gap: 0.2rem;
  }
  .brand-logo-img {
    height: 32px;
    max-width: clamp(90px, 26vw, 115px);
  }
  .nav-actions {
    gap: 0.2rem;
  }
  .btn-nav-search, .btn-cart, .btn-theme-toggle {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }
  .hamburger {
    padding: 2px;
  }
  .hamburger span {
    width: 18px;
    height: 2px;
  }
  .hero-banner-wrapper {
    padding: 1.25rem 0.75rem;
    border-radius: 16px;
    margin-bottom: 2rem;
  }
  .hero-banner-title { font-size: 1.65rem; }
  .hero-banner-subtitle { font-size: 0.88rem; }
  .hero-pill-btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.84rem;
    width: 100%;
    justify-content: center;
  }
  .hero-address-badge {
    width: 100%;
    justify-content: center;
    font-size: 0.75rem;
  }
  .hero-banner-features {
    font-size: 0.75rem;
    justify-content: center;
    text-align: center;
  }
  .orbit-system {
    width: min(180px, 55vw);
    height: min(180px, 55vw);
  }
  .orbit-center {
    width: 65px;
    height: 65px;
    font-size: 2rem;
  }
  .orbit-card-title { font-size: 1.3rem; }
  .orbit-card-desc { font-size: 0.82rem; }
  .orbit-action-btn {
    width: 100%;
    justify-content: center;
  }
  .cat-card {
    padding: 1.25rem 0.65rem;
  }
  .cat-icon { font-size: 2.8rem; margin-bottom: 0.4rem; }
  .cat-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
  .cat-subcats {
    gap: 0.25rem;
    margin-bottom: 1rem;
  }
  .cat-subcats span {
    font-size: 0.68rem;
    padding: 0.18rem 0.45rem;
  }
  .section { padding: 2.5rem 0; }
  .chatbot-widget {
    width: calc(100vw - 1rem);
    right: 0.5rem;
    left: 0.5rem;
    bottom: 4.5rem;
    max-height: calc(100vh - 5.2rem);
    border-radius: 16px;
  }
  .chatbot-toggle {
    bottom: 0.75rem;
    right: 0.75rem;
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }
  .back-to-top {
    bottom: 4.2rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
  }
  .chatbot-header { padding: 0.85rem 1rem; }
  .chatbot-messages { padding: 0.85rem; }
  .chat-bubble { max-width: 90%; font-size: 0.85rem; }
  .chatbot-input { padding: 0.65rem; }
  .chatbot-input input { padding: 0.5rem 0.85rem; font-size: 0.88rem; }
  .btn-spa-reserve { font-size: 0.92rem; padding: 0.85rem 1rem; }
}

@media (max-width: 360px) {
  .container {
    padding: 0 0.45rem;
  }
  .navbar {
    padding: 0.4rem 0.35rem;
    gap: 0.15rem;
  }
  .brand-logo-img {
    height: 28px;
    max-width: 85px;
  }
  .btn-nav-search, .btn-cart, .btn-theme-toggle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .cat-card {
    padding: 1rem 0.4rem;
  }
  .cat-subcats span {
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
  }
  .about-card-box {
    padding: 1.25rem 0.65rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .about-grid {
    width: 100%;
    max-width: 100%;
  }
  .about-text {
    width: 100%;
    max-width: 100%;
    word-break: break-word;
  }
  .about-text h2 {
    font-size: 1.35rem;
    line-height: 1.2;
  }
  .about-features {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .product-filters {
    gap: 0.3rem;
  }
  .filter-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* ---------- PHYSICAL STORE GALLERY ---------- */
.physical-store-section {
  background: var(--white);
  position: relative;
}
.store-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.store-photo-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.store-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
}
.store-photo-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(10, 23, 56, 0.85);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  z-index: 2;
  border: 1px solid var(--secondary);
  backdrop-filter: blur(4px);
}
.store-photo-img-wrapper {
  height: 250px;
  overflow: hidden;
  background: #f1f5f9;
}
.store-photo-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.store-photo-card:hover .store-photo-img-wrapper img {
  transform: scale(1.08);
}
.store-photo-info {
  padding: 1.1rem 1.2rem;
  background: var(--white);
}
.store-photo-info h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.store-photo-info span {
  font-size: 0.82rem;
  color: var(--text-light);
  display: block;
  line-height: 1.4;
}
.store-visit-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  border: 2px solid var(--secondary);
  border-radius: 20px;
  padding: 2.2rem 2.5rem;
  color: var(--white);
  box-shadow: var(--shadow);
}
.store-visit-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.store-visit-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.3rem;
}
.store-visit-content p {
  color: #e2e8f0;
  font-size: 0.95rem;
  max-width: 620px;
}
.store-visit-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================
   THEME TOGGLE (LUNAITA / SOL CON ANIMACIÓN FLUIDA)
   ========================================= */
.btn-theme-toggle {
  background: var(--gray-bg);
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 44px; height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  user-select: none;
}
.btn-theme-toggle:hover {
  transform: scale(1.1);
  border-color: var(--secondary);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.45);
}
.theme-icon {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  line-height: 1;
}
.theme-icon.rotating {
  transform: rotate(360deg) scale(0.4);
  opacity: 0;
}

/* =========================================
   DARK MODE STYLING (PRODUCTOS DESTACADOS & VIBRANTES)
   ========================================= */
body.dark-mode {
  --white: #0a1532;
  --gray-bg: #060e22;
  --gray-card: #0e1e44;
  --text: #e2e8f0;
  --text-light: #94a3b8;
  --dark: #ffffff;
  --dark2: #f8fafc;
  --border: #1b2e58;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  --shadow-hover: 0 16px 45px rgba(255, 215, 0, 0.22);
  background: #060e22;
  color: #e2e8f0;
}

body.dark-mode #header {
  background: rgba(9, 20, 48, 0.96);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}
body.dark-mode .nav-links a { color: #e2e8f0; }
body.dark-mode .nav-links a:hover,
body.dark-mode .nav-links a.active {
  background: var(--primary);
  color: var(--secondary);
}
body.dark-mode .nav-admin-link {
  background: #102452 !important;
  color: #FFD700 !important;
  border-color: #244186;
}
body.dark-mode .top-bar {
  background: #040917;
  border-bottom-color: var(--secondary);
}

/* PRODUCTOS EN MODO OSCURO (RESTAURACIÓN Y RESALTE TOTAL) */
body.dark-mode .products-section {
  background: #060e22;
}
body.dark-mode .products-controls-bar {
  background: #0c1a3c;
  border-color: #1e366b;
}
body.dark-mode .filter-btn {
  background: #102452;
  color: #e2e8f0;
  border-color: #1e366b;
}
body.dark-mode .filter-btn.active,
body.dark-mode .filter-btn:hover {
  background: var(--primary);
  color: #FFD700;
  border-color: #FFD700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.35);
}
body.dark-mode .products-sort-box select {
  background: #102452;
  color: #ffffff;
  border-color: #1e366b;
}
body.dark-mode .product-card {
  background: #0c1a3c;
  border: 1.5px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
body.dark-mode .product-card:hover {
  border-color: #FFD700;
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.3);
  transform: translateY(-7px);
}
body.dark-mode .product-image {
  background: radial-gradient(circle, #182e63 0%, #0d1e44 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}
body.dark-mode .product-image img {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}
body.dark-mode .product-name {
  color: #ffffff !important;
  font-weight: 700;
}
body.dark-mode .product-category {
  color: #60a5fa;
}
body.dark-mode .product-category span {
  color: #fef08a;
  font-weight: 600;
}
body.dark-mode .product-price {
  color: #FFD700 !important;
  font-size: 1.35rem;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.35);
}
body.dark-mode .btn-add-cart {
  background: #FFD700;
  color: #070e20;
  font-weight: 800;
}
body.dark-mode .btn-add-cart:hover {
  background: #ffffff;
  color: #1a3c8f;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}
body.dark-mode .btn-view {
  background: #142858;
  color: #ffffff;
  border-color: #244186;
}
body.dark-mode .product-wishlist {
  background: #102452;
  border-color: #244186;
  color: #cbd5e1;
}

/* OTRAS SECCIONES EN MODO OSCURO */
body.dark-mode .categories-section,
body.dark-mode .about-section,
body.dark-mode .contact-section,
body.dark-mode .physical-store-section {
  background: #070f24;
}
body.dark-mode .section-header h2 {
  color: #ffffff;
}
body.dark-mode .cat-card,
body.dark-mode .contact-info-card,
body.dark-mode .contact-form-box,
body.dark-mode .store-photo-card,
body.dark-mode .testimonial-card {
  background: #0c1a3c;
  border-color: #1b3060;
  color: #e2e8f0;
}
body.dark-mode .cat-card h3,
body.dark-mode .store-photo-info h4,
body.dark-mode .testimonial-author strong,
body.dark-mode .contact-item strong,
body.dark-mode .about-text h2 {
  color: #ffffff;
}
body.dark-mode .store-photo-info {
  background: #0c1a3c;
}
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
  background: #08132d;
  border-color: #1e366b;
  color: #ffffff;
}
body.dark-mode .cart-sidebar {
  background: #08132d;
  color: #e2e8f0;
}
body.dark-mode .cart-item {
  background: #0e1e44;
  border-color: #1e366b;
}
body.dark-mode .cart-item-name { color: #ffffff; }
body.dark-mode .cart-footer {
  background: #050d20;
  border-color: #1e366b;
}
body.dark-mode .cart-item-qty button {
  background: #142858;
  color: #ffffff;
  border-color: #244186;
}
body.dark-mode .checkout-modal,
body.dark-mode .product-modal {
  background: #08132d;
  color: #e2e8f0;
  border: 1px solid rgba(255, 215, 0, 0.3);
}
body.dark-mode .checkout-modal h4 { color: #ffffff; }
body.dark-mode .step {
  background: #0f2048;
  color: #94a3b8;
  border-color: #1e366b;
}
body.dark-mode .step.active {
  background: var(--primary);
  color: #FFD700;
}
body.dark-mode .payment-method-card {
  background: #0f2048;
  border-color: #1e366b;
}
body.dark-mode .payment-method-card span { color: #ffffff; }
body.dark-mode .order-summary {
  background: #0d1c3e;
  border-color: #1e366b;
}
body.dark-mode .chatbot-widget {
  background: #08132d;
  border-color: var(--secondary);
}
body.dark-mode .chatbot-messages {
  background: #050d20;
}
body.dark-mode .chat-msg.bot .chat-bubble {
  background: #0e1e44;
  color: #e2e8f0;
  border-color: #1e366b;
}
body.dark-mode .chatbot-quick-actions {
  background: #08132d;
  border-color: #1e366b;
}
body.dark-mode .chatbot-quick-actions button {
  background: #102452;
  color: #FFD700;
  border-color: #244186;
}
body.dark-mode .chatbot-input {
  background: #08132d;
  border-color: #1e366b;
}
body.dark-mode .chatbot-input input {
  background: #0f2048;
  border-color: #1e366b;
  color: #ffffff;
}

/* =========================================
   SPA & PELUQUERÍA CANINA Y FELINA
   ========================================= */
.spa-section {
  background: var(--gray-bg);
  position: relative;
}
.spa-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-bottom: 3.5rem;
}
.spa-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.spa-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2ec4b6, var(--secondary));
}
.spa-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: #2ec4b6;
}
.spa-card-icon {
  font-size: 3.8rem;
  margin-bottom: 1rem;
  animation: floatSmall 3s ease-in-out infinite alternate;
}
@keyframes floatSmall {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
.spa-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.8rem;
}
.spa-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}
.spa-price-tag {
  display: inline-block;
  align-self: center;
  background: rgba(46, 196, 182, 0.15);
  color: #0d9488;
  border: 1px solid #2ec4b6;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
}
body.dark-mode .spa-card {
  background: #0c1a3c;
  border-color: #1b3060;
}
body.dark-mode .spa-card h3 { color: #ffffff; }
body.dark-mode .spa-price-tag {
  background: rgba(255, 215, 0, 0.15);
  color: #FFD700;
  border-color: #FFD700;
}

/* SPA INTERACTIVE BOOKING BOX */
.spa-booking-wrapper {
  max-width: 860px;
  margin: 0 auto;
}
.spa-booking-card {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--primary) 100%);
  border: 2px solid var(--secondary);
  border-radius: 28px;
  padding: 3rem 2.8rem;
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.spa-booking-header {
  text-align: center;
  margin-bottom: 2.2rem;
}
.spa-booking-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 215, 0, 0.2);
  color: var(--secondary);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  border: 1px solid var(--secondary);
}
.spa-booking-header h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.spa-booking-header p {
  color: #e2e8f0;
  font-size: 0.98rem;
}

/* PET PILL SELECTORS */
.booking-pet-selector {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.pet-pill {
  flex: 1;
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  transition: all 0.3s ease;
  user-select: none;
}
.pet-pill:hover,
.pet-pill.active {
  background: var(--secondary);
  color: #070e20;
  border-color: var(--secondary);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
  transform: translateY(-3px) scale(1.03);
}
.pet-pill-icon { font-size: 1.4rem; }

.spa-booking-form .form-group label {
  color: #f1f5f9;
}
.spa-booking-form input,
.spa-booking-form select {
  background: rgba(255, 255, 255, 0.95);
  color: #0a1738;
}

/* FLUID INTERACTIVE RESERVE BUTTON */
.btn-spa-reserve {
  width: 100%;
  padding: 1.2rem 2rem;
  background: var(--secondary);
  color: #070e20;
  border: none;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.8rem;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.45);
  position: relative;
  overflow: hidden;
}
.btn-spa-reserve:hover {
  background: #ffffff;
  color: var(--primary);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.65);
}
.btn-spa-reserve:active {
  transform: translateY(0) scale(0.98);
}
.btn-spa-icon {
  font-size: 1.4rem;
  animation: bounce 0.6s infinite alternate;
}
