/* ==========================================================================
   Click Tech - Estilos Globales y Diseño
   ========================================================================== */

/* Importar tipografías oficiales de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;800&family=Poppins:wght@400;500;600;700&display=swap');

/* Variables de Marca */
:root {
  --primary-blue: #1496FF;
  --dark-blue: #0A207A;
  --black: #111111;
  --white: #FFFFFF;
  --gray-light: #F8FAFC;
  --gray-border: #E5E7EB;
  --gray-text: #475569;
  --whatsapp-green: #25D366;
  --whatsapp-green-dark: #128C7E;
  --font-title: 'Orbitron', 'Segoe UI', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px rgba(10, 32, 122, 0.08);
  --shadow-lg: 0 20px 40px rgba(10, 32, 122, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* Reseteo básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

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

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

/* ==========================================================================
   HEADER / BARRA DE NAVEGACIÓN
   ========================================================================== */

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  height: 50px;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 14px;
  color: var(--gray-text);
  padding: 8px 4px;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--dark-blue);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8px;
  border-radius: 50%;
}

.icon-btn:hover {
  background-color: var(--gray-light);
  color: var(--primary-blue);
}

.cart-icon-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-light);
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  color: var(--black);
}

.cart-icon-btn:hover {
  background: var(--white);
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--primary-blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(20, 150, 255, 0.4);
}

.cart-header-subtotal {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-blue);
  font-family: var(--font-title);
}

/* ==========================================================================
   HERO SECTION (index.html)
   ========================================================================== */

.hero-section {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(20, 150, 255, 0.03) 0%, rgba(10, 32, 122, 0.01) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-tagline {
  font-family: var(--font-title);
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: rgba(20, 150, 255, 0.08);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--black);
}

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

.hero-desc {
  font-size: 16px;
  color: var(--gray-text);
  max-width: 500px;
}

.hero-btn-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(20, 150, 255, 0.25);
  align-self: flex-start;
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(10, 32, 122, 0.3);
}

.hero-shipping-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-text);
}

.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bg-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 150, 255, 0.15) 0%, rgba(20, 150, 255, 0) 70%);
  z-index: 1;
}

.hero-img-stack {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 400px;
  z-index: 2;
}

/* Efecto de flotación para productos en Hero */
.hero-img-stack img {
  position: absolute;
  filter: drop-shadow(0 15px 30px rgba(10, 32, 122, 0.15));
}

.img-airpods {
  width: 150px;
  top: 10px;
  left: 10%;
  animation: float 4s ease-in-out infinite;
}

.img-powerbank {
  width: 130px;
  top: 30px;
  right: 15%;
  animation: float 4.5s ease-in-out infinite 0.5s;
}

.img-charger {
  width: 170px;
  bottom: 30px;
  left: 15%;
  animation: float 5s ease-in-out infinite 1s;
}

.img-smartwatch {
  width: 130px;
  bottom: 20px;
  right: 18%;
  animation: float 5.5s ease-in-out infinite 1.5s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* ==========================================================================
   FEATURES BAR (Beneficios)
   ========================================================================== */

.features-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-border);
  background: var(--white);
}

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

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background-color: var(--gray-light);
  transform: translateY(-2px);
}

.feature-icon-wrapper {
  background: rgba(20, 150, 255, 0.08);
  color: var(--primary-blue);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.4;
}

/* ==========================================================================
   CATÁLOGO Y FILTROS
   ========================================================================== */

.catalog-section {
  padding: 80px 0;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.catalog-title-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-subtitle {
  font-family: var(--font-title);
  color: var(--primary-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.catalog-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
}

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

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Buscador */
.search-wrapper {
  position: relative;
  width: 250px;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  font-family: var(--font-body);
  font-size: 13px;
  background-color: var(--gray-light);
  transition: all 0.3s ease;
}

.search-input:focus {
  background-color: var(--white);
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(20, 150, 255, 0.1);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-text);
  pointer-events: none;
}

/* Categorías (Pestañas) */
.categories-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--gray-border);
}

.category-tab {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-text);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.category-tab:hover {
  color: var(--dark-blue);
  background-color: var(--gray-light);
}

.category-tab.active {
  color: var(--white);
  background-color: var(--primary-blue);
  box-shadow: 0 4px 10px rgba(20, 150, 255, 0.2);
}

/* Grid de Productos */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 150, 255, 0.3);
}

.product-image-container {
  height: 220px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-border);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.stock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.stock-badge.in-stock {
  background-color: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-green-dark);
}

.stock-badge.out-of-stock {
  background-color: rgba(239, 68, 68, 0.12);
  color: #EF4444;
}

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

.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc {
  font-size: 12px;
  color: var(--gray-text);
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-blue);
}

.add-to-cart-btn {
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  color: var(--dark-blue);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.add-to-cart-btn:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
  box-shadow: 0 4px 10px rgba(20, 150, 255, 0.3);
}

.add-to-cart-btn:disabled {
  background: var(--gray-border);
  color: #94A3B8;
  cursor: not-allowed;
  box-shadow: none;
}

/* ==========================================================================
   PROMO BANNER (index.html)
   ========================================================================== */

.promo-banner-section {
  padding: 60px 0;
}

.promo-banner {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
  border-radius: var(--radius-lg);
  padding: 50px 60px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.promo-banner-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.promo-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.promo-desc {
  font-size: 14px;
  opacity: 0.85;
  max-width: 400px;
}

.promo-banner .btn-primary {
  background-color: var(--white);
  color: var(--dark-blue);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  align-self: flex-start;
}

.promo-banner .btn-primary:hover {
  background-color: var(--black);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.promo-graphic {
  position: relative;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.promo-graphic img {
  position: absolute;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.2));
}

.promo-headphones {
  width: 170px;
  left: 10%;
  animation: float 4.5s ease-in-out infinite;
}

.promo-powerbank {
  width: 70px;
  right: 15%;
  top: 10px;
  animation: float 5s ease-in-out infinite 0.5s;
}

.promo-airpods {
  width: 100px;
  right: 25%;
  bottom: 10px;
  animation: float 4s ease-in-out infinite 1s;
}

/* ==========================================================================
   SECCIÓN "¿CÓMO COMPRAR?"
   ========================================================================== */

.how-to-buy-section {
  padding: 80px 0;
  background-color: var(--gray-light);
}

.section-header-centered {
  text-align: center;
  margin-bottom: 50px;
}

.centered-subtitle {
  font-family: var(--font-title);
  color: var(--primary-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.centered-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  margin-top: 6px;
}

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

/* Conector de flujo entre pasos (Solo en escritorio) */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed var(--gray-border);
  z-index: 1;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.step-icon-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-border);
  color: var(--primary-blue);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon-wrapper {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
  transform: scale(1.05);
}

.step-number {
  position: absolute;
  bottom: -6px;
  background-color: var(--dark-blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

.step-icon-wrapper.whatsapp-step {
  color: var(--whatsapp-green);
}

.step-card:hover .whatsapp-step {
  border-color: var(--whatsapp-green);
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 11px;
  color: var(--gray-text);
  line-height: 1.5;
  max-width: 200px;
}

/* ==========================================================================
   SUPPORT BANNER (Dudas / WhatsApp Help)
   ========================================================================== */

.support-banner-section {
  padding: 40px 0;
}

.support-banner-box {
  background-color: #F0F7FF;
  border: 1px dashed rgba(20, 150, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.support-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.support-whatsapp-logo {
  width: 60px;
  height: 60px;
}

.support-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

.support-subtitle {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-blue);
  margin: 2px 0 6px 0;
}

.support-desc {
  font-size: 12px;
  color: var(--gray-text);
}

.btn-whatsapp {
  background-color: #0066FF;
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.btn-whatsapp:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
}

/* ==========================================================================
   PÁGINA CARRITO (cart.html)
   ========================================================================== */

.cart-page-header {
  padding: 45px 0 25px 0;
  border-bottom: 1px solid var(--gray-border);
}

.cart-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-title-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-square-icon {
  background-color: var(--primary-blue);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-title {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
}

.cart-breadcrumbs {
  font-size: 11px;
  color: var(--gray-text);
  margin-top: 4px;
}

.btn-secondary {
  border: 1.5px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background-color: rgba(20, 150, 255, 0.05);
  transform: translateX(-2px);
}

.cart-grid-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 50px 0 80px 0;
}

/* Tabla del Carrito */
.cart-table-wrapper {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.cart-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-text);
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--gray-border);
}

.cart-table td {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-border);
  vertical-align: middle;
}

.cart-product-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  background-color: var(--gray-light);
  padding: 6px;
  object-fit: contain;
  border: 1px solid var(--gray-border);
}

.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}

.stock-indicator-green {
  color: var(--whatsapp-green-dark);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.td-price, .td-subtotal {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
}

.td-subtotal {
  font-weight: 800;
}

/* Control de Cantidad */
.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  width: fit-content;
  background-color: var(--gray-light);
}

.qty-btn {
  width: 32px;
  height: 32px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
}

.qty-btn:hover {
  background-color: var(--gray-border);
  color: var(--black);
}

.qty-val {
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-title);
}

.cart-delete-btn {
  color: #94A3B8;
}

.cart-delete-btn:hover {
  color: #EF4444;
  transform: scale(1.1);
}

/* Banner Garantía Carrito */
.cart-guarantee-banner {
  margin-top: 30px;
  background-color: var(--gray-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-blue);
  border: 1px solid var(--gray-border);
}

/* Columna Resumen */
.summary-card {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.summary-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  border-bottom: 1.5px solid var(--gray-border);
  padding-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-text);
}

.summary-row.total-row {
  border-top: 1.5px dashed var(--gray-border);
  padding-top: 16px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-blue);
}

.summary-shipping-info {
  background-color: #F0F7FF;
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--dark-blue);
}

.btn-buy-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--white);
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  width: 100%;
}

.btn-buy-whatsapp:hover {
  background-color: var(--whatsapp-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.summary-redirect-notice {
  font-size: 11px;
  color: var(--gray-text);
  text-align: center;
  margin-top: -8px;
}

/* ¿Cómo funciona? */
.summary-how-it-works {
  background-color: var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--gray-border);
}

.how-title {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.how-steps li {
  font-size: 10.5px;
  color: var(--gray-text);
  display: flex;
  gap: 8px;
  line-height: 1.4;
}

.how-steps span {
  font-weight: 700;
  color: var(--primary-blue);
}

.how-steps-footer {
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 12px;
}

/* Logos de Pago */
.summary-payment-logos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-badge {
  border: 1.2px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  height: 28px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
}

.payment-badge.bank-logo {
  border: none;
  padding: 0;
  background: none;
}

.payment-badge img {
  height: 100%;
  width: auto;
  max-width: 50px;
  object-fit: contain;
}

.bank-logo img {
  height: 26px;
  max-width: 65px;
  border-radius: 4px;
}

/* Carrito Vacío */
.cart-empty-message {
  text-align: center;
  padding: 80px 20px;
  font-family: var(--font-body);
}

.empty-cart-icon {
  background-color: var(--gray-light);
  color: #94A3B8;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
}

.empty-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.empty-desc {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 30px;
}

/* ==========================================================================
   FOOTER (Pie de página)
   ========================================================================== */

footer {
  background-color: var(--gray-light);
  border-top: 1px solid var(--gray-border);
  padding: 70px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 44px;
  align-self: flex-start;
}

.footer-logo img {
  height: 100%;
}

.footer-desc {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  color: var(--primary-blue);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 12px;
  color: var(--gray-text);
}

.footer-links a:hover {
  color: var(--primary-blue);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--gray-text);
}

.contact-item svg {
  color: var(--primary-blue);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--gray-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--gray-text);
}

/* Floating WhatsApp Icon */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--whatsapp-green);
  color: var(--white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
}

.floating-whatsapp-btn:hover {
  background-color: var(--whatsapp-green-dark);
  transform: scale(1.08) rotate(8deg);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   DISEÑO RESPONSIVO (Media Queries)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-btn-container {
    align-self: center;
  }
  
  .hero-title {
    font-size: 34px;
  }
  
  .hero-img-stack {
    height: 320px;
    max-width: 380px;
    margin-top: 20px;
  }
  
  .img-airpods { width: 110px; }
  .img-powerbank { width: 100px; }
  .img-charger { width: 130px; }
  .img-smartwatch { width: 100px; }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .catalog-header {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  
  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-wrapper {
    width: 100%;
  }
  
  .promo-banner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding: 40px;
  }
  
  .promo-banner-content {
    align-items: center;
  }
  
  .promo-banner .btn-primary {
    align-self: center;
  }
  
  .promo-graphic {
    height: 180px;
  }
  
  .promo-headphones { width: 120px; }
  .promo-powerbank { width: 50px; }
  .promo-airpods { width: 70px; }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .steps-grid::before {
    display: none;
  }
  
  .support-banner-box {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 30px;
  }
  
  .support-left {
    flex-direction: column;
  }
  
  .cart-grid-container {
    grid-template-columns: 1fr;
  }
  
  .summary-card {
    position: static;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .navbar {
    height: 70px;
  }
  
  .nav-links {
    display: none; /* Simplificado para móviles - en producción se añade menú hamburguesa */
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  /* Ajustar tabla del carrito en móvil */
  .cart-table thead {
    display: none;
  }
  
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
    display: block;
    width: 100%;
  }
  
  .cart-item-row {
    border-bottom: 2px solid var(--gray-border);
    padding: 15px 0;
    position: relative;
  }
  
  .cart-table td {
    border: none;
    padding: 8px 0 8px 110px;
    position: relative;
    text-align: right;
  }
  
  .cart-table td.td-product {
    padding-left: 0;
    text-align: left;
  }
  
  .cart-product-detail {
    margin-bottom: 10px;
  }
  
  .cart-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 100px;
    text-align: left;
    font-weight: 700;
    font-size: 11px;
    color: var(--gray-text);
    text-transform: uppercase;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .cart-table td.td-product::before,
  .cart-table td.td-actions::before {
    display: none;
  }
  
  .cart-table td.td-actions {
    padding-left: 0;
    text-align: center;
    margin-top: 10px;
  }
  
  .quantity-control {
    margin-left: auto;
  }
}

/* Animaciones del Toast */
@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0; }
}

/* ==========================================================================
   SECCIÓN MISIÓN, VISIÓN Y VALORES
   ========================================================================== */
.about-mvv-section {
  padding: 80px 0;
  background: #f8fafc;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.mvv-card {
  background: #ffffff;
  border-radius: var(--radius-md, 16px);
  padding: 35px 30px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 112, 243, 0.12);
  border-color: rgba(0, 112, 243, 0.3);
}

.mvv-card.highlight {
  border-top: 4px solid var(--primary-blue, #0070f3);
}

.mvv-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 112, 243, 0.08);
  color: var(--primary-blue, #0070f3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.mvv-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.mvv-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
}

.mvv-values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mvv-values-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.5;
}

.mvv-values-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-blue, #0070f3);
  font-weight: bold;
}

.mvv-values-list strong {
  color: #0f172a;
}

/* ==========================================================================
   SELECCIÓN DE MÉTODO DE ENVÍO (CART.HTML)
   ========================================================================== */
.shipping-method-selector {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px dashed #cbd5e1;
}

.shipping-selector-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.shipping-options-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shipping-option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.25 ease;
  user-select: none;
}

.shipping-option-card:hover {
  border-color: var(--primary-blue, #0070f3);
  background: #f0f7ff;
}

.shipping-option-card.active {
  border-color: var(--primary-blue, #0070f3);
  background: #eff6ff;
  box-shadow: 0 4px 12px rgba(0, 112, 243, 0.12);
}

.shipping-option-card input[type="radio"] {
  accent-color: var(--primary-blue, #0070f3);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.option-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.option-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.option-sub {
  font-size: 0.75rem;
  color: #64748b;
}

.option-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.option-badge.gratis {
  color: #16a34a;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.store-map-link:hover {
  color: var(--primary-blue, #0070f3) !important;
  text-decoration: underline !important;
}


