/* Import extended styles for product pages */
@import url('styles-extended.css');

/* Variables */
:root {
    /* Colores principales - Inspirados en el logo Gianpa */
    --primary-color: #0B1F3D;      /* Azul oscuro del texto - Color principal */
    --primary-light: #1A3A5F;      /* Azul marino más claro */
    --primary-dark: #051224;       /* Azul marino más oscuro */
    
    /* Colores secundarios - Rosa/Magenta del logo */
    --secondary-color: #FF1493;    /* Rosa brillante - Color secundario */
    --secondary-light: #FF69B4;    /* Rosa claro */
    --secondary-dark: #C71585;     /* Rosa oscuro */
    
    /* Colores de acento - Gradientes del diamante del logo */
    --accent-color: #00BFFF;       /* Azul cielo brillante (acento principal) */
    --accent-color-1: #00BFFF;     /* Azul cielo */
    --accent-color-2: #00FF7F;     /* Verde primavera */
    --accent-color-3: #8A2BE2;     /* Violeta/Morado */
    --accent-color-4: #FFD700;     /* Amarillo dorado */
    --accent-color-5: #FF4500;     /* Naranja rojizo */
    
    /* Escala de grises */
    --black: #1A1A1A;              /* Negro suave */
    --dark-gray: #4A4A4A;          /* Gris oscuro */
    --gray: #888888;               /* Gris medio */
    --light-gray: #F0F4F8;         /* Gris claro */
    --white: #FFFFFF;              /* Blanco */
    
    /* Colores de estado - Vibrantes como el logo */
    --success: #00FF7F;            /* Verde primavera - Éxito */
    --warning: #FFD700;            /* Amarillo dorado - Advertencia */
    --error: #FF1493;              /* Rosa brillante - Error */
    --info: #00BFFF;               /* Azul cielo - Información */
    
    /* Colores de fondo */
    --bg-primary: #FFFFFF;         /* Fondo principal */
    --bg-secondary: #F7F9FC;       /* Fondo secundario */
    --bg-tertiary: #EDF2F7;        /* Fondo terciario */
    
    /* Colores para elementos específicos */
    --top-bar-bg: var(--primary-color);
    --footer-bg: var(--primary-dark);
    --card-bg: var(--white);
    --btn-primary-bg: var(--primary-color);
    --btn-secondary-bg: var(--secondary-color);
    --btn-accent-bg: var(--accent-color-1);
    
    /* Colores de texto */
    --text-primary: var(--black);
    --text-secondary: var(--dark-gray);
    --text-light: var(--gray);
    --text-on-dark: var(--white);
    --text-on-primary: var(--white);
    --text-on-secondary: var(--black);
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Bordes */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-full: 50%;
    
    /* Transiciones */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* SEO Hidden Element */
.seo-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color-3), var(--accent-color-1));
    border-radius: 2px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.6rem;
    box-shadow: var(--shadow-sm);
}

.btn--primary {
    background-color: var(--btn-primary-bg);
    color: var(--text-on-primary);
}

.btn--primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background-color: var(--btn-secondary-bg);
    color: var(--text-on-secondary);
}

.btn--secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--accent {
    background-color: var(--btn-accent-bg);
    color: var(--white);
}

.btn--accent:hover {
    background-color: var(--accent-color-2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--purple {
    background-color: var(--accent-color-3);
    color: var(--white);
}

.btn--purple:hover {
    background-color: var(--accent-color-3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--brown {
    background-color: var(--accent-color-2);
    color: var(--white);
}

.btn--brown:hover {
    background-color: var(--accent-color-5);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--whatsapp {
    background-color: #25D366;
    color: var(--white);
    font-weight: 600;
}

.btn--whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--whatsapp i {
    font-size: 2rem;
}

.btn--outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn--text {
    color: var(--primary-color);
    padding: 0;
    background: none;
    font-weight: 600;
}

.btn--text:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn--text-gold {
    padding: 0;
    background: none;
    font-weight: 600;
    color: var(--secondary-color);
    box-shadow: none;
}

.btn--text-gold:hover {
    color: var(--secondary-dark);
    text-decoration: underline;
}

/* Botón especial con gradiente del logo Gianpa */
.btn--gradient {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color-3) 50%, var(--accent-color-1) 100%);
    color: var(--white);
    font-weight: 700;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn--gradient:hover {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--accent-color-3) 50%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
}

/* Botón arcoíris del logo */
.btn--rainbow {
    background: linear-gradient(90deg, 
        var(--secondary-color) 0%, 
        var(--accent-color-3) 25%, 
        var(--accent-color-1) 50%, 
        var(--accent-color-2) 75%, 
        var(--accent-color-4) 100%);
    color: var(--white);
    font-weight: 700;
    border: none;
}

.btn--rainbow:hover {
    background: linear-gradient(90deg, 
        var(--accent-color-4) 0%, 
        var(--accent-color-2) 25%, 
        var(--accent-color-1) 50%, 
        var(--accent-color-3) 75%, 
        var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

.btn--sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

.btn--disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header */
.top-bar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color-3) 50%, var(--primary-color) 100%);
    color: var(--white);
    padding: 0.8rem 0;
    font-size: 1.2rem;
    width: 100%;
    z-index: 101;
    position: relative;
    transition: all 0.3s ease;
}

.top-bar--hidden {
    transform: translateY(-100%);
    opacity: 0;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.top-bar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__text {
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.top-bar__text i {
    margin-right: 0.8rem;
}

.top-bar__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar__social,
.top-bar__contact,
.top-bar__location {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.top-bar__social:hover,
.top-bar__contact:hover,
.top-bar__location:hover {
    opacity: 0.8;
}

.top-bar__social {
    font-size: 1.4rem;
}

.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.header--fixed {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.3s ease-in-out;
}

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

.header__logo img {
    height: 7rem;
    transition: var(--transition);
}

.header__nav {
    margin-left: auto;
    margin-right: 2rem;
}

.header__menu {
    display: flex;
    gap: 2.5rem;
}

.header__menu a {
    font-weight: 500;
    color: var(--black);
    position: relative;
}

.header__menu a:hover,
.header__menu a.active {
    color: var(--secondary-color);
}

.header__menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Submenu Styles */
.header__menu .has-submenu {
    position: relative;
}

.header__menu .has-submenu > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header__menu .has-submenu > a .fa-chevron-down {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.header__menu .has-submenu:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-md);
    padding: 1rem 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.header__menu .has-submenu:hover > .submenu,
.header__menu .has-submenu > .submenu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
    margin: 0;
}

.submenu a {
    display: block;
    padding: 1rem 2rem;
    font-weight: 400;
    color: var(--black);
    transition: all 0.2s ease;
}

.submenu a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding-left: 2.5rem;
}

/* Submenu Level 2 (nested submenu) */
.submenu .has-submenu {
    position: relative;
}

.submenu .has-submenu > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 3rem;
}

.submenu .has-submenu > a .fa-chevron-right {
    font-size: 1rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.submenu .has-submenu:hover > a .fa-chevron-right {
    transform: translateX(3px);
}

.submenu .has-submenu > a:hover {
    padding-left: 2.5rem;
}

.submenu-level-2 {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-md);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 101;
}

.submenu li.has-submenu:hover > .submenu-level-2,
.submenu li.has-submenu > .submenu-level-2:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header__action {
    font-size: 1.8rem;
    color: var(--black);
    position: relative;
}

.header__action:hover {
    color: var(--secondary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color-3));
    color: var(--white);
    font-size: 1rem;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2.4rem;
    color: var(--black);
    cursor: pointer;
}

/* Overlay for mobile menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-track {
    width: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.slide-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 767px) {
    .hero-carousel {
        max-height: 100vh; /* No exceder la altura de la pantalla */
    }
    
    .slide-image {
        width: 100%;
        height: auto;
        max-height: 100vh; /* Limitar altura máxima a la pantalla */
        object-fit: contain; /* Asegurar que la imagen completa sea visible */
    }
}

/* Estilos para las imágenes del carrusel */

/* Ajustar z-index para los controles del carrusel */
.carousel-arrow, .carousel-indicators {
    z-index: 10;
    position: relative;
}

.hero__content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
}

.hero__title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

.hero__subtitle {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
}

.carousel-slide.active .hero__title,
.carousel-slide.active .hero__subtitle,
.carousel-slide.active .btn {
    opacity: 1;
    transform: translateY(0);
}

.carousel-slide .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.7s, transform 0.5s ease 0.7s, background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

/* Carousel Controls */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5rem;
    height: 5rem;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: var(--border-radius-full);
    color: var(--primary-color);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.carousel-prev {
    left: 2rem;
}

.carousel-next {
    right: 2rem;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    z-index: 10;
}

.indicator {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: var(--border-radius-full);
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.indicator.active {
    background-color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

/* ========================================================================
   AUTOMATIC SECTION BACKGROUND ALTERNATION
   ======================================================================== */

/* Todas las secciones principales tienen fondo blanco por defecto */
section {
    background-color: var(--white);
}

/* Las secciones impares (1, 3, 5, 7...) tienen fondo gris claro */
section:nth-of-type(odd) {
    background-color: var(--bg-secondary);
}

/* Las secciones pares (2, 4, 6, 8...) tienen fondo blanco */
section:nth-of-type(even) {
    background-color: var(--white);
}

/* Categories Section */
.categories {
    padding: 8rem 0;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.category-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.category-card__icon {
    width: 16rem;
    height: 16rem;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--border-radius-full);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--white);
    position: relative;
}

.category-card__icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius-full);
    z-index: -1;
}

.category-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.category-card:hover .category-card__icon img {
    transform: scale(1.1);
}

.category-card__title {
    color: var(--black);
    font-size: 1.8rem;
    margin-bottom: 0;
}

/* Category Card V2 - Alternative Design */
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.6rem;
    margin-top: -2rem;
    margin-bottom: 4rem;
}

.category-card-v2 {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.category-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.category-card-v2__image {
    position: relative;
    width: 100%;
    height: 25rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

.category-card-v2__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.category-card-v2:hover .category-card-v2__image img {
    transform: scale(1.15);
}

.category-card-v2__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.85), rgba(91, 140, 133, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card-v2:hover .category-card-v2__overlay {
    opacity: 1;
}

.category-card-v2__overlay i {
    color: var(--white);
    font-size: 3rem;
    transform: translateX(-20px);
    transition: transform 0.4s ease;
}

.category-card-v2:hover .category-card-v2__overlay i {
    transform: translateX(0);
}

.category-card-v2__content {
    padding: 2.5rem 2rem;
    text-align: center;
    background: var(--white);
}

.category-card-v2__title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.category-card-v2:hover .category-card-v2__title {
    color: var(--secondary-color);
}

.category-card-v2__description {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-card-v2__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.category-card-v2__link i {
    transition: transform 0.3s ease;
}

.category-card-v2:hover .category-card-v2__link {
    color: var(--secondary-color);
}

.category-card-v2:hover .category-card-v2__link i {
    transform: translateX(5px);
}

/* Featured Products */
.featured-products {
    padding: 8rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

.btn .icon-only-desktop {
    display: inline-block;
}

@media (max-width: 767px) {
    .btn .icon-only-desktop {
        display: none;
    }
}

@media (max-width: 575px) {
    .products-grid {
        gap: 2rem;
    }
    
    .product-card__price {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .price-discount {
        align-self: center;
    }

/* Location Popup */
.location-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.location-popup.active {
    opacity: 1;
    visibility: visible;
}

.location-popup__content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 800px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.location-popup.active .location-popup__content {
    transform: scale(1);
}

.location-popup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.location-popup__header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.location-popup__close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-dark);
}

.location-popup__map {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    line-height: 0;
}

.location-popup__footer {
    margin-top: 1.5rem;
    text-align: right;
}

}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: visible;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-card-link:hover .product-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-15px) scale(1.02);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.05) 0%, rgba(91, 140, 133, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card__image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Aspect ratio 1:1 (cuadrado) */
    overflow: hidden;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.product-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-card__actions {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-card__actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card__content {
    padding: 2rem;
    text-align: center;
}

.product-card__title,
.product-card__content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600; /* Mantener el peso de la fuente original de h3 */
}

.product-card__price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
    text-align: center;
}

.price-current {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-original {
    font-size: 1.4rem;
    color: var(--gray);
    text-decoration: line-through;
    font-weight: 400;
}

.price-discount {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-md);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    white-space: nowrap;
}

.product-card__wholesale {
    background-color: var(--light-gray);
    border-radius: var(--border-radius-sm);
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    font-size: 1.4rem;
}

.product-card__bottom-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.wholesale-label {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.wholesale-price {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Trust Section */
.trust {
    padding: 6rem 0;
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.trust-item {
    text-align: center;
}

.trust-item__icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

.trust-item__text {
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

/* Success Alert */
.alert.alert-btn {
    background-color: #E8F5E9; /* Light green background */
    border-left: 5px solid var(--success);
}

.alert.alert-btn span {
    font-weight: 500;
    color: var(--text-primary);
    flex-grow: 1;
}

.alert.alert-btn .btn-success {
    background-color: var(--success);
    color: var(--white);
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    white-space: nowrap;
}

.alert.alert-btn .btn-success:hover {
    background-color: #256A28;
}

/* Danger Alert */
.alert.alert-danger {
    background-color: #FFEBEE; /* Light red background */
    border-left: 5px solid var(--error);
}

.alert.alert-danger .alert-message,
.alert.alert-danger i {
    color: var(--error);
    font-weight: 500;
}

/* Common Close Button for all alerts */
.alert .btn-link.btn-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--gray);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    margin-left: auto; /* Push it to the right */
}

.alert .btn-link.btn-close:hover {
    color: var(--dark-gray);
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card__rating {
    color: var(--accent-color-4);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.testimonial-card__text {
    font-style: italic;
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    flex-grow: 1; /* Ensures cards have the same height */
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: auto; /* Pushes author to the bottom */
}

.testimonial-card__author img,
.testimonial-card__author .testimonial-card__avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card__author .testimonial-card__avatar {
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.testimonial-card__author h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
}

.testimonial-card__author p {
    font-size: 1.4rem;
    color: var(--gray);
    margin: 0;
}


.blog-listing-layout {
    padding-top: 4rem;
}

/* Blog Post Page Styles */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
}

@media (max-width: 992px) {
    .post-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .post-content {
        padding: 2rem;
    }
}

.post-content {
    background-color: var(--white);
    padding: 4rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.breadcrumbs {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs i {
    font-size: 1rem;
    margin: 0 1rem;
}

.post-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 3rem;
}

.post-title {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-top: 1.5rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.post-meta a {
    color: var(--primary-color);
    font-weight: 500;
}

.post-image {
    margin-bottom: 3rem;
}

.post-image img {
    border-radius: var(--border-radius-md);
}

.post-body h3 {
    font-size: 2.4rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    color: var(--primary-dark);
}

.post-body p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.post-body ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.post-body ul li {
    margin-bottom: 1rem;
}

.post-quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
    margin: 3rem 0;
    font-style: italic;
    font-size: 1.8rem;
    color: var(--dark-gray);
}

.post-quote footer {
    font-size: 1.4rem;
    font-style: normal;
    margin-top: 1rem;
    color: var(--gray);
}

.post-image-inline {
    margin: 3rem 0;
}

.post-image-inline img {
    border-radius: var(--border-radius-md);
}

.post-image-inline figcaption {
    text-align: center;
    font-size: 1.4rem;
    color: var(--gray);
    margin-top: 1rem;
}

.post-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-tags, .post-share {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.post-tags a {
    background-color: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 1.3rem;
}

.post-share a {
    font-size: 1.8rem;
}

/* Sidebar */
.post-sidebar .widget-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.sidebar-widget {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 3rem;
}

.sidebar-search {
    position: relative;
}

.sidebar-search input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius-sm);
}

.sidebar-search button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: none;
    border: none;
    padding: 0 1.5rem;
    cursor: pointer;
}

.widget-list li {
    margin-bottom: 1rem;
}

.widget-list a {
    display: flex;
    justify-content: space-between;
}

.widget-recent-posts ul,
.widget-related-products ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget-recent-posts li,
.widget-related-products li {
    border-bottom: 1px solid var(--bg-tertiary);
    padding-bottom: 1.5rem;
}

.widget-recent-posts li:last-child,
.widget-related-products li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-recent-posts li a,
.widget-related-products li a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    margin: -1rem; /* Expands clickable area */
    border-radius: var(--border-radius-md);
    transition: background-color 0.2s ease;
}

.widget-recent-posts li a:hover,
.widget-related-products li a:hover {
    background-color: var(--bg-secondary);
}

.widget-recent-posts img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    flex-shrink: 0;
}

.widget-recent-posts span {
    flex: 1;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.widget-recent-posts a:hover span {
    color: var(--primary-color);
}

.widget-recent-posts a:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}


.related-product__image {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.widget-related-products img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    border: 1px solid var(--bg-tertiary);
}

.related-product__image .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--error);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: var(--border-radius-sm);
    z-index: 2;
}

.widget-related-products .product-info {
    display: flex;
    flex-direction: column;
}

.widget-related-products span {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.price-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.widget-related-products .price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.widget-related-products .price--sale {
    color: var(--error);
}

.widget-related-products .price--original {
    font-size: 1.2rem;
    color: var(--gray);
    text-decoration: line-through;
}

.widget-related-products a:hover span {
    color: var(--primary-color);
}

.widget-related-products a:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget--cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    color: var(--white);
}

.sidebar-widget--cta h4 {
    color: var(--white);
}

@media (max-width: 992px) {
    .post-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .post-content {
        padding: 2rem;
    }

    .post-title {
        font-size: 2.8rem;
    }

    .sorting-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
}

/* Blog Listing Page */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color-3) 50%, var(--accent-color-1) 100%);
    padding: 6rem 0;
    text-align: center;
}

.page-header__title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header__subtitle {
    font-size: 1.8rem;
    opacity: 0.9;
}

.blog-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.blog-card__meta {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.blog-card__category {
    font-weight: 600;
    color: var(--primary-color);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.pagination__list {
    display: flex;
    gap: 1rem;
}

.pagination__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

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

.pagination__item--current {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination__item--next {
    gap: 0.5rem;
}

@media (max-width: 992px) {
    .blog-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-grid-full {
        grid-template-columns: 1fr;
    }
}

/* Blog Section */
.blog {
    padding: 8rem 0;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-card__image {
    height: 200px;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__content {
    padding: 2rem;
}

.blog-card__title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-card__excerpt {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.blog-card__link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.4rem;
}

.blog-card__link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 6rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.footer__logo img {
    height: 5rem;
    margin-right: 1.5rem;
}

.footer__logo-text {
    color: var(--white);
    font-size: 2.4rem;
    font-weight: 600;
    margin: 0;
}

.footer__description {
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.footer__social {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--border-radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer__title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    color: var(--white);
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer__links li {
    margin-bottom: 1rem;
}

.footer__links a {
    opacity: 0.8;
    transition: var(--transition);
    display: inline-block;
}

.footer__links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--secondary-color);
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer__contact li a {
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer__contact li a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer__contact li i {
    color: var(--secondary-color);
    font-size: 1.6rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer__bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copyright {
    opacity: 0.8;
    font-size: 1.4rem;
    margin-bottom: 0;
}

.footer__credit {
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.footer__credit:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer__attribution {
    font-size: 1.4rem;
    margin-bottom: 0;
    opacity: 0.8;
}

/* Search Popup */

.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-popup.active {
    opacity: 1;
    visibility: visible;
}

.search-popup__content {
    width: 90%;
    max-width: 600px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    position: relative;
    transform: translateY(-50px);
    transition: all 0.4s ease;
}

.search-popup.active .search-popup__content {
    transform: translateY(0);
}

.search-popup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.search-popup__header h3,
.search-popup__title {
    margin-bottom: 0;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.search-popup__close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition);
}

.search-popup__close:hover {
    color: var(--primary-color);
}

.search-input {
    position: relative;
    margin-bottom: 2.5rem;
}

.search-input input {
    width: 100%;
    padding: 1.5rem 5rem 1.5rem 2rem;
    border: 2px solid var(--gray);
    border-radius: var(--border-radius-md);
    font-size: 1.6rem;
    transition: var(--transition);
}

.search-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(53, 84, 130, 0.2);
}

.search-input button {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

.search-popup__suggestions h4,
.search-popup__subtitle {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-tags a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius-md);
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.search-tags a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .post-tags {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .post-tags strong {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 1024px) {
    .categories__grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    /* Top bar responsive styles */
    .top-bar__content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .top-bar__text {
        font-size: 1rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .top-bar {
        padding: 1rem 0;
    }
    
    .header {
        position: relative;
    }
    
    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, var(--white) 0%, var(--bg-secondary) 100%);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        padding: 2rem;
        display: none !important;
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
        border-top: 3px solid var(--primary-color);
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .header__nav.active {
        display: block !important;
    }
    
    .header__menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .header__menu > li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .header__menu > li:last-child {
        border-bottom: none;
    }
    
    .header__menu > li > a {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 1.6rem;
        font-weight: 500;
        color: var(--black);
        border-radius: var(--border-radius-md);
        transition: all 0.3s ease;
        position: relative;
    }
    
    .header__menu > li > a:hover,
    .header__menu > li > a.active {
        background-color: var(--primary-color);
        color: var(--white);
        transform: translateX(5px);
    }
    
    .header__menu > li > a.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 60%;
        background-color: var(--secondary-color);
        border-radius: 0 4px 4px 0;
    }

    /* Mobile submenu styles */
    .header__menu .has-submenu {
        width: 100%;
    }

    .header__menu .has-submenu > a {
        justify-content: space-between;
        padding-right: 5rem;
    }

    .header__menu .has-submenu > a .fa-chevron-down {
        display: none;
    }

    .submenu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        border-radius: var(--border-radius-md);
        background: linear-gradient(135deg, rgba(26, 58, 95, 0.05) 0%, rgba(91, 140, 133, 0.05) 100%);
        transition: max-height 0.4s ease, visibility 0s 0.4s, padding 0.4s ease;
        margin-top: 0.5rem;
        border-left: 3px solid var(--primary-color);
    }

    .submenu.active {
        visibility: visible;
        max-height: 500px;
        padding: 1rem 0;
        transition: max-height 0.5s ease, visibility 0s, padding 0.5s ease;
    }

    .submenu li {
        margin: 0.3rem 0;
    }

    .submenu a {
        padding: 1.2rem 1.5rem;
        text-align: left;
        display: block;
        border-radius: var(--border-radius-sm);
        margin: 0 1rem;
        transition: all 0.3s ease;
        position: relative;
        padding-left: 2.5rem;
    }
    
    .submenu a::before {
        content: '▸';
        position: absolute;
        left: 1rem;
        color: var(--primary-color);
        font-size: 1.2rem;
        transition: transform 0.3s ease;
    }
    
    .submenu a:hover::before {
        transform: translateX(3px);
    }
    
    /* Mobile submenu level 2 */
    .submenu-level-2 {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        border-radius: var(--border-radius-sm);
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(91, 140, 133, 0.08) 100%);
        transition: max-height 0.3s ease, visibility 0s 0.3s, padding 0.3s ease;
        margin-top: 0.5rem;
        margin-left: 0;
        border-left: 2px solid var(--secondary-color);
    }
    
    .submenu-level-2.active {
        visibility: visible;
        max-height: 400px;
        padding: 0.5rem 0;
        transition: max-height 0.5s ease, visibility 0s, padding 0.5s ease;
    }
    
    .submenu-level-2 a {
        padding: 1rem 1.5rem;
        text-align: left;
        font-size: 1.4rem;
        padding-left: 3.5rem;
        margin: 0.2rem 0.5rem;
    }
    
    .submenu-level-2 a::before {
        content: '•';
        left: 2rem;
        font-size: 1.6rem;
    }
    
    .submenu .has-submenu > a .fa-chevron-right {
        display: none;
    }
    
    /* Visual indicator for expandable items */
    .header__menu .has-submenu > a::after {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: auto;
        font-size: 1.2rem;
        transition: transform 0.3s ease;
        color: var(--primary-color);
    }
    
    .header__menu .has-submenu.active > a::after,
    .submenu .has-submenu.active > a::after {
        transform: rotate(180deg);
    }
    
    .submenu .has-submenu > a::after {
        content: '\f078';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: auto;
        font-size: 1rem;
    }
    
    .header__toggle {
        display: block;
        margin-left: 1.5rem;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero__title {
        font-size: 4rem;
    }
    
    .hero__subtitle {
        font-size: 1.8rem;
    }
    
    .trust__grid,
    .testimonials__grid,
    .blog__grid,
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .product-card__image,
    .product-card__image img {
        border-radius: var(--border-radius-lg) !important;
    }

    .categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .category-card__icon {
        width: 14rem;
        height: 14rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero__title {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
}

/* ========================================================================
   SCROLL TO TOP BUTTON
   ======================================================================== */

.scroll-top {
    position: fixed;
    bottom: 3rem;
    right: 10rem; /* Posicionado a la izquierda del botón de WhatsApp */
    width: 6rem;
    height: 6rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 99;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 2rem;
        right: 8.5rem; /* Desplazar a la izquierda del botón de WhatsApp */
        width: 5.5rem;
        height: 5.5rem;
    }
}

/* ========================================================================
   WHATSAPP BUTTON
   ======================================================================== */

.whatsapp-button {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 6rem;
    height: 6rem;
    background-color: #25D366;
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 99;
}

.whatsapp-button:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.whatsapp-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.4;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Tooltip para el botón de WhatsApp */
.whatsapp-button .tooltip {
    position: absolute;
    top: -4.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-size: 1.4rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-button .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

.whatsapp-button:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -5rem;
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 2rem;
        right: 2rem;
        width: 5.5rem;
        height: 5.5rem;
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .whatsapp-button {
        width: 5rem;
        height: 5rem;
        font-size: 2rem;
    }
    
    .scroll-top {
        width: 5rem;
        height: 5rem;
    }
}

/* ========================================================================
   CATEGORY PAGE STYLES
   ======================================================================== */

/* Enhanced Breadcrumb */
.breadcrumb {
    background-color: #F4F6FC;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.breadcrumb nav {
    width: 100%;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 1.4rem;
    margin: 0;
    padding: 0;
}

.breadcrumb__list li {
    display: flex;
    align-items: center;
    position: relative;
}

.breadcrumb__list li:not(:last-child) {
    padding-right: 2.5rem;
}

.breadcrumb__list li:not(:last-child)::after {
    content: '\f054'; /* Font Awesome chevron-right */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0.8rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.breadcrumb__link {
    color: var(--dark-gray);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.breadcrumb__link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb__link i {
    font-size: 1.4rem;
    color: var(--secondary-color);
}

.breadcrumb__current {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb__list .active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Category Header V2 */
.category-header-v2 {
    background-color: var(--bg-tertiary);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.category-header-v2__title {
    font-size: 3.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.category-header-v2__description {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.sorting-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 4rem;
}

.product-count {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin: 0;
}

.sorting-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sorting-controls label {
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--text-secondary);
}

.custom-select-wrapper {
    position: relative;
}

.sort-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--white);
    border: 1px solid #ccc;
    padding: 1rem 3.5rem 1rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-size: 1.6rem;
    color: var(--primary-dark);
    cursor: pointer;
    transition: border-color 0.3s ease;
    min-width: 220px;
}

.sort-select:hover {
    border-color: var(--primary-color);
}

.custom-select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    color: var(--primary-color);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.custom-select-wrapper:hover::after {
    transform: translateY(-50%) scale(1.1);
}

/* Category Products */
.category-products {
    padding: 2rem 0 6rem;
}

/* Product Card Enhancements */
.product-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-card__badge--new {
    background-color: var(--accent-color-1);
    color: var(--white);
}

.product-card__badge--stock {
    background-color: var(--success);
    color: var(--white);
}

.product-card__badge--out-of-stock {
    background-color: var(--error);
    color: var(--white);
    top: 5rem;
}

.product-card__badge--free-shipping {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    }
}

.product-card__badge--free-shipping i {
    animation: truck-wiggle 1.5s ease-in-out infinite;
}

@keyframes truck-wiggle {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

.product-card__price .price-discount {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* Botón deshabilitado */
.btn--secondary[disabled] {
    background-color: var(--gray);
    color: var(--white);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn--secondary[disabled]:hover {
    background-color: var(--gray);
    transform: none;
    box-shadow: var(--shadow-sm);
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.product-card__rating .stars {
    color: var(--accent-color-4);
    font-size: 1.4rem;
}

.rating-count {
    color: var(--gray);
    font-size: 1.2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    gap: 2rem;
}

.pagination__prev,
.pagination__next {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background-color: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--border-radius-md);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.pagination__prev:hover,
.pagination__next:hover {
    background-color: var(--light-gray);
}

.pagination__prev.disabled,
.pagination__next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination__numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination__numbers a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--border-radius-full);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--dark-gray);
    transition: var(--transition);
}

.pagination__numbers a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.pagination__numbers a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.pagination__dots {
    color: var(--gray);
    font-size: 1.4rem;
    margin: 0 0.5rem;
}

/* ==========================================================================
   New Contact Page Styles
   ========================================================================== */

.contact-hero {
    background: linear-gradient(rgba(26, 58, 95, 0.8), rgba(26, 58, 95, 0.8)), url('../img/contact-hero-bg.jpg') no-repeat center center/cover;
    padding: 8rem 0;
    text-align: center;
    color: var(--white);
}

.contact-hero__title {
    font-size: 4.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hero__subtitle {
    font-size: 2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Main Section */
.contact-main-section {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.contact-form-wrapper,
.contact-info-wrapper {
    background-color: var(--white);
    padding: 5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.contact-info-card__icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
    width: 30px;
    text-align: center;
}

.contact-info-card__title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-info-card__text {
    font-size: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-info-card__text a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-info-card__text a:hover {
    text-decoration: underline;
}



.map-section-v2 {
    padding: 8rem 0;
    background-color: var(--bg-tertiary);
}

.map-frame {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.map-frame__body iframe {
    display: block;
}

.map-frame__footer {
    padding: 2.5rem;
    background-color: var(--primary-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.map-frame__footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 576px) {
    .map-frame__footer {
        flex-direction: column;
    }
    .map-frame__footer .btn {
        width: 100%;
        justify-content: center;
    }
}

.section-title--left {
    text-align: left;
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.section-title--left::after {
    left: 0;
    transform: translateX(0);
    width: 50px;
}

.section-subtitle--left {
    text-align: left;
    color: var(--text-secondary);
    font-size: 1.6rem;
    margin-bottom: 4rem;
}

.contact-form-v2 .form-group-v2 {
    position: relative;
    margin-bottom: 2rem;
}

.contact-form-v2 .form-group-v2 i {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.6rem;
}

.contact-form-v2 .form-group-v2 input,
.contact-form-v2 .form-group-v2 textarea {
    width: 100%;
    padding: 1.6rem 1.6rem 1.6rem 5rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-md);
    font-size: 1.6rem;
    font-family: inherit;
    background-color: var(--bg-secondary);
    transition: var(--transition);
}

.contact-form-v2 .form-group-v2 textarea {
    padding: 1.6rem 2rem;
    min-height: 120px;
}

.contact-form-v2 .form-group-v2 input:focus,
.contact-form-v2 .form-group-v2 textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 58, 95, 0.1);
}

.contact-form-v2 .form-group-v2 input:focus + i,
.contact-form-v2 .form-group-v2 textarea:focus + i {
    color: var(--primary-color);
}

/* Embedded FAQ Section - V2 Design */
.faq-section--embedded {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--light-gray);
}

.faq-section__title {
    font-size: 2.4rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    text-align: left;
}

.faq-accordion {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.faq-item.active .faq-question {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 1.6rem;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    flex-shrink: 0;
    margin-left: 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--secondary-dark);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    margin: 0;
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1.5rem;
}

.btn--full {
    width: 100%;
}

/* ========================================================================
   PRODUCT STICKY BAR - Barra fija inferior en ficha de producto
   ======================================================================== */

.product-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 100;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.product-sticky-bar.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.product-sticky-bar__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
}

.product-sticky-bar__info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 1;
    min-width: 0;
}

.product-sticky-bar__img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    background: var(--bg-light);
    flex-shrink: 0;
}

.product-sticky-bar__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.product-sticky-bar__name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-sticky-bar__prices {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.product-sticky-bar__price-old {
    font-size: 1.3rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.product-sticky-bar__price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-sticky-bar__discount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    background: #ff4757;
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius-sm);
}

.product-sticky-bar__btn--buy {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background: linear-gradient(135deg, #ff4757, #e84118);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius-md);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-sticky-bar__btn--buy:hover {
    background: linear-gradient(135deg, #e84118, #c23616);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 65, 24, 0.4);
}

/* Subir botones flotantes encima de la barra sticky cuando está visible */
body.sticky-bar-active .scroll-top {
    bottom: 10rem;
}

body.sticky-bar-active .whatsapp-button {
    bottom: 10rem;
}

@media (max-width: 768px) {
    body.sticky-bar-active .scroll-top {
        bottom: 8.5rem;
    }
    body.sticky-bar-active .whatsapp-button {
        bottom: 8.5rem;
    }
}

@media (max-width: 480px) {
    body.sticky-bar-active .scroll-top {
        bottom: 7.5rem;
    }
    body.sticky-bar-active .whatsapp-button {
        bottom: 7.5rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .product-sticky-bar__content {
        padding: 0.8rem 1.5rem;
        gap: 1rem;
    }

    .product-sticky-bar__img {
        width: 4.5rem;
        height: 4.5rem;
    }

    .product-sticky-bar__name {
        font-size: 1.2rem;
    }

    .product-sticky-bar__prices {
        gap: 0.4rem;
    }

    .product-sticky-bar__price-old {
        font-size: 1.1rem;
    }

    .product-sticky-bar__price {
        font-size: 1.4rem;
    }

    .product-sticky-bar__discount {
        font-size: 1rem;
        padding: 0.15rem 0.4rem;
    }

    .product-sticky-bar__btn--buy {
        padding: 1rem 1.8rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .product-sticky-bar__content {
        padding: 0.8rem 1.2rem;
        gap: 0.8rem;
    }

    .product-sticky-bar__img {
        width: 4.5rem;
        height: 4.5rem;
    }

    .product-sticky-bar__name {
        font-size: 1.2rem;
        max-width: 14rem;
    }

    .product-sticky-bar__prices {
        gap: 0.4rem;
    }

    .product-sticky-bar__price-old {
        font-size: 1.2rem;
    }

    .product-sticky-bar__price {
        font-size: 1.4rem;
    }

    .product-sticky-bar__discount {
        font-size: 1rem;
        padding: 0.15rem 0.4rem;
    }

    .product-sticky-bar__btn--buy {
        padding: 1rem 1.6rem;
        font-size: 1.2rem;
        white-space: nowrap;
    }
}

/* ============================================================
   GIANPA LOGO COLOR UTILITIES
   Clases especiales con los colores del diamante del logo
   ============================================================ */

/* Sección con gradiente del diamante del logo */
.section--gradient {
    background: linear-gradient(135deg, 
        var(--secondary-color) 0%, 
        var(--accent-color-3) 25%, 
        var(--accent-color-1) 50%, 
        var(--accent-color-2) 75%, 
        var(--accent-color-4) 100%);
    color: var(--white);
}

.section--gradient .section-title {
    color: var(--white);
}

.section--gradient .section-title::after {
    background: var(--white);
    height: 3px;
}

/* Sección con gradiente rosa a morado */
.section--pink-purple {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color-3) 100%);
    color: var(--white);
}

/* Sección con gradiente azul a verde */
.section--blue-green {
    background: linear-gradient(135deg, var(--accent-color-1) 0%, var(--accent-color-2) 100%);
    color: var(--white);
}

/* Texto con gradiente del logo */
.text-gradient {
    background: linear-gradient(135deg, 
        var(--secondary-color) 0%, 
        var(--accent-color-3) 50%, 
        var(--accent-color-1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Borde con gradiente del logo */
.border-gradient {
    border: 3px solid transparent;
    border-image: linear-gradient(135deg, 
        var(--secondary-color), 
        var(--accent-color-3), 
        var(--accent-color-1)) 1;
}

/* Sombra con color del logo */
.shadow-logo {
    box-shadow: 0 8px 30px rgba(255, 20, 147, 0.3);
}

/* Badge con gradiente del logo */
.badge--gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color-3));
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ============================================================
   CATEGORY LAYOUT WITH SIDEBAR
   ============================================================ */

.category-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.category-main {
    min-width: 0;
}

.category-sidebar {
    position: sticky;
    top: 120px;
}

.category-sidebar .sidebar-widget {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.category-sidebar .widget-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
    color: var(--primary-color);
}

/* Category Navigation */
.category-nav {
    list-style: none;
}

.category-nav__item {
    border-bottom: 1px solid var(--light-gray);
}

.category-nav__item:last-child {
    border-bottom: none;
}

.category-nav__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
}

.category-nav__link:hover,
.category-nav__item.active .category-nav__link {
    color: var(--secondary-color);
}

.category-nav__item.active .category-nav__link {
    font-weight: 600;
}

.category-nav__link .count {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.category-nav__item.active .count {
    background: var(--secondary-color);
    color: var(--white);
}

/* Price Filter */
.price-range-slider {
    margin-bottom: 1rem;
}

.price-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--light-gray);
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 20, 147, 0.4);
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    color: var(--gray);
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag-cloud .tag {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--bg-secondary);
    color: var(--dark-gray);
    border-radius: 50px;
    font-size: 1.3rem;
    transition: var(--transition);
}

.tag-cloud .tag:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .category-layout {
        grid-template-columns: 1fr;
    }
    
    .category-sidebar {
        position: static;
        order: 2;
    }
}

/* ============================================================
   CATEGORIES SHOWCASE - Grid de categorias con imagen
   ============================================================ */

.categories-showcase {
    padding: 4rem 0 8rem;
    background-color: var(--bg-secondary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.category-card {
    display: block;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.15);
    border-color: var(--secondary-color);
}

.category-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-secondary), var(--light-gray));
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card__image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: var(--transition);
}

.category-card:hover .category-card__image img {
    transform: scale(1.1);
}

.category-card__overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.category-card__count {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color-3));
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}

.category-card__content {
    padding: 2.5rem;
}

.category-card__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.category-card:hover .category-card__title {
    color: var(--secondary-color);
}

.category-card__description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.category-card__link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.5rem;
    transition: var(--transition);
}

.category-card__link i {
    transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card__image {
        height: 200px;
    }
    
    .category-card__content {
        padding: 2rem;
    }
    
    .category-card__title {
        font-size: 2rem;
    }
}
