/* ── Variables ── */
:root {
    --topbar-height: 25px;
    --top-height: 100px;
    --top-height-scrolled: 50px;
    --bottom-height: 50px;
    --mobile-bar-height: 50px;
    --color-nav: #4e5569;
    --color-nav-dark: #393f4d;
    --color-nav-darker: #262a33;
    --color-marca-violeta: #9e1f63;
    --color-marca-gris: #4e5569;
}


/* ── Base ── */
body {
    font-family: 'Lato', sans-serif;
    background: #f5f5f5;
    padding-top: calc(var(--topbar-height) + var(--top-height) + var(--bottom-height));
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main, .carousel-wrap, section {
    flex: 0 0 auto;
}

.site-footer {
    margin-top: auto;
}

h2 {font-size: 2rem; font-weight: 300; color: var(--color-marca-violeta);} 

p { font-size: 1rem; font-weight: 400; color: #444; }
p small { font-size: 0.8rem; font-weight: 400; color: #444; line-height: 0.8rem; }

.btn_celugama { font-size: 1rem; color: #fff; background: var(--color-marca-violeta); background: linear-gradient(90deg, var(--color-marca-violeta) 0%, var(--color-marca-gris) 100%); padding: 10px 30px 12px 30px; border-radius: 20px; transition: all 0.3s ease; border: 0px;}

.btn_celugama i { }

.btn_celugama:hover { background: var(--color-marca-gris); background: linear-gradient(90deg, var(--color-marca-gris) 0%, var(--color-marca-gris) 100%); color: #fff;  transform: translateY(-5px); box-shadow: 0 10px 6px rgba(0, 0, 0, 0.25);}

.btn_celugama_blanco { font-size: 1rem; color: var(--color-marca-gris); background: #fff;padding: 10px 30px 12px 30px; border-radius: 20px; }
.btn_celugama_blanco:hover { color: var(--color-marca-gris); background: #fff; }

.btn_whatsapp { font-size: 1rem; color: #fff; background: #25d366; padding: 10px 30px 12px 30px; border-radius: 20px; transition: all 0.3s ease; }

.btn_whatsapp:hover {background: #1ebe5d; color: #fff;  transform: translateY(-5px); box-shadow: 0 10px 6px rgba(0, 0, 0, 0.25); }




/* /////////////////////////////////////////////////////////// */
/* ============================================================
   NAVBAR
   ============================================================ */
/* /////////////////////////////////////////////////////////// */


/* Barra negra superior */
.navbar-topbar {
    background-color: #000;
    height: var(--topbar-height);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1031;
    transition: height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}
.navbar-topbar.scrolled {
    height: 0;
    opacity: 0;
    pointer-events: none;
}
.navbar-topbar .container-fluid { background-color: #000; }
.navbar-topbar .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    height: var(--topbar-height);
}
.navbar-topbar a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0 6px;
    height: var(--topbar-height);
    transition: color 0.2s;
}
.navbar-topbar a:hover { color: #fff; }
.navbar-topbar .acceso-clientes {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 12px;
    margin-left: 4px;
    gap: 5px;
}

/* Fila superior */
.navbar-top {
    background-color: #fff;
    height: var(--top-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: var(--topbar-height);
    left: 0; right: 0;
    z-index: 1030;
    transition: height 0.3s ease, top 0.3s ease;
    overflow: hidden;
}
.navbar-top.scrolled {
    height: var(--top-height-scrolled);
    top: 0;
}
.navbar-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.navbar-top .navbar-brand img { height: 30px; }

/* Buscador */
.search-form { display: flex; align-items: center; }
.search-form .form-control {
    border-radius: 20px 0 0 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(0,0,0,0.2);
    border-right: none;
    height: 34px;
}
.search-form input:focus { outline: none; box-shadow: none; }
.search-form .btn-search {
    border-radius: 0 20px 20px 0;
    background-color: #fff;
    color: rgba(0,0,0,0.6);
    border: 1px solid rgba(0,0,0,0.2);
    border-left: none;
    height: 34px;
    display: flex;
    align-items: center;
}
.search-form .btn-search:hover { color: rgba(0,0,0,0.8); }

/* Fila inferior */
.navbar-bottom {
    background: var(--color-marca-violeta);
    background: linear-gradient(90deg, var(--color-marca-violeta) 0%, var(--color-marca-gris) 100%);
    height: var(--bottom-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: calc(var(--topbar-height) + var(--top-height));
    left: 0; right: 0;
    z-index: 1029;
    transition: top 0.3s ease;
}
.navbar-bottom.scrolled { top: var(--top-height-scrolled); }
.navbar-bottom .container { display: flex; align-items: center; height: 100%; }
.navbar-bottom .navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-bottom .navbar-toggler-icon { filter: invert(1); }
.navbar-bottom .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.9rem;
    font-weight: 500;
    height: var(--bottom-height);
    display: flex;
    align-items: center;
    padding: 0 25px 0 0 !important;
    transition: color 0.2s;
    white-space: nowrap;
}
.navbar-bottom .nav-link:hover,
.navbar-bottom .nav-item:hover > .nav-link { color: #fff !important; }
.navbar-bottom .dropdown-toggle::after { margin-left: 6px; }

/* Dropdown nivel 1 */
.navbar-bottom .dropdown-menu {
    background-color: var(--color-nav-dark);
    border: none;
    border-radius: 0 0 0 6px;
    padding: 0;
    margin-top: 0 !important;
}
.navbar-bottom .dropdown-item {
    color: #d8d8d8;
    font-size: 0.9rem;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-bottom .dropdown-item:hover { background-color: var(--color-nav-darker); color: #fff; }

/* Dropdown nivel 2 */
.navbar-bottom .dropdown-submenu { position: relative; }
.navbar-bottom .dropdown-submenu > .dropdown-menu {
    top: 0; left: 100%;
    border-radius: 0 6px 6px 0;
    background-color: var(--color-nav-darker);
}
.navbar-bottom .dropdown-submenu > .dropdown-item::after {
    content: "\F285";
    font-family: "bootstrap-icons";
    font-size: 0.75rem;
    color: #aaa;
}
.navbar-bottom .dropdown-submenu > .dropdown-item.show,
.navbar-bottom .dropdown-submenu > .dropdown-item:focus,
.navbar-bottom .dropdown-submenu > .dropdown-item:active {
    background-color: transparent !important;
    color: #d8d8d8 !important;
}

/* Mobile */
.logo-mobile { display: none; }

@media (max-width: 991.98px) {
    body { padding-top: calc(var(--mobile-bar-height) + 20px); }

    .navbar-topbar { display: none !important; }
    .navbar-top { display: none !important; }

    .navbar-bottom {
        top: 0;
        height: calc(var(--mobile-bar-height) + 20px);
        overflow: visible;
        padding: 0;
    }
    .navbar-bottom .container { height: var(--mobile-bar-height); align-items: center; }

    .logo-mobile { display: flex; align-items: center; }
    .logo-mobile img {
        height: 20px;
        filter: brightness(0) invert(1);
        padding-left: 10px;
    }

    .navbar-bottom .navbar-collapse {
        position: absolute;
        top: calc(var(--mobile-bar-height) + 20px);
        left: 0; right: 0;
        background-color: var(--color-nav);
        z-index: 1028;
        max-height: 80vh;
        overflow-y: auto;
    }

    .navbar-bottom .navbar-nav { padding: 0; }
    .navbar-bottom .nav-link {
        height: auto !important;
        padding: 15px 20px !important;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        white-space: normal;
    }
    .navbar-bottom .navbar-nav > .nav-item:last-child > .nav-link { border-bottom: none; }
    .navbar-bottom .dropdown-menu {
        background-color: var(--color-nav-dark);
        border-radius: 0;
        position: static !important;
        float: none;
        box-shadow: none;
    }
    .navbar-bottom .dropdown-submenu > .dropdown-menu {
        left: 0; top: auto;
        background-color: var(--color-nav-darker);
        border-radius: 0;
    }

    .search-mobile-wrapper { padding: 12px 16px; background-color: var(--color-nav); }
    .search-mobile-wrapper .form-control {
        border-radius: 20px 0 0 20px;
        font-size: 0.9rem;
        background: #fff;
        height: 34px;
    }
    .search-mobile-wrapper .form-control::placeholder { color: #aaa; }
    .search-mobile-wrapper .btn-search {
        border-radius: 0 20px 20px 0;
        background-color: #fff;
        color: rgba(0,0,0,0.6);
        border: 1px solid rgba(0,0,0,0.2);
        border-left: none;
        height: 34px;
        display: flex;
        align-items: center;
    }
    .search-desktop { display: none !important; }

    .acceso-mobile { background-color: var(--color-nav-darker); border-bottom: 1px solid rgba(255,255,255,0.1); }
    .acceso-mobile a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 14px 20px;
        color: rgba(255,255,255,0.85);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
    }
    .acceso-mobile a:hover { color: #fff; background-color: #1e2128; }
}

@media (min-width: 992px) {
    .search-mobile-wrapper { display: none !important; }
    .logo-mobile { display: none !important; }
}


/* /////////////////////////////////////////////////////////// */
/* ============================================================
   CATÁLOGO — Tarjetas de producto
   ============================================================ */
/* /////////////////////////////////////////////////////////// */


.product-card {
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    background: #fff;
    overflow: hidden;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}
.product-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.13);
    transform: translateY(-3px);
}
.product-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    border-bottom: 1px solid #e9ecef;
}
.product-img-wrap img,
.product-img-wrap .img-placeholder {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
}
.product-img-wrap img { object-fit: cover; }
.product-img-wrap .img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #bbb;
    font-size: 2rem;
}
.product-body { padding: .65rem .75rem .75rem; }

/***********************/
.product-code { font-size: .7rem; color: #999; letter-spacing: .05em; text-transform: uppercase; }
.product-name {
    font-size: 1rem; font-weight: 600; color: #222;
    line-height: 1.3; margin: .1rem 0 .2rem;
    min-height: calc(1rem * 1.3 * 2);
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.product-desc {
    font-size: .7rem; color: #777; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.product-meta {
    display: flex; justify-content: space-between; align-items: center; margin-top: .45rem; padding-top: .45rem; border-top: 1px solid #f0f0f0;}

/* Carrito — controles en tarjeta */
.cart-controls {
    margin-top: 1rem;
    padding-top: .6rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: nowrap;
}
.qty-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.qty-btn {
    background: #f5f5f5;
    border: none;
    width: 26px;
    height: 28px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    color: #555;
    padding: 0;
    transition: background 0.15s;
}
.qty-btn:hover { background: #e8e8e8; }
.qty-input {
    width: 36px;
    height: 28px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #222;
    padding: 0;
    -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input:focus { outline: none; background: #fffbf0; }
.btn-add-cart {
    flex: 1;
    height: 40px;
    background: var(--color-marca-violeta, #9e1f63);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
    min-width: 0;
}
.btn-add-cart:hover { background: #7d1850; }
.btn-add-cart:active { transform: scale(0.97); }
.btn-add-cart--added { background: #2a9d8f !important; }
.product-stock { font-size: .7rem; color: #777; }
.product-precio { font-size: 1rem; font-weight: 700; color: #222; }
/***********************/

/* Slider de imágenes */
.img-slider { position: absolute; inset: 0; width: 100%; height: 100%; }
.img-slider img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity .25s ease;
}
.img-slider img.active { opacity: 1; z-index: 1; }
.img-slider img.hover-preview { z-index: 2; opacity: 0; transition: opacity .3s ease; }
.product-img-wrap:hover .img-slider img.hover-preview { opacity: 1; }

/* Estado vacío */
.empty-state { padding: 4rem 1rem; text-align: center; color: #aaa; }

/* Paginación */
.pag-wrap { padding: 1.75rem 0 2.5rem; }


/* /////////////////////////////////////////////////////////// */
/* ============================================================
   FOOTER
   ============================================================ */
/* /////////////////////////////////////////////////////////// */


.site-footer {
    background-color: var(--color-nav-darker);
    padding: 2rem 0 1rem;
}

.footer_txt {color: rgba(255,255,255,0.8);}

.site-footer a { color: rgba(255,255,255,0.8);text-decoration: none; }

.site-footer a:hover { color: #fff; }

.list-unstyled li .bi { margin: 0px 5px 0px 0px;}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 1.5rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}


/* /////////////////////////////////////////////////////////// */
/* ============================================================
   PRODUCTO — Detalle de producto
   ============================================================ */
/* /////////////////////////////////////////////////////////// */


.product-detail-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: .75rem;
    overflow: hidden;
    padding: 2rem;
}

/* Galería */
.gallery-main {
    position: relative;
    width: 100%;
    padding-top: 100%;
    border-radius: .5rem;
    overflow: hidden;
    background: #f8f8f8;
    border: 1px solid #e9ecef;
}
.gallery-main img {
    position: absolute;
    inset: 0; width: 100%; height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity .3s ease;
}
.gallery-main img.active { opacity: 1; }

.gal-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,.88);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1.1rem; color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
    transition: background .15s;
}
.gal-btn:hover { background: #fff; }
.gal-btn.prev { left: 10px; }
.gal-btn.next { right: 10px; }

.gallery-thumbs {
    display: flex; gap: .5rem;
    margin-top: .75rem; flex-wrap: wrap;
}
.gallery-thumb {
    width: 62px; height: 62px;
    border-radius: .35rem; overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer; flex-shrink: 0;
    transition: border-color .2s;
    background: #f0f0f0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: #333; }

/* Info */
.product-title {
    font-size: 1.35rem; font-weight: 700;
    color: #1a1a1a; line-height: 1.25;
    margin-bottom: 1.25rem;
}
.product-info-table {
    width: 100%; border-collapse: collapse;
    margin-bottom: 1.5rem;
}
.product-info-table td {
    padding: .5rem .6rem; font-size: .9rem;
    border-bottom: 1px solid #f0f0f0;
}
.product-info-table td:first-child {
    color: #888; width: 40%;
    font-size: .8rem; text-transform: uppercase;
    letter-spacing: .04em;
}
.product-info-table td:last-child { color: #222; font-weight: 600; }
.precio-grande { font-size: 1.6rem; font-weight: 800; color: #1a1a1a; }

/* Descripción */
.desc-section {
    margin-top: 3rem; padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}
.desc-section h6 {
    font-size: .75rem; text-transform: uppercase;
    letter-spacing: .07em; color: #999; margin-bottom: .75rem;
}
.desc-section p { font-size: .95rem; color: #444; line-height: 1.7; margin: 0; }

/* Relacionados */
.relacionados-section {
    margin-top: 2.5rem; padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}
.relacionados-section h6 {
    font-size: .75rem; text-transform: uppercase;
    letter-spacing: .07em; color: #999; margin-bottom: 1rem;
}
.rel-card {
    border: 1px solid #e9ecef; border-radius: .5rem;
    background: #fff; overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    text-decoration: none; display: block; color: inherit;
}
.rel-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
    transform: translateY(-3px); color: inherit;
}
.rel-img-wrap {
    position: relative; width: 100%; padding-top: 100%;
    overflow: hidden; border-bottom: 1px solid #e9ecef;
}
.rel-img-wrap img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity .3s ease;
}
.rel-img-wrap img.active { opacity: 1; z-index: 1; }
.rel-img-wrap img.hover-preview { z-index: 2; opacity: 0; transition: opacity .3s ease; }
.rel-card:hover .rel-img-wrap img.hover-preview { opacity: 1; }
.rel-img-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: #f0f0f0; color: #ccc; font-size: 2rem;
}
.rel-body { padding: .6rem .7rem .7rem; }
.rel-name {
    font-size: .8rem; font-weight: 600; color: #222;
    line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: .25rem;
}
.rel-precio { font-size: .82rem; font-weight: 700; color: #1a1a1a; }


/* /////////////////////////////////////////////////////////// */
/* ============================================================
   CARRUSEL
   ============================================================ */
/* /////////////////////////////////////////////////////////// */


.carousel-wrap { width: 100%; overflow: hidden;}

#mainCarousel { width: 100%; height: 500px;}

.carousel-inner, .carousel-item { height: 100%;}

.carousel-img { width: 100%; height: 100%; object-fit: cover;
    display: block;}

/* Flechas minimalistas */
.carousel-control-prev, .carousel-control-next { width: 60px;
    opacity: 0.4; transition: opacity 0.2s ease; }
#mainCarousel:hover .carousel-control-prev,
#mainCarousel:hover .carousel-control-next { opacity: 0.7;}
.carousel-control-prev-icon,
.carousel-control-next-icon { width: 40px; height: 40px;}

/* Bullets */
.carousel-indicators {
    margin-bottom: 1rem;
}
.carousel-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50%;
    border: none;
    background-color: rgba(255,255,255,0.5);
    transition: background-color 0.2s, transform 0.2s;
    padding: 0;
}
.carousel-indicators button.active {
    background-color: #fff;
    transform: scale(1);
}

/* Mobile: altura automática para imagen 1:1 */
@media (max-width: 767px) {
    #mainCarousel {
        height: auto;
        aspect-ratio: 4 / 5;
    }
}




/* ============================================================
   SECCIÓN MAYORISTA
   ============================================================ */

.mayorista-section { background: #fff; border-bottom: 1px solid #e9ecef; padding: 3rem 0;}

.mayorista-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem;}

.mayorista-titulo { color: var(--color-marca-violeta);}

.mayorista-lista {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .2rem 1.5rem;
}
.mayorista-lista li {
    font-size: .9rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 5px;
}
.mayorista-lista li i { color: var(--color-marca-violeta, #9e1f63);}
.mayorista-cta { flex-shrink: 0; }




/* /////////////////////////////////////////////////////////// */
/* ============================================================
      NOVEDADES
   ============================================================ */
/* /////////////////////////////////////////////////////////// */


.novedades-section { padding: 100px 0px 50px 0px;}
.destacados-section { padding: 100px 0px 50px 0px;}

.novedades-header {padding-bottom: 20px;} 

.product-card-nuevo { border-top: 3px solid var(--color-marca-violeta);}

.btn-ver-mas { color: var(--color-marca-gris) !important; transition: color .2s; text-decoration: none; color: inherit;}
.btn-ver-mas:hover { color: var(--color-marca-violeta) !important; }

.novedades-header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }

.banner_novedades { background: var(--color-marca-violeta); display: flex; align-items: center; text-align: center; border-radius: 20px; transition: all 0.3s ease;}

.banner_reingresos { background: var(--color-marca-gris);} 

.banner_novedades_on { padding: 70px 0px 60px 0px;}


/* /////////////////////////////////////////////////////////// */
/* ============================================================
   BANNERS (entre novedades y destacados)
   ============================================================ */
/* /////////////////////////////////////////////////////////// */


.banners-section { padding: 0px 0px 100px 0px;}
.banners-section-2 { padding: 0px 0px 100px 0px; background: #fff;}
.banners-section-3 { padding: 0px 0px 100px 0px;}

.banner-card {
    display: block;
    position: relative;
    height: 300px;
    border-radius: 25px;
    overflow: hidden;
    text-decoration: none;
    background-image: var(--banner-bg);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(1);
}
.banner-card:hover { transform: translateY(-8px); box-shadow: 0 16px 10px rgba(0,0,0,0.25); transform: scale(1.05);}

/* Overlay de color con transparencia */
.banner-overlay {
    position: absolute;
    inset: 0;
    background:#000;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.banner-card:hover .banner-overlay {
    opacity: 0.3;
}

.banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px ;
}


@media (max-width: 767px) {
    .banner-card { height: 180px; }
    
}
/* ── Carrito — ícono en navbar ── */
.cart-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: rgba(0,0,0,0.55);
    font-size: 0.85rem;
    white-space: nowrap;
    padding: 0 8px;
    transition: color 0.2s;
    flex-shrink: 0;
    position: relative;
}
.cart-icon:hover { color: rgba(0,0,0,0.85); }
.cart-icon i { font-size: 1.2rem; }
.cart-badge {
    background: var(--color-marca-violeta, #9e1f63);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    margin-left: -8px;
    margin-top: -10px;
    transition: transform 0.2s;
}
.cart-has-items .cart-badge { transform: scale(1.15); }
.cart-total {
    font-weight: 600;
    font-size: 0.82rem;
    color: rgba(0,0,0,0.7);
}

/* ============================================================
   MI CUENTA
   ============================================================ */

.cuenta-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: .75rem;
    padding: 1.5rem;
    display: block;
}
.cuenta-card-link {
    text-decoration: none;
    color: inherit;
    transition: box-shadow .2s, transform .2s;
}
.cuenta-card-link:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    transform: translateY(-2px);
    color: inherit;
}
.cuenta-card h6 {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #aaa;
    margin-bottom: .6rem;
    font-weight: 700;
}
.cuenta-card-icon {
    font-size: 1.8rem;
    margin-bottom: .75rem;
    color: var(--color-marca-violeta, #9e1f63);
}

/* Badges de estado */
.pedido-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .6rem;
    border-radius: 20px;
    letter-spacing: .03em;
}
.badge-pendiente  { background: #fff3cd; color: #856404; }
.badge-confirmado { background: #d1e7dd; color: #0a3622; }
.badge-enviado    { background: #cfe2ff; color: #084298; }
.badge-cancelado  { background: #f8d7da; color: #58151c; }

/* Lista de pedidos */
.pedidos-lista {
    border: 1px solid #e9ecef;
    border-radius: .75rem;
    overflow: hidden;
}
.pedido-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f0f0f0;
    transition: background .15s;
}
.pedido-row:last-child { border-bottom: none; }
.pedido-row:hover { background: #f8f9fa; }
.pedido-row-left {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}
.pedido-id {
    font-weight: 700;
    font-size: .9rem;
    color: var(--color-marca-violeta, #9e1f63);
}
.pedido-fecha { font-size: .75rem; color: #aaa; }
.pedido-row-center {
    flex: 1;
}
.pedido-nota {
    font-size: .8rem;
    color: #888;
}
.pedido-row-right {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
    font-size: .9rem;
}

@media (max-width: 575px) {
    .pedido-row { flex-wrap: wrap; gap: .5rem; }
    .pedido-row-center { display: none; }
    .pedido-row-right { width: 100%; justify-content: space-between; }
}

/* ── Referencia de estados ── */
.estados-referencia {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem .75rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    padding: .85rem 1.1rem;
}
.estado-ref-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    color: #666;
}
.estado-ref-item .pedido-badge { flex-shrink: 0; }

@media (min-width: 768px) {
    .estados-referencia { grid-template-columns: repeat(3, 1fr); }
}

/* ── Estado en_proceso ── */
.badge-en-proceso { background: #e0d7f5; color: #5b21b6; }

/* ── Alerta descriptiva de estado ── */
.alert-estado {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .85rem 1.1rem;
    border-radius: .5rem;
    font-size: .88rem;
    font-weight: 500;
}
.alert-estado i { font-size: 1.1rem; flex-shrink: 0; }
.alert-estado-pendiente  { background: #fff8e1; color: #856404; border-left: 4px solid #ffc107; }
.alert-estado-en_proceso { background: #ede9fe; color: #5b21b6; border-left: 4px solid #7c3aed; }
.alert-estado-confirmado { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.alert-estado-enviado    { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }
.alert-estado-cancelado  { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }

/* ============================================================
   CARRITO — Tabla y botones
   ============================================================ */

.carrito-table thead th {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #999;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
    padding: .6rem .5rem;
}
.carrito-table td {
    padding: .9rem .5rem;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
.carrito-total-row td {
    border-bottom: none;
    border-top: 2px solid #e9ecef;
    padding-top: 1rem;
}
.btn-quitar {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 4px 6px;
    transition: color .2s;
    font-size: .85rem;
    line-height: 1;
}
.btn-quitar:hover { color: #e74c3c; }

.btn-finalizar {
    background-color: var(--color-marca-violeta, #9e1f63);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: .5rem 1.4rem;
    font-weight: 600;
    font-size: .9rem;
    transition: background .2s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.btn-finalizar:hover { background-color: #7d1850; color: #fff; }
.btn-finalizar:disabled { opacity: .7; cursor: not-allowed; }

/* ── Login modal ── */
.btn-login {
    background-color: var(--color-marca-violeta, #9e1f63);
    color: #fff;
    font-weight: 600;
    border: none;
    transition: background 0.2s;
}
.btn-login:hover { background-color: #7d1850; color: #fff; }
.btn-login:disabled { opacity: .7; }

/* ── Estado en_edicion ── */
.badge-en-edicion { background: #fef3c7; color: #92400e; }
.alert-estado-en_edicion { background: #fef3c7; color: #92400e; border-left: 4px solid #f59e0b; }

/* ── Botón editar pedido en lista ── */
.btn-editar-pedido {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #888;
    cursor: pointer;
    padding: 3px 7px;
    font-size: .8rem;
    transition: color .2s, border-color .2s, background .2s;
    line-height: 1.4;
}
.btn-editar-pedido:hover {
    color: var(--color-marca-violeta, #9e1f63);
    border-color: var(--color-marca-violeta, #9e1f63);
    background: #fdf4f9;
}

/* ── Filas alternas en tablas ── */
.carrito-table tbody tr:nth-child(even) td,
.table tbody tr:nth-child(even) td {
    background-color: #f9f7fb;
}

/* ── Filas alternas — mayor especificidad ── */
.carrito-table > tbody > tr:nth-child(even) > td {
    background-color: #f9f7fb !important;
}

.table > tbody > tr:nth-child(even) > td {
    background-color: #f9f7fb !important;
}

/* ── Filas alternas en lista de pedidos ── */
.pedidos-lista .pedido-row:nth-child(even) {
    background-color: #f9f7fb;
}

/* ── Filas alternas pedidos — forzado ── */
.pedidos-lista .pedido-row:nth-of-type(even) {
    background-color: #f9f7fb !important;
}
.pedidos-lista .pedido-row:nth-of-type(odd) {
    background-color: #ffffff !important;
}

/* ── Filas alternas pedidos ── */
.pedido-row-alt { background-color: #f9f7fb !important; }
.pedido-row-alt:hover { background-color: #f0ecf7 !important; }




/* ============================================================
   SECCIÓN NOSOTROS
   ============================================================ */

.nosotros-section { background: #fff; overflow: hidden; padding: 100px 0px 25px 0px;}
.nosotros-img-wrap { position: relative; height: 100%; min-height: 500px; overflow: hidden; border-radius: 1rem;}
.nosotros-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.2s ease;
    border-radius: 1rem;
}
.nosotros-img.active { opacity: 1;}
.nosotros-content { padding: 1rem 3rem 1rem 3.5rem;}
.nosotros-titulo { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem;}
.nosotros-logo { height: 25px; width: auto;}
.nosotros-content p { margin-bottom: .75rem;}
.nosotros-content .btn {margin-top: 10px;}
.nosotros-marcas span { color: var(--color-marca-violeta);
}


@media (max-width: 767px) {
    .nosotros-img-wrap { min-height: 260px; }
    .nosotros-content { padding: 2rem 1.25rem; }
}

/* ============================================================
   CAROUSEL DE CLIENTES
   ============================================================ */

.clientes-section { background: #fff; padding: 2rem 0 3rem 0;}

.clientes-titulo {text-align: center; }

.clientes-slide { display: flex; align-items: center; justify-content: center; gap: 2rem; padding: 0 3rem; }

.cliente-logo-wrap {
    flex: 0 0 calc(25% - 1.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1rem;
}

.cliente-logo {
    max-height: 100px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(.8);
    transition: filter .3s ease;
}

.cliente-logo:hover {
    filter: grayscale(0%) opacity(1);
}

/* Flechas minimalistas */
.clientes-prev,
.clientes-next {
    width: 50px;
    color: #ccc;
    transition: color .2s;
}
.clientes-prev:hover,
.clientes-next:hover { color: #888; }
.clientes-prev i,
.clientes-next i { font-size: 1.2rem; }
.clientes-prev .carousel-control-prev-icon,
.clientes-next .carousel-control-next-icon { display: none; }

/* Mobile: 2 logos por slide */
@media (max-width: 767px) {
    .cliente-logo-wrap {
        flex: 0 0 calc(50% - 1rem);
    }
    .clientes-slide {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0 2.5rem;
    }
}

/* ============================================================
   SECCIÓN MARCAS
   ============================================================ */

.marcas-section {padding: 0px 0px 100px 0px; }

.marca-card {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 100%; /* cuadrado */
    border-radius: .65rem;
    overflow: hidden;
    text-decoration: none;
    background-image: var(--marca-bg);
    background-size: cover;
    background-position: center;
    transition: transform .3s ease, box-shadow .3s ease;
}
.marca-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
}

.marca-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    transition: background .3s ease;
    z-index: 1;
}
.marca-card:hover .marca-overlay {
    background: rgba(0,0,0,.3);
}

.marca-logo-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    z-index: 2;
}

.marca-logo {
    max-width: 75%;
    max-height: 60%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform .3s ease;
}
.marca-card:hover .marca-logo {
    transform: scale(1.06);
}

/* ── Marcas cards — ajustes sobre banner-card ── */
.marca-card-item {
    aspect-ratio: 1 / 1;
    height: auto;
}
.marca-card-item .banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.marca-logo-img {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform .3s ease;
}
.marca-card-item:hover .marca-logo-img {
    transform: scale(1.06);
}

/* ── Sin borde en cards de reingreso ── */
.product-card-reingreso {
    border-top: none;
}

/* ── Sección Reingresos (index) ── */
.reingresos-section {
    padding: 100px 0px 50px 0px;
    background: #fff;
}
.product-card-reingreso {
    border-top: none;
}

/* ============================================================
   BOTONES FLOTANTES
   ============================================================ */

/* WhatsApp */
.fab-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1050;
    width: 80px;
    height: 80px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.7rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37,211,102,.45);
    transition: transform .2s, box-shadow .2s;
}
.fab-whatsapp:hover {
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,.7);
}

/* Ir arriba */
.fab-top {
    position: fixed;
    bottom: 8rem;
    right: 3rem;
    z-index: 1050;
    width: 50px;
    height: 50px;
    background: rgba(78,85,104,.5);
    color: #fff;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .2s;
}
.fab-top--visible {
    opacity: 1;
    pointer-events: auto;
}
.fab-top:hover {
    background: rgba(78,85,104,1);
    transform: translateY(-5px);
}


/* ── Paginación ── */
.page-link {
    color: var(--color-marca-gris, #4e5569);
    border-color: #dee2e6;
    transition: background .2s, color .2s;
}
.page-link:hover {
    color: #fff;
    background-color: var(--color-marca-gris, #4e5569);
    border-color: var(--color-marca-gris, #4e5569);
}
.page-item.active .page-link {
    background-color: var(--color-marca-gris, #4e5569);
    border-color: var(--color-marca-gris, #4e5569);
    color: #fff;
}
.page-item.disabled .page-link {
    color: #aaa;
}

/* ============================================================
   SIDEBAR CATÁLOGO
   ============================================================ */

.catalogo-sidebar {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    padding: .75rem;
}
.sidebar-titulo {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #aaa;
    font-weight: 700;
    margin-bottom: .5rem;
    padding-bottom: 0;
    border-bottom: none;
    /* Misma altura que la barra de conteo + filtros */
    height: 2rem;
    display: flex;
    align-items: center;
}
.sidebar-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-lista li { margin-bottom: 0; border-bottom: 1px solid #f0f0f0; }
.sidebar-lista li:last-child { border-bottom: none; }
.sidebar-link {
    display: block;
    padding: .4rem .6rem;
    font-size: .82rem;
    color: #555;
    text-decoration: none;
    border-radius: .35rem;
    transition: background .15s, color .15s;
    line-height: 1.3;
}
.sidebar-link:hover {
    background: #f5f5f5;
    color: var(--color-marca-violeta, #9e1f63);
}
.sidebar-link.active {
    background: transparent;
    color: var(--color-marca-violeta, #9e1f63);
    font-weight: 700;
}

/* ── Sidebar expandible ── */
.sidebar-item-wrap { margin-bottom: 0; border-bottom: 1px solid #f0f0f0; }
.sidebar-item-wrap:last-child { border-bottom: none; }

.sidebar-sub-row {
    display: flex;
    align-items: center;
    gap: 2px;
}
.sidebar-sub-row .sidebar-link { flex: 1; }

.sidebar-toggle {
    background: none;
    border: none;
    color: #aaa;
    padding: 4px 5px;
    cursor: pointer;
    border-radius: .25rem;
    line-height: 1;
    transition: color .2s, transform .25s;
    flex-shrink: 0;
}
.sidebar-toggle:hover { color: var(--color-marca-violeta, #9e1f63); }
.sidebar-toggle.open i { transform: rotate(180deg); }
.sidebar-toggle i { display: block; transition: transform .25s; }

.sidebar-subsub {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.sidebar-subsub.open { max-height: 600px; }

.sidebar-link-sub {
    padding-left: 1.2rem;
    font-size: .78rem;
    color: #777;
}
.sidebar-link-sub:hover { color: var(--color-marca-violeta, #9e1f63); }
.sidebar-link-sub.active {
    background: transparent;
    color: var(--color-marca-violeta, #9e1f63);
    font-weight: 700;
}

/* ── Sidebar y contenido: proporciones de 5 columnas ── */
@media (min-width: 768px) {
    .col-catalogo-sidebar {
        flex: 0 0 20%;
        max-width: 20%;        
        position: sticky;
        top: calc(var(--top-height-scrolled) + var(--bottom-height) + 16px);        
        margin-top: 30px;
        margin-bottom: 100px;
        align-self: flex-start;
        height: fit-content;
    }
    .col-catalogo-content {
        flex: 0 0 80%;
        max-width: 80%;
    }
}

/* ── Selects redondeados en filtros ── */
.select-redondeado {
    border-radius: 20px !important;
    padding-left: .85rem;
    padding-right: 2rem;
}


/* /////////////////////////////////////////////////////////// */
/* ============================================================
   CONTACTO
   ============================================================ */
/* /////////////////////////////////////////////////////////// */

.contacto-section { padding: 70px 0 70px; }



.contacto-datos-directos {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.contacto-datos-directos a {
    color: var(--color-marca-gris);
    text-decoration: none;
    font-size: .95rem;
    display: flex;
    align-items: center;
}
.contacto-datos-directos a:hover { color: var(--color-marca-violeta); }
.contacto-datos-directos i { color: var(--color-marca-violeta); margin-right: .5rem; font-size: 1.1rem; }

.contacto-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: .75rem;
    padding: 2rem 1.5rem 2.25rem;
    width: 100%;
}
@media (min-width: 768px) {
    .contacto-card { padding: 2.75rem 3rem 3rem; }
}

.contacto-section-title {
    font-weight: 700;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #999;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.contacto-section-title i { color: var(--color-marca-violeta); }
.contacto-required { color: var(--color-marca-violeta); font-weight: 700; }

/* Actividad: tarjetas seleccionables */
.contacto-activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .65rem;
}
@media (min-width: 576px) {
    .contacto-activity-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
    .contacto-activity-grid { grid-template-columns: repeat(5, 1fr); }
}
.contacto-activity-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.contacto-activity-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    text-align: center;
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    padding: .9rem .5rem;
    min-height: 92px;
    cursor: pointer;
    font-weight: 700;
    font-size: .82rem;
    color: #666;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.contacto-activity-option label i {
    font-size: 1.4rem;
    color: #999;
    transition: color .15s ease;
}
.contacto-activity-option input:checked + label {
    border-color: var(--color-marca-violeta);
    background: rgba(158, 31, 99, .06);
    color: var(--color-marca-violeta);
}
.contacto-activity-option input:checked + label i { color: var(--color-marca-violeta); }
.contacto-activity-option input:focus-visible + label {
    outline: 2px solid var(--color-marca-violeta);
    outline-offset: 2px;
}

/* Checkbox de consentimiento */
.contacto-check .form-check-input:checked {
    background-color: var(--color-marca-violeta);
    border-color: var(--color-marca-violeta);
}
.contacto-check .form-check-input:focus {
    border-color: var(--color-marca-violeta);
    box-shadow: 0 0 0 .2rem rgba(158, 31, 99, .15);
}
.contacto-check label { font-size: .85rem; color: #666; }

/* Honeypot: oculto visualmente pero presente para bots */
.contacto-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contacto-success { display: none; text-align: center; padding: 2rem 1rem; }
.contacto-success.is-visible { display: block; }
.contacto-success i { font-size: 3.2rem; color: var(--color-marca-violeta); margin-bottom: 1rem; }
.contacto-success h2 { font-weight: 900; font-size: 1.4rem; margin-bottom: .5rem; color: #1a1a1a; }
.contacto-success p { color: #666; margin-bottom: 1.5rem; }

.contacto-form-wrapper.is-hidden { display: none; }
