/* ============================================================
   SOLO GORRAS - Catálogo Digital de Gorras
   Hoja de Estilos Principal
   Versión: 1.0
   ============================================================ */

/* ============================================ */
/* VARIABLES CSS (Modo Claro)                   */
/* ============================================ */
:root {
    /* Colores principales */
    --color-black: #111111;
    --color-white: #FFFFFF;
    --color-red: #E63946;
    --color-red-dark: #C1121F;
    --color-gray: #F5F5F5;
    --color-gray-dark: #6C757D;
    --color-gray-light: #E9ECEF;
    --color-gray-border: #DEE2E6;

    /* Colores de fondo */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F5;
    --bg-tertiary: #111111;
    --bg-card: #FFFFFF;
    --bg-hover: #F8F9FA;

    /* Colores de texto */
    --text-primary: #111111;
    --text-secondary: #6C757D;
    --text-light: #FFFFFF;
    --text-muted: #ADB5BD;

    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --shadow-red: 0 4px 15px rgba(230, 57, 70, 0.3);

    /* Bordes */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;

    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Espaciados */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Layout */
    --max-width: 1280px;
    --header-height: 70px;
    --topbar-height: 40px;

    /* Colores de estado */
    --color-success: #2A9D8F;
    --color-warning: #F4A261;
    --color-error: #E63946;
    --color-info: #1D3557;
}

/* ============================================ */
/* VARIABLES CSS (Modo Oscuro)                  */
/* ============================================ */
[data-theme="dark"] {
    --bg-primary: #1A1A1A;
    --bg-secondary: #222222;
    --bg-tertiary: #111111;
    --bg-card: #222222;
    --bg-hover: #2A2A2A;

    --text-primary: #F5F5F5;
    --text-secondary: #ADB5BD;
    --text-light: #FFFFFF;
    --text-muted: #6C757D;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);

    --color-gray: #222222;
    --color-gray-light: #333333;
    --color-gray-border: #333333;
}

/* ============================================ */
/* ESTILOS BASE / RESET                         */
/* ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* ============================================ */
/* CONTENEDOR                                   */
/* ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ============================================ */
/* TOP BAR                                      */
/* ============================================ */
.top-bar {
    background: var(--color-black);
    color: var(--text-light);
    font-size: var(--font-size-sm);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-text i {
    margin-right: var(--spacing-xs);
    color: var(--color-red);
}

.top-bar-links {
    display: flex;
    gap: var(--spacing-lg);
}

.top-bar-links a {
    color: var(--text-light);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.top-bar-links a:hover {
    opacity: 1;
    color: var(--color-red);
}

.top-bar-links i {
    margin-right: var(--spacing-xs);
}

/* ============================================ */
/* HEADER / NAVEGACIÓN                          */
/* ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--color-gray-border);
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: background var(--transition-normal), border-color var(--transition-normal);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity var(--transition-fast);
}

/* Tema claro → logo oscuro visible, logo claro oculto */
[data-theme="light"] .logo-light {
    display: none;
}

/* Tema oscuro → logo claro visible, logo oscuro oculto */
[data-theme="dark"] .logo-dark {
    display: none;
}

/*.logo-icon,
.logo-icon-footer {
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 99999px;
  background: var(--color-red);
  color: var(--text-primary);
  font-family: var(--font-size-2xl);
  font-weight: 900;
  font-size: 1.125rem;
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--color-gray-border);
}

.logo-icon {
    font-size: var(--font-size-2xl);
    color: var(--color-red);
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
}

.logo-text {
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--color-red);
}*/

/* Menú de navegación */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.nav-link {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-red);
    background: rgba(230, 57, 70, 0.08);
}

.nav-link i, .nav-link img {
    margin-right: var(--spacing-xs);
}

/* Acciones de navegación */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.theme-toggle {
    background: none;
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-full);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--bg-hover);
    color: var(--color-red);
}

.theme-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: inline;
}

.favorites-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-gray-border);
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    transition: all var(--transition-fast);
}

.favorites-btn:hover {
    color: var(--color-red);
    background: rgba(230, 57, 70, 0.08);
    border-color: var(--color-red);
}

.favorites-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================ */
/* BOTONES                                      */
/* ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--font-size-base);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--color-red);
    color: var(--text-light);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    background: var(--color-red-dark);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background: var(--color-black);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: #2A2A2A;
}

.btn-outline {
    background: transparent;
    color: var(--color-red);
    border: 2px solid var(--color-red);
}

.btn-outline:hover {
    background: var(--color-red);
    color: var(--text-light);
}

.btn-white {
    background: var(--text-light);
    color: var(--color-black);
}

.btn-white:hover {
    background: var(--color-gray);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1DA851;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-sm {
    padding: 8px 16px;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 16px 36px;
    font-size: var(--font-size-lg);
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================ */
/* HERO SECTION                                 */
/* ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-black);
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-slow);
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: var(--spacing-4xl) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(230, 57, 70, 0.15);
    color: var(--color-red);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    color: var(--text-light);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.hero-title span {
    color: var(--color-red);
}

.hero-desc {
    font-size: var(--font-size-lg);
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--spacing-2xl);
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Dots del slider */
.hero-dots {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.3);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-dot.active {
    background: var(--color-red);
    border-color: rgba(255,255,255,0.5);
}

/* ============================================ */
/* SECCIONES                                     */
/* ============================================ */
.section {
    padding: var(--spacing-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-tag {
    display: inline-block;
    color: var(--color-red);
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.section-desc {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin: 0 auto;
}

.section-bg {
    background: var(--bg-secondary);
}

/* ============================================ */
/* CARDS DE PRODUCTO                            */
/* ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-border);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-secondary);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-badges {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    z-index: 2;
}

.product-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge-new {
    background: var(--color-info);
    color: white;
}

.product-badge-offer {
    background: var(--color-red);
    color: white;
}

.product-badge-soldout {
    background: var(--color-gray-dark);
    color: white;
}

.product-card-actions {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    z-index: 2;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-normal);
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.product-action-btn:hover {
    background: var(--color-red);
    color: white;
}

.product-action-btn.active {
    background: var(--color-red);
    color: white;
}

.product-card-body {
    padding: var(--spacing-md);
}

.product-card-category {
    font-size: var(--font-size-xs);
    color: var(--color-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

.product-card-brand {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.product-card-name {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.product-card-price .current {
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: var(--color-red);
}

.product-card-price .old {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card-footer {
    display: flex;
    gap: var(--spacing-sm);
}

.product-card-footer .btn {
    flex: 1;
    font-size: var(--font-size-sm);
    padding: 10px 16px;
}

/* ============================================ */
/* CATEGORÍAS CARDS                             */
/* ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-xl);
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17,17,17,0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-lg);
}

.category-card-name {
    color: var(--text-light);
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.category-card-count {
    color: rgba(255,255,255,0.7);
    font-size: var(--font-size-sm);
}

/* ============================================ */
/* MARCAS CARDS                                 */
/* ============================================ */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-lg);
}

.brand-card {
    background: var(--bg-card);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.brand-card:hover {
    border-color: var(--color-red);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.brand-card img {
    max-width: 120px;
    margin: 0 auto var(--spacing-md);
    filter: grayscale(0.3);
    transition: filter var(--transition-fast);
}

.brand-card:hover img {
    filter: grayscale(0);
}

.brand-card-name {
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================ */
/* BANNER PROMOCIONAL                           */
/* ============================================ */
.banner-promo {
    background: linear-gradient(135deg, var(--color-black) 0%, #2A2A2A 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    overflow: hidden;
    position: relative;
}

.banner-promo::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: var(--radius-full);
    background: rgba(230, 57, 70, 0.08);
}

.banner-promo-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.banner-promo-tag {
    color: var(--color-red);
    font-weight: 700;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.banner-promo-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.banner-promo-desc {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--spacing-lg);
}

.banner-promo-image {
    flex-shrink: 0;
    max-width: 300px;
    position: relative;
    z-index: 1;
}

/* ============================================ */
/* SECCIÓN NOSOTROS                             */
/* ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(230, 57, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: var(--color-red);
    flex-shrink: 0;
}

.about-feature h4 {
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.about-feature p {
    font-size: var(--font-size-sm);
    margin: 0;
}

/* ============================================ */
/* CATÁLOGO - FILTROS                           */
/* ============================================ */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.filters-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-lg));
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-gray-border);
}

.filters-header h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.filters-clear {
    color: var(--color-red);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
}

.filter-group {
    margin-bottom: var(--spacing-lg);
}

.filter-group-title {
    font-weight: 700;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast);
}

.filter-option:hover {
    color: var(--text-primary);
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    accent-color: var(--color-red);
    width: 18px;
    height: 18px;
}

/* Select dentro de filtros */
.filter-select {
    width: 100%;
    padding: 11px 36px 11px 14px;
    border: 2px solid var(--color-gray-border);
    border-radius: var(--radius-sm);
    background: var(--bg-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236C757D' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
    appearance: none;
}

.filter-select:hover {
    border-color: var(--color-gray-dark);
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.filter-select option {
    padding: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* Wrapper de select de color con swatch */
.color-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.color-preview {
    position: absolute;
    left: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--color-gray-border);
    z-index: 1;
    pointer-events: none;
    transition: background var(--transition-fast);
}

.color-select-wrapper .filter-select {
    padding-left: 36px;
}

/* Rango de precios */
.price-range {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.price-range input[type="range"] {
    width: 100%;
    accent-color: var(--color-red);
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Buscador */
.search-box {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.search-box input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid var(--color-gray-border);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--color-red);
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Ordenar */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-md);
}

.catalog-toolbar select {
    padding: 8px 16px;
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
}

.catalog-toolbar select:focus {
    outline: none;
    border-color: var(--color-red);
}

.catalog-count {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* ============================================ */
/* DETALLE DE PRODUCTO                          */
/* ============================================ */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    padding: var(--spacing-2xl) 0;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    aspect-ratio: 1;
    cursor: zoom-in;
    position: relative;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-main-image:hover img {
    transform: scale(1.5);
}

.product-thumbnails {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.product-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    opacity: 0.6;
}

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--color-red);
    opacity: 1;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info h1 {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
}

.product-info-brand {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-lg);
}

.product-info-price {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.product-info-price .current {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--color-red);
}

.product-info-price .old {
    font-size: var(--font-size-xl);
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-info-price .discount {
    background: rgba(230, 57, 70, 0.1);
    color: var(--color-red);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    font-weight: 700;
}

.product-info-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.product-info-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.product-info-meta-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.product-info-meta-item .label {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.product-info-meta-item .value {
    font-weight: 600;
    font-size: var(--font-size-base);
}

.product-info-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.product-info-actions .btn {
    flex: 1;
    min-width: 200px;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.stock-status.in-stock {
    color: var(--color-success);
}

.stock-status.out-of-stock {
    color: var(--color-red);
}

/* Productos relacionados */
.related-products {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-3xl);
    border-top: 1px solid var(--color-gray-border);
}

/* ============================================ */
/* FAVORITOS                                    */
/* ============================================ */
.favorites-empty {
    text-align: center;
    padding: var(--spacing-4xl) 0;
}

.favorites-empty-icon {
    font-size: 5rem;
    color: var(--color-red);
    margin-bottom: var(--spacing-lg);
    opacity: 0.5;
}

.favorites-empty h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
}

.favorites-empty p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* ============================================ */
/* CONTACTO                                     */
/* ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    padding: var(--spacing-2xl) 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.contact-info-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(230, 57, 70, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    color: var(--color-red);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.contact-info-text p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-gray-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-red);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* ============================================ */
/* FAQ (Preguntas Frecuentes)                   */
/* ============================================ */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-2xl) 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-red);
}

.faq-question i {
    transition: transform var(--transition-fast);
    color: var(--text-muted);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--color-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    padding: 0 var(--spacing-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

/* ============================================ */
/* FOOTER                                       */
/* ============================================ */
.footer {
    background: var(--color-black);
    color: rgba(255,255,255,0.8);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-xl);
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    height: 40px ;
}

/* .footer-logo i {
    color: var(--color-red);
    font-size: var(--font-size-2xl);
} */

.footer-desc {
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-red);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    color: var(--text-light);
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-red);
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-links a:hover {
    color: var(--color-red);
    padding-left: 5px;
}

.footer-links i {
    font-size: 10px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
}

.footer-contact i {
    color: var(--color-red);
    margin-top: 4px;
    min-width: 16px;
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
}

.footer-contact a:hover {
    color: var(--color-red);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

.footer-made-with i {
    animation: heartbeat 1.5s infinite;
}

/* ============================================ */
/* WHATSAPP FLOTANTE                            */
/* ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ============================================ */
/* PAGE HEADER                                  */
/* ============================================ */
.page-header {
    background: var(--color-black);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: var(--font-size-lg);
    position: relative;
    z-index: 1;
}

/* ============================================ */
/* BREADCRUMB                                   */
/* ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    padding: var(--spacing-md) 0;
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--color-red);
}

.breadcrumb i {
    font-size: 10px;
    color: var(--text-muted);
}

/* ============================================ */
/* MODAL                                        */
/* ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-gray-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--color-red);
    color: white;
}

.modal-body {
    padding: var(--spacing-lg);
}

.modal-footer {
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--color-gray-border);
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-sm);
}

/* ============================================ */
/* TOAST / NOTIFICACIONES                       */
/* ============================================ */
.toast-container {
    position: fixed;
    top: calc(var(--header-height) + var(--spacing-md));
    right: var(--spacing-lg);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--color-gray-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left: 4px solid var(--color-success);
}

.toast.error {
    border-left: 4px solid var(--color-red);
}

.toast.info {
    border-left: 4px solid var(--color-info);
}

.toast i {
    font-size: var(--font-size-xl);
}

.toast.success i {
    color: var(--color-success);
}

.toast.error i {
    color: var(--color-red);
}

.toast.info i {
    color: var(--color-info);
}

/* ============================================ */
/* PAGINACIÓN                                   */
/* ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-2xl);
}

.page-item {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-gray-border);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.page-item:hover {
    border-color: var(--color-red);
    color: var(--color-red);
}

.page-item.active {
    background: var(--color-red);
    border-color: var(--color-red);
    color: white;
}

/* ============================================ */
/* ANIMACIONES                                  */
/* ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

/* ============================================ */
/* SKELETON / LOADING                           */
/* ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-hover) 50%, var(--bg-secondary) 75%);
    background-size: 936px 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: var(--radius-sm);
}

/* ============================================ */
/* MENÚ INFERIOR MÓVIL (Bottom Navigation)      */
/* ============================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: var(--bg-primary);
    border-top: 1px solid var(--color-gray-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1100;
    justify-content: space-around;
    align-items: center;
    padding: 0 var(--spacing-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    min-width: 50px;
}

.mobile-bottom-nav-item i {
    font-size: 20px;
    transition: all var(--transition-fast);
}

.mobile-bottom-nav-item span {
    line-height: 1;
    white-space: nowrap;
}

.mobile-bottom-nav-item:hover {
    color: var(--text-secondary);
}

.mobile-bottom-nav-item.active {
    color: var(--color-red);
}

.mobile-bottom-nav-item.active i {
    transform: scale(1.05);
}

/* Badge de favoritos en móvil */
.mobile-fav-count {
    position: absolute;
    top: 2px;
    right: 50%;
    transform: translateX(16px);
    background: var(--color-red);
    color: white;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid var(--bg-primary);
}

/* Indicador activo */
.mobile-bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--color-red);
    border-radius: 0 0 3px 3px;
}

/* ============================================ */
/* RESPONSIVE - TABLET                          */
/* ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
        margin-bottom: var(--spacing-lg);
    }
}

/* ============================================ */
/* RESPONSIVE - MÓVIL                           */
/* ============================================ */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --topbar-height: 35px;
    }

    body {
        padding-bottom: 65px;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .logo-image {
        height: 34px;
    }

    .footer {
        display: none;
    }

    .top-bar-links {
        display: none;
    }

    .top-bar-text {
        width: 100%;
        text-align: center;
        font-size: var(--font-size-xs);
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-xs);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 999;
        border-bottom: 2px solid var(--color-gray-border);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: var(--spacing-md);
        font-size: var(--font-size-base);
        width: 100%;
    }

    .hero {
        min-height: 70vh;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-desc {
        font-size: var(--font-size-base);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section {
        padding: var(--spacing-2xl) 0;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .product-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .product-card-image {
        width: 140px;
        min-height: 140px;
        aspect-ratio: 1;
        flex-shrink: 0;
    }

    .product-card-body {
        padding: var(--spacing-sm);
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        min-width: 0;
    }

    .product-card-brand {
        font-size: 10px;
    }

    .product-card-name {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-xs);
    }

    .product-card-price .current {
        font-size: var(--font-size-base);
    }

    .product-card-price {
        margin-bottom: var(--spacing-sm);
    }

    .product-card-actions {
        opacity: 1;
        transform: translateX(0);
        top: var(--spacing-xs);
        right: var(--spacing-xs);
    }

    .product-action-btn {
        width: 32px;
        height: 32px;
        font-size: var(--font-size-sm);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .banner-promo {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-xl);
    }

    .banner-promo-image {
        max-width: 200px;
    }

    .page-header h1 {
        font-size: var(--font-size-3xl);
    }

    .catalog-toolbar {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 80px;
        right: 16px;
    }

    .product-card-actions {
        opacity: 1;
        transform: translateX(0);
    }

    .product-info-meta {
        grid-template-columns: 1fr;
    }

    .product-info-actions {
        flex-direction: column;
    }

    .product-info-actions .btn {
        min-width: auto;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================ */
/* RESPONSIVE - MÓVIL PEQUEÑO                   */
/* ============================================ */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .product-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .product-card-image {
        width: 140px;
        min-height: 140px;
        aspect-ratio: 1;
        flex-shrink: 0;
    }

    .product-card-body {
        padding: var(--spacing-sm);
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;
        min-width: 0;
    }

    .product-card-brand {
        font-size: 10px;
    }

    .product-card-name {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-xs);
    }

    .product-card-price .current {
        font-size: var(--font-size-base);
    }

    .product-card-price {
        margin-bottom: var(--spacing-sm);
    }

    .product-card-footer .btn {
        padding: 6px 10px;
        font-size: var(--font-size-xs);
    }

    .product-card-footer {
        flex-wrap: wrap;
    }

    .product-card-actions {
        opacity: 1;
        transform: translateX(0);
        top: var(--spacing-xs);
        right: var(--spacing-xs);
    }

    .product-action-btn {
        width: 32px;
        height: 32px;
        font-size: var(--font-size-sm);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }

    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================ */
/* SCROLLBAR PERSONALIZADO                      */
/* ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gray-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-red);
}

/* ============================================ */
/* UTILIDADES                                   */
/* ============================================ */
.text-center { text-align: center; }
.text-red { color: var(--color-red); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-xl); }

/* ============================================ */
/* FIN DEL CSS                                   */
/* ============================================ */
