/* ======================================================
   SISTEMA DE DISEÑO & ESTILOS - CATÁLOGO DIGITAL PREMIUM
   ====================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
  /* Paleta Oficial AGK - La Casa del Portero (Modo Oscuro por Defecto) */
  --bg-primary: #101418;
  --bg-secondary: #161b22;
  --bg-card: rgba(26, 33, 44, 0.78);
  --bg-card-hover: rgba(36, 45, 60, 0.92);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;
  
  --accent-primary: #FF5500;
  --accent-secondary: #FF8800;
  --accent-gradient: linear-gradient(135deg, #FF5500 0%, #FF8800 100%);
  --accent-gradient-hover: linear-gradient(135deg, #E64A00 0%, #FF6B00 100%);
  --whatsapp-green: #25d366;
  --whatsapp-hover: #20bd5a;
  
  --badge-bg: rgba(255, 85, 0, 0.18);
  --badge-color: #FF7722;
  --danger-bg: rgba(239, 68, 68, 0.15);
  --danger-color: #f87171;
  --success-bg: rgba(34, 197, 94, 0.15);
  --success-color: #4ade80;
  --warning-bg: rgba(245, 158, 11, 0.15);
  --warning-color: #fbbf24;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #f4f6f9;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: rgba(241, 245, 249, 0.98);
  --glass-border: rgba(15, 23, 42, 0.1);
  --glass-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);

  --text-main: #101418;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --accent-primary: #FF5500;
  --accent-secondary: #E64A00;
  --accent-gradient: linear-gradient(135deg, #FF5500 0%, #E64A00 100%);

  --badge-bg: rgba(255, 85, 0, 0.12);
  --badge-color: #D94400;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Glowing Orbs */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}
.bg-orb-1 {
  top: -100px;
  left: -100px;
  width: 450px;
  height: 450px;
  background: var(--accent-primary);
}
.bg-orb-2 {
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: var(--accent-secondary);
}

/* Glassmorphism Container */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Skeleton Loading Shimmer */
.skeleton-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
}
.skeleton-box {
  background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-card-hover) 50%, var(--bg-card) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite ease-in-out;
}
.skeleton-img {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.skeleton-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.skeleton-line {
  height: 14px;
  border-radius: 6px;
}
.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 70%; }
.skeleton-line.full { width: 100%; }

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.925rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-size: 1.1rem;
}
.btn-icon:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}
.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(99, 102, 241, 0.35);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: white;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
}

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

/* Badge del Carrito */
.cart-btn-wrap {
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  font-size: 0.725rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Main Container */
.main-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem 1.5rem;
}

/* Hero & Banner */
.hero-section {
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.hero-subtitle {
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.hero-title span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
  font-size: 1.05rem;
}

/* Controls Bar (Search & Categories) */
.controls-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.search-box {
  position: relative;
  width: 100%;
}
.search-input {
  width: 100%;
  padding: 0.9rem 1.25rem 0.9rem 3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
}
.search-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Categories Pills */
.categories-wrapper {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.categories-wrapper::-webkit-scrollbar {
  display: none;
}

.category-pill {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.category-pill:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
}
.category-pill.active {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
}

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

/* Product Card */
.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1e293b;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .card-img {
  transform: scale(1.08);
}

.card-badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.badge {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
.badge-featured {
  background: var(--accent-gradient);
  color: white;
}
.badge-out {
  background: var(--danger-bg);
  color: var(--danger-color);
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.badge-stock {
  background: var(--success-bg);
  color: var(--success-color);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.card-share-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 2;
}
.card-share-btn:hover {
  background: var(--accent-primary);
  transform: scale(1.1);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  cursor: pointer;
}
.card-title:hover {
  color: var(--accent-primary);
}

.card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.card-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}
.card-original-price {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.card-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* Modals & Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  transform: scale(0.95);
  transition: var(--transition-fast);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.modal-close:hover {
  color: var(--text-main);
}

/* Slide-over Drawer para el Carrito */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}
.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--glass-border);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
}
.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.cart-item-info {
  flex-grow: 1;
}
.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.cart-item-price {
  font-weight: 800;
  color: var(--accent-primary);
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-card);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  font-weight: 800;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}
.form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.toast {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Visibilidad según dispositivo */
.desktop-only { display: inline-flex !important; align-items: center; gap: 0.4rem; }
.mobile-only { display: none !important; }

/* Filas de formulario responsivas */
.form-row, .form-row-3 {
  display: flex;
  gap: 1rem;
}
.form-row > *, .form-row-3 > * {
  flex: 1;
  min-width: 0;
}

/* ======================================================
   RESPONSIVE DESIGN & MOBILE SMARTPHONE OPTIMIZATIONS
   ====================================================== */

@media (max-width: 768px) {
  /* Prevenir zoom automático molesto en iOS al enfocar inputs */
  .form-control, .search-input, select, textarea {
    font-size: 16px !important;
  }

  .main-wrapper {
    padding: 1rem 0.85rem 5rem 0.85rem;
  }

  .navbar {
    padding: 0.65rem 0.85rem;
  }

  .brand-logo-img {
    height: 42px !important;
  }

  .hero-section {
    padding: 1.5rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-md);
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .hero-desc {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }

  /* Búsqueda y Categorías táctiles */
  .controls-section {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .categories-wrapper {
    gap: 0.4rem;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }

  .category-pill {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
    white-space: nowrap;
    border-radius: var(--radius-full);
    flex-shrink: 0;
  }

  /* Grilla de productos de 2 Columnas en Celulares */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

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

  .card-body {
    padding: 0.75rem;
  }

  .card-title {
    font-size: 0.925rem;
    line-height: 1.25;
    height: 2.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .card-price {
    font-size: 1.15rem;
  }

  .card-actions {
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.6rem;
  }

  .card-actions .btn {
    padding: 0.5rem;
    font-size: 0.8rem;
    min-height: 38px;
    width: 100%;
  }

  /* Modal Ficha de Producto como Bottom Sheet en Celulares */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-content {
    border-radius: 24px 24px 0 0;
    max-height: 92vh;
    padding: 1.25rem 1rem 2rem 1rem;
    width: 100%;
    transform: translateY(100%);
  }

  .modal-overlay.active .modal-content {
    transform: translateY(0);
  }

  /* Selector de Tallas táctil */
  .size-pill {
    min-width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  /* Drawer del Carrito 100% Pantalla en Celulares */
  .cart-drawer {
    max-width: 100%;
  }

  /* Helpers responsivos */
  .desktop-only { display: none !important; }
  .mobile-only { display: inline-flex !important; align-items: center; gap: 0.4rem; }

  /* Formularios responsivos */
  .form-row, .form-row-3 {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Toast Notifications */
  .toast-container {
    left: 0.85rem !important;
    right: 0.85rem !important;
    bottom: 1rem !important;
  }

  .toast {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
  }
}

/* Teléfonos muy pequeños (<360px) */
@media (max-width: 360px) {
  .products-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ======================================================
   ESTILOS ESPECIALIZADOS LA CASA DEL PORTERO (AGK)
   ====================================================== */

/* Logotipo de la Marca en Header */
.brand-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255, 85, 0, 0.35));
}

/* Badges de Marca y Modelo */
.card-brand {
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  background: rgba(255, 85, 0, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.card-model {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
}

/* Selector de Tallas (Tallas 2 a 11) */
.size-selector-wrap {
  margin: 1rem 0;
}

.size-selector-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
}

.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.size-pill {
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.size-pill:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.size-pill.active {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.35);
}

.size-pill.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Talla seleccionada en Carrito */
.cart-item-size {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(255, 85, 0, 0.12);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-top: 0.2rem;
}


