/* ==========================================================================
   VARIABLES & RESET (ESTÉTICA JUNO)
   ========================================================================== */
:root {
    --bg-white: #ffffff;
    --bg-soft: #f8f5f2;
    --text-black: #111111;
    --text-gray: #666666;
    --text-muted: #888888;
    --border-light: #e6e6e6;
    --accent-pink: #e5b8b7;
    --whatsapp-green: #128c7e;
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-white);
    color: var(--text-black);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   HEADER & NAVEGACIÓN (ESTILO JUNO)
   ========================================================================== */
@keyframes navSlideDown {
    0% {
        transform: translate3d(0, -100%, 0);
        opacity: 0;
    }

    100% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    height: 92px;
    min-height: 92px;
    display: flex;
    align-items: center;
    /* Animación fluida 100% por hardware (GPU compositor thread) */
    animation: navSlideDown 0.55s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    will-change: transform, opacity;
    transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        border-color 0.45s ease,
        translate 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Fondo glass en pseudo-elemento: evita que el menú móvil (fixed) quede atrapado */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    transition: background 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
    .site-header {
        animation: none !important;
        transition: none !important;
    }
}

.header-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.brand-logo img,
.site-header-logo,
.header-logo-img {
    height: 76px;
    width: auto;
    max-height: 82px;
    max-width: 290px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-logo:hover img,
.brand-logo:hover .site-header-logo,
.header-logo-img:hover {
    transform: scale(1.03);
    opacity: 0.96;
}

.main-nav {
    margin-left: 40px;
    margin-right: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-black);
    padding: 8px 0;
    position: relative;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover,
.nav-link.active {
    font-weight: 700;
}

/* Dropdown de Catálogo por sección */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 230px;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 150;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 0.8rem;
    color: var(--text-black);
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.dropdown-menu li a i {
    font-size: 0.95rem;
    color: #888888;
    transition: color 0.2s, transform 0.2s;
}

.dropdown-menu li a:hover {
    background: var(--bg-soft);
    font-weight: 600;
    color: #000000;
    padding-left: 24px;
}

.dropdown-menu li a:hover i {
    color: #b5605d;
    transform: scale(1.15);
}

/* Buscador y Carrito */
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.search-box {
    position: relative;
    width: 240px;
}

.search-box input {
    width: 100%;
    padding: 9px 38px 9px 16px;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-box input:focus {
    border-color: var(--text-black);
}

.search-box button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.05rem;
    cursor: pointer;
    color: var(--text-black);
}

.header-divider {
    width: 1px;
    height: 26px;
    background: var(--border-light);
}

.cart-trigger {
    background: none;
    border: none;
    font-size: 1.45rem;
    cursor: pointer;
    position: relative;
    color: var(--text-black);
    display: flex;
    align-items: center;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--text-black);
    color: var(--bg-white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   CONTROL DE VISTAS (SPA)
   ========================================================================== */
.page-view {
    display: none;
    animation: fadeIn 0.3s ease;
}

.page-view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ==========================================================================
   CARRUSEL EDITORIAL GRANDE (HERO EVENTOS)
   ========================================================================== */
.hero-carousel-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    min-height: max(500px, calc(100vh - 92px));
    height: calc(100vh - 92px);
    background: var(--bg-soft);
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-editorial-layout {
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    align-items: center;
    gap: 24px;
}

.slide-editorial-layout.single-focus {
    grid-template-columns: 1fr;
    max-width: 760px;
    text-align: center;
}

.slide-images-left,
.slide-images-right {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.polaroid-frame {
    background: #ffffff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    width: 170px;
    height: 290px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.polaroid-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.polaroid-frame:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    z-index: 5;
}

.polaroid-frame:hover img {
    transform: scale(1.08);
}

.frame-1 {
    transform: rotate(-3deg) translateY(15px);
}

.frame-2 {
    transform: rotate(2deg) translateY(-15px);
}

.frame-3 {
    transform: rotate(-2deg) translateY(10px);
}

.frame-4 {
    transform: rotate(3deg) translateY(-10px);
}

.slide-center-content {
    text-align: center;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.script-Accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2rem;
    color: var(--text-black);
    display: block;
    margin-bottom: 6px;
}

.slide-uptitle {
    font-size: 1.05rem;
    letter-spacing: 6px;
    font-weight: 500;
    margin-bottom: 8px;
}

.slide-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1.05;
    color: var(--text-black);
}

.slide-year {
    font-family: var(--font-serif);
    font-size: 4.2rem;
    color: var(--accent-pink);
    line-height: 1;
    margin: 8px 0 16px;
}

.slide-line {
    width: 90px;
    height: 1px;
    background: var(--text-black);
    margin: 0 auto 18px;
}

.slide-subtitle {
    font-size: 0.85rem;
    letter-spacing: 3.5px;
    color: var(--text-black);
    margin-bottom: 28px;
}

.btn-editorial {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: var(--text-black);
    border: 1px solid var(--text-black);
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-editorial:hover {
    background: var(--text-black);
    color: var(--bg-white);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-light);
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

.carousel-arrow:hover {
    background: var(--text-black);
    color: var(--bg-white);
}

.carousel-arrow.prev {
    left: 16px;
}

.carousel-arrow.next {
    right: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.carousel-dots .dot.active {
    background: var(--text-black);
}

/* ==========================================================================
   SECCIONES DE CATÁLOGO EN INICIO
   ========================================================================== */
.home-sections-preview,
.home-featured {
    max-width: 1440px;
    margin: 64px auto;
    padding: 0 32px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 36px;
}

.section-header-center h2 {
    font-size: 1.45rem;
    letter-spacing: 2.5px;
    font-weight: 700;
}

.section-header-center p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 6px;
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

@media (max-width: 1080px) {
    .sections-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
        gap: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .sections-grid::-webkit-scrollbar {
        height: 4px;
    }

    .sections-grid::-webkit-scrollbar-track {
        background: #f1eae6;
        border-radius: 4px;
    }

    .sections-grid::-webkit-scrollbar-thumb {
        background: #e5b8b7;
        border-radius: 4px;
    }

    .section-card {
        flex: 0 0 170px;
        scroll-snap-align: start;
    }
}

.section-card {
    position: relative;
    height: 195px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #111111;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.35s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.section-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.section-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    border-color: rgba(229, 184, 183, 0.75);
}

.section-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.section-card:active {
    transform: translateY(-2px) scale(0.97);
    transition-duration: 0.12s;
}

/* Overlay inferior estilizado y compacto */
.section-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 10, 10, 0.90) 0%, rgba(12, 10, 10, 0.42) 50%, transparent 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px 12px;
    color: #ffffff;
    z-index: 2;
}

.section-card-overlay .sec-cat-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-pink);
    font-size: 0.8rem;
    margin-bottom: 6px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.section-card:hover .sec-cat-icon {
    background: var(--accent-pink);
    color: #111111;
    transform: scale(1.1);
}

.section-card-overlay h3 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 6px;
}

.section-card-overlay .sec-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    transition: color 0.3s ease, gap 0.3s ease;
}

.section-card:hover .sec-action {
    color: var(--accent-pink);
    gap: 8px;
}


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

.section-header-between h2 {
    font-size: 1.2rem;
    letter-spacing: 1.5px;
}

.btn-link-arrow {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   VISTA CATÁLOGO / TIENDA (IDÉNTICA A LA CAPTURA DE JUNO)
   ========================================================================== */
.catalog-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 32px 60px;
}

/* Selector rápido de Catálogos por Sección (Hub) */
.catalog-hub-banner {
    background: linear-gradient(135deg, #fbf8f6 0%, #f4ede9 100%);
    padding: 24px 28px;
    margin-bottom: 34px;
    border: 1px solid rgba(229, 184, 183, 0.4);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.hub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.hub-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-black);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.hub-title i {
    color: #b5605d;
    font-size: 1.15rem;
}

.hub-subtitle {
    font-size: 0.78rem;
    color: var(--text-gray);
    letter-spacing: 1px;
}

.catalog-pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cat-pill-btn {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(229, 184, 183, 0.5);
    border-radius: 30px;
    padding: 9px 20px;
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333333;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.cat-pill-btn i {
    font-size: 0.95rem;
    color: #b5605d;
    transition: color 0.25s ease, transform 0.25s ease;
}

.cat-pill-btn:hover {
    border-color: #b5605d;
    background: #fffafa;
    color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(181, 96, 93, 0.12);
}

.cat-pill-btn:hover i {
    color: #9c3f3c;
    transform: scale(1.15);
}

.cat-pill-btn:active {
    transform: scale(0.96);
    transition-duration: 0.1s;
}

/* Estado activo: diseño elegante rosado/dorado suave, CERO NEGRO PESADO */
.cat-pill-btn.active {
    background: #fbf1ef;
    color: #9c3f3c;
    border-color: #b5605d;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(181, 96, 93, 0.18), 0 0 0 2px rgba(229, 184, 183, 0.6);
    transform: translateY(-1px);
}

.cat-pill-btn.active i {
    color: #9c3f3c;
}


/* Efecto de Onda al hacer Clic en cualquier Catálogo */
.cat-click-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 184, 183, 0.8) 0%, rgba(229, 184, 183, 0) 70%);
    transform: scale(0);
    animation: catRippleAnim 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    pointer-events: none;
    z-index: 100;
}

@keyframes catRippleAnim {
    0% {
        transform: scale(0);
        opacity: 0.95;
    }

    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

/* Transición animada suave de la grilla de productos al cambiar de catálogo */
@keyframes catalogGridIn {
    0% {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.catalog-grid-anim {
    animation: catalogGridIn 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Pulso visual en el indicador del catálogo activo */
@keyframes badgePulse {
    0% {
        transform: scale(0.94);
        color: var(--accent-pink);
    }

    50% {
        transform: scale(1.06);
        color: #b5605d;
    }

    100% {
        transform: scale(1);
    }
}

.badge-pulse {
    display: inline-block;
    animation: badgePulse 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Barra superior: INICIO / TIENDA + Mostrando X resultados + Ordenar */
.shop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.breadcrumb {
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.breadcrumb a {
    color: var(--text-muted);
    font-weight: 500;
}

.breadcrumb .sep {
    margin: 0 8px;
    color: var(--text-muted);
}

.breadcrumb strong {
    color: var(--text-black);
    font-weight: 700;
    text-transform: uppercase;
}

.shop-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.catalog-search-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.catalog-search-wrap input {
    padding: 8px 28px 8px 32px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 0.84rem;
    font-family: var(--font-sans);
    background: #fff;
    width: 190px;
    transition: all 0.25s ease;
    outline: none;
}

.catalog-search-wrap input:focus {
    border-color: var(--primary-accent);
    width: 230px;
    box-shadow: 0 0 0 3px rgba(156, 63, 60, 0.12);
}

.catalog-search-wrap .search-icon-input {
    position: absolute;
    left: 10px;
    color: #888;
    font-size: 0.95rem;
    pointer-events: none;
}

.catalog-search-wrap .search-clear-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: #999;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
}

.catalog-search-wrap .search-clear-btn:hover {
    color: #333;
}

.results-count {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-black);
}

.sort-select-wrapper select {
    padding: 10px 36px 10px 14px;
    border: 1px solid var(--border-light);
    font-family: var(--font-sans);
    font-size: 0.84rem;
    color: var(--text-black);
    background-color: var(--bg-white);
    cursor: pointer;
    outline: none;
}

/* Layout de 2 Columnas: Sidebar + Grilla */
.shop-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 34px;
    align-items: start;
}

.widget-block {
    margin-bottom: 36px;
}

.widget-title {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.4;
    text-transform: uppercase;
}

.widget-divider {
    width: 32px;
    height: 2px;
    background: var(--border-light);
    margin: 12px 0 18px;
}

.category-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-cat-list,
.sidebar-filter-list {
    margin-top: 8px;
}

.sidebar-cat-list li,
.sidebar-filter-list li {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    margin-bottom: 4px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-black);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.sidebar-cat-list li:hover,
.sidebar-filter-list li:hover {
    background: #fbf8f6;
    border-color: rgba(229, 184, 183, 0.4);
    padding-left: 18px;
    color: #111111;
}

.sidebar-cat-list li:active,
.sidebar-filter-list li:active {
    transform: scale(0.98);
}

.sidebar-cat-list li.active,
.sidebar-filter-list li.active {
    font-weight: 700;
    background: #fbf1ef;
    color: #9c3f3c;
    border-color: rgba(181, 96, 93, 0.4);
    padding-left: 18px;
    box-shadow: 0 4px 12px rgba(181, 96, 93, 0.1);
}

.sidebar-cat-list li.active i {
    color: #9c3f3c !important;
}

.sidebar-cat-list li .count,
.sidebar-filter-list li .count {
    font-size: 0.75rem;
    color: var(--text-gray);
    transition: color 0.25s ease;
}

.sidebar-cat-list li.active .count,
.sidebar-filter-list li.active .count {
    color: #f7dcdb;
}

/* Grilla de 4 columnas estilo JUNO */
.juno-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.juno-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease;
    position: relative;
}

.juno-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.juno-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.juno-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
}

.juno-card:hover .juno-card-img-wrap img {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.09));
}

.juno-min-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(17, 17, 17, 0.85);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    z-index: 2;
}

.juno-add-overlay-btn {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(17, 17, 17, 0.9);
    color: #fff;
    border: none;
    padding: 10px;
    font-family: var(--font-sans);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.25s ease;
}

.juno-card:hover .juno-add-overlay-btn {
    opacity: 1;
    transform: translateY(0);
}

.juno-card-body {
    padding: 14px 12px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.juno-card-category {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-gray);
}

.juno-card-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-black);
    line-height: 1.35;
}

.juno-card-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-black);
    margin-top: 2px;
}

/* ==========================================================================
   APARTADO +INFO (CÓMO COMPRAR, MÍNIMO, SEÑAS, ENVÍOS)
   ========================================================================== */
.info-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 32px 70px;
}

.info-header {
    text-align: center;
    margin: 28px 0 44px;
}

.info-header h1,
.info-header h2 {
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.info-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.info-card {
    border: 1px solid var(--border-light);
    padding: 32px;
    background: var(--bg-white);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    color: var(--text-black);
}

.info-card h3 {
    font-size: 1rem;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.info-card p {
    font-size: 0.88rem;
    color: var(--text-gray);
    margin-bottom: 14px;
}

.info-card ul {
    list-style: disc;
    padding-left: 18px;
}

.info-card ul li {
    font-size: 0.86rem;
    color: var(--text-black);
    margin-bottom: 8px;
}

.info-cta-box {
    margin-top: 40px;
    background: var(--bg-soft);
    padding: 36px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.info-cta-box h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.info-cta-box p {
    font-size: 0.88rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

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

/* ==========================================================================
   CARRITO LATERAL Y BOTÓN WHATSAPP FLOTANTE (ESTILO JUNO)
   ========================================================================== */
.whatsapp-float-juno {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 54px;
    height: 54px;
    background: var(--bg-white);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: var(--whatsapp-green);
    z-index: 200;
    transition: transform 0.2s ease;
}

.whatsapp-float-juno:hover {
    transform: translateY(-3px);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
    z-index: 300;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 350;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-drawer.open {
    right: 0;
}

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

.cart-header h3 {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

/* ==========================================================================
   BARRA DE PROGRESO DE PEDIDO MÍNIMO MAYORISTA (MEJORA 2)
   ========================================================================== */
.cart-min-order-box {
    padding: 14px 24px;
    background: #fdf8f9;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.cart-min-order-box.is-completed {
    background: #f0fdf4;
    border-bottom-color: #bbf7d0;
}

.cart-min-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 8px;
    line-height: 1.35;
}

.cart-min-order-msg {
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.cart-min-order-msg i {
    font-size: 1rem;
    color: var(--accent-pink, #c4687a);
}

.cart-min-order-box.is-completed .cart-min-order-msg {
    color: #15803d;
    font-weight: 700;
}

.cart-min-order-box.is-completed .cart-min-order-msg i {
    color: #16a34a;
}

.cart-min-order-percent {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-pink, #c4687a);
}

.cart-min-order-box.is-completed .cart-min-order-percent {
    color: #16a34a;
}

.cart-min-order-track {
    width: 100%;
    height: 7px;
    background: #f1f5f9;
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.cart-min-order-bar {
    height: 100%;
    background: linear-gradient(90deg, #f43f5e 0%, #ec4899 50%, #f59e0b 100%);
    border-radius: 9999px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
    will-change: width;
}

.cart-min-order-box.is-completed .cart-min-order-bar {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f1f1f1;
}

.cart-item img {
    width: 60px;
    height: 75px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 0.84rem;
    font-weight: 600;
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 4px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #b00;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    align-self: flex-start;
    transition: color 0.15s;
}

.cart-item-remove:hover {
    color: #e00;
}

.cart-header-title-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-cache-badge {
    font-size: 0.68rem;
    font-weight: 600;
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 9999px;
    padding: 2px 7px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    letter-spacing: 0.2px;
}

.cart-cache-badge i {
    font-size: 0.72rem;
}

.btn-clear-cart {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 4px;
    color: #c53030;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-clear-cart:hover {
    background: #fed7d7;
    border-color: #feb2b2;
    color: #9b2c2c;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    gap: 10px;
}

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: #fdfdfd;
    overflow: hidden;
}

.cart-item-qty button {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-black);
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}

.cart-item-qty button:hover {
    background: #eee;
    color: #9c3f3c;
}

.cart-item-qty span {
    min-width: 24px;
    text-align: center;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-black);
    user-select: none;
}

.cart-footer {
    padding: 18px 24px 24px;
    border-top: 1px solid var(--border-light);
    background: #fff;
}

/* Envío a Convenir en Carrito */
.cart-shipping-convenir-box {
    background: #fdf5f7;
    border: 1px solid #f0d8dd;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.convenir-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.convenir-header i {
    font-size: 1.25rem;
    color: var(--accent-pink);
    line-height: 1.2;
    margin-top: 1px;
}

.convenir-header strong {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 2px;
}

.convenir-header p {
    font-size: 0.76rem;
    color: #666;
    line-height: 1.35;
    margin: 0;
}

.convenir-alert {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #f9cbd3;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.74rem;
    color: #b04a55;
    line-height: 1.3;
}

.convenir-alert i {
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* Fallback legacy si existiera select */
.cart-shipping-group {
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    padding: 12px 14px;
    margin-bottom: 14px;
}

.cart-shipping-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-black);
    margin-bottom: 6px;
}

.cart-shipping-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--text-black);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.cart-shipping-select:focus {
    border-color: var(--text-black);
}

.cart-breakdown {
    margin-bottom: 12px;
}

.cart-breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.cart-breakdown-row.total-row {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-black);
    border-top: 1px dashed var(--border-light);
    padding-top: 8px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.cart-breakdown-row.sena-row {
    font-size: 0.82rem;
    color: var(--whatsapp-green);
    font-weight: 600;
}

.cart-note {
    font-size: 0.74rem;
    background: var(--bg-soft);
    padding: 8px 10px;
    margin-bottom: 14px;
    color: var(--text-gray);
    line-height: 1.4;
}

.btn-checkout-wa {
    width: 100%;
    padding: 14px;
    background: var(--text-black);
    color: var(--bg-white);
    border: none;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-checkout-wa:hover {
    background: #333333;
}

/* ==========================================================================
   RESPONSIVE DESIGN (OPTIMIZACIÓN TOTAL PARA CELULARES Y TABLETS)
   ========================================================================== */
.mobile-nav-header {
    display: none;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    z-index: 240;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1100px) {
    .juno-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .slide-images-left,
    .slide-images-right {
        display: none;
    }

    .slide-editorial-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {

    /* Header compacto y táctil */
    .site-header {
        height: 68px;
    }

    .header-container {
        padding: 0 16px;
    }

    .brand-logo img,
    .site-header-logo,
    .header-logo-img {
        height: 56px;
        max-height: 60px;
        max-width: 190px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
        color: var(--text-black);
    }

    /* Menú lateral tipo App */
    .main-nav {
        position: fixed;
        top: 0;
        left: -320px;
        width: 290px;
        max-width: 85vw;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: 6px 0 28px rgba(0, 0, 0, 0.16);
        padding: 20px;
        margin: 0;
        transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 250;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .main-nav.open {
        left: 0;
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        margin-bottom: 16px;
        border-bottom: 1px solid var(--border-light);
    }

    .mobile-nav-header span {
        font-size: 0.88rem;
        font-weight: 700;
        letter-spacing: 1.5px;
        color: var(--text-black);
    }

    .mobile-nav-close {
        background: #f4f4f4;
        border: none;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        cursor: pointer;
        color: #333;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        font-size: 0.92rem;
        padding: 8px 0;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding-left: 14px;
        margin-top: 6px;
        background: #faf8f7;
        border-radius: 6px;
    }

    .dropdown-menu li a {
        padding: 9px 12px;
        font-size: 0.84rem;
    }

    .header-actions {
        gap: 10px;
    }

    .search-box {
        width: 140px;
    }

    .search-box input {
        padding: 8px 32px 8px 12px;
        font-size: 0.78rem;
    }

    .header-divider {
        display: none;
    }

    .cart-trigger {
        font-size: 1.35rem;
    }

    /* Carrusel Hero en Celulares */
    .hero-carousel-section {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .carousel-container {
        height: auto;
        min-height: 480px;
    }

    .carousel-slide {
        padding: 32px 16px 42px;
        min-height: 480px;
    }

    .slide-editorial-layout {
        grid-template-columns: 1fr;
    }

    .slide-center-content {
        padding: 8px 4px;
    }

    .script-Accent {
        font-size: 1.45rem;
        margin-bottom: 4px;
    }

    .slide-uptitle {
        font-size: 0.76rem;
        letter-spacing: 2.5px;
        margin-bottom: 6px;
    }

    .slide-title {
        font-size: clamp(1.65rem, 6.5vw, 2.3rem);
        letter-spacing: 1.5px;
        line-height: 1.15;
    }

    .slide-year {
        font-size: clamp(2rem, 8.5vw, 2.8rem);
        margin: 4px 0 10px;
    }

    .slide-line {
        width: 48px;
        margin: 0 auto 12px;
    }

    .slide-subtitle {
        font-size: 0.74rem;
        letter-spacing: 1.5px;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .btn-editorial {
        padding: 11px 22px;
        font-size: 0.72rem;
        letter-spacing: 1.8px;
    }

    .carousel-arrow {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
        background: rgba(255, 255, 255, 0.9);
    }

    .carousel-arrow.prev {
        left: 6px;
    }

    .carousel-arrow.next {
        right: 6px;
    }

    .carousel-dots {
        bottom: 12px;
    }

    /* Secciones en Inicio */
    .home-sections-preview,
    .home-featured {
        margin: 34px auto;
        padding: 0 16px;
    }

    .section-header-center {
        margin-bottom: 20px;
    }

    .section-header-center h2,
    .section-header-between h2 {
        font-size: 1.15rem;
        letter-spacing: 1.2px;
    }

    .section-header-center p {
        font-size: 0.82rem;
    }

    .section-header-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 18px;
    }

    .sections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .section-card {
        height: 165px;
        border-radius: 4px;
    }

    .section-card-content h3 {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .section-card-content span {
        font-size: 0.68rem;
    }

    /* Grilla de Catálogo y Tienda */
    .catalog-wrapper {
        padding: 18px 16px 40px;
    }

    .catalog-hub-banner {
        padding: 14px 12px;
        margin-bottom: 18px;
    }

    .catalog-pills-grid {
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .cat-pill-btn {
        padding: 7px 12px;
        font-size: 0.72rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .shop-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 18px;
    }

    .shop-controls {
        width: 100%;
        justify-content: space-between;
    }

    .results-count {
        font-size: 0.8rem;
    }

    .sort-select-wrapper select {
        font-size: 0.8rem;
        padding: 7px 26px 7px 8px;
    }

    .shop-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .juno-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .juno-card-body {
        padding: 10px 8px;
    }

    .juno-card-cat {
        font-size: 0.65rem;
    }

    .juno-card-title {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .juno-card-price {
        font-size: 0.86rem;
    }

    .juno-min-badge {
        font-size: 0.6rem;
        padding: 3px 6px;
    }

    /* Info & Contacto */
    .info-wrapper {
        padding: 20px 16px 50px;
    }

    .info-header {
        margin: 16px 0 24px;
    }

    .info-header h1,
    .info-header h2 {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }

    .info-header p {
        font-size: 0.85rem;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .info-card {
        padding: 20px 16px;
    }

    .contact-boxes {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .info-cta-box {
        padding: 24px 16px;
        margin-top: 24px;
    }

    /* Botón flotante WhatsApp */
    .whatsapp-float-juno {
        bottom: 18px;
        left: 16px;
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
        border-radius: 50%;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 12px;
    }

    .search-box {
        width: 105px;
    }

    .search-box input {
        padding: 6px 26px 6px 8px;
        font-size: 0.72rem;
    }

    .search-box button {
        right: 6px;
        font-size: 0.9rem;
    }

    .brand-logo img,
    .header-logo-img {
        height: 42px;
        max-height: 44px;
        max-width: 110px;
    }

    .sections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .section-card {
        height: 150px;
    }

    .section-card-content h3 {
        font-size: 0.76rem;
        letter-spacing: 0.8px;
    }

    .juno-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .cart-drawer {
        width: 100vw;
        max-width: 100vw;
        right: -100vw;
    }

    .cart-header {
        padding: 14px 16px;
    }

    .cart-body {
        padding: 12px 14px;
    }

    .cart-footer {
        padding: 12px 14px 18px;
    }
}

/* ==========================================================================
   AUTOCOMPLETADO DEL BUSCADOR EN VIVO (IDEA 6)
   ========================================================================== */
.search-box {
    position: relative;
}

.search-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 330px;
    max-width: 90vw;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    max-height: 380px;
    overflow-y: auto;
    z-index: 500;
    display: none;
    flex-direction: column;
}

.search-autocomplete-dropdown.open {
    display: flex;
}

.search-auto-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid #f6f6f6;
    cursor: pointer;
    transition: background 0.2s;
}

.search-auto-item:last-child {
    border-bottom: none;
}

.search-auto-item:hover {
    background: #fdf5f7;
}

.search-auto-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.search-auto-info {
    flex: 1;
    min-width: 0;
}

.search-auto-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-auto-cat {
    font-size: 0.72rem;
    color: #888;
    margin-top: 2px;
}

.search-auto-price {
    font-size: 0.82rem;
    font-weight: 700;
    color: #c4687a;
    flex-shrink: 0;
}

.search-auto-empty {
    padding: 18px;
    text-align: center;
    font-size: 0.82rem;
    color: #888;
}

/* ==========================================================================
   MODAL DE DETALLE DE PRODUCTO (ESTILO IMAGEN 2 / JUNO)
   ========================================================================== */
.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.product-modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.97);
    width: 880px;
    max-width: 94vw;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    z-index: 401;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.product-modal-container.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.product-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: #f4f4f4;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
}

.product-modal-close:hover {
    background: #e6e6e6;
    transform: scale(1.05);
}

.product-modal-body {
    padding: 36px 32px 32px;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 36px;
    align-items: start;
}

.product-detail-media {
    position: sticky;
    top: 0;
}

.product-detail-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f9fafb 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.product-detail-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.07));
}

.product-detail-img-wrap:hover img {
    transform: scale(1.06);
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.12));
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.product-breadcrumb {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.product-breadcrumb .dot {
    color: #bbb;
}

.product-breadcrumb strong {
    color: #111;
}

.product-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.product-title-row h1,
.product-title-row h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.25;
}

.accent-dot {
    width: 10px;
    height: 10px;
    background-color: #f45b95;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.product-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.product-price {
    font-size: 1.65rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.5px;
}

.product-old-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

/* Badge de Precio Unitario ("Te quedaría $X cada uno") */
.product-unit-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1px;
    box-shadow: 0 1px 4px rgba(190, 24, 93, 0.08);
}

.product-unit-price-badge i {
    font-size: 0.92rem;
    color: #db2777;
}

[data-theme="cyber"] .product-unit-price-badge,
[data-theme="dark"] .product-unit-price-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.4);
}

[data-theme="cyber"] .product-unit-price-badge i,
[data-theme="dark"] .product-unit-price-badge i {
    color: #f59e0b;
}

/* Indicador de Stock en Detalle de Producto */
.product-stock-status-row {
    margin: -6px 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Indicador de Usuarios que Vieron el Producto Hoy */
.product-views-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.81rem;
    font-weight: 500;
    color: #374151;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    letter-spacing: 0.1px;
}

.product-views-badge i {
    font-size: 0.95rem;
    color: #e11d48;
    animation: eyeBeat 2.4s ease-in-out infinite;
}

.product-views-badge strong {
    color: #111827;
    font-weight: 700;
}

@keyframes eyeBeat {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.2); opacity: 1; }
}

.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
}

.stock-pill i {
    font-size: 1rem;
}

.stock-pill.stock-in {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.stock-pill.stock-low {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.stock-pill.stock-out {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.btn-modal-add-cart.disabled,
.btn-sticky-add-cart.disabled {
    background: #d1d5db !important;
    color: #6b7280 !important;
    cursor: not-allowed !important;
    border-color: #d1d5db !important;
    box-shadow: none !important;
}

.juno-stock-out-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(185, 28, 28, 0.9);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* ==========================================================================
   BADGE DIAGONAL DE AGOTADO (SASH / BANDA COMPLETA DIAGONAL)
   ========================================================================== */
.stamp-agotado {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160%;
    transform: translate(-50%, -50%) rotate(-32deg);
    background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    font-size: 1.12rem;
    font-weight: 900;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 5px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    border-top: 2.5px solid rgba(255, 255, 255, 0.85);
    border-bottom: 2.5px solid rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 6;
    user-select: none;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: stampFadeIn 0.25s ease-out;
}

/* Puntos decorativos en la cinta diagonal */
.stamp-agotado::before,
.stamp-agotado::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px #ffffff;
    flex-shrink: 0;
}

@keyframes stampFadeIn {
    0% {
        transform: translate(-50%, -50%) rotate(-32deg) scale(0.92);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) rotate(-32deg) scale(1);
        opacity: 1;
    }
}

/* En el modal de detalle de producto: proporción imponente cruzando la imagen */
.product-detail-img-wrap {
    position: relative;
    overflow: hidden !important;
}

.product-detail-img-wrap .stamp-agotado {
    font-size: 1.75rem;
    padding: 16px 0;
    letter-spacing: 8px;
    width: 170%;
    border-top-width: 3.5px;
    border-bottom-width: 3.5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-detail-img-wrap .stamp-agotado::before,
.product-detail-img-wrap .stamp-agotado::after {
    width: 9px;
    height: 9px;
    box-shadow: 0 0 8px #ffffff;
}

/* Tratamiento visual de imagen para productos agotados */
.juno-card.is-agotado .juno-card-img-wrap img,
.product-detail-img-wrap.is-agotado img {
    filter: grayscale(20%) contrast(94%);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.juno-card.is-agotado:hover .juno-card-img-wrap img {
    opacity: 0.92;
    filter: grayscale(10%) contrast(97%);
}

/* Botón sobrio para productos agotados */
.juno-card.is-agotado .juno-add-overlay-btn {
    background: rgba(17, 24, 39, 0.95) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    letter-spacing: 1px;
    font-weight: 700;
}

.juno-card.is-agotado:hover .juno-add-overlay-btn {
    background: #000000 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   MODAL DE CHECKOUT / FORMULARIO DE CLIENTE PARA WHATSAPP
   ========================================================================== */
.checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.checkout-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.checkout-modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.96);
    width: 92%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-modal-container.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}

.checkout-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.checkout-modal-title h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-black);
    letter-spacing: -0.3px;
}

.checkout-modal-title p {
    margin: 2px 0 0;
    font-size: 0.78rem;
    color: #666;
}

.checkout-modal-close {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: #888;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    border-radius: 50%;
    transition: color 0.2s;
}

.checkout-modal-close:hover {
    color: #111;
}

.checkout-modal-body {
    padding: 20px 24px 24px;
}

.checkout-summary-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.checkout-summary-bar .summary-label {
    display: block;
    font-size: 0.72rem;
    color: #777;
    text-transform: uppercase;
    font-weight: 600;
}

.checkout-summary-bar strong {
    font-size: 0.95rem;
    color: var(--text-black);
}

.checkout-summary-bar .price-highlight {
    font-size: 1.25rem;
    color: #b04a55;
    font-weight: 800;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    margin-bottom: 18px;
}

.checkout-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkout-field-group.full-width {
    grid-column: 1 / -1;
}

.checkout-field-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

.checkout-field-group label .req {
    color: #dc2626;
}

.checkout-field-group input,
.checkout-field-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: #111;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.checkout-field-group input:focus,
.checkout-field-group textarea:focus {
    outline: none;
    border-color: #b04a55;
    box-shadow: 0 0 0 3px rgba(176, 74, 85, 0.12);
}

.checkout-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff8f5;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.8rem;
    color: #9a3412;
    line-height: 1.45;
    margin-bottom: 16px;
}

.checkout-alert-box i {
    font-size: 1.2rem;
    flex-shrink: 0;
    color: #ea580c;
    margin-top: 2px;
}

.checkout-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 10px;
}

.btn-checkout-cancel {
    background: #f3f4f6;
    color: #4b5563;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-checkout-cancel:hover {
    background: #e5e7eb;
}

.btn-checkout-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: all 0.2s;
}

.btn-checkout-submit:hover {
    background: #1eb956;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

@media (max-width: 600px) {
    .checkout-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .checkout-modal-footer {
        flex-direction: column-reverse;
    }

    .btn-checkout-cancel,
    .btn-checkout-submit {
        width: 100%;
        justify-content: center;
    }
}

/* Acordeón Ver más detalles */
.product-details-accordion {
    margin-bottom: 22px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 0;
}

.accordion-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.accordion-summary::-webkit-details-marker {
    display: none;
}

.accordion-summary span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion-arrow {
    font-size: 1.1rem;
    transition: transform 0.25s ease;
}

.product-details-accordion[open] .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    padding-top: 10px;
}

/* Selector de Presentación / Pack (Flecha rosa) */
.product-option-group {
    margin-bottom: 18px;
}

.option-label-row {
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.option-label-row strong {
    font-weight: 600;
    color: #111;
}

.presentation-pills-list,
.tone-pills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.presentation-pill {
    background: #ffffff;
    border: 1.5px solid #222222;
    color: #111111;
    padding: 8px 18px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.presentation-pill:hover,
.presentation-pill.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* Selector de Tonos (Idea 3) */
.tone-pill {
    background: #f8f8f8;
    border: 1px solid #ddd;
    color: #333;
    padding: 6px 14px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.tone-pill:hover,
.tone-pill.active {
    background: #fff0f3;
    color: #c4687a;
    border-color: #c4687a;
    font-weight: 600;
}

/* Fila de Compra: Contador + Botón Rosa */
.product-purchase-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 12px;
}

.qty-counter {
    display: flex;
    align-items: center;
    border: 1.5px solid #222;
    border-radius: 4px;
    overflow: hidden;
    height: 48px;
    background: #fff;
}

.qty-btn {
    width: 40px;
    height: 100%;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.qty-btn:hover {
    background: #f2f2f2;
}

.qty-counter input {
    width: 44px;
    height: 100%;
    border: none;
    text-align: center;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    outline: none;
}

.btn-modal-add-cart {
    flex: 1;
    height: 48px;
    background: #ff6584;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-modal-add-cart:hover {
    background: #f45071;
    box-shadow: 0 6px 20px rgba(255, 101, 132, 0.4);
    transform: translateY(-1px);
}

/* Tarjeta de Cálculo Automático (Idea 2) */
.pack-calculation-card {
    background: #fcf4f6;
    border: 1px dashed #f5c4cf;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #7a3e4c;
    margin-bottom: 14px;
}

.pack-calculation-card i {
    font-size: 1.1rem;
    color: #c4687a;
}

/* Botón de Consulta WhatsApp */
.btn-product-wa-inquiry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    border: 1px solid #d4ece5;
    background: #f1f9f6;
    color: var(--whatsapp-green);
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-product-wa-inquiry:hover {
    background: #e2f4ed;
    border-color: var(--whatsapp-green);
}

/* Barra Fija Inferior en Móviles (Idea 4) */
.mobile-sticky-bar {
    display: none;
}

@media (max-width: 768px) {
    .product-modal-container {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: translateY(100%);
        padding-bottom: 74px;
    }

    .product-modal-container.open {
        transform: translateY(0);
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-modal-body {
        padding: 24px 18px 24px;
    }

    .product-title-row h1,
    .product-title-row h2 {
        font-size: 1.35rem;
    }

    .product-price {
        font-size: 1.4rem;
    }

    /* Barra Sticky fija inferior */
    .mobile-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #eee;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
        z-index: 450;
    }

    .sticky-price-info {
        display: flex;
        flex-direction: column;
    }

    .sticky-label {
        font-size: 0.65rem;
        color: #888;
        letter-spacing: 0.5px;
    }

    .sticky-price-info strong {
        font-size: 1.1rem;
        color: #111;
        line-height: 1.1;
    }

    .sticky-price-info small {
        font-size: 0.72rem;
        color: #c4687a;
        font-weight: 600;
    }

    .btn-sticky-add-cart {
        flex: 1;
        height: 44px;
        background: #ff6584;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-family: var(--font-sans);
        font-size: 0.88rem;
        font-weight: 600;
        cursor: pointer;
    }
}

/* =========================================================
   ESTILOS DEL NUEVO FOOTER (5 COLUMNAS + BARRA INFERIOR)
   ========================================================= */
.ms-footer {
    background-color: #ffffff;
    color: #555555;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    border-top: 1px solid #eeeeee;
    padding: 65px 4% 25px;
    margin-top: 60px;
}

.ms-footer-container {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    padding-bottom: 60px;
}

.ms-footer-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #111111;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 0 24px 0;
}

.ms-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ms-footer-links li {
    margin-bottom: 13px;
}

.ms-footer-links a {
    color: #555555;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.ms-footer-links a:hover {
    color: #000000;
}

.ms-footer-contact p {
    margin: 0 0 13px 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #555555;
}

.ms-footer-contact a {
    color: #555555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ms-footer-contact a:hover {
    color: #000000;
}

.ms-footer-social-text {
    font-size: 0.82rem;
    line-height: 1.55;
    color: #555555;
    margin: 0 0 18px 0;
}

.ms-footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ms-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #efefef;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ms-social-btn:hover {
    background-color: #dcdcdc;
    transform: translateY(-2px);
}

/* Barra inferior de copyright */
.ms-footer-bottom {
    max-width: 1360px;
    margin: 0 auto;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.78rem;
    color: #666666;
}

.ms-footer-bottom a {
    color: #555555;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.ms-footer-bottom a:hover {
    color: #000000;
}

.ms-footer-bottom-right strong {
    color: #111111;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Adaptación Responsiva (Tablets y Celulares) */
@media (max-width: 1024px) {
    .ms-footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ms-footer {
        padding: 45px 5% 25px;
    }

    .ms-footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        padding-bottom: 35px;
    }

    .ms-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

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

/* =========================================================
   AJUSTE DE TAMAÑO DEL LOGO / NOMBRE: msmayorista
   ========================================================= */
.site-header .logo,
.site-logo,
.header-logo,
header .logo a,
.navbar-brand {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.25rem !important;
    /* Tamaño más compacto y minimalista */
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: lowercase;
    /* Mantiene el estilo "msmayorista" o cambie a uppercase si prefiere "MSMAYORISTA" */
    color: #111111;
    text-decoration: none;
    line-height: 1.2;
}

/* Si el nombre aparece también en el título del Hero / Carrusel */
.hero-title,
.hero-content h1,
.banner-title {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem) !important;
    letter-spacing: 2px;
}

@media (max-width: 768px) {

    .site-header .logo,
    .site-logo,
    .header-logo,
    header .logo a {
        font-size: 1.05rem !important;
        letter-spacing: 1.5px !important;
    }
}

.site-header .logo img,
.site-logo img,
.header-logo img,
.site-header-logo,
.header-logo-img {
    height: 76px;
    width: auto;
    max-height: 82px;
    max-width: 290px;
    object-fit: contain;
    border-radius: 0 !important;
    display: block;
}

@media (max-width: 768px) {

    .site-header .logo img,
    .site-logo img,
    .header-logo img,
    .site-header-logo,
    .header-logo-img {
        height: 56px;
        max-height: 60px;
        max-width: 190px;
    }
}

/* ==========================================================================
   NAVBAR: EFECTOS VISUALES Y DE MOVIMIENTO
   ========================================================================== */


/* Estado compacto al hacer scroll */
.site-header.is-scrolled {
    height: 74px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.site-header.is-scrolled::before {
    background: rgba(255, 255, 255, 0.82);
}

.site-header .site-header-logo,
.site-header .header-logo-img {
    transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s ease, opacity 0.3s ease;
}

.site-header.is-scrolled .site-header-logo,
.site-header.is-scrolled .header-logo-img {
    height: 58px;
}

/* Smart header: se oculta al bajar y reaparece al subir */
.site-header.is-hidden {
    translate: 0 -110%;
}

/* Barra de progreso de lectura */
.header-progress {
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #e5b8b7, #c98d8b, #111);
    pointer-events: none;
}

/* Subrayado animado de los links */
.nav-link:hover {
    font-weight: 500;
}

.nav-link.active {
    font-weight: 700;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.nav-link .ri-arrow-down-s-line {
    transition: transform 0.35s ease;
}

.has-dropdown:hover .nav-link .ri-arrow-down-s-line {
    transform: rotate(180deg);
}

/* Link EVENTOS con brillo animado */
.nav-link.sale-link {
    background: linear-gradient(100deg, #b5605d 20%, #f2c6c4 40%, #b5605d 60%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: navShine 3.2s linear infinite;
}

.nav-link.sale-link::after {
    background: #b5605d;
}

@keyframes navShine {
    to {
        background-position: -220% center;
    }
}

/* Dropdown más suave */
.dropdown-menu {
    border-radius: 10px;
    transform: translateY(12px) scale(0.98);
    transform-origin: top left;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
}

.has-dropdown:hover .dropdown-menu {
    transform: translateY(0) scale(1);
}

.dropdown-menu li a {
    transition: background 0.2s, padding-left 0.25s ease;
}

.dropdown-menu li a:hover {
    padding-left: 26px;
}

/* Buscador que se expande al enfocar */
.search-box {
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-box:focus-within {
    width: 290px;
}

.search-box input:focus {
    box-shadow: 0 0 0 4px rgba(229, 184, 183, 0.25);
}

/* Carrito: hover y rebote del contador */
.cart-trigger {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-trigger:hover {
    transform: translateY(-2px) rotate(-6deg);
}

@keyframes badgeBump {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.45);
        background: #c98d8b;
    }

    100% {
        transform: scale(1);
    }
}

.cart-badge.bump {
    animation: badgeBump 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 820px) {
    .site-header.is-scrolled {
        height: 60px;
    }

    .site-header.is-scrolled .header-logo-img {
        height: 42px;
    }

    .search-box:focus-within {
        width: 100%;
    }
}

/* ==========================================================================
   REVEAL AL HACER SCROLL
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.juno-products-grid .juno-card.reveal-card {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}

.juno-products-grid .juno-card.reveal-card.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .juno-products-grid .juno-card.reveal-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   NUEVAS SECCIONES DEL INICIO
   ========================================================================== */

/* Cinta animada continua (Marquee) */
.home-marquee {
    background: #0d0d0d;
    color: #ffffff;
    overflow: hidden;
    padding: 18px 0;
    margin: 30px 0 0;
    user-select: none;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
}

.marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: marqueeScroll 25s linear infinite !important;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-right: 48px;
    flex-shrink: 0;
}

.marquee-group span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    letter-spacing: 2.5px;
    font-weight: 600;
    white-space: nowrap;
    color: #ffffff;
}

.marquee-group i {
    color: var(--accent-pink);
    font-size: 1.15rem;
}

@keyframes marqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Banner editorial */
.home-editorial {
    max-width: 1440px;
    margin: 90px auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
}

.editorial-media {
    position: relative;
    height: 560px;
}

.editorial-img-main {
    width: 82%;
    height: 100%;
    object-fit: cover;
}

.editorial-img-float {
    position: absolute;
    right: 0;
    bottom: -40px;
    width: 42%;
    height: 300px;
    object-fit: cover;
    border: 10px solid #fff;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    animation: floatY 6s ease-in-out infinite;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.editorial-text h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.editorial-text p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 22px;
}

.editorial-list {
    margin-bottom: 32px;
}

.editorial-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-light);
}

.editorial-list i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: #b5605d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-editorial.btn-solid {
    background: var(--text-black);
    color: #fff;
}

.btn-editorial.btn-solid:hover {
    background: #b5605d;
    border-color: #b5605d;
}

/* Pasos */
.home-steps {
    background: var(--bg-soft);
    padding: 90px 32px;
    margin: 70px 0;
}

.steps-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    position: relative;
    background: #fff;
    padding: 40px 28px 34px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease,
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}

.step-card.is-visible:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

.step-num {
    position: absolute;
    top: 10px;
    right: 16px;
    font-family: var(--font-serif);
    font-size: 3.4rem;
    color: rgba(229, 184, 183, 0.35);
    line-height: 1;
}

.step-card i {
    font-size: 2.2rem;
    color: #b5605d;
    display: inline-block;
    margin-bottom: 16px;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-card:hover i {
    transform: scale(1.15) rotate(-8deg);
}

.step-card h3 {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Estadísticas */
.home-stats {
    background: linear-gradient(120deg, #111 0%, #2a1f1f 100%);
    color: #fff;
    padding: 80px 32px;
}

.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 3.6rem;
    font-weight: 600;
    color: var(--accent-pink);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-item span {
    font-size: 0.78rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

/* Testimonios */
.home-testimonials {
    max-width: 1280px;
    margin: 90px auto;
    padding: 0 32px;
}

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

.testimonial-card {
    border: 1px solid var(--border-light);
    padding: 36px 30px;
    background: #fff;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.45s,
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}

.testimonial-card.is-visible:hover {
    transform: translateY(-6px);
    border-color: var(--accent-pink);
    box-shadow: 0 20px 40px rgba(229, 184, 183, 0.2);
}

.testimonial-card .stars {
    color: #c98d8b;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.testimonial-card p {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 18px;
}

.t-author {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Galería */
.home-gallery {
    max-width: 1440px;
    margin: 90px auto 0;
    padding: 0 32px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    display: block;
    background: #f1f5f9;
}

.gallery-item.is-visible {
    opacity: 1 !important;
    transform: none !important;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item i {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: rgba(17, 17, 17, 0.35);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover i {
    opacity: 1;
}

/* CTA */
.home-cta {
    margin: 90px auto;
    max-width: 1280px;
    padding: 80px 32px;
    text-align: center;
    background: linear-gradient(135deg, #f8f1ef 0%, #f2dedd 100%);
}

.home-cta h2 {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.home-cta p {
    color: var(--text-gray);
    margin-bottom: 28px;
}

.btn-editorial.btn-light {
    background: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    color: #fff;
    text-decoration: none;
}

.btn-editorial.btn-light:hover {
    background: #0e6f64;
    border-color: #0e6f64;
    transform: translateY(-2px);
}

/* Responsive de nuevas secciones */
@media (max-width: 1024px) {
    .home-editorial {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .editorial-media {
        height: 440px;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {

    .home-editorial,
    .home-testimonials,
    .home-gallery {
        padding: 0 16px;
        margin: 60px auto;
    }

    .editorial-text h2,
    .home-cta h2 {
        font-size: 2rem;
    }

    .editorial-media {
        height: 360px;
    }

    .editorial-img-float {
        height: 200px;
    }

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

    .stat-num {
        font-size: 2.6rem;
    }

    .home-steps,
    .home-stats {
        padding: 60px 16px;
    }

    .home-cta {
        margin: 60px 16px;
        padding: 56px 20px;
    }
}