/* =========================================================
   CAPEX - Main Stylesheet (v2 – Polished)
   Dark theme | Glassmorphism | Poppins | Full Responsive
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* =========================================================
   1. CSS VARIABLES
========================================================= */
:root {
  --brand-ink: #09374F;
  --brand-blue: #167EBD;
  --brand-blue-light: #1a9de8;
  --brand-orange: #E57C2F;
  --brand-orange-2: #F5A13D;
  --brand-red: #BB2C22;
  --brand-red-2: #E73D28;

  --dark-bg: #050B10;
  --dark-secondary: #070F15;
  --dark-tertiary: #0B1620;

  --text-white: #ffffff;
  --text-gray: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.50);
  --border: rgba(255, 255, 255, 0.08);

  --gradient-blue: linear-gradient(135deg, var(--brand-ink), var(--brand-blue));
  --gradient-warm: linear-gradient(135deg, var(--brand-orange), var(--brand-red-2));
  --gradient-red: linear-gradient(135deg, var(--brand-red), var(--brand-red-2));

  --shadow-glow: 0 0 26px rgba(22, 126, 189, 0.28);
  --shadow-glow-strong: 0 0 38px rgba(22, 126, 189, 0.42);
  --shadow-glow-warm: 0 0 24px rgba(229, 124, 47, 0.26);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.3);

  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --glass-bg: rgba(11, 22, 32, 0.85);
  --glass-border: rgba(255, 255, 255, 0.06);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================================
   2. BASE RESET
========================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Utility: smooth reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children animation */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.48s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.56s; }
.stagger-children .reveal:nth-child(9) { transition-delay: 0.64s; }

/* =========================================================
   3. HEADER & NAVIGATION
========================================================= */
.header {
  background-color: rgba(5, 11, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.header.scrolled {
  background-color: rgba(5, 11, 16, 0.96);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  border-color: rgba(22,126,189,0.12);
}

.header .navbar.container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 28px;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 12px 20px;
}

.logo { display: flex; align-items: center; gap: 10px; }

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(22, 126, 189, 0.22));
  transition: filter 0.3s ease;
}
.logo:hover .logo-img { filter: drop-shadow(0 0 20px rgba(22, 126, 189, 0.4)); }

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0; padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.3s ease, background 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-blue-light);
  background: rgba(22, 126, 189, 0.08);
}

.nav-icons {
  justify-self: end;
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-icons a,
.nav-icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--text-gray);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background: transparent;
  border: 1px solid transparent;
}
.nav-icons a:hover,
.nav-icon-btn:hover {
  color: var(--brand-blue);
  background: rgba(22, 126, 189, 0.1);
  border-color: rgba(22, 126, 189, 0.2);
}

.cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--brand-red);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(187, 44, 34, 0.4);
  transition: transform 0.3s var(--ease-spring);
}
.cart-count.bump {
  animation: cartBump 0.4s var(--ease-spring);
}
@keyframes cartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-white);
  transition: background 0.3s ease;
}
.menu-toggle:hover { background: rgba(255,255,255,0.06); }

/* =========================================================
   4. HERO SECTION
========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(900px 600px at 18% 18%, rgba(9, 55, 79, 0.34), transparent 58%),
    radial-gradient(700px 520px at 82% 36%, rgba(22, 126, 189, 0.18), transparent 62%),
    radial-gradient(700px 520px at 72% 86%, rgba(229, 124, 47, 0.10), transparent 62%),
    linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -55%; right: -55%;
  width: 110%; height: 110%;
  background: radial-gradient(circle, rgba(22, 126, 189, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero-text h1 span {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  color: var(--text-gray);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image img {
  max-width: 85%;
  animation: heroFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(22, 126, 189, 0.15));
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(1deg); }
}

/* =========================================================
   5. BUTTONS
========================================================= */
.btn {
  padding: 14px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-blue);
  color: white;
  box-shadow: 0 4px 20px rgba(22, 126, 189, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(22, 126, 189, 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(22, 126, 189, 0.5);
}
.btn-secondary:hover {
  background: rgba(22, 126, 189, 0.1);
  border-color: var(--brand-blue);
  box-shadow: 0 0 20px rgba(22, 126, 189, 0.15);
}

/* =========================================================
   6. SECTION HEADER
========================================================= */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-header h2 span {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  color: var(--text-gray);
  max-width: 550px;
  margin: 0 auto;
  font-size: 1rem;
}

/* =========================================================
   7. CATEGORIES
========================================================= */
.categories {
  padding: 80px 0;
  background: var(--dark-secondary);
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.category-card {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(22, 126, 189, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.category-card:hover::before { opacity: 1; }
.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 126, 189, 0.4);
  box-shadow: 0 12px 40px rgba(22, 126, 189, 0.12);
}

.category-card i {
  font-size: 2.4rem;
  color: var(--brand-blue);
  margin-bottom: 14px;
  position: relative;
  transition: transform 0.4s var(--ease-spring);
}
.category-card:hover i { transform: scale(1.15); }
.category-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
}
.category-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  position: relative;
}

/* =========================================================
   8. PRODUCTS SECTION & GRID
========================================================= */
.products { padding: 80px 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(22, 126, 189, 0.12);
  border-color: rgba(22, 126, 189, 0.3);
}

.product-image {
  position: relative;
  height: 230px;
  background: linear-gradient(180deg, rgba(11, 22, 32, 0.4), rgba(11, 22, 32, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-image img {
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
  transition: transform 0.5s var(--ease-out);
}
.product-card:hover .product-image img { transform: scale(1.08); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  z-index: 2;
  text-transform: uppercase;
}
.badge-new {
  background: var(--gradient-blue);
  color: white;
}
.badge-sale {
  background: var(--gradient-warm);
  color: white;
}

.product-actions {
  position: absolute;
  top: 12px; right: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(14px);
  transition: all 0.35s var(--ease-out);
  z-index: 2;
}
.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}
.product-actions button {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(5, 11, 16, 0.85);
  color: var(--text-white);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.product-actions button:hover {
  background: rgba(22, 126, 189, 0.25);
  border-color: rgba(22, 126, 189, 0.5);
  color: var(--brand-blue-light);
}

.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.product-category {
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.current-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-blue);
}
.original-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.add-to-cart {
  width: 100%;
  padding: 12px;
  background: var(--gradient-blue);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  margin-top: auto;
}
.add-to-cart:hover {
  box-shadow: 0 6px 24px rgba(22, 126, 189, 0.35);
  transform: translateY(-2px);
}
.add-to-cart:active { transform: translateY(0); }
.add-to-cart:disabled {
  opacity: 0.7;
  cursor: wait;
}

.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.ver-producto-btn {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ver-producto-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 126, 189, 0.35);
  background: rgba(22, 126, 189, 0.1);
}

/* =========================================================
   9. PRODUCTS CAROUSEL
========================================================= */
.products-carousel {
  position: relative;
  margin-top: 18px;
}

.carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 56px 16px;
  border-radius: 18px;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.carousel-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.carousel-item {
  flex: 0 0 auto;
  width: clamp(250px, 28vw, 340px);
  scroll-snap-align: start;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 22, 32, 0.85);
  color: #fff;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease-out);
  font-family: inherit;
  font-size: 0.9rem;
}
.carousel-arrow:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(22, 126, 189, 0.3);
  border-color: rgba(22, 126, 189, 0.4);
}
.carousel-arrow.prev { left: -6px; }
.carousel-arrow.next { right: -6px; }
.carousel-arrow.is-disabled,
.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.products-carousel::before,
.products-carousel::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 70px;
  z-index: 4;
  pointer-events: none;
}
.products-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark-bg) 0%, transparent 100%);
}
.products-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--dark-bg) 0%, transparent 100%);
}

/* Carousel card images */
.products-carousel .carousel-item.product-card { display: flex; flex-direction: column; overflow: hidden; }
.products-carousel .carousel-item.product-card .product-image {
  padding: 0;
  background: linear-gradient(180deg, rgba(11, 22, 32, 0.3), rgba(11, 22, 32, 0.6));
  border: 0;
  overflow: hidden;
  height: 220px;
}
.products-carousel .carousel-item.product-card .product-image > img {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =========================================================
   10. FEATURES
========================================================= */
.features {
  padding: 60px 0;
  background: var(--dark-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  transition: all 0.35s var(--ease-out);
  border: 1px solid var(--glass-border);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 126, 189, 0.3);
  box-shadow: 0 8px 30px rgba(22, 126, 189, 0.08);
}

.feature-icon {
  width: 52px; height: 52px;
  background: var(--gradient-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  flex-shrink: 0;
}

.feature-text h4 { font-weight: 700; margin-bottom: 3px; font-size: 0.92rem; }
.feature-text p { color: var(--text-muted); font-size: 0.82rem; }

/* =========================================================
   11. ABOUT
========================================================= */
.about { padding: 80px 0; }
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image { position: relative; }
.about-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.about-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.about-text h2 span {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-text p { color: var(--text-gray); margin-bottom: 16px; line-height: 1.7; }

.about-features { margin-top: 24px; }
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 500;
}
.about-feature i { color: #10b981; font-size: 1.1rem; }

/* =========================================================
   12. INFO SECTIONS
========================================================= */
.info-section { padding: 80px 0; }
.info-section.alt-bg { background: var(--dark-secondary); }

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.info-card {
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
.info-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}
.info-card:hover::after { transform: scaleX(1); }
.info-card:hover {
  border-color: rgba(22, 126, 189, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(22, 126, 189, 0.08);
}

.info-card i {
  font-size: 2.5rem;
  color: var(--brand-blue);
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease-spring);
}
.info-card:hover i { transform: scale(1.1); }
.info-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.info-card p { color: var(--text-gray); font-size: 0.92rem; line-height: 1.6; }

/* =========================================================
   13. CONTACT
========================================================= */
.contact { padding: 80px 0; background: var(--dark-secondary); }

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.contact-info h2 span {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-info > p { color: var(--text-gray); margin-bottom: 28px; }

.contact-methods { display: flex; flex-direction: column; gap: 14px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease-out);
  border: 1px solid var(--glass-border);
}
.contact-method:hover {
  border-color: rgba(22, 126, 189, 0.3);
  background: rgba(22, 126, 189, 0.06);
  transform: translateX(6px);
}
.contact-method i { font-size: 1.4rem; color: var(--brand-blue); flex-shrink: 0; }
.contact-method h4 { font-weight: 700; margin-bottom: 2px; font-size: 0.95rem; }
.contact-method p { color: var(--text-gray); font-size: 0.85rem; }

.contact-form {
  background: var(--glass-bg);
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(5, 11, 16, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(22, 126, 189, 0.5);
  box-shadow: 0 0 0 3px rgba(22, 126, 189, 0.12);
  background: rgba(5, 11, 16, 0.8);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* =========================================================
   14. FOOTER
========================================================= */
.footer {
  background: var(--dark-bg);
  padding: 50px 0 20px;
  border-top: 1px solid var(--border);
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-gray); margin-bottom: 16px; font-size: 0.92rem; }

.footer-logo-img { height: 36px; margin-bottom: 10px; }

.footer-credits { margin-top: 12px; font-size: 0.85rem; color: #888; }
.neon-link {
  color: #00a8e8;
  font-weight: 600;
  text-shadow: 0 0 6px rgba(0, 168, 232, 0.5);
  transition: opacity 0.2s ease;
}
.neon-link:hover { opacity: 0.85; }
.neon-heart {
  color: #00a8e8;
  margin: 0 3px;
  text-shadow: 0 0 6px rgba(0, 168, 232, 0.6);
}

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}
.social-links a:hover {
  background: rgba(22, 126, 189, 0.15);
  border-color: rgba(22, 126, 189, 0.4);
  color: white;
}

.footer-links h4 { font-weight: 700; margin-bottom: 16px; font-size: 0.95rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-gray); font-size: 0.9rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--brand-blue); }

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* =========================================================
   15. CART PAGE
========================================================= */
.page-header {
  padding: 110px 0 50px;
  background: linear-gradient(180deg, var(--dark-secondary), var(--dark-bg));
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.page-header p { color: var(--text-gray); }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.breadcrumb a { color: var(--brand-blue); transition: opacity 0.3s ease; }
.breadcrumb a:hover { opacity: 0.8; }

.cart-section { padding: 50px 0 80px; }

.cart-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 30px;
  align-items: start;
}

.cart-items {
  background: var(--glass-bg);
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid var(--glass-border);
}

.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cart-item:last-child { border-bottom: none; }

.cart-item-image {
  width: 90px; height: 90px;
  background: rgba(11, 22, 32, 0.5);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}
.cart-item-image img { max-width: 75%; max-height: 75%; object-fit: contain; }

.cart-item-info h4 { font-weight: 700; margin-bottom: 4px; font-size: 0.95rem; }
.cart-item-info p { color: var(--text-muted); font-size: 0.85rem; }

.quantity-control { display: flex; align-items: center; gap: 8px; }
.quantity-control button {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(11, 22, 32, 0.5);
  color: var(--text-white);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.quantity-control button:hover {
  background: rgba(22, 126, 189, 0.15);
  border-color: rgba(22, 126, 189, 0.4);
}
.quantity-control span { font-weight: 700; min-width: 28px; text-align: center; }

.cart-item-price {
  font-weight: 800;
  color: var(--brand-blue);
  font-size: 1.05rem;
  text-align: right;
}
.cart-item-price small {
  display: block;
  opacity: .6;
  font-weight: 600;
  text-decoration: line-through;
  margin-top: 2px;
  font-size: 0.82rem;
}

.remove-item {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 8px;
}
.remove-item:hover { color: var(--brand-red); background: rgba(187,44,34,0.1); }

.cart-summary {
  background: var(--glass-bg);
  border-radius: var(--radius-xl);
  padding: 28px;
  height: fit-content;
  position: sticky;
  top: 90px;
  border: 1px solid var(--glass-border);
}
.cart-summary h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--text-gray);
  font-size: 0.95rem;
}
.summary-row.total {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-white);
  padding-top: 14px;
  border-top: 1px solid var(--glass-border);
  margin-top: 14px;
}
.summary-row.total span:last-child { color: var(--brand-blue); }

.checkout-btn { width: 100%; margin-top: 20px; }

.continue-shopping {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--text-gray);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.continue-shopping:hover { color: var(--brand-blue); }

.empty-cart { text-align: center; padding: 50px 20px; }
.empty-cart i { font-size: 4rem; color: var(--text-muted); margin-bottom: 18px; opacity: 0.5; }
.empty-cart h3 { font-size: 1.4rem; margin-bottom: 10px; }
.empty-cart p { color: var(--text-gray); margin-bottom: 24px; }

/* =========================================================
   16. CHECKOUT PAGE
========================================================= */
.checkout-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: start;
}

.checkout-form {
  background: var(--glass-bg);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--glass-border);
}
.checkout-form > h3,
.checkout-form h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-form h3 i { color: var(--brand-blue); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-section {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(12, 14, 26, 0.4);
  margin-bottom: 16px;
}
.checkout-section:last-of-type { margin-bottom: 0; }

.checkout-section h3 {
  margin: 0 0 16px 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.checkout-section .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkout-section .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.checkout-section label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.checkout-section input[type="text"],
.checkout-section input[type="email"],
.checkout-section input[type="tel"],
.checkout-section input[type="number"],
.checkout-section textarea,
.checkout-section select {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.92);
  padding: 12px 14px;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.checkout-section input::placeholder,
.checkout-section textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.checkout-section input:focus,
.checkout-section textarea:focus,
.checkout-section select:focus {
  border-color: rgba(22, 126, 189, 0.45);
  box-shadow: 0 0 0 3px rgba(22, 126, 189, 0.12);
  background: rgba(255, 255, 255, 0.05);
}
.checkout-section textarea { min-height: 100px; resize: vertical; }

.checkout-section select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.checkout-section select option { color: #0b0f1a; }

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.payment-method {
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}
.payment-method i { color: var(--brand-blue); font-size: 1.1rem; }
.payment-method span { font-weight: 800; color: rgba(255, 255, 255, 0.9); font-size: 0.88rem; }
.payment-method:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}
.payment-method.active {
  border-color: rgba(22, 126, 189, 0.5);
  box-shadow: 0 0 0 3px rgba(22, 126, 189, 0.12);
  background: rgba(22, 126, 189, 0.08);
}

.order-summary {
  background: var(--glass-bg);
  border-radius: var(--radius-xl);
  padding: 28px;
  height: fit-content;
  position: sticky;
  top: 90px;
  border: 1px solid var(--glass-border);
}
.order-summary h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
}

.order-items { margin-bottom: 18px; }
.order-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  align-items: center;
}
.order-item:last-child { border-bottom: none; }

.order-item-image {
  width: 56px; height: 56px;
  background: rgba(11, 22, 32, 0.5);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
  overflow: hidden;
}
.order-item-image img { max-width: 75%; max-height: 75%; object-fit: contain; }

.order-item-info { flex: 1; }
.order-item-info h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.order-item-info p { color: var(--text-muted); font-size: 0.82rem; }
.order-item-price { font-weight: 700; color: var(--brand-blue); font-size: 0.95rem; }

/* =========================================================
   17. WHATSAPP FLOAT
========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25d366;
  color: white;
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.35s var(--ease-out);
  animation: waPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.5), 0 0 0 8px rgba(37, 211, 102, 0.08); }
}

/* =========================================================
   18. TOAST NOTIFICATIONS
========================================================= */
.toast-container {
  position: fixed;
  top: 80px; right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  pointer-events: auto;
  transform: translateX(110%);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.toast.show { transform: translateX(0); opacity: 1; }

.toast-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}
.toast-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.toast-info {
  background: rgba(22, 126, 189, 0.15);
  border: 1px solid rgba(22, 126, 189, 0.35);
  color: #7dd3fc;
}

/* =========================================================
   19. QUICK VIEW MODAL (tienda.php)
========================================================= */
.vp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 20px;
}
.vp-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.vp-modal {
  background: linear-gradient(180deg, rgba(11, 22, 32, 0.97), rgba(7, 15, 21, 0.97));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.vp-backdrop.open .vp-modal {
  transform: scale(1) translateY(0);
}

.vp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--glass-border);
}
.vp-title { font-size: 1.1rem; font-weight: 800; }
.vp-close {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.04);
  color: var(--text-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.vp-close:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.vp-body { overflow-y: auto; padding: 24px; }
.vp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.vp-gallery { display: flex; flex-direction: column; gap: 12px; }
.vp-main {
  position: relative;
  background: rgba(11, 22, 32, 0.5);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}
.vp-main img { max-width: 80%; max-height: 80%; object-fit: contain; }
.vp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(5, 11, 16, 0.8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}
.vp-nav:hover { background: rgba(22, 126, 189, 0.3); }
.vp-nav.prev { left: 10px; }
.vp-nav.next { right: 10px; }

.vp-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; }
.vp-thumb {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: rgba(11, 22, 32, 0.5);
  transition: border-color 0.3s ease;
}
.vp-thumb.active { border-color: var(--brand-blue); }
.vp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.vp-meta { display: flex; flex-direction: column; gap: 12px; }
.vp-meta .kicker { color: var(--brand-blue); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px; }
.vp-name { font-size: 1.4rem; font-weight: 800; line-height: 1.3; }
.vp-cat { color: var(--text-gray); font-size: 0.9rem; }

.vp-price { display: flex; align-items: center; gap: 12px; margin: 4px 0; }
.vp-price .cur { font-size: 1.6rem; font-weight: 900; color: var(--brand-blue); }
.vp-price .old { font-size: 1rem; color: var(--text-muted); text-decoration: line-through; }

.vp-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.vp-badge {
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(22, 126, 189, 0.15);
  border: 1px solid rgba(22, 126, 189, 0.3);
  color: var(--brand-blue-light);
}
.vp-badge.good { background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.3); color: #6ee7b7; }
.vp-badge.warn { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.3); color: #fca5a5; }

.vp-desc { color: var(--text-gray); font-size: 0.92rem; line-height: 1.65; }
.vp-info-lines { color: var(--text-muted); font-size: 0.85rem; display: flex; flex-direction: column; gap: 4px; }

.vp-actions { display: flex; gap: 10px; margin-top: 8px; }
.vp-btn {
  flex: 1;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-family: inherit;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  transition: all 0.35s var(--ease-out);
  text-align: center;
}
.vp-btn.primary {
  background: var(--gradient-blue);
  color: white;
}
.vp-btn.primary:hover { box-shadow: 0 6px 24px rgba(22, 126, 189, 0.35); transform: translateY(-2px); }
.vp-btn.secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-white);
}
.vp-btn.secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }

/* =========================================================
   20. SHOP / TIENDA PAGE
========================================================= */
.shop-section { padding-top: 80px; min-height: 100vh; }
.shop-section--full { padding-bottom: 60px; }

.shop-container-wide { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.shop-layout--wide { grid-template-columns: 240px 1fr; }

/* Filters Sidebar */
.shop-filters {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 20px;
  background: var(--glass-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.filter-group {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.filter-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
}
.filter-head h4 { font-size: 0.9rem; font-weight: 700; margin: 0; }
.filter-head i {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}
.filter-group.collapsed .filter-head i { transform: rotate(-90deg); }
.filter-group.collapsed .filter-options,
.filter-group.collapsed .price-range { display: none; }

.filter-options { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-gray);
  transition: color 0.3s ease;
  padding: 4px 0;
}
.filter-option:hover { color: var(--text-white); }
.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
  accent-color: var(--brand-blue);
  width: 16px; height: 16px;
}

.price-range {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.price-range input {
  flex: 1;
  padding: 10px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.85rem;
  transition: border-color 0.3s ease;
}
.price-range input:focus { border-color: rgba(22, 126, 189, 0.4); outline: none; }
.price-range span { color: var(--text-muted); font-weight: 600; }

/* Shop Toolbar */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-count { color: var(--text-muted); font-size: 0.88rem; }

.sort-options { display: flex; align-items: center; gap: 12px; }
.sort-options select {
  padding: 10px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.sort-options select:focus { border-color: rgba(22, 126, 189, 0.4); outline: none; }

.view-options { display: flex; gap: 4px; }
.view-options button {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
  transition: all 0.3s ease;
}
.view-options button.active,
.view-options button:hover {
  background: rgba(22, 126, 189, 0.12);
  border-color: rgba(22, 126, 189, 0.3);
  color: var(--brand-blue);
}

/* Mobile filter toggle */
.filter-toggle-mobile {
  display: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-white);
  font-weight: 700;
  font-family: inherit;
  font-size: 0.9rem;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-toggle-mobile:hover { border-color: rgba(22, 126, 189, 0.3); }

/* =========================================================
   21. RESPONSIVE DESIGN
========================================================= */

/* Tablet (max 992px) */
@media (max-width: 992px) {
  .header .navbar.container { column-gap: 16px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(5, 11, 16, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9998;
    padding: 100px 30px 40px;
    gap: 6px;
    align-items: stretch;
    animation: menuSlideIn 0.3s var(--ease-out);
  }
  @keyframes menuSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-links.active a {
    font-size: 1.1rem;
    padding: 14px 20px;
    border-radius: var(--radius-md);
  }
  .nav-links.active a:hover { background: rgba(22, 126, 189, 0.1); }

  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-buttons { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 50%; }

  .about-content { grid-template-columns: 1fr; }
  .about-image { order: -1; }

  .contact-content { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-content { grid-template-columns: 1fr 1fr; }

  .cart-content { grid-template-columns: 1fr; }
  .checkout-content { grid-template-columns: 1fr; }
  .order-summary, .cart-summary { position: static; }

  /* Shop: hide sidebar, show filter toggle */
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    max-height: 100vh;
    z-index: 9997;
    border-radius: 0;
    padding: 80px 24px 24px;
    background: rgba(5, 11, 16, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: menuSlideIn 0.3s var(--ease-out);
  }
  .shop-filters.show { display: block; }
  .filter-toggle-mobile { display: inline-flex; }

  .vp-grid { grid-template-columns: 1fr; }
  .vp-main { aspect-ratio: 4/3; }
}

/* Mobile (max 640px) */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header .navbar.container { padding: 10px 16px; }

  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-text p { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-image img { max-width: 60%; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card { padding: 24px 16px; }
  .category-card i { font-size: 2rem; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card { gap: 12px; padding: 18px; }

  .info-cards { grid-template-columns: 1fr; }

  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 1.6rem; }

  .cart-item {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }
  .cart-item .quantity-control,
  .cart-item .cart-item-price,
  .cart-item .remove-item {
    grid-column: 2;
  }
  .cart-item .quantity-control { justify-self: start; }
  .cart-item .cart-item-price { justify-self: start; }
  .cart-item .remove-item { justify-self: end; }

  .form-row { grid-template-columns: 1fr; }
  .checkout-section .form-row { grid-template-columns: 1fr; }

  .footer-content { grid-template-columns: 1fr; gap: 28px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-image { height: 180px; }
  .product-info { padding: 14px; }
  .product-name { font-size: 0.88rem; }
  .current-price { font-size: 1.1rem; }

  .carousel-item { width: 75vw; }
  .carousel-viewport { padding: 6px 30px 16px; }
  .carousel-arrow { display: none; }
  .products-carousel::before,
  .products-carousel::after { width: 30px; }

  .whatsapp-float {
    width: 50px; height: 50px;
    bottom: 16px; right: 16px;
    font-size: 1.4rem;
    border-radius: 14px;
  }

  .toast-container { top: 70px; right: 12px; left: 12px; }
  .toast { font-size: 0.85rem; padding: 12px 16px; }

  .page-header { padding: 90px 0 36px; }
  .page-header h1 { font-size: 1.6rem; }

  .vp-modal { max-width: 100%; margin: 10px; }
  .vp-body { padding: 16px; }
  .vp-name { font-size: 1.15rem; }
  .vp-price .cur { font-size: 1.3rem; }
  .vp-actions { flex-direction: column; }

  .shop-toolbar { flex-direction: column; align-items: flex-start; }
}

/* Extra small (max 380px) */
@media (max-width: 380px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .hero-image img { max-width: 70%; }
}

/* =========================================================
   22. HEADER SCROLLED STATE
========================================================= */
.header.scrolled .logo-img { height: 40px; }
.header.scrolled .navbar.container { padding-top: 8px; padding-bottom: 8px; }

/* =========================================================
   23. ANIMATIONS - EXTRA
========================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Smooth transitions on logo and header */
.logo-img { transition: height 0.3s var(--ease-out), filter 0.3s ease; }
.header .navbar.container { transition: padding 0.3s var(--ease-out); }

/* Link hover underline alternative for footer */
.footer-links a { position: relative; }
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--brand-blue);
  transition: width 0.3s ease;
}
.footer-links a:hover::after { width: 100%; }

/* =========================================================
   24. FILTER CLOSE BUTTON (mobile)
========================================================= */
.filter-close-mobile {
  display: none;
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.04);
  color: var(--text-white);
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (max-width: 992px) {
  .filter-close-mobile { display: flex; }
}

/* =========================================================
   25. SCROLLBAR
========================================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }
