/* ═══════════════════════════════════════
   VARIABLES — paleta viva y juguetona
═══════════════════════════════════════ */
:root {
    --hot-pink:    #FF2D78;
    --magenta:     #D4006A;
    --coral:       #FF6B6B;
    --yellow:      #FFD93D;
    --mint:        #06D6A0;
    --sky:         #4CC9F0;
    --purple:      #7B2FBE;
    --deep:        #1A0533;

    --bg:          #FFF0F7;
    --white:       #FFFFFF;
    --card-bg:     #FFFFFF;
    --border:      #FFD6EA;
    --text:        #1A0533;
    --text-muted:  #9B6890;

    --shadow-sm:   0 2px 8px rgba(255,45,120,0.10);
    --shadow-md:   0 6px 24px rgba(255,45,120,0.18);
    --shadow-lg:   0 12px 40px rgba(255,45,120,0.22);

    --radius:      16px;
    --radius-sm:   10px;
    --radius-pill: 999px;

    --header-h:    64px;
    --filter-h:    60px;

    /* ═══════════════════════════════════════
       SET STYLES — Variables para productos SET
    ════════════════════════════════════════ */
    --set-glow:    rgba(255, 107, 107, 0.4);
    --set-border:  #FF6B6B;
    --set-bg:      linear-gradient(135deg, #FFF0F7 0%, #FFE8F0 100%);
    --set-badge:   linear-gradient(135deg, #FF2D78 0%, #FF6B6B 100%);
    --set-discount: #06D6A0;
}

/* ═══════════════════════════════════════
   RESET + BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════
   ACCESSIBILITY - SCREEN READER ONLY
═══════════════════════════════════════ */
.section-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ═══════════════════════════════════════
   OVERLAY (menú lateral)
═══════════════════════════════════════ */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,5,51,0.45);
    z-index: 150;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.overlay.show { display: block; }

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--hot-pink);
    height: var(--header-h);
    box-shadow: 0 3px 16px rgba(255,45,120,0.35);
}

/* ═══════════════════════════════════════
   HERO SEO SECTION (NUEVO)
═══════════════════════════════════════ */
.hero-seo-section {
    background: linear-gradient(135deg, #FF2D78 0%, #FF6B6B 100%);
    padding: 40px 20px 32px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 20px rgba(255, 45, 120, 0.3);
}
.hero-seo-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero-seo-content h1 {
    font-family: 'Lilita One', cursive;
    font-size: 2.2rem;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero-seo-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.95;
}
.hero-seo-text {
    font-size: 1.05rem;
    margin-bottom: 24px;
    opacity: 0.95;
    line-height: 1.6;
}
.hero-seo-text strong {
    color: var(--yellow);
    font-weight: 800;
}
.hero-seo-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-hero-primary, .btn-hero-secondary {
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-hero-primary {
    background: var(--white);
    color: var(--hot-pink);
}
.btn-hero-primary:hover {
    background: var(--yellow);
    color: var(--deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--hot-pink);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.btn-hero-primary i, .btn-hero-secondary i {
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════
   CATEGORÍAS DESTACADAS (NUEVO)
═══════════════════════════════════════ */
.categories-featured-section {
    padding: 32px 20px;
    background: var(--white);
}
.categories-featured-section h2 {
    text-align: center;
    font-family: 'Lilita One', cursive;
    color: var(--deep);
    margin-bottom: 24px;
    font-size: 1.6rem;
}
.categories-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}
.category-featured-card {
    background: linear-gradient(135deg, #FFF0F7, #F8E9FF);
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}
.category-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--hot-pink);
}
.category-featured-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 8px;
}
.category-featured-card h3, .category-featured-card strong.category-featured-title {
    font-family: 'Lilita One', cursive;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--deep);
    font-weight: 800;
}
.category-featured-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ═══════════════════════════════════════
   NOVEDADES CERÁMICA - PRODUCT CAROUSEL (NUEVO)
═══════════════════════════════════════ */
.ceramics-featured-section {
    padding: 40px 20px;
    background: linear-gradient(180deg, #FFF0F7 0%, #FFFFFF 100%);
    margin: 20px 0;
}
.ceramics-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.ceramics-section-header h2 {
    font-family: 'Lilita One', cursive;
    color: var(--deep);
    font-size: 1.8rem;
    margin: 0;
}
.ceramics-carousel-nav {
    display: flex;
    gap: 8px;
}
.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--hot-pink);
    background: var(--white);
    color: var(--hot-pink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 1.2rem;
}
.carousel-btn:hover {
    background: var(--hot-pink);
    color: var(--white);
    transform: scale(1.05);
}
.carousel-btn:active {
    transform: scale(0.95);
}
.ceramics-carousel-viewport {
    overflow: hidden;
    position: relative;
}
.ceramics-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px;
}
.ceramics-carousel-track::-webkit-scrollbar {
    display: none;
}
.ceramic-product-card {
    flex: 0 0 280px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
}
.ceramic-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--hot-pink);
}
.ceramic-product-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ceramic-product-image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.off-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FF2D78 0%, #FF6B6B 100%);
    color: var(--white);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 8px rgba(255,45,120,0.3);
}
.ceramic-product-info {
    padding: 16px;
    text-align: center;
}
.ceramic-product-name {
    font-family: 'Lilita One', cursive;
    color: var(--deep);
    font-size: 1rem;
    margin-bottom: 12px;
    line-height: 1.3;
    max-height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ceramic-product-pricing {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    align-items: center;
}
.ceramic-product-pricing .old-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.ceramic-product-pricing .current-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--hot-pink);
}
.ceramic-buy-btn {
    background: linear-gradient(135deg, var(--hot-pink) 0%, var(--magenta) 100%);
    color: var(--white);
    border: none;
    padding: 10px 28px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ceramic-buy-btn:hover {
    background: linear-gradient(135deg, var(--yellow) 0%, #FFD93D 100%);
    color: var(--deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,45,120,0.3);
}

/* Responsive ceramics carousel */
@media (max-width: 768px) {
    .ceramics-section-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .ceramics-section-header h2 {
        font-size: 1.4rem;
    }
    .ceramic-product-card {
        flex: 0 0 240px;
    }
    .ceramic-product-image {
        height: 180px;
    }
}

/* ═══════════════════════════════════════
   MAYORISTAS CTA SECTION (NUEVO)
═══════════════════════════════════════ */
.mayoristas-cta-section {
    background: linear-gradient(135deg, #1A0533 0%, #2E0A4F 100%);
    padding: 40px 20px;
    text-align: center;
    color: var(--white);
    margin: 32px 0;
}
.mayoristas-cta-content {
    max-width: 700px;
    margin: 0 auto;
}
.mayoristas-cta-section h2 {
    font-family: 'Lilita One', cursive;
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.mayoristas-cta-text {
    font-size: 1rem;
    margin-bottom: 16px;
    opacity: 0.95;
}
.mayoristas-cta-text strong {
    color: var(--yellow);
}
.mayoristas-cta-benefits {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}
.btn-mayoristas-cta {
    display: inline-block;
    background: var(--hot-pink);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
}
.btn-mayoristas-cta:hover {
    background: var(--yellow);
    color: var(--deep);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   CTA FINAL SECTION (NUEVO)
═══════════════════════════════════════ */
.cta-final-section {
    background: linear-gradient(135deg, #FFF0F7, #FFE8F0);
    padding: 40px 20px;
    text-align: center;
    border-top: 3px dashed var(--hot-pink);
}
.cta-final-content {
    max-width: 600px;
    margin: 0 auto;
}
.cta-final-content h2 {
    font-family: 'Lilita One', cursive;
    color: var(--deep);
    font-size: 1.6rem;
    margin-bottom: 8px;
}
.cta-final-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}
.cta-final-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-cta-primary, .btn-cta-secondary {
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}
.btn-cta-primary {
    background: var(--hot-pink);
    color: var(--white);
}
.btn-cta-primary:hover {
    background: var(--magenta);
    transform: translateY(-2px);
}
.btn-cta-secondary {
    background: var(--white);
    color: var(--hot-pink);
    border: 2px solid var(--hot-pink);
}
.btn-cta-secondary:hover {
    background: var(--hot-pink);
    color: var(--white);
}

/* ═══════════════════════════════════════
   TOP BAR PROMOCIONAL
═══════════════════════════════════════ */
.top-promo-bar {
    background: linear-gradient(135deg, #2E0A4F 0%, #1A0533 100%);
    padding: 10px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.top-promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.promo-item {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.promo-item i {
    color: var(--yellow);
    font-size: 0.9rem;
}
.promo-item strong {
    color: var(--white);
    font-weight: 700;
}
.promo-divider {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
}
@media (max-width: 768px) {
    .top-promo-content {
        flex-direction: column;
        gap: 6px;
    }
    .promo-divider {
        display: none;
    }
    .promo-item {
        font-size: 0.8rem;
    }
}

/* ═══════════════════════════════════════
   HEADER PRINCIPAL (NUEVA ESTRUCTURA)
═══════════════════════════════════════ */
.header-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 12px 20px;
    background: var(--hot-pink);
    box-shadow: 0 3px 16px rgba(255,45,120,0.35);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-center {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}
.header-search-wrap {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-search-wrap i {
    color: var(--text-muted);
    margin-right: 10px;
}
.header-search-wrap input {
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
    color: var(--text);
}
.header-search-wrap input::placeholder {
    color: var(--text-muted);
}
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    gap: 4px;
    transition: opacity 0.2s;
}
.header-action:hover {
    opacity: 0.9;
}
.header-action i {
    font-size: 1.3rem;
}
.action-label {
    font-size: 0.7rem;
}

/* Responsive Header */
@media (max-width: 768px) {
    .header-main {
        grid-template-columns: auto auto;
        gap: 12px;
        padding: 10px 14px;
    }
    .header-center {
        grid-column: 1 / -1;
        max-width: 100%;
        order: 3;
    }
    .header-search-wrap {
        padding: 6px 12px;
    }
    .header-search-wrap input {
        font-size: 0.85rem;
    }
    .header-action .action-label {
        display: none;
    }
}

/* ═══════════════════════════════════════
   MENÚ HORIZONTAL DE CATEGORÍAS
═══════════════════════════════════════ */
.categories-nav {
    background: var(--deep);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 64px;
    z-index: 90;
}
.categories-nav-inner {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 12px;
}
.nav-scroll-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 12px 8px;
    transition: color 0.2s;
}
.nav-scroll-btn:hover {
    color: var(--yellow);
}
.categories-nav-scroll {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.categories-nav-scroll::-webkit-scrollbar {
    display: none;
}
.nav-item {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 16px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.nav-item:hover, .nav-item.active {
    color: var(--white);
    border-bottom-color: var(--hot-pink);
    background: rgba(255,45,120,0.1);
}

/* ═══════════════════════════════════════
   BANNER SLIDER DE BENEFICIOS (TOP)
═══════════════════════════════════════ */
.benefits-slider-top {
    background: linear-gradient(135deg, #1A0533 0%, #2E0A4F 100%);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    position: relative;
    height: 44px;
    display: flex;
    align-items: center;
}
.benefits-slider-viewport {
    overflow: hidden;
    width: 100%;
}
.benefits-slider-track {
    display: flex;
    gap: 40px;
    animation: slideBenefits 20s linear infinite;
}
.benefits-slider-track:hover {
    animation-play-state: paused;
}
.benefit-slide-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    white-space: nowrap;
    flex-shrink: 0;
}
.benefit-slide-item:first-child {
    padding-left: 100vw;
}
.benefit-slide-icon {
    font-size: 1.3rem;
}
.benefit-slide-text {
    font-size: 0.9rem;
    font-weight: 700;
}
.benefit-slide-text strong {
    color: var(--yellow);
    font-weight: 800;
}

@keyframes slideBenefits {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ═══════════════════════════════════════
   BANNER PROPUESTA DE VALOR
═══════════════════════════════════════ */
.value-prop-banner {
    background: linear-gradient(135deg, #1A0533 0%, #2E0A4F 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.value-prop-item {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}
.value-prop-item i {
    color: var(--yellow);
    font-size: 0.9rem;
}
.value-prop-divider {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
}
@media (max-width: 768px) {
    .value-prop-banner {
        padding: 10px 12px;
        gap: 10px;
    }
    .value-prop-item {
        font-size: 0.75rem;
    }
    .value-prop-divider {
        display: none;
    }
    .hero-seo-section {
        padding: 28px 16px 24px;
    }
    .hero-seo-content h1 {
        font-size: 1.6rem;
    }
    .hero-seo-subtitle {
        font-size: 1rem;
    }
    .hero-seo-text {
        font-size: 0.95rem;
    }
    .hero-seo-cta {
        flex-direction: column;
        align-items: center;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    .categories-featured-grid {
        grid-template-columns: 1fr;
    }
    .mayoristas-cta-section h2 {
        font-size: 1.3rem;
    }
    .mayoristas-cta-benefits {
        flex-direction: column;
        gap: 8px;
    }
    .cta-final-content h2 {
        font-size: 1.3rem;
    }
}

/* ═══════════════════════════════════════
   SUBTÍTULO DE CATEGORÍAS
═══════════════════════════════════════ */
.categories-subtitle-section {
    background: linear-gradient(135deg, #FFF0F7, #F8E9FF);
    padding: 20px 16px;
    text-align: center;
    border-bottom: 2px solid var(--border);
}

.categories-subtitle {
    font-family: 'Lilita One', cursive;
    font-size: 1.3rem;
    color: var(--deep);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.category-highlight {
    color: var(--hot-pink);
    font-weight: 900;
}

.category-separator {
    color: var(--text-muted);
    opacity: 0.6;
}

.categories-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 600;
}

@media (max-width: 768px) {
    .categories-subtitle-section {
        padding: 16px 12px;
    }

    .categories-subtitle {
        font-size: 1.1rem;
    }

    .categories-tagline {
        font-size: 0.85rem;
    }
}

/* ═══════════════════════════════════════
   BENEFICIOS
═══════════════════════════════════════ */
.benefits-section {
    background: white;
    padding: 40px 20px;
    border-bottom: 2px solid var(--border);
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.benefit-card {
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, #FFF0F7, #F8E9FF);
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 45, 120, 0.2);
    border-color: var(--hot-pink);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.benefit-title {
    font-family: 'Lilita One', cursive;
    font-size: 1.1rem;
    color: var(--deep);
    margin: 0 0 8px 0;
}

.benefit-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 30px 16px;
    }

    .benefits-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .benefit-icon {
        font-size: 2.5rem;
    }

    .benefit-title {
        font-size: 1rem;
    }

    .benefit-text {
        font-size: 0.85rem;
    }
}

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

/* ═══════════════════════════════════════
   COUNTDOWN TIMER BANNER
═══════════════════════════════════════ */
.countdown-banner {
    background: linear-gradient(135deg, #FF6B6B, #FF2D78, #D4006A);
    padding: 16px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 45, 120, 0.3);
    animation: countdown-pulse 2s ease-in-out infinite;
}

@keyframes countdown-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 45, 120, 0.3);
    }
    50% {
        box-shadow: 0 6px 30px rgba(255, 45, 120, 0.5);
    }
}

.countdown-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.countdown-icon {
    font-size: 1.5rem;
    animation: countdown-bounce 1s ease infinite;
}

@keyframes countdown-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.countdown-text {
    color: white;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.countdown-segment {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-family: 'Lilita One', cursive;
    font-size: 1.3rem;
    color: white;
    line-height: 1;
}

.countdown-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    font-weight: 700;
}

.countdown-sep {
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    margin-top: -8px;
}

@media (max-width: 768px) {
    .countdown-banner {
        padding: 12px 10px;
    }

    .countdown-text {
        font-size: 0.8rem;
    }

    .countdown-segment {
        min-width: 40px;
        padding: 6px 8px;
    }

    .countdown-number {
        font-size: 1rem;
    }

    .countdown-label {
        font-size: 0.55rem;
    }

    .countdown-sep {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .countdown-banner {
        display: none;
    }
}

/* ═══════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════ */
.breadcrumbs-nav {
    background: white;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
}

.breadcrumbs-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--hot-pink);
}

.breadcrumb-item.separator {
    color: var(--border);
}

.breadcrumb-item.active {
    color: var(--deep);
    font-weight: 800;
}

@media (max-width: 768px) {
    .breadcrumbs-nav {
        padding: 10px 16px;
    }

    .breadcrumb-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .breadcrumbs-nav {
        display: none;
    }
}

/* ═══════════════════════════════════════
   BANNER MAYORISTA STICKY
═══════════════════════════════════════ */
.mayorista-sticky-banner {
    background: linear-gradient(135deg, #FF6B6B, #FF2D78);
    color: white;
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 95;
    box-shadow: 0 2px 12px rgba(255, 45, 120, 0.3);
    display: none;
}

.mayorista-sticky-banner.show {
    display: block;
    animation: slideDownBanner 0.4s ease;
}

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

.mayorista-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mayorista-banner-icon {
    font-size: 1.3rem;
    animation: bounce 1.5s ease infinite;
}

.mayorista-banner-text {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.mayorista-banner-text strong {
    color: var(--yellow);
}

.mayorista-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 700;
    margin-left: 4px;
    transition: color 0.18s;
}

.mayorista-link:hover {
    color: var(--yellow);
}

.mayorista-banner-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.2s;
}

.mayorista-banner-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mayorista-banner-progress {
    max-width: 1200px;
    margin: 8px auto 0;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.mayorista-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--yellow), #FFD93D);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .mayorista-sticky-banner {
        padding: 10px 12px;
    }

    .mayorista-banner-text {
        font-size: 0.8rem;
    }

    .mayorista-banner-icon {
        font-size: 1.1rem;
    }
}

.header-inner {
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Hamburguesa */
.hamburger {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.18);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.hamburger:hover { background: rgba(255,255,255,0.30); }
.hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Brand / logo */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 1;
    justify-content: center;
}
.logo { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: white; padding: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: 'Lilita One', cursive;
    font-size: 1.15rem;
    color: white;
    letter-spacing: 0.01em;
}
.brand-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.85);
    font-weight: 700;
}

/* Botón carrito */
.cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--yellow);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--deep);
    transition: transform 0.15s, box-shadow 0.15s;
    flex-shrink: 0;
}
.cart-btn:hover { transform: scale(1.08); box-shadow: var(--shadow-md); }
.cart-btn:active { transform: scale(0.95); }
.cart-bubble {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    background: var(--hot-pink);
    color: white;
    font-size: 0.68rem;
    font-weight: 900;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid white;
    transition: transform 0.2s;
}
.cart-bubble.bump { animation: bump 0.3s ease; }
@keyframes bump {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* ═══════════════════════════════════════
   MENÚ LATERAL
═══════════════════════════════════════ */
.side-menu {
    position: fixed;
    top: 0; left: 0;
    height: 100%;
    width: 280px;
    background: var(--deep);
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
}
.side-menu.open { transform: translateX(0); }

.side-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    background: var(--hot-pink);
}
.side-menu-title {
    font-family: 'Lilita One', cursive;
    font-size: 1.2rem;
    color: white;
}
.close-menu {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.close-menu:hover { background: rgba(255,255,255,0.35); }

.side-menu-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    flex: 1;
}

.menu-cat {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.75);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}
.menu-cat:hover { background: rgba(255,255,255,0.1); color: white; }
.menu-cat.active { background: var(--hot-pink); color: white; }

/* Menu dinámico con subcategorías anidadas */
.menu-cat-group {
    margin-bottom: 4px;
}

.menu-cat-header {
    font-weight: 800;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-subcat-list {
    display: flex;
    flex-direction: column;
    margin-left: 12px;
    border-left: 2px solid rgba(255,255,255,0.15);
    padding-left: 8px;
}

.menu-subcat {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.65);
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, padding-left 0.15s;
}

.menu-subcat:hover {
    background: rgba(255,255,255,0.08);
    color: white;
    padding-left: 16px;
}

.menu-subcat.active {
    color: var(--hot-pink);
    font-weight: 700;
}

.menu-tag-list {
    display: flex;
    flex-direction: column;
    margin-left: 8px;
    border-left: 1px dashed rgba(255,255,255,0.1);
    padding-left: 8px;
    margin-top: 2px;
}

.menu-tag {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.45);
    font-family: 'Nunito', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 8px;
    cursor: pointer;
    transition: all 0.15s;
}

.menu-tag:hover {
    color: white;
    background: rgba(255,255,255,0.05);
}

.menu-tag.active {
    color: var(--hot-pink);
}

.side-menu-footer {
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: auto;
}

.menu-sep {
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 12px 0;
}

.menu-ig {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: background 0.18s, color 0.18s;
}
.menu-ig:hover { background: rgba(255,255,255,0.08); color: white; }
.menu-ig i { color: #FF6B6B; font-size: 1rem; }

/* ═══════════════════════════════════════
   FILTER BAR
═══════════════════════════════════════ */
.filter-bar {
    position: sticky;
    top: var(--header-h);
    z-index: 90;
    background: white;
    border-bottom: 2px solid var(--border);
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 9px 16px;
    transition: border-color 0.2s;
}
.search-wrap:focus-within { border-color: var(--hot-pink); }
.search-wrap i { color: var(--text-muted); font-size: 0.9rem; }
.search-wrap input {
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    width: 100%;
}
.search-wrap input::placeholder { color: var(--text-muted); }

/* Pills scroll horizontal */
.pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    -ms-overflow-style: none;
}
.pills::-webkit-scrollbar { display: none; }

.pill {
    flex-shrink: 0;
    background: var(--bg);
    border: 2px solid var(--border);
    color: var(--text-muted);
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}
.pill:hover { border-color: var(--hot-pink); color: var(--hot-pink); }
.pill.active {
    background: var(--hot-pink);
    border-color: var(--hot-pink);
    color: white;
    box-shadow: 0 3px 10px rgba(255,45,120,0.35);
}

/* ═══════════════════════════════════════
   MAIN
═══════════════════════════════════════ */
main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 16px 60px;
}

.results-bar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 6px;
}

.cat-heading {
    font-family: 'Lilita One', cursive;
    font-size: 1.4rem;
    color: var(--hot-pink);
}

.results-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* ═══════════════════════════════════════
   GRID DE PRODUCTOS
═══════════════════════════════════════ */

/* #products es el contenedor raíz — solo apila sus hijos en bloque.
   El grid real vive en los .grid hijos que JS inyecta dentro. */
#products {
    display: block;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

/* ═══════════════════════════════════════
   CARD PRODUCTO
═══════════════════════════════════════ */
.product {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
    cursor: pointer;
}
.product:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--hot-pink);
}

/* ═══════════════════════════════════════
   SET PRODUCT CARD — Estilo destacado para sets
═══════════════════════════════════════ */
.product.product-set {
    background: var(--set-bg);
    border: 3px solid var(--set-border);
    box-shadow: 0 4px 16px var(--set-glow);
    animation: setPulse 3s ease-in-out infinite;
}

.product.product-set:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px var(--set-glow);
    border-color: var(--hot-pink);
}

@keyframes setPulse {
    0%, 100% { box-shadow: 0 4px 16px var(--set-glow); }
    50% { box-shadow: 0 6px 24px rgba(255, 107, 107, 0.55); }
}

/* Badge de SET */
.badge-set {
    background: var(--set-badge);
    color: white;
    font-weight: 900;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 8px rgba(255, 45, 120, 0.4);
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Badge de descuento del set */
.badge-set-discount {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--set-discount);
    color: white;
    font-weight: 900;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 8px rgba(6, 214, 160, 0.4);
}

/* Precio original tachado */
.product-price-original {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin: 0;
}

/* Precio con descuento destacado */
.set-price-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.set-price {
    font-size: 1.25rem !important;
    color: var(--hot-pink) !important;
    font-weight: 900;
}

/* Ahorro del set */
.set-ahorro {
    font-size: 0.7rem;
    color: var(--set-discount);
    font-weight: 800;
    margin: 4px 0 0 0;
    background: rgba(6, 214, 160, 0.1);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* Cantidad de cortantes incluidos */
.set-cantidad {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin: 4px 0 0 0;
    font-weight: 700;
}

/* ═══════════════════════════════════════
   COMPARACIÓN DE PRECIOS (antes/ahora)
═══════════════════════════════════════ */
.price-comparison-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price-old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin: 0;
    font-weight: 600;
}

.product-price-new {
    font-family: 'Lilita One', cursive;
    font-size: 1.3rem;
    color: var(--hot-pink);
    margin: 0;
    font-weight: 900;
}

.product-savings {
    font-size: 0.75rem;
    color: white;
    background: linear-gradient(135deg, #06D6A0, #4CC9F0);
    font-weight: 800;
    margin: 6px 0 0 0;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    display: inline-block;
    box-shadow: 0 2px 8px rgba(6, 214, 160, 0.3);
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover .product-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Badge de temporada */
.product-badge.badge-season {
    background: linear-gradient(135deg, var(--hot-pink), var(--coral));
    color: white;
    left: 8px;
    top: 8px;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(255, 45, 120, 0.4);
    animation: season-badge-pulse 2s ease-in-out infinite;
}

@keyframes season-badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 45, 120, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 45, 120, 0.6);
    }
}

/* Badge de set */
.product-badge.badge-set {
    background: var(--set-badge);
    color: white;
    left: 8px;
    top: 8px;
}

/* Badge de más vendido */
.product-badge.badge-bestseller {
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
    color: white;
    left: 8px;
    top: 8px;
    animation: bestseller-pulse 1.5s ease-in-out infinite;
}

@keyframes bestseller-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 65, 108, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 4px 16px rgba(255, 65, 108, 0.6);
    }
}

/* Badge de stock bajo */
.product-badge.badge-urgency {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1A0533;
    left: 8px;
    top: 8px;
    animation: urgency-flash 2s ease-in-out infinite;
}

@keyframes urgency-flash {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

.product-badge.badge-set-discount {
    background: var(--set-discount);
    color: white;
    left: 8px;
    top: 36px;
}

/* Badge de urgencia (stock bajo) */
.product-badge.badge-urgency {
    background: linear-gradient(135deg, #FF6B6B, #FF2D78);
    color: white;
    animation: urgency-pulse 1.5s ease-in-out infinite;
}

@keyframes urgency-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* Badge hot/ventas */
.product-badge.badge-hot {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
}

/* Badge nuevo */
.product-badge.badge-new {
    background: linear-gradient(135deg, #4CC9F0, #7B2FBE);
    color: white;
}

/* Badge kit */
.product-badge.badge-kit {
    background: linear-gradient(135deg, #06D6A0, #4CC9F0);
    color: white;
}

/* Badge de envío gratis */
.product-badge.badge-free-shipping {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
    animation: free-shipping-pulse 2s ease-in-out infinite;
}

@keyframes free-shipping-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 4px 16px rgba(76, 175, 80, 0.6);
    }
}

.product img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: var(--bg);
    display: block;
}

.product-body {
    padding: 10px 12px 4px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product h3 {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: capitalize;
}

/* ═══════════════════════════════════════
   REVIEWS EN PRODUCTOS (grid)
═══════════════════════════════════════ */
.product-reviews {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.product-stars {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.product-reviews-count {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
}

.product-price {
    font-family: 'Lilita One', cursive;
    font-size: 1.05rem;
    color: var(--hot-pink);
    margin-top: 2px;
}

/* Progress bar de envío gratis en PDP */
.shipping-progress-pdp {
    margin-top: 6px;
    padding: 6px 8px;
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.1), rgba(255, 45, 120, 0.08));
    border: 1px solid var(--border);
    border-radius: 6px;
}
.shipping-progress-pdp.shipping-gratis {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.15), rgba(76, 201, 240, 0.1));
    border-color: var(--mint);
}
.shipping-progress-bar {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}
.shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hot-pink), var(--magenta));
    border-radius: 3px;
    transition: width 0.3s ease;
}
.shipping-progress-pdp.shipping-gratis .shipping-progress-fill {
    background: linear-gradient(90deg, var(--mint), #4CAF50);
}
.shipping-progress-text-pdp {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1.3;
}

.product-actions {
    padding: 8px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-add-cart {
    width: 100%;
    background: var(--hot-pink);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.18s, transform 0.1s;
    letter-spacing: 0.01em;
}
.btn-add-cart:hover { background: var(--magenta); }
.btn-add-cart:active { transform: scale(0.96); }
.btn-add-cart.added { background: var(--mint); color: var(--deep); }

.btn-details {
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    padding: 7px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    transition: all 0.18s;
}
.btn-details:hover {
    border-color: var(--hot-pink);
    color: var(--hot-pink);
    background: var(--bg);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 700;
    display: none;
}

/* Link invisible sobre imagen de producto para accesibilidad */
.product-img-link {
    display: block;
    line-height: 0;
}

/* ═══════════════════════════════════════
   CARRITO PANEL
═══════════════════════════════════════ */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,5,51,0.45);
    z-index: 195;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.cart-overlay.show { display: block; }

.cart-panel {
    position: fixed;
    top: 0; right: 0;
    height: 100%;
    width: 340px;
    max-width: 95vw;
    background: white;
    z-index: 200;
    transform: translateX(110%);
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 32px rgba(26,5,51,0.18);
}
.cart-panel.open { transform: translateX(0); }

.cart-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--hot-pink);
}
.cart-panel-top h2 {
    font-family: 'Lilita One', cursive;
    font-size: 1.15rem;
    color: white;
}
.close-cart {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 32px; height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.close-cart:hover { background: rgba(255,255,255,0.35); }

.cart-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
    color: var(--text-muted);
    text-align: center;
    padding: 40px 20px;
}
.cart-empty-state span { font-size: 2.5rem; }
.cart-empty-state p { font-weight: 800; font-size: 1rem; }
.cart-empty-state small { font-size: 0.82rem; line-height: 1.4; }

/* Item del carrito */
.cart-item {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: slideIn 0.2s ease;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
.cart-item-name {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    text-transform: capitalize;
}
.btn-remove {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    color: #ccc;
    flex-shrink: 0;
    transition: color 0.2s;
    padding: 2px;
}
.btn-remove:hover { color: var(--coral); }

.cart-item-custom {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

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

.qty-box {
    display: flex;
    align-items: center;
    gap: 0;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
}
.qty-box button {
    background: none;
    border: none;
    width: 30px; height: 28px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 900;
    color: var(--hot-pink);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.qty-box button:hover { background: var(--bg); }
.qty-box span {
    min-width: 28px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--text);
}

.cart-item-price {
    font-family: 'Lilita One', cursive;
    font-size: 1rem;
    color: var(--hot-pink);
}

/* Footer carrito */
.cart-footer {
    padding: 16px 20px;
    border-top: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-total-row span { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); }
.cart-total-row strong {
    font-family: 'Lilita One', cursive;
    font-size: 1.5rem;
    color: var(--hot-pink);
}

/* Estimación de envío en carrito */
.shipping-estimate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    margin: 8px 0;
}
.shipping-estimate-row span:first-child {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}
#shipping-estimate {
    font-family: 'Lilita One', cursive;
    font-size: 1.1rem;
    color: var(--text-muted);
}
#shipping-estimate-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* ═══════════════════════════════════════
   TRUST BADGES (carrito)
═══════════════════════════════════════ */
.trust-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 8px 0;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-align: center;
}

.trust-badge i {
    font-size: 1.3rem;
    color: var(--hot-pink);
}

@media (max-width: 480px) {
    .trust-badges-container {
        gap: 10px;
    }

    .trust-badge {
        font-size: 0.65rem;
    }

    .trust-badge i {
        font-size: 1.1rem;
    }
}

.btn-whatsapp {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.18s, transform 0.1s, box-shadow 0.18s;
    box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover { background: #1da851; box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
.btn-whatsapp:active { transform: scale(0.97); }
.btn-whatsapp i { font-size: 1.1rem; }

/* ═══════════════════════════════════════
   DETALLE PRODUCTO (product.html)
═══════════════════════════════════════ */
.product-detail-wrap {
    max-width: 860px;
    margin: 30px auto;
    padding: 0 16px 60px;
}

.product-container {
    display: flex;
    gap: 32px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-md);
    flex-wrap: wrap;
}
.product-image {
    width: 40%;
    min-width: 200px;
    max-width: 320px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    aspect-ratio: 1/1;
    background: var(--bg);
}
.product-info {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.product-info h1 {
    font-family: 'Lilita One', cursive;
    font-size: 1.6rem;
    color: var(--hot-pink);
    text-transform: capitalize;
}
.product-info .product-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.product-info .product-price {
    font-family: 'Lilita One', cursive;
    font-size: 2rem;
    color: var(--hot-pink);
}
.product-info label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text);
}
.product-info input[type="text"] {
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.product-info input:focus { border-color: var(--hot-pink); }

#addToCartBtn {
    background: var(--hot-pink);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}
#addToCartBtn:hover { background: var(--magenta); }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.18s;
}
.back-link:hover { color: var(--hot-pink); }

/* ════════════════════════════════════════════════════════
   BUY NOW BUTTON (product.html)
════════════════════════════════════════════════════════ */
.btn-buy-now {
    width: 100%;
    background: var(--deep);
    color: white;
    border: none;
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.btn-buy-now:hover  { background: #2E0A4F; }
.btn-buy-now:active { transform: scale(0.97); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
    background: var(--deep);
    padding: 40px 16px 20px;
    margin-top: 20px;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.footer-col h4, .footer-col-title {
    color: #FFFFFF !important;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li {
    margin-bottom: 8px;
}
.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s;
}
.footer-col a:hover {
    color: var(--hot-pink);
}
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}
footer p { font-size: 0.82rem; color: rgba(255,255,255,0.55); font-weight: 700; }
.footer-seo {
    margin-top: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    text-decoration: none;
    color: var(--hot-pink);
    font-size: 0.88rem;
    font-weight: 800;
    transition: color 0.18s;
}
.footer-links a:hover { color: var(--yellow); }

/* Footer responsive */
@media (min-width: 480px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Footer payment methods */
.footer-payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

/* ═══════════════════════════════════════
   RESPONSIVE GRID & LAYOUT
═══════════════════════════════════════ */

/* 480px: 2 cols más cómodas */
@media (min-width: 480px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* 640px: 3 cols */
@media (min-width: 640px) {
    .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .filter-bar { flex-direction: row; align-items: center; flex-wrap: wrap; }
    .search-wrap { max-width: 260px; }
}

/* 900px: 4 cols */
@media (min-width: 900px) {
    .grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    main { padding: 24px 20px 80px; }
}

/* 1200px: 5 cols */
@media (min-width: 1200px) {
    .grid { grid-template-columns: repeat(5, 1fr); gap: 18px; }
    main { padding: 28px 24px 80px; }
}

/* Muy chico: asegurar 2 cols siempre */
@media (max-width: 359px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product h3 { font-size: 0.72rem; }
    .product-price { font-size: 0.9rem; }
    .btn-add-cart { font-size: 0.75rem; padding: 7px; }
    .brand-name { font-size: 0.9rem; }
}

/* Product detail responsive */
@media (max-width: 600px) {
    .product-container {
        flex-direction: column;
        padding: 20px 16px;
        gap: 16px;
    }
    .product-image {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
    }
    .product-info { min-width: unset; }
    .product-detail-wrap { padding: 0 12px 40px; margin-top: 16px; }
    .product-info h1 { font-size: 1.3rem; }
    .product-info .product-price { font-size: 1.6rem; }
}

/* ═══════════════════════════════════════
   DESCUENTO MAYORISTA EN CARRITO
═══════════════════════════════════════ */
.discount-row {
    background: linear-gradient(135deg, #FFF8E1, #FFF3F8);
    border: 2px dashed var(--yellow);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    animation: slideIn 0.2s ease;
}
.discount-row-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.disc-label {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--deep);
}
.disc-amount {
    font-family: 'Lilita One', cursive;
    font-size: 1rem;
    color: var(--mint);
    white-space: nowrap;
}
.disc-subtotal {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-top: 3px;
}
.discount-row.pending {
    background: var(--bg);
    border: 2px dashed var(--border);
}
.disc-pending-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-align: center;
}

/* Badge de usuario en carrito */
.user-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}
.user-badge strong { color: var(--hot-pink); }
.user-badge button {
    background: none;
    border: none;
    font-size: 0.72rem;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.15s;
}
.user-badge button:hover { background: var(--border); }

/* ═══════════════════════════════════════
   BARRA PEDIDO PENDIENTE
═══════════════════════════════════════ */
.pending-order-bar {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    position: sticky;
    top: var(--header-h);
    z-index: 80;
    padding: 12px 20px;
    animation: slideDown 0.3s ease;
}
.pending-order-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.pending-order-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}
.pending-order-icon { font-size: 1.3rem; }
.pending-order-title {
    font-family: 'Lilita One', cursive;
    font-size: .95rem;
    color: white;
}
.pending-order-subtitle {
    font-size: .78rem;
    opacity: .85;
    font-weight: 700;
    color: white;
}
.pending-order-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-pending-confirm {
    background: #25D366;
    border: none;
    color: white;
    padding: 9px 16px;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: .85rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-pending-confirm:hover { background: #1ebe5d; }
.btn-pending-cancel {
    background: transparent;
    border: 1px solid rgba(255,255,255,.4);
    color: rgba(255,255,255,.85);
    padding: 9px 14px;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
}
.btn-pending-cancel:hover { background: rgba(255,255,255,.1); }
.btn-pending-order-comprobante {
    background: #25D366; color: white; border: none; padding: 9px 16px;
    border-radius: 8px; font-family: 'Nunito', sans-serif;
    font-size: 0.85rem; font-weight: 900; cursor: pointer;
    display: flex; align-items: center; gap: 6px;
}
.btn-pending-order-comprobante:hover { background: #1ebe5d; }

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

/* ════════════════════════════════════════════════════════
   BADGES
════════════════════════════════════════════════════════ */
.badge {
    background: #ff2d78;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
}
.badge-hot     { background: var(--hot-pink) !important; color: white !important; }
.badge-new     { background: var(--mint) !important;     color: var(--deep) !important; }
.badge-kit     { background: var(--yellow) !important;   color: var(--deep) !important; }
.badge-urgency {
    background: #FF6B2B !important;
    color: white !important;
    animation: pulse-urgency 2s infinite;
}
@keyframes pulse-urgency {
    0%,100% { box-shadow: 0 0 0 0 rgba(255,107,43,0.4); }
    50%      { box-shadow: 0 0 0 5px rgba(255,107,43,0); }
}

/* ════════════════════════════════════════════════════════
   SUB-PILLS (subcategorías)
════════════════════════════════════════════════════════ */
.sub-pills {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 16px 6px;
    background: white;
    border-bottom: 1px solid var(--border);
    scrollbar-width: none;
}
.sub-pills::-webkit-scrollbar { display: none; }
.sub-pill {
    flex-shrink: 0;
    background: var(--bg);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 13px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}
.sub-pill:hover  { border-color: var(--hot-pink); color: var(--hot-pink); }
.sub-pill.active {
    background: var(--hot-pink);
    border-color: var(--hot-pink);
    color: white;
}

/* ════════════════════════════════════════════════════════
   TAG-FILTERS (filtros por tags)
════════════════════════════════════════════════════════ */
.tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 16px;
    background: #FAFAFA;
    border-bottom: 1px solid var(--border);
    scrollbar-width: none;
}
.tag-filters::-webkit-scrollbar { display: none; }
.tag-pill {
    flex-shrink: 0;
    background: white;
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Nunito', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}
.tag-pill:hover {
    border-color: var(--hot-pink);
    color: var(--hot-pink);
}
.tag-pill.active {
    background: var(--hot-pink);
    border-color: var(--hot-pink);
    color: white;
}
.sub-pill.active { background: var(--hot-pink); border-color: var(--hot-pink); color: white; }

/* Tag de subcategoría en la card */
.product-sub-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 1px 7px;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ════════════════════════════════════════════════════════
   SECCIÓN HEADING (más vendidos, combos)
════════════════════════════════════════════════════════ */

/* Seguridad extra: si algún día #products vuelve a ser grid,
   estos elementos siempre abarcan todas las columnas */
#products > .section-title-row,
#products > .grid-compact,
#products > .combos-section,
.grid > .section-title-row,
.grid > .grid-compact,
.grid > .combos-section {
    grid-column: 1 / -1;
}

.section-title-row { margin-top: 4px; margin-bottom: 0; }
.section-heading {
    font-family: 'Lilita One', cursive;
    font-size: 1.05rem;
    color: var(--deep);
    padding: 0 0 8px;
    border-bottom: 2px dashed var(--border);
    margin-bottom: 14px;
    margin-top: 20px;
}

/* ════════════════════════════════════════════════════════
   SECCIÓN DE SETS — Estilo destacado para la sección de sets
════════════════════════════════════════════════════════ */
.section-sets {
    margin-top: 0 !important;
    padding: 20px 0;
    background: linear-gradient(135deg, #FFF0F7 0%, #FFE0ED 100%);
    border-radius: var(--radius);
    margin-bottom: 20px;
    border: 2px solid var(--set-border);
}

.section-sets-title {
    font-family: 'Lilita One', cursive;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #FF2D78 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sets-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    -webkit-text-fill-color: var(--text-muted);
}

/* Grid especial para sets */
.grid-sets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 16px;
}
@media (min-width: 640px)  { .grid-sets { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .grid-sets { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .grid-sets { grid-template-columns: repeat(5, 1fr); } }

/* Botón ver más sets */
.ver-mas-sets {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.btn-ver-sets {
    background: linear-gradient(135deg, #FF2D78 0%, #FF6B6B 100%);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(255, 45, 120, 0.3);
}

.btn-ver-sets:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(255, 45, 120, 0.45);
}

/* ════════════════════════════════════════════════════════
   CATEGORÍAS DESTACADAS (home)
════════════════════════════════════════════════════════ */
.category-section {
    margin-top: 28px;
    margin-bottom: 8px;
}
.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 10px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 14px;
}
.category-title {
    font-family: 'Lilita One', cursive;
    font-size: 1.15rem;
    color: var(--deep);
    margin: 0;
}
.btn-ver-mas {
    background: var(--hot-pink);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}
.btn-ver-mas:hover {
    background: var(--magenta);
    transform: scale(1.05);
}
.grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}
@media (min-width: 640px)  { .grid-compact { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .grid-compact { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .grid-compact { grid-template-columns: repeat(5, 1fr); } }

/* ════════════════════════════════════════════════════════
   COMBOS
════════════════════════════════════════════════════════ */
.combos-section  { margin-top: 28px; }
.combos-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    -ms-overflow-style: none;
}
.combos-row::-webkit-scrollbar { display: none; }
.combo-card {
    background: white;
    border: 2px solid var(--yellow);
    border-radius: var(--radius);
    padding: 14px;
    min-width: 210px;
    max-width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 3px 12px rgba(255,211,61,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}
.combo-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255,211,61,0.3); }
.combo-imgs { display: flex; gap: 5px; }
.combo-imgs img {
    width: 44px; height: 44px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.combo-label { font-family: 'Lilita One', cursive; font-size: 0.85rem; color: var(--deep); }
.combo-desc  { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); line-height: 1.4; }
.combo-precio { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.combo-total  { font-family: 'Lilita One', cursive; font-size: 1rem; color: var(--hot-pink); }
.combo-ahorro {
    font-size: 0.68rem; font-weight: 900; color: var(--mint);
    background: #E8FFF6; padding: 2px 6px; border-radius: var(--radius-pill);
}
.btn-combo {
    background: var(--yellow); color: var(--deep); border: none;
    padding: 9px 12px; border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif; font-size: 0.82rem; font-weight: 900;
    cursor: pointer; width: 100%; transition: background 0.2s, transform 0.1s;
}
.btn-combo:hover  { background: #FFC800; }
.btn-combo:active { transform: scale(0.97); }

/* ════════════════════════════════════════════════════════
   UPSSELL EN CARRITO — Envío gratis, Bundles, Recomendados
════════════════════════════════════════════════════════ */

/* Progress bar de envío gratis */
.upsell-shipping-progress {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border: 2px solid #4CAF50;
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 12px;
}

.shipping-progress-bar {
    height: 8px;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.shipping-progress-text {
    font-size: 0.8rem;
    color: #2E7D32;
    text-align: center;
    font-weight: 600;
}

/* Mensaje de envío gratis logrado */
.upsell-free-shipping {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border: 2px solid #4CAF50;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2E7D32;
    animation: free-ship-pulse 2s ease-in-out infinite;
}

@keyframes free-ship-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
}

/* Sugerencia de bundle */
.upsell-bundle-suggestion {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border: 2px dashed #FF9800;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #E65100;
}

/* ════════════════════════════════════════════════════════
   CHECKOUT POR PASOS (3 PASOS)
════════════════════════════════════════════════════════ */

/* Barra de progreso de pasos */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(135deg, #FFF0F7, #F8E9FF);
    border-bottom: 2px solid var(--border);
    margin-bottom: 16px;
}

.checkout-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E0E0E0;
    color: #757575;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.checkout-step-indicator.active .step-number {
    background: var(--hot-pink);
    color: white;
    box-shadow: 0 0 0 4px rgba(255, 45, 120, 0.3);
    animation: step-pulse 1.5s ease-in-out infinite;
}

.checkout-step-indicator.completed .step-number {
    background: #4CAF50;
    color: white;
}

.step-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #757575;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.checkout-step-indicator.active .step-label {
    color: var(--hot-pink);
}

.checkout-step-indicator.completed .step-label {
    color: #4CAF50;
}

.checkout-progress-bar {
    flex: 1;
    height: 3px;
    background: #E0E0E0;
    margin: 0 8px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.checkout-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--hot-pink), #4CAF50);
    transition: width 0.4s ease;
}

.checkout-progress-bar.filled::after {
    width: 100%;
}

@keyframes step-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Pasos individuales */
.checkout-paso {
    animation: fadeInStep 0.4s ease;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.checkout-paso-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--deep);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.checkout-buttons {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.checkout-buttons .btn-volver-carrito,
.checkout-buttons .btn-continuar-pago {
    flex: 1;
    max-width: 48%;
}

/* Responsive para checkout */
@media (max-width: 480px) {
    .checkout-progress {
        padding: 12px 8px;
    }

    .step-label {
        font-size: 0.6rem;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/* ════════════════════════════════════════════════════════
   RECOMENDADO EN CARRITO — Con soporte para temporada
════════════════════════════════════════════════════════ */
.cart-recomendados-container {
    background: linear-gradient(135deg, #FFF8E1, #FFF3F8);
    border: 2px dashed var(--yellow);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-top: 8px;
}

.cart-rec-label {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Grid de recomendados (nuevo diseño) */
.cart-recs-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 480px) {
    .cart-recs-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.cart-rec-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    transition: all 0.2s ease;
}

.cart-rec-card:hover {
    border-color: var(--hot-pink);
    box-shadow: 0 4px 12px rgba(255, 45, 120, 0.15);
    transform: translateY(-2px);
}

.cart-rec-card img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-rec-info {
    flex: 1;
    min-width: 0;
}

.cart-rec-name {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text);
    text-transform: capitalize;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-rec-price {
    font-family: 'Lilita One', cursive;
    font-size: 0.9rem;
    color: var(--hot-pink);
    margin-top: 2px;
}

.cart-rec-btn {
    background: var(--hot-pink);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
    box-shadow: 0 2px 8px rgba(255, 45, 120, 0.2);
}

.cart-rec-btn:hover {
    background: var(--magenta);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 45, 120, 0.3);
}

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

/* ════════════════════════════════════════════════════════
   BACKGROUND GRADIENT ANIMATION — Adaptado a paleta Vituprint
   Inspirado en "Tienda Nube" — UX/UI moderno y vibrante
════════════════════════════════════════════════════════ */

/* Variables CSS para el gradiente animado (adaptadas a la paleta existente) */
:root {
    --gradient-bg-start: rgb(255, 45, 120);    /* hot-pink */
    --gradient-bg-end:   rgb(26, 5, 51);       /* deep */
    --gradient-color-1:  255, 107, 107;        /* coral */
    --gradient-color-2:  255, 217, 61;         /* yellow */
    --gradient-color-3:  6, 214, 160;          /* mint */
    --gradient-color-4:  76, 201, 240;         /* sky */
    --gradient-color-5:  123, 47, 190;         /* purple */
    --gradient-size:     80%;
    --gradient-blending: hard-light;
}

/* Animaciones de gradiente */
@keyframes gradient-move-vertical {
    0%   { transform: translateY(-50%); }
    50%  { transform: translateY(50%); }
    100% { transform: translateY(-50%); }
}

@keyframes gradient-move-horizontal {
    0%   { transform: translateX(-50%) translateY(-10%); }
    50%  { transform: translateX(50%) translateY(10%); }
    100% { transform: translateX(-50%) translateY(-10%); }
}

@keyframes gradient-rotate {
    0%   { transform: rotate(0deg); }
    50%  { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

/* Fondo gradiente animado opcional para secciones */
.gradient-bg {
    background: linear-gradient(135deg, var(--gradient-bg-start), var(--gradient-bg-end));
    position: relative;
    overflow: hidden;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    width: var(--gradient-size);
    height: var(--gradient-size);
    top: calc(50% - var(--gradient-size) / 2);
    left: calc(50% - var(--gradient-size) / 2);
    background: radial-gradient(circle at center, rgba(var(--gradient-color-1), 0.6) 0%, rgba(var(--gradient-color-1), 0) 70%);
    mix-blend-mode: var(--gradient-blending);
    animation: gradient-move-vertical 25s ease infinite;
    pointer-events: none;
}

.gradient-bg::after {
    content: '';
    position: absolute;
    width: var(--gradient-size);
    height: var(--gradient-size);
    top: calc(50% - var(--gradient-size) / 2);
    left: calc(50% - var(--gradient-size) / 2);
    background: radial-gradient(circle at center, rgba(var(--gradient-color-2), 0.5) 0%, rgba(var(--gradient-color-2), 0) 70%);
    mix-blend-mode: var(--gradient-blending);
    animation: gradient-rotate 30s linear infinite;
    transform-origin: calc(50% - 300px) calc(50% + 300px);
    pointer-events: none;
}

/* Header con gradiente animado suave */
header {
    background: linear-gradient(135deg, var(--hot-pink), var(--magenta));
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 107, 0.3) 0%, transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(255, 217, 61, 0.2) 0%, transparent 60%);
    animation: gradient-move-horizontal 20s ease-in-out infinite;
    pointer-events: none;
}

.header-inner {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════
   TESTIMONIOS
═══════════════════════════════════════ */
.testimonials-section {
    background: linear-gradient(135deg, #FFF0F7 0%, #F8E9FF 100%);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 45, 120, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(123, 47, 190, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonials-title {
    font-family: 'Lilita One', cursive;
    font-size: 2rem;
    color: var(--deep);
    text-align: center;
    margin-bottom: 8px;
}

.testimonials-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 16px rgba(255, 45, 120, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 45, 120, 0.2);
    border-color: var(--hot-pink);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    font-size: 2.5rem;
    line-height: 1;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-info strong {
    color: var(--deep);
    font-weight: 800;
    font-size: 0.9rem;
}

.testimonial-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive para testimonios */
@media (max-width: 640px) {
    .testimonials-section {
        padding: 40px 16px;
    }

    .testimonials-title {
        font-size: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   PREGUNTAS FRECUENTES (FAQ)
═══════════════════════════════════════ */
.faq-section {
    background: linear-gradient(135deg, #FFF0F7, #F8E9FF);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 45, 120, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-title {
    font-family: 'Lilita One', cursive;
    font-size: 1.8rem;
    color: var(--deep);
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: white;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    border-color: var(--hot-pink);
    box-shadow: 0 4px 12px rgba(255, 45, 120, 0.1);
}

.faq-item[open] {
    border-color: var(--hot-pink);
    box-shadow: 0 6px 16px rgba(255, 45, 120, 0.15);
}

.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: var(--deep);
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    transition: background 0.2s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: rgba(255, 45, 120, 0.05);
}

.faq-q-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 20px 18px 52px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    animation: fadeInAnswer 0.3s ease;
}

@keyframes fadeInAnswer {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Seguridad del producto en FAQ */
.safety-info {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid var(--hot-pink);
}
.safety-info p {
    margin-bottom: 12px;
    color: var(--text);
}
.safety-tips {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}
.safety-tips li {
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.safety-tips li strong {
    color: var(--deep);
}
.safety-conclusion {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-weight: 700;
    color: var(--deep);
}

/* Responsive para FAQ */
@media (max-width: 640px) {
    .faq-section {
        padding: 40px 16px;
    }

    .faq-title {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 16px 16px 48px;
        font-size: 0.9rem;
    }

    .safety-info {
        padding: 12px;
    }
}

/* ═══════════════════════════════════════
   VISTOS RECIENTEMENTE
═══════════════════════════════════════ */
.recently-viewed-section {
    background: white;
    padding: 50px 20px;
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
}

.recently-viewed-container {
    max-width: 1200px;
    margin: 0 auto;
}

.recently-viewed-title {
    font-family: 'Lilita One', cursive;
    font-size: 1.5rem;
    color: var(--deep);
    margin-bottom: 24px;
    text-align: left;
}

.recently-viewed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .recently-viewed-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.recently-viewed-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recently-viewed-card:hover {
    border-color: var(--hot-pink);
    box-shadow: 0 6px 20px rgba(255, 45, 120, 0.15);
    transform: translateY(-4px);
}

.recently-viewed-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    background: var(--bg);
    margin-bottom: 10px;
}

.recently-viewed-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recently-viewed-price {
    font-family: 'Lilita One', cursive;
    font-size: 0.95rem;
    color: var(--hot-pink);
    margin-top: 4px;
}

/* ═══════════════════════════════════════
   EXIT INTENT POPUP
═══════════════════════════════════════ */
.exit-intent-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 5, 51, 0.8);
    z-index: 1001;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: fadeInOverlay 0.3s ease;
}

.exit-intent-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.exit-intent-modal {
    background: white;
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: scaleInPopup 0.4s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    border: 3px solid var(--hot-pink);
}

@keyframes scaleInPopup {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.exit-intent-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 1;
}

.exit-intent-close:hover {
    background: var(--bg);
    color: var(--hot-pink);
    transform: rotate(90deg);
}

.exit-intent-content {
    padding: 50px 40px;
    text-align: center;
    background: linear-gradient(135deg, #FFF0F7, #F8E9FF);
    border-radius: calc(var(--radius) - 3px);
}

.exit-intent-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 2s ease infinite;
}

.exit-intent-title {
    font-family: 'Lilita One', cursive;
    font-size: 2rem;
    color: var(--deep);
    margin-bottom: 12px;
    line-height: 1.2;
}

.exit-intent-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.exit-intent-subtitle strong {
    color: var(--hot-pink);
    font-weight: 900;
}

.exit-intent-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 350px;
    margin: 0 auto 20px;
}

.exit-intent-input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.exit-intent-input:focus {
    outline: none;
    border-color: var(--hot-pink);
    box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.15);
}

.btn-exit-intent {
    background: linear-gradient(135deg, var(--hot-pink), var(--magenta));
    color: white;
    border: none;
    padding: 18px;
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(255, 45, 120, 0.35);
}

.btn-exit-intent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 45, 120, 0.45);
}

.btn-exit-intent:active {
    transform: translateY(-1px);
}

.exit-intent-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

@media (max-width: 480px) {
    .exit-intent-modal {
        margin: 10px;
    }

    .exit-intent-content {
        padding: 40px 24px;
    }

    .exit-intent-title {
        font-size: 1.6rem;
    }

    .exit-intent-icon {
        font-size: 4rem;
    }
}

/* ═══════════════════════════════════════
   SOCIAL PROOF NOTIFICATIONS
═══════════════════════════════════════ */
.social-proof-notification {
    position: fixed;
    bottom: 90px;
    left: 20px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    padding: 14px 16px;
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 998;
    max-width: 320px;
    border: 2px solid var(--border);
    animation: slideInLeft 0.5s ease;
}

.social-proof-notification.show {
    display: flex;
}

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

.social-proof-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.social-proof-content {
    flex: 1;
    min-width: 0;
}

.social-proof-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--deep);
    margin-bottom: 4px;
}

.social-proof-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-proof-product {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hot-pink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-proof-location {
    font-size: 0.7rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .social-proof-notification {
        bottom: 80px;
        left: 10px;
        max-width: 280px;
        padding: 12px;
    }
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
    background: linear-gradient(135deg, var(--deep), #2E0A4F);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 45, 120, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(123, 47, 190, 0.15) 0%, transparent 50%);
    animation: gradient-rotate 40s linear infinite;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP
═══════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}
.whatsapp-float i {
    font-size: 32px;
    color: white;
}
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    .whatsapp-float i {
        font-size: 28px;
    }
}

/* ═══════════════════════════════════════
   NEWSLETTER POPUP
═══════════════════════════════════════ */
.newsletter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 5, 51, 0.7);
    z-index: 1000;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    animation: fadeInOverlay 0.3s ease;
}

.newsletter-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.newsletter-modal {
    background: white;
    border-radius: var(--radius);
    max-width: 450px;
    width: 100%;
    position: relative;
    animation: slideInFromBottom 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--hot-pink);
}

.newsletter-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 1;
}

.newsletter-close:hover {
    background: var(--bg);
    color: var(--hot-pink);
    transform: rotate(90deg);
}

.newsletter-content {
    padding: 40px 30px;
    text-align: center;
}

.newsletter-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.newsletter-title {
    font-family: 'Lilita One', cursive;
    font-size: 1.8rem;
    color: var(--deep);
    margin-bottom: 8px;
}

.newsletter-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--hot-pink);
    box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.1);
}

.btn-newsletter-submit {
    background: linear-gradient(135deg, var(--hot-pink), var(--magenta));
    color: white;
    border: none;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(255, 45, 120, 0.3);
}

.btn-newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 45, 120, 0.4);
}

.btn-newsletter-submit:active {
    transform: translateY(0);
}

.newsletter-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Responsive para newsletter */
@media (max-width: 480px) {
    .newsletter-modal {
        margin: 10px;
    }

    .newsletter-content {
        padding: 30px 20px;
    }

    .newsletter-title {
        font-size: 1.5rem;
    }

    .newsletter-icon {
        font-size: 3rem;
    }
}

/* Efecto hover con gradiente en botones principales */
.btn-add-cart,
.btn-confirmar-pedido,
.btn-combo {
    position: relative;
    overflow: hidden;
}

.btn-add-cart::before,
.btn-confirmar-pedido::before,
.btn-combo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    border-radius: 50%;
}

.btn-add-cart:hover::before,
.btn-confirmar-pedido:hover::before,
.btn-combo:hover::before {
    width: 300px;
    height: 300px;
}

/* Animación de entrada para elementos */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar animaciones a componentes */
.side-menu.open {
    animation: slideInFromLeft 0.3s ease forwards;
}

.cart-panel.open {
    animation: slideInFromRight 0.3s ease forwards;
}

.transf-modal.open {
    animation: slideInFromBottom 0.35s ease forwards;
}

/* Efecto de shimmer en cards */
.product {
    position: relative;
}

.product::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.product:hover::after {
    left: 100%;
}

/* Efecto de onda en pills al hacer click */
.pill {
    position: relative;
    overflow: hidden;
}

.pill::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 45, 120, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.pill:active::after {
    width: 200px;
    height: 200px;
}

/* Gradiente animado para badges especiales */
.badge-hot {
    background: linear-gradient(135deg, #FF2D78, #FF6B6B);
    animation: pulse-badge 2s ease infinite;
}

.badge-new {
    background: linear-gradient(135deg, #06D6A0, #4CC9F0);
}

.badge-kit {
    background: linear-gradient(135deg, #FFD93D, #FF6B6B);
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 45, 120, 0.4);
    }
    50% {
        box-shadow: 0 4px 16px rgba(255, 45, 120, 0.6);
    }
}

/* Efecto de gradiente en barra de búsqueda */
.search-wrap {
    position: relative;
}

.search-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--hot-pink), var(--purple), var(--mint));
    background-size: 200% 200%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradient-shift 3s ease infinite;
}

.search-wrap:focus-within::before {
    opacity: 0.5;
}

@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animación de loading para Mercado Pago */
.mp-loading {
    position: relative;
}

.mp-spinner {
    background: conic-gradient(from 0deg, var(--hot-pink), var(--purple), var(--sky), var(--hot-pink));
    animation: spin-mp 1s linear infinite;
}

@keyframes spin-mp {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Efecto parallax suave para imágenes de productos */
.product img {
    transition: transform 0.4s ease;
}

.product:hover img {
    transform: scale(1.08);
}

/* Gradiente para la barra de progreso de descuento mayorista */
.discount-row {
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.2), rgba(6, 214, 160, 0.2));
    border: 2px solid var(--yellow);
    position: relative;
    overflow: hidden;
}

.discount-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 100%; }
}

/* Badge de usuario con gradiente */
.user-badge {
    background: linear-gradient(135deg, rgba(255, 45, 120, 0.1), rgba(123, 47, 190, 0.1));
    border: 1.5px solid var(--hot-pink);
}

/* Animación de entrada para el carrito vacío */
.cart-empty-state {
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Efecto de gradiente en productos relacionados */
.related-card {
    position: relative;
    overflow: hidden;
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(255, 45, 120, 0.1) 100%);
    pointer-events: none;
}

/* Mejora responsive para el gradiente */
@media (max-width: 768px) {
    :root {
        --gradient-size: 120%;
    }

    header::before {
        animation: gradient-move-horizontal 15s ease-in-out infinite;
    }
}

/* Accesibilidad — reducir movimiento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ════════════════════════════════════════════════════════
   SEASONS BANNERS — Banners dinámicos por temporada
════════════════════════════════════════════════════════ */

/* Contenedor principal de banners */
.seasons-banner-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    position: relative;
    z-index: 90;
}

/* Banner individual */
.seasons-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Banner animado (entrada deslizante) */
.banner-animado {
    animation: banner-slide-in 0.5s ease-out forwards;
}

@keyframes banner-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Banner cerrado (animación de salida) */
.banner-cerrado {
    animation: banner-slide-out 0.3s ease-in forwards;
}

@keyframes banner-slide-out {
    from {
        opacity: 1;
        max-height: 60px;
    }
    to {
        opacity: 0;
        max-height: 0;
        margin: 0;
        padding: 0;
    }
}

/* Contenido del banner */
.seasons-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

/* Icono del banner */
.seasons-banner-icono {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Texto del banner */
.seasons-banner-texto {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

/* Botón cerrar banner */
.seasons-banner-close {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.seasons-banner-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.seasons-banner-close:active {
    transform: scale(0.95);
}

/* Efecto de patrón de fondo */
.seasons-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.05) 10px,
            rgba(255, 255, 255, 0.05) 20px
        );
    pointer-events: none;
    opacity: 0.5;
}

/* Banner en móvil */
@media (max-width: 768px) {
    .seasons-banner {
        padding: 10px 14px;
    }

    .seasons-banner-texto {
        font-size: 0.85rem;
    }

    .seasons-banner-icono {
        font-size: 1.2rem;
    }

    .seasons-banner-close {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .seasons-banner {
        padding: 8px 12px;
    }

    .seasons-banner-texto {
        font-size: 0.78rem;
    }

    .seasons-banner-content {
        gap: 8px;
    }
}

/* Banner en desktop — bordes redondeados */
@media (min-width: 769px) {
    .seasons-banner {
        border-radius: 12px;
        margin: 8px auto;
    }
}

/* Banner múltiple — primer banner con más énfasis */
.seasons-banner[data-index="0"] {
    font-weight: 900;
}

.seasons-banner[data-index="1"] {
    opacity: 0.9;
    transform: scale(0.98);
}

/* ════════════════════════════════════════════════════════
   SECCIÓN DE TEMPORADA — Highlight de productos de temporada
════════════════════════════════════════════════════════ */

.section-season {
    background: linear-gradient(135deg, rgba(255, 45, 120, 0.08), rgba(255, 107, 107, 0.1));
    border: 2px solid rgba(255, 45, 120, 0.3);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin: 20px 16px;
    position: relative;
    overflow: hidden;
}

.section-season::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-conic-gradient(
        from 0deg,
        transparent 0deg 30deg,
        rgba(255, 45, 120, 0.03) 30deg 60deg
    );
    animation: season-rotate 30s linear infinite;
    pointer-events: none;
}

@keyframes season-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.section-season-title {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.section-season-title .section-heading {
    font-family: 'Lilita One', cursive;
    font-size: 1.4rem;
    color: var(--hot-pink);
    margin: 0;
    text-shadow: 0 2px 4px rgba(255, 45, 120, 0.2);
}

.section-season-title .season-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid especial para temporada */
.grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .grid-compact {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-compact {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ═══════════════════════════════════════
   GEO ZONE FEEDBACK — Estilos para geolocalización
═══════════════════════════════════════ */

.geo-feedback {
    margin-top: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    display: none;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    animation: geoFadeIn 0.3s ease-out;
}

@keyframes geoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.geo-feedback.loading {
    background: #f5f5f5;
    color: #666;
    border-color: #ddd;
}

.geo-feedback.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-color: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.geo-feedback.warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-color: #ffc107;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.geo-feedback.info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border-color: #17a2b8;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.2);
}

.geo-feedback.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.geo-feedback i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.geo-feedback span {
    line-height: 1.4;
}

.geo-feedback small {
    display: block;
    margin-top: 4px;
    opacity: 0.85;
    font-weight: 600;
}

/* ════════════════════════════════════════════════════════
   LOADING STATES - Checkout
═══════════════════════════════════════════════════════ */

/* Spinner para botón de cargar */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Overlay de carga para checkout */
.checkout-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 16px;
}

.checkout-loading-overlay.hidden {
    display: none;
}

.checkout-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--hot-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.checkout-loading-text {
    color: var(--deep);
    font-weight: 700;
    font-size: 1rem;
}

/* Badge de costo de envío en checkout */
.shipping-badge {
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    display: none;
    align-items: center;
    gap: 8px;
    animation: geoFadeIn 0.3s ease-out;
}

.shipping-badge-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.shipping-badge-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border: 2px solid #ffc107;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.shipping-badge-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    border: 2px solid #17a2b8;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.2);
}

.shipping-badge i {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Checkout fieldset */
.checkout-fieldset {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.checkout-fieldset legend {
    font-family: 'Lilita One', cursive;
    font-size: 1rem;
    color: var(--deep);
    padding: 0 8px;
    font-weight: 700;
}

/* Badge de envío gratis en producto */
.badge-free-shipping {
    background: linear-gradient(135deg, #06D6A0 0%, #04B386 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(6, 214, 160, 0.3);
}

/* Indicador de zona en mapa (si se usa) */
.geo-zone-indicator {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
}

.geo-zone-indicator svg {
    width: 100%;
    height: 100%;
}

/* Animación para spinner */
.geo-feedback .fa-spinner {
    animation: faSpin 1s linear infinite;
}

@keyframes faSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .geo-feedback {
        font-size: 0.8rem;
        padding: 10px 12px;
    }

    .geo-feedback i {
        font-size: 1rem;
    }
}

/* ═══════════════════════════════════════
   SISTEMA DE REFERIDOS
═══════════════════════════════════════ */

/* Sección de referidos */
.referral-section {
    margin-top: 24px;
    animation: fu 0.4s ease both;
}

/* Loading */
.referral-loading {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
    font-weight: 700;
}

.referral-loading .spin {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--hot-pink);
    border-radius: 50%;
    animation: sp 0.8s linear infinite;
    margin: 0 auto 16px;
}

/* Tarjeta de código de referido */
.referral-code-card {
    background: linear-gradient(135deg, var(--deep), #5A0E8A);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(26, 5, 51, 0.2);
}

.referral-title {
    font-family: 'Lilita One', cursive;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 16px;
}

.referral-code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
}

.referral-code-display code {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--yellow);
    letter-spacing: 2px;
    background: transparent;
    padding: 0;
}

.btn-copy-code {
    background: var(--yellow);
    color: var(--deep);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-copy-code:hover {
    background: white;
    transform: scale(1.05);
}

.referral-hint {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Botones de compartir */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.share-btn {
    border: none;
    padding: 14px 10px;
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.share-btn i {
    font-size: 1.4rem;
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877F2, #0D5CBF);
}

.share-btn.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584);
}

.share-btn.email {
    background: linear-gradient(135deg, var(--hot-pink), var(--magenta));
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Stats grid */
.referral-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.ref-stat-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 10px;
    text-align: center;
    transition: all 0.2s;
}

.ref-stat-card:hover {
    border-color: var(--hot-pink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.ref-stat-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.ref-stat-value {
    font-family: 'Lilita One', cursive;
    font-size: 1.4rem;
    color: var(--hot-pink);
    line-height: 1;
    margin-bottom: 4px;
}

.ref-stat-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Info de puntos */
.referral-points-info {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
}

.ref-subtitle {
    font-family: 'Lilita One', cursive;
    font-size: 0.95rem;
    color: var(--deep);
    margin-bottom: 12px;
}

.points-rules {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: var(--bg);
    border-radius: 8px;
    font-size: 0.85rem;
}

.rule-row.highlight {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border: 2px solid var(--yellow);
}

.rule-name {
    font-weight: 800;
    color: var(--text);
}

.rule-points {
    font-family: 'Lilita One', cursive;
    font-size: 0.95rem;
    color: var(--hot-pink);
    font-weight: 900;
}

/* Lista de referidos */
.referrals-list-section {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
}

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

.referral-item {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    transition: all 0.2s;
}

.referral-item:hover {
    border-color: var(--hot-pink);
    box-shadow: var(--shadow-sm);
}

.referral-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.referral-email {
    font-weight: 800;
    color: var(--text);
    font-size: 0.9rem;
}

.referral-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.referral-item-events {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 800;
}

.event-badge.signup {
    background: #E3F2FD;
    color: #1565C0;
}

.event-badge.purchase {
    background: #E8F5E9;
    color: #2E7D32;
}

.no-events {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    font-style: italic;
}

/* Historial */
.referral-history-section {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.referral-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg);
    border-radius: 10px;
    transition: all 0.2s;
}

.history-item:hover {
    background: white;
    border: 1px solid var(--border);
}

.history-item-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.history-item-body {
    flex: 1;
}

.history-description {
    font-weight: 800;
    color: var(--text);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.history-date {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
}

.history-item-points {
    font-family: 'Lilita One', cursive;
    font-size: 1rem;
    font-weight: 900;
}

.history-item-points.earned {
    color: #2E7D32;
}

.history-item-points.spent {
    color: #C62828;
}

/* Empty states */
.referrals-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}

.referrals-empty .empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.referrals-empty p {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.referrals-empty .empty-hint {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Responsive para referidos */
@media (max-width: 768px) {
    .share-buttons,
    .referral-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .referral-code-display code {
        font-size: 1.1rem;
    }

    .ref-stat-value {
        font-size: 1.2rem;
    }

    .ref-stat-label {
        font-size: 0.65rem;
    }
}

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

    .share-btn {
        padding: 12px 8px;
        font-size: 0.75rem;
    }

    .share-btn i {
        font-size: 1.2rem;
    }

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

    .ref-stat-icon {
        font-size: 1.4rem;
    }

    .rule-row {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}
