/* ============================================
   Mini Tienda - Estilos Públicos (Mobile-First)
   ============================================ */

/* ============================================
   FASE 1 - 2026: Variables de Diseño Mejoradas
   Basado en análisis de competidores + tendencias
   ============================================ */
:root {
    /* Colores principales - Fase 1 */
    --color-primary: #FF3366;              /* Coral/Rojo vibrante - CTAs */
    --color-primary-dark: #e02856;         /* Rojo oscuro - Hover state */
    --color-primary-light: #ffe6ee;        /* Rosa claro - Backgrounds */
    --color-secondary: #FF3366;            /* Coral vibrante - Urgencia */
    --color-accent: #FF3366;               /* Coral accent - Badges */
    --color-success: #10B981;
    --color-danger: #EF4444;
    --color-warning: #F59E0B;
    --color-whatsapp: #25d366;
    --color-whatsapp-dark: #1ebe57;
    --color-bg: #F8F9FA;                   /* Gris claro */
    --color-surface: #ffffff;
    --color-text: #1A1D29;                 /* Azul oscuro */
    --color-text-light: #64748b;
    --color-border: #e2e8f0;
    --color-dark: #0A0E27;                 /* Headers oscuros */

    /* Tipografía mejorada - Fase 1 con Passion One */
    --font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Passion One', 'Impact', sans-serif; /* Títulos grandes y bold */

    /* Layout */
    --max-width: 1200px;
    --radius: 0.75rem;                     /* Aumentado */
    --radius-lg: 1.25rem;                  /* Aumentado */

    /* Sombras mejoradas con color - Tendencia 2026 */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.12);
    --shadow-primary: 0 8px 24px rgba(255, 51, 102, 0.2);    /* Sombra coral/roja */
    --shadow-secondary: 0 8px 24px rgba(224, 40, 86, 0.2);   /* Sombra roja oscura */
    --shadow-accent: 0 8px 24px rgba(255, 51, 102, 0.2);     /* Sombra coral accent */

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);  /* Mejorado */
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }
ul { list-style: none; }

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ---- HEADER ---- */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 1rem;
}
.site-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}
.site-logo:hover { color: var(--color-primary-dark); }
.site-logo__img {
    height: 50px;
    width: auto;
}

/* Navegación */
.main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-md);
    z-index: 99;
}
.main-nav.active { display: flex; }
.main-nav a {
    color: var(--color-text);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    font-weight: 500;
}
.main-nav a:last-child { border-bottom: none; }
.main-nav a:hover { color: var(--color-primary); }

/* Selector de moneda compacto */
.currency-toggle {
    display: flex;
    background: var(--color-bg);
    border-radius: var(--radius-pill, 999px);
    overflow: hidden;
}
.currency-toggle button {
    border: none;
    background: transparent;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-text-light);
    transition: all 0.2s ease;
}
.currency-toggle button.active {
    background: var(--color-accent, var(--color-text));
    color: white;
}
.currency-toggle button:hover:not(.active) {
    background: var(--color-primary-light);
}

/* Hamburger */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.menu-toggle span,
.menu-toggle__bar {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

@media (min-width: 768px) {
    .menu-toggle { display: none; }
    .main-nav {
        display: flex;
        position: static;
        flex-direction: row;
        background: transparent;
        border: none;
        padding: 0;
        gap: 0.5rem;
        box-shadow: none;
        order: 0;
        flex: 1;
        justify-content: center;
    }
    .main-nav a {
        padding: 0.5rem 1rem;
        border: none;
        border-radius: var(--radius-pill, 999px);
        transition: all 0.2s ease;
    }
    .main-nav a:hover,
    .main-nav a.active {
        color: var(--color-primary);
        background: var(--color-primary-light);
    }
}

/* Header Utilities (derecha) */
.header-utils {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.header-utils__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--color-bg);
    border-radius: var(--radius-pill, 999px);
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
}
.header-utils__btn:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

/* Cart link con badge */
.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-bg);
    border-radius: var(--radius-pill, 999px);
    color: var(--color-text);
    transition: all 0.2s ease;
}
.cart-link:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
}
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-badge:empty,
.cart-badge[data-count="0"] {
    display: none;
}

/* ---- SEARCH BAR ---- */
.search-bar-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    display: none;
    z-index: 98;
}
.search-bar-container.active {
    display: block;
}
.search-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-pill, 999px);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}
.search-input:focus {
    border-color: var(--color-primary);
}
.search-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--color-bg);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-close:hover {
    background: var(--color-danger);
    color: white;
}

/* Search Results */
.search-results {
    margin-top: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    transition: background 0.15s ease;
    text-decoration: none;
    color: var(--color-text);
}
.search-result-item:hover {
    background: var(--color-bg);
}
.search-result-item__img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--color-bg);
}
.search-result-item__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.search-result-item__name {
    font-weight: 600;
    font-size: 0.95rem;
}
.search-result-item__price {
    color: var(--color-primary);
    font-weight: 700;
}
.search-loading,
.search-no-results,
.search-error {
    padding: 1rem;
    text-align: center;
    color: var(--color-text-light);
}

/* ---- HERO ---- */
.hero {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}
.hero h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .hero { padding: 4rem 2rem; }
    .hero h1 { font-size: 2.75rem; }
    .hero p { font-size: 1.25rem; }
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
/* FASE 1: Botones mejorados con sombras coloridas */
.btn--primary {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn--primary:hover {
    background: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 102, 255, 0.3);
}
/* FASE 1: Botón secundario mejorado */
.btn--secondary {
    background: var(--color-secondary);
    color: white;
    box-shadow: var(--shadow-secondary);
    font-weight: 700;
}
.btn--secondary:hover {
    opacity: 0.9;
    color: white;
    transform: translateY(-2px);
}
.btn--danger { background: var(--color-danger); color: white; }
.btn--danger:hover { opacity: 0.9; color: white; }
.btn--whatsapp { background: var(--color-whatsapp); color: white; }
.btn--whatsapp:hover { background: var(--color-whatsapp-dark); color: white; }
.btn--outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}
.btn--outline:hover {
    background: var(--color-primary);
    color: white;
}
.btn--sm { padding: 0.4rem 0.75rem; font-size: 0.85rem; }
/* FASE 1: Botones grandes más prominentes */
.btn--lg { padding: 1rem 2rem; font-size: 1.125rem; font-weight: 700; }
.btn--block { width: 100%; }

/* ---- SECTIONS ---- */
.section {
    padding: 2rem 0;
}
.section__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
@media (min-width: 768px) {
    .section { padding: 3rem 0; }
    .section__title { font-size: 1.75rem; }
}

/* ---- PRODUCT GRID ---- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   FASE 1: PRODUCT CARD MEJORADO
   Basado en Fanatics + Classic Football Shirts
   ============================================ */
.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    box-shadow: var(--shadow-primary);
    transform: translateY(-8px);
}
.product-card__image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-bg);
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .product-card__image img {
    transform: scale(1.05);
}
.product-card__info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.product-card__category {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-card__name {
    font-size: 1rem;
    line-height: 1.3;
}
.product-card__name a { color: var(--color-text); }
.product-card__name a:hover { color: var(--color-primary); }
/* FASE 1: Precio más prominente */
.product-card__price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-top: auto;
    letter-spacing: -0.5px;
}
.product-card__price-secondary {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 400;
}
.product-card .btn {
    margin-top: 0.5rem;
}

/* ---- CATALOG FILTERS ---- */
.catalog-header {
    margin-bottom: 1.5rem;
}
.search-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.search-bar input {
    flex: 1;
    padding: 0.65rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}
.search-bar input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.filter-bar a {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}
.filter-bar a:hover,
.filter-bar a.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* ---- PRODUCT DETAIL ---- */
.product-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 0;
}
@media (min-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}
.product-detail__gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.product-detail__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg);
    box-shadow: var(--shadow-sm);
}
.product-detail__image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: var(--color-bg);
    touch-action: pan-y pinch-zoom;
}

/* Indicadores de imagen (puntos) para mobile */
.image-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.image-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.image-indicator.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .image-indicators {
        display: none;
    }
}
.product-detail__info {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

@media (min-width: 768px) {
    .product-detail__info {
        gap: 1.15rem;
    }
}
.product-detail__category {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
}
.product-detail__name {
    font-size: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .product-detail__name {
        font-size: 1.75rem;
    }
}
.product-detail__price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

@media (min-width: 768px) {
    .product-detail__price {
        font-size: 1.5rem;
    }
}
.product-detail__price-secondary {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 400;
}
.product-detail__desc {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .product-detail__desc {
        font-size: 1rem;
        line-height: 1.7;
    }
}
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.quantity-selector label { font-weight: 600; }
.quantity-selector input {
    width: 70px;
    padding: 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-align: center;
    font-size: 1rem;
}

/* ---- VARIANT & SIZE SELECTORS (Modernized Pills) ---- */
.variant-selector,
.size-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.variant-selector__label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text);
}

@media (min-width: 768px) {
    .variant-selector__label {
        font-size: 0.95rem;
    }
}

/* Pills container */
.variant-options,
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.5rem; /* Espacio para badge "Agotado" */
}

/* Pill base - Modern chips */
.variant-option,
.size-option {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    min-width: 56px;
    min-height: 44px; /* Táctil mínimo móvil */
    border: 2px solid var(--color-border);
    border-radius: 999px; /* Pill completo */
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

/* Estado: Disponible hover */
.variant-option:hover:not(.out-of-stock):not(.selected),
.size-option:hover:not(.out-of-stock):not(.selected) {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

/* Estado: Seleccionada */
.variant-option.selected,
.size-option.selected {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

/* Estado: Agotada / Sin stock */
.size-option.out-of-stock,
.variant-option.out-of-stock {
    opacity: 0.4;
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Tallas agotadas pero consultables */
.size-option.out-of-stock--consultable {
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: all 0.15s ease;
}

.size-option.out-of-stock--consultable:hover {
    opacity: 0.65;
    border-color: #f59e0b;
    background: #fffbeb;
    color: #d97706;
    transform: translateY(-1px);
}

/* Talla agotada seleccionada */
.size-option.out-of-stock--consultable.selected {
    opacity: 1;
    border-color: #f59e0b;
    background: #fef3c7;
    color: #92400e;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35);
    text-decoration: line-through;
}

.size-option.out-of-stock--consultable.selected::after {
    content: "Consultar";
    color: #f59e0b;
}

/* Badge "Agotado" o "Consultar" dentro del pill */
.size-option.out-of-stock::after {
    content: "Agotado";
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-decoration: none;
}

/* Responsive: tamaño táctil en móvil */
@media (max-width: 640px) {
    .size-option,
    .variant-option {
        padding: 0.65rem 1.3rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

/* Mensaje de error al no seleccionar talla */
.size-selector__error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
    font-weight: 500;
}
.size-selector.has-error .size-selector__error {
    display: block;
}
.size-selector.has-error .size-options {
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Stock notice - productos sin tallas asignadas */
.stock-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.stock-notice--unavailable {
    background: #fef2f2;
    border: 2px solid #fecaca;
    color: #dc2626;
}

.stock-notice--preorder {
    background: #fffbeb;
    border: 2px solid #fcd34d;
    color: #d97706;
}

.stock-notice svg {
    flex-shrink: 0;
}

/* Botón de consulta de talla agotada - ancho ligeramente reducido */
#consultSizeBtn {
    max-width: 90% !important;
    margin: 0 auto !important;
}

@media (min-width: 480px) {
    #consultSizeBtn {
        max-width: 85% !important;
    }
}

/* ============================================
   PRODUCT INFO TABS - Descripción, Guía de tallas, Envíos
   ============================================ */

.product-info-tabs {
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.product-info-tab {
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.product-info-tab__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    background: var(--color-bg);
    color: var(--color-text);
    transition: all 0.2s ease;
    user-select: none;
}

.product-info-tab__title:hover {
    background: var(--color-surface);
}

.product-info-tab__title svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.product-info-tab__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.25rem;
}

.product-info-tab.active .product-info-tab__content {
    max-height: 1000px;
    padding: 0 1.25rem 1.25rem;
}

.product-info-tab.active .product-info-tab__title {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.product-info-tab__content p {
    margin: 0;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* Guía de tallas */
.size-guide-table {
    overflow-x: auto;
    margin: 1rem 0;
}

.size-guide-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.size-guide-table th,
.size-guide-table td {
    padding: 0.75rem;
    text-align: center;
    border: 1px solid var(--color-border);
}

.size-guide-table th {
    background: var(--color-surface);
    font-weight: 700;
    color: var(--color-text);
}

.size-guide-table td {
    background: var(--color-bg);
}

.size-guide-table tbody tr:hover {
    background: var(--color-surface);
}

.size-guide-note {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    border-radius: var(--radius);
    margin-top: 1rem;
}

/* Información de envíos */
.shipping-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.shipping-info-item {
    padding: 1rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border-left: 3px solid var(--color-primary);
}

.shipping-info-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-size: 0.95rem;
}

.shipping-info-item p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .product-info-tabs {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }
}

/* Botón de pedido bajo encargo */
.btn--preorder {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
}

.btn--preorder:hover {
    background: #d97706;
    border-color: #d97706;
}

/* Aviso de consulta de tallas agotadas */
.size-preorder-notice {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #fffbeb;
    border-radius: var(--radius);
    font-size: 0.875rem;
    text-align: center;
}

.size-preorder-notice p {
    margin: 0;
    color: #92400e;
}

.btn-link {
    background: none;
    border: none;
    color: #d97706;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
    transition: color 0.15s ease;
}

.btn-link:hover {
    color: #b45309;
}

/* Botones deshabilitados por falta de stock */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #6b7280;
}

.btn--primary:disabled {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.btn--whatsapp:disabled {
    background: #e5e7eb;
    border-color: #d1d5db;
}

/* ---- PRODUCT GALLERY THUMBS ---- */
/* ---- BREADCRUMB ---- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    padding: 0.5rem 0;
}

@media (min-width: 768px) {
    .breadcrumb {
        padding: 1rem 0;
    }
}
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span { color: var(--color-text); font-weight: 500; }

/* ---- CART ---- */
/* ---- CART IMPROVEMENTS ---- */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.empty-state-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.empty-cart-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-state-cart h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.empty-state-cart p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .cart-container {
        grid-template-columns: 2fr 1fr;
    }
}

.cart-items-wrapper {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.cart-items-header {
    display: none;
    grid-template-columns: 2fr 1fr 140px 1fr 40px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--color-bg);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--color-text-light);
    border-bottom: 2px solid var(--color-border);
}

@media (min-width: 768px) {
    .cart-items-header {
        display: grid;
    }
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    align-items: center;
    position: relative;
}

@media (min-width: 768px) {
    .cart-item {
        grid-template-columns: 2fr 1fr 140px 1fr 40px;
    }
}

.cart-item__product {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-item__image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    .cart-item__image {
        width: 120px;
        height: 120px;
    }
}

.cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-item__name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
}

.cart-item__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.cart-item__variant {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.cart-item__price {
    color: var(--color-text);
    font-weight: 500;
}

.cart-item__quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.qty-btn:active {
    transform: scale(0.95);
}

.cart-qty-input {
    width: 50px;
    padding: 0.5rem 0.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    background: var(--color-bg);
}

.cart-item__total {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-item__total strong {
    font-size: 1.125rem;
    color: var(--color-text);
}

.cart-item__total small {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.cart-item__remove {
    background: none;
    border: none;
    color: var(--color-danger);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.cart-item__remove:hover {
    background: var(--color-danger);
    color: white;
}

.cart-summary-wrapper {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.cart-summary {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
}

.cart-summary__content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.cart-summary__line {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: var(--color-text);
}

.cart-summary__shipping {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.cart-summary__divider {
    height: 1px;
    background: var(--color-border);
    margin: 1rem 0;
}

.cart-summary__total {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1rem 0 0.5rem 0;
}

.cart-summary__total span:last-child {
    color: var(--color-primary);
}

.cart-summary__secondary {
    text-align: right;
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.cart-actions .btn {
    flex: 1;
    min-width: 200px;
}

@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }

    .cart-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-header .section__title {
        font-size: 1.5rem;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        position: relative;
    }

    .cart-item__product {
        display: flex;
        gap: 0.75rem;
        padding-right: 2.5rem;
    }

    .cart-item__image {
        width: 80px;
        height: 80px;
    }

    .cart-item__info {
        gap: 0.35rem;
    }

    .cart-item__name {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .cart-item__badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .cart-item__variant {
        font-size: 0.8rem;
    }

    .cart-item__remove {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 1.125rem;
        padding: 0.25rem;
    }

    .cart-item__quantity {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        justify-content: space-between;
        background: var(--color-bg);
        padding: 0.75rem;
        border-radius: var(--radius);
    }

    .cart-item__quantity::before {
        content: 'Cantidad:';
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--color-text-light);
    }

    .qty-btn {
        width: 36px;
        height: 36px;
    }

    .cart-item__total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem;
        background: var(--color-bg);
        border-radius: var(--radius);
    }

    .cart-item__total::before {
        content: 'Subtotal:';
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--color-text-light);
    }

    .cart-item__total strong {
        font-size: 1rem;
    }

    .cart-item__total small {
        font-size: 0.75rem;
    }

    .cart-summary-wrapper {
        position: static;
    }

    .cart-actions {
        flex-direction: column;
    }

    .cart-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

/* ---- CHECKOUT ---- */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem 0;
}
@media (min-width: 768px) {
    .checkout-grid { grid-template-columns: 1fr 1fr; }
}
.checkout-form {
    background: var(--color-surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.checkout-summary {
    background: var(--color-surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.checkout-summary__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    gap: 1rem;
}
.checkout-summary__item-info {
    flex: 1;
    min-width: 0;
}
.checkout-summary__item-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
}
.checkout-summary__item-details {
    font-size: 0.85rem;
    color: var(--color-text-light);
}
.checkout-summary__item-total {
    font-weight: 600;
    white-space: nowrap;
    font-size: 0.95rem;
}
.checkout-summary__divider {
    border-top: 2px solid var(--color-border);
    margin: 1rem 0 0.5rem;
}
.checkout-summary__total {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0 0;
    font-size: 1.25rem;
    font-weight: 700;
}
.checkout-summary__total-secondary {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-align: right;
    padding-top: 0.5rem;
}
.checkout-form-wrapper {
    background: var(--color-surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.checkout-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}
.checkout-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
}
.checkout-section__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
@media (min-width: 540px) {
    .payment-methods {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
}
.payment-method {
    position: relative;
    cursor: pointer;
}
.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.payment-method__content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    transition: var(--transition);
}
.payment-method:hover .payment-method__content {
    border-color: var(--color-primary);
}
.payment-method input[type="radio"]:checked ~ .payment-method__content {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
}
.payment-method__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.payment-method__name {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Payment Instructions */
.payment-instructions {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--color-primary-light);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius);
}
.payment-info h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}
.payment-details {
    margin-bottom: 0.75rem;
}
.payment-details p {
    margin: 0.35rem 0;
    font-size: 0.9rem;
}
.payment-details strong {
    font-weight: 600;
    color: var(--color-text);
}
.payment-note {
    margin: 0.75rem 0 0;
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* ---- FORMS ---- */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 540px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}
textarea.form-control { resize: vertical; min-height: 100px; }

/* ---- TOAST NOTIFICATION ---- */
.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--color-text);
    color: white;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: slideUp 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}
.toast--success { background: var(--color-success); }
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ---- EMPTY STATE ---- */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-text-light);
}
.empty-state p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* ---- FLASH MESSAGE ---- */
.flash {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-weight: 500;
}
.flash--success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.flash--error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ---- FOOTER ---- */
.site-footer {
    background: var(--color-text);
    color: #94a3b8;
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
    font-size: 0.9rem;
}
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: white; }

/* ---- 404 ---- */
.page-404 {
    text-align: center;
    padding: 4rem 1rem;
}
.page-404 h1 { font-size: 4rem; color: var(--color-primary); }
.page-404 p { font-size: 1.1rem; color: var(--color-text-light); margin: 1rem 0; }

/* ============================================
   PRODUCT DETAIL - REDESIGN (MODERN ECOMMERCE)
   ============================================ */

/* -- Layout general desktop -- */
@media (min-width: 768px) {
    .product-detail {
        gap: 2.5rem;
        padding: 2rem 0 3rem;
        align-items: start;
    }
    .product-detail__gallery {
        position: sticky;
        top: 1.5rem;
    }
}

/* -- Imagen principal -- */
.product-detail__image {
    border: 1px solid var(--color-border);
}
.product-detail__image img {
    aspect-ratio: auto;
    max-height: 520px;
    margin: 0 auto;
    transition: opacity .2s ease;
    display: block;
}
@media (min-width: 768px) {
    .product-detail__image img {
        max-height: 580px;
    }
}

/* -- Miniaturas horizontales modernas -- */
.product-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.6rem 0.1rem 0.25rem;
    scrollbar-width: none;
}
.product-thumbs::-webkit-scrollbar { display: none; }

.product-thumbs__item {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid transparent;
    outline: 1px solid var(--color-border);
    cursor: pointer;
    transition: outline-color .15s, border-color .15s, transform .15s, box-shadow .15s;
    flex-shrink: 0;
    background: var(--color-bg);
}
.product-thumbs__item:hover {
    outline-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
}
.product-thumbs__item.active {
    border-color: var(--color-primary);
    outline-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary);
    transform: translateY(-1px);
}
@media (min-width: 768px) {
    .product-thumbs__item {
        width: 88px;
        height: 88px;
    }
}

/* -- Info column: mas espaciado -- */
.product-detail__info {
    gap: 1.15rem;
}

/* -- Nombre mas grande en desktop -- */
@media (min-width: 768px) {
    .product-detail__name {
        font-size: 2rem;
    }
}

/* -- Precio: mas grande y prominente -- */
.product-detail__price {
    font-size: 1.75rem;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}
@media (min-width: 768px) {
    .product-detail__price {
        font-size: 2rem;
    }
}

/* -- Divider sutil entre descripcion y selectores -- */
.product-detail__divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0.25rem 0;
}

/* -- Variant options: pill shape, mas grandes -- */
.variant-option {
    border-radius: 999px;
    padding: 0.55rem 1.4rem;
    font-size: 0.92rem;
}
.variant-option.selected {
    box-shadow: 0 0 0 1px var(--color-primary);
}

/* Size options: ya definidos arriba (línea 670+) */

/* -- Quantity: rediseno con botones +/- -- */
.product-detail__quantity {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.product-detail__quantity > label {
    font-weight: 600;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .product-detail__quantity > label {
        font-size: 0.95rem;
    }
}
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: fit-content;
}
.qty-btn {
    background: var(--color-bg);
    border: none;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: var(--transition);
    font-family: inherit;
}
.qty-btn:hover {
    background: var(--color-border);
}
.qty-btn:active {
    background: var(--color-primary-light);
}
.qty-control input#quantity {
    width: 52px;
    height: 44px;
    border: none;
    border-left: 1.5px solid var(--color-border);
    border-right: 1.5px solid var(--color-border);
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    background: var(--color-surface);
    color: var(--color-text);
    -moz-appearance: textfield;
    outline: none;
}
.qty-control input#quantity::-webkit-outer-spin-button,
.qty-control input#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* -- Actions: CTAs apilados, full-width -- */
.product-detail__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.25rem;
}
.product-detail__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-lg);
    letter-spacing: 0.01em;
}

@media (min-width: 768px) {
    .product-detail__actions .btn {
        padding: 0.95rem 1.5rem;
        font-size: 1.05rem;
    }
}
.product-detail__actions .btn--whatsapp {
    border: 2px solid var(--color-whatsapp);
}
.product-detail__actions .btn--whatsapp:hover {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
@media (min-width: 480px) {
    .product-detail__actions {
        flex-direction: row;
    }
    .product-detail__actions .btn {
        flex: 1;
    }
}

/* ============================================
   PRODUCT DETAIL - Visual Polish (pills, qty, CTAs)
   ============================================ */

/* -- WhatsApp icon inside button -- */
.wa-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Size Pills: definidos arriba en línea 670+ */

/* -- Quantity Control (override) -- */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--color-border);
    border-radius: 999px;
    overflow: hidden;
    background: var(--color-surface);
}
.qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: background 0.15s ease;
    font-family: inherit;
}
.qty-btn:hover {
    background: var(--color-bg);
}
.qty-btn:active {
    background: var(--color-primary-light);
}
.qty-control input#quantity {
    width: 48px;
    height: 44px;
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    background: transparent;
    color: var(--color-text);
    -moz-appearance: textfield;
    outline: none;
}
.qty-control input#quantity::-webkit-outer-spin-button,
.qty-control input#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* -- CTA Buttons (override) -- */
.product-detail__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.product-detail__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 999px;
    gap: 0.5rem;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}
.product-detail__actions .btn--primary {
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}
.product-detail__actions .btn--primary:hover {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}
.product-detail__actions .btn--whatsapp {
    border: none;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}
.product-detail__actions .btn--whatsapp:hover {
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}
@media (min-width: 480px) {
    .product-detail__actions {
        flex-direction: row;
    }
    .product-detail__actions .btn {
        flex: 1;
    }
}

/* ============================================
   REBRAND: Tu Jersey Favorita
   Paleta: Rojo #e63946 | Negro #1a1a1a | Crema #faf8f5
   ============================================ */

:root {
    /* Overrides de colores - Nueva paleta basada en el logo */
    --color-primary: #e63946;
    --color-primary-dark: #c1121f;
    --color-primary-light: #fde8ea;
    --color-accent: #1a1a1a;
    --color-bg: #faf8f5;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-light: #6b7280;
    --color-border: #e5e5e5;

    /* Nuevas variables */
    --shadow-card: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-btn: 0 4px 12px rgba(230,57,70,0.25);
    --radius-pill: 999px;
    --radius-card: 1rem;
}

/* -- Body Background -- */
body {
    background: var(--color-bg);
}

/* -- Navbar Rebrand -- */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.site-header__inner {
    height: 70px;
}
.site-logo {
    display: flex;
    align-items: center;
}
.site-logo__img {
    height: 50px;
    width: auto;
}
.main-nav a {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
}
.cart-link {
    background: var(--color-primary-light);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-pill);
    color: var(--color-primary);
    font-size: 1.1rem;
    transition: all 0.2s ease;
}
.cart-link:hover {
    background: var(--color-primary);
    color: white;
}
.cart-badge {
    background: var(--color-primary);
}
.currency-toggle button {
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-light);
    transition: all 0.2s ease;
}
.currency-toggle button.active {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

/* -- Hero Rebrand -- */
.hero--brand {
    background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b7a 50%, var(--color-primary-light) 100%);
    padding: 4rem 1.5rem;
    text-align: center;
}
.hero--brand h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-bottom: 0.75rem;
}
.hero--brand p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}
.hero--brand .btn {
    background: white;
    color: var(--color-primary);
    padding: 0.85rem 2rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}
.hero--brand .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: var(--color-primary);
}
@media (min-width: 768px) {
    .hero--brand {
        padding: 5rem 2rem;
    }
    .hero--brand h1 {
        font-size: 3.25rem;
    }
    .hero--brand p {
        font-size: 1.3rem;
    }
}

/* -- Section Titles -- */
.section__title {
    font-weight: 700;
    color: var(--color-accent);
}

/* -- Product Cards Rebrand -- */
.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    border: none;
    overflow: hidden;
    transition: all 0.25s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}
.product-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--color-bg);
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.product-card:hover .product-card__image img {
    transform: scale(1.05);
}
.product-card__info {
    padding: 1rem 1.25rem 1.25rem;
}
.product-card__category {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-pill);
    display: inline-block;
    margin-bottom: 0.5rem;
}
.product-card__name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}
.product-card__name a {
    color: inherit;
}
.product-card__name a:hover {
    color: var(--color-primary);
}
.product-card__price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.product-card__price .price-secondary {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-light);
}
.product-card .btn--add-cart {
    width: 100%;
    border-radius: var(--radius-pill);
    font-weight: 600;
    padding: 0.65rem 1rem;
}

/* -- Filter Bar & Breadcrumb -- */
.filter-bar a.active {
    background: var(--color-primary);
}
.filter-bar a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.breadcrumb a {
    color: var(--color-primary);
}

/* -- Product Detail Rebrand -- */
.product-detail__category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    display: inline-block;
}
.product-detail__name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1.2;
    margin-top: 0.75rem;
}
.product-detail__price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
}
.product-detail__price .price-secondary {
    font-size: 1rem;
    color: var(--color-text-light);
}
.product-detail__desc {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}
.product-detail__divider {
    border-color: var(--color-border);
    margin: 0.5rem 0;
}

@media (min-width: 768px) {
    .product-detail__divider {
        margin: 1rem 0;
    }
}
@media (min-width: 768px) {
    .product-detail__name {
        font-size: 2.25rem;
    }
    .product-detail__price {
        font-size: 2.5rem;
    }
}

/* Size Pills: definidos arriba en línea 663+ */

/* -- Qty Control Rebrand -- */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: var(--color-surface);
}
.qty-btn {
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    transition: background 0.15s ease;
    font-family: inherit;
}
.qty-btn:hover {
    background: var(--color-bg);
}
.qty-btn:active {
    background: var(--color-primary-light);
}
.qty-control input#quantity {
    width: 50px;
    height: 46px;
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    background: transparent;
    color: var(--color-accent);
    -moz-appearance: textfield;
    outline: none;
    font-family: inherit;
}
.qty-control input#quantity::-webkit-outer-spin-button,
.qty-control input#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* -- CTA Buttons Rebrand -- */
.product-detail__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}
.product-detail__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    gap: 0.5rem;
    transition: all 0.2s ease;
}
.product-detail__actions .btn--primary {
    background: var(--color-primary);
    box-shadow: var(--shadow-btn);
}
.product-detail__actions .btn--primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230,57,70,0.35);
}
.product-detail__actions .btn--whatsapp {
    border: none;
    box-shadow: 0 4px 12px rgba(37,211,102,0.25);
}
.product-detail__actions .btn--whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37,211,102,0.4);
}
@media (min-width: 480px) {
    .product-detail__actions {
        flex-direction: row;
    }
    .product-detail__actions .btn {
        flex: 1;
    }
}

/* -- General Button Overrides -- */
.btn--primary {
    background: var(--color-primary);
}
.btn--primary:hover {
    background: var(--color-primary-dark);
}

/* ========================================
   HOME PAGE IMPROVEMENTS
   ======================================== */

/* Hero Section Mejorado */
.hero--home {
    position: relative;
    min-height: 500px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.3);
}

/* Hero Slider - Hidden */
.hero__slider {
    display: none;
}

.hero__slide {
    display: none;
}

.hero__overlay {
    display: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.hero__text {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero__title {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.35rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 500;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero__badge {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn--white {
    background: white !important;
    color: var(--color-primary) !important;
    border-color: white !important;
}

.btn--white:hover {
    background: rgba(255,255,255,0.9) !important;
    transform: translateY(-2px);
}

/* Benefits Section */
.benefits {
    padding: 3rem 0;
    background: white;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit {
    text-align: center;
    padding: 1.5rem;
}

.benefit__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.benefit__text {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Mobile benefits - reduced size */
@media (max-width: 767px) {
    .benefits {
        padding: 1.5rem 0;
    }

    .benefits__grid {
        gap: 1rem;
    }

    .benefit {
        padding: 0.75rem;
    }

    .benefit__icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .benefit__title {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .benefit__text {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.category-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.category-card:hover::before {
    transform: scaleY(1);
}

.category-card__content {
    flex: 1;
}

.category-card__name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.category-card__count {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.category-card__arrow {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-card__arrow {
    transform: translateX(5px);
}

/* Section Gray Background */
.section--gray {
    background: #f8f9fa;
}

.section__subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-top: -0.5rem;
    margin-bottom: 2rem;
}

/* Product Grid Small (for new products) */
.product-grid--small {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Product Badge New */
.product-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.product-card__badge--new {
    background: #28a745;
}

/* CTA WhatsApp Section */
.cta-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    padding: 4rem 0;
    color: white;
}

.cta-whatsapp__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-whatsapp__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-whatsapp__subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float .wa-icon {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        letter-spacing: 2px;
    }

    .hero__subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hero__badges {
        font-size: 0.75rem;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }

    .hero__badge {
        padding: 0.4rem 0.75rem;
    }

    .hero__actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero__actions .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }
    
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-whatsapp__title {
        font-size: 1.5rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .hero--home {
        min-height: 400px;
    }

    .hero__title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero__content {
        padding: 1.25rem 0;
    }
    
    .product-grid--small {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* ============================================
   Version Cards - Compra por Versión
   ============================================ */
.version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.version-card {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.version-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-warning);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.version-card__icon {
    font-size: 3rem;
    margin: 0 auto;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    border-radius: 50%;
}

.version-card__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.version-card__description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.version-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.version-card__feature {
    color: var(--color-text);
    font-size: 0.9rem;
    text-align: left;
}

.version-card__cta {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Version Card Variants */
.version-card--fan:hover {
    border-color: #3b82f6;
}

.version-card--fan:hover .version-card__cta {
    color: #3b82f6;
}

.version-card--jugador:hover {
    border-color: #f59e0b;
}

.version-card--jugador:hover .version-card__cta {
    color: #f59e0b;
}

.version-card--retro:hover {
    border-color: #8b5cf6;
}

.version-card--retro:hover .version-card__cta {
    color: #8b5cf6;
}

.version-card--featured {
    border-color: var(--color-warning);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.version-card--featured:hover {
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .version-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .version-card {
        padding: 1.5rem;
    }

    .version-card__icon {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
    }

    .version-card__title {
        font-size: 1.5rem;
    }
}


/* ============================================
   FASE 1: BADGES Y ELEMENTOS NUEVOS - 2026
   ============================================ */

/* Badges para product cards */
.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

/* Product badges overlay */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-new {
    background: var(--color-secondary);
    color: white;
}

.badge-jugador {
    background: #00c799;  /* Menta suave - menos neón que #00D9A3 */
    color: white;
}

.badge-retro {
    background: #8B5CF6;
    color: white;
}

.badge-sale {
    background: var(--color-danger);
    color: white;
}

.badge-fan {
    background: var(--color-warning);
    color: white;
}

/* Asegurar que product-card__image sea relative para los badges */
.product-card__image {
    position: relative;
    overflow: hidden;
}

/* Section title mejorado - Fase 1 con Passion One */
.section__title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section__subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Hero section mejorado (si existe) */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
    /* letter-spacing heredado de .hero__title */
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
}

/* ============================================
   TOP BANNER - Fase 1
   ============================================ */
.top-banner {
    background: var(--color-secondary);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ============================================
   HEADER MEJORADO - Fase 1
   ============================================ */
.site-header {
    background: linear-gradient(180deg, #0A0E27 0%, #1a2744 100%) !important;
    border-bottom: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
}

.site-logo__img {
    /* Sin filtro - mostrar logo original sin distorsión */
    height: 50px;
    width: auto;
}

.main-nav a {
    color: white !important;
    font-weight: 600;
}

.main-nav a:hover {
    color: #FF3366 !important;
    background: rgba(255, 51, 102, 0.1) !important;
    transform: translateY(-2px);
}

/* Botones header más visibles */
.header-utils__btn {
    color: white !important;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
}

.header-utils__btn svg {
    filter: none !important;
}

.header-utils__btn:hover {
    color: #FF3366 !important;
    background: rgba(255, 51, 102, 0.15) !important;
}

.currency-toggle {
    background: rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    padding: 2px !important;
}

.currency-toggle button {
    color: rgba(255,255,255,0.9) !important;
    border: none !important;
    background: transparent !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: 6px !important;
}

.currency-toggle button[data-currency].active {
    background: #FF3366 !important;
    color: white !important;
}

.currency-toggle button:hover:not(.active) {
    background: rgba(255,255,255,0.15) !important;
}

.cart-badge {
    background: #FF3366 !important;
    color: white !important;
}

/* ============================================
   FOOTER MEJORADO - Fase 1
   ============================================ */
.site-footer {
    background: #0A0E27;
    color: white;
    padding: 60px 20px 30px;
    margin-top: auto;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 20px;
    color: #FF3366;  /* Coral/Rojo vibrante - consistente con top banner */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-section a:hover {
    color: #ff5577;  /* Rojo suave - más profesional que #FF3366 */
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .top-banner {
        font-size: 12px;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MOBILE OPTIMIZATION - Táctil y Espaciado
   ============================================ */

/* Botones táctiles mínimo 44px (Apple Guidelines) */
@media (max-width: 768px) {
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    .btn--lg {
        min-height: 52px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .btn--add-cart {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
    }

    /* Product cards - mejor espaciado mobile */
    .product-card {
        margin-bottom: 1.5rem;
    }

    .product-card__info {
        padding: 1.25rem;
    }

    .product-card__name {
        font-size: 1.05rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .product-card__price {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    /* Hero mobile optimizado */
    .hero__title {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
        letter-spacing: 2px;
    }

    .hero__subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero__badges {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero__badge {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero__actions .btn {
        width: 100%;
    }

    /* Section titles mobile */
    .section__title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .section__subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Version cards mobile */
    .version-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .version-card {
        padding: 2rem 1.5rem;
    }

    .version-card__badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    /* Categories mobile */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        min-height: 80px;
        padding: 1.25rem;
    }

    .category-card__name {
        font-size: 1.1rem;
    }

    /* Benefits mobile */
    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefit {
        padding: 1.5rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .benefit__icon {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }

    .benefit__title {
        font-size: 1.1rem;
    }

    /* WhatsApp CTA mobile */
    .cta-whatsapp__title {
        font-size: 1.75rem;
    }

    .cta-whatsapp__subtitle {
        font-size: 1rem;
    }

    /* Header utils mobile - más grande */
    .header-utils__btn {
        min-width: 44px;
        min-height: 44px;
    }

    .currency-toggle button {
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem 1rem !important;
        font-size: 1rem !important;
    }

    /* Product grid mobile */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile extra pequeño */
@media (max-width: 375px) {
    .hero__title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .section__title {
        font-size: 1.75rem;
    }

    .btn {
        font-size: 0.95rem;
    }
}

/* Landscape mobile - optimizar espacio vertical */
@media (max-width: 768px) and (orientation: landscape) {
    .hero--home {
        min-height: 400px;
    }

    .hero__title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero__badges {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero__actions {
        flex-direction: row;
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .version-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .btn {
        min-height: 44px;
    }
}

