/* =========================
   VARIABLES (PRO)
========================= */
:root {
    --primary: #0d6efd;
    --primary-dark: #0b5ed7;
    --bg-soft: #f6f9fc;
    --text: #1a1a1a;
    --text-soft: #6b7280;
    --radius: 14px;
}

/* =========================
   BASE
========================= */
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #dbeafe, #eef2ff);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

/* TITULOS */
h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* =========================
   NAVBAR (GLASS)
========================= */
.navbar {
    background: rgba(255,255,255,0.7) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* =========================
   BUSCADOR PREMIUM
========================= */
.buscador-container {
    max-width: 600px;
    margin: 30px auto;
}

/* CONTENEDOR */
.buscador-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* INPUT */
.buscador-form input {
    flex: 1;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    outline: none;
}

/* BOTON LUPA */
.buscador-form button {
    background: linear-gradient(135deg, #0d6efd, #3a8bfd);
    border: none;
    color: white;
    padding: 14px 18px;
    cursor: pointer;
}

/* ❌ LIMPIAR (INTEGRADO) */
.btn-limpiar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    background: transparent;
    color: #888;

    border-left: 1px solid #eee;
    text-decoration: none;

    transition: 0.2s;
}

/* HOVER SUAVE */
.btn-limpiar:hover {
    color: #e11d48;
    background: rgba(0,0,0,0.03);
}
.btn-limpiar i {
    font-size: 14px;
}
.btn-limpiar {
    opacity: 0.6;
}

.btn-limpiar:hover {
    opacity: 1;
}
/* =========================
   PRODUCTOS (CARDS PRO)
========================= */
.list-group-item {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}

.list-group-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* IMAGEN */
.img-producto {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    margin-right: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
@media (max-width: 768px){
    .img-producto {
        width: 80px;
        height: 80px;
    }
}
/* =========================
   CARD PRODUCTO SHOPIFY
========================= */
.list-group-item {
    display: flex;
    align-items: center;
    gap: 20px;

    border-radius: 16px;
    padding: 18px;

    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.25s;
}

.list-group-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* IMAGEN */
.img-producto {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

/* BLOQUE TEXTO */
.desc-producto {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

/* DESCRIPCIÓN */
.list-group-item p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 0;
}

/* PRECIO DESTACADO */
.desc-producto strong {
    color: #111;
    font-size: 18px;
}

/* BOTON + */
.item .col-3 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.item .btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;

    background: #111;
    border: none;

    transition: 0.2s;
}

.item .btn:hover {
    transform: scale(1.1);
}
@media (max-width: 768px){

    .list-group-item {
        gap: 12px;
        padding: 12px;
    }

    .img-producto {
        width: 80px;
        height: 80px;
    }

    .desc-producto {
        font-size: 15px;
    }

    .item .btn {
        width: 38px;
        height: 38px;
    }
}
/* TEXTO */
.desc-producto {
    font-size: 17px;
    font-weight: 600;
}

.list-group-item p {
    font-size: 14px;
    color: var(--text-soft);
}

/* =========================
   BOTONES + / -
========================= */
.grupo-precio button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    border: none;
}

.cantidad {
    text-align: center;
    max-width: 55px;
}

/* =========================
   SOCIAL FLOAT
========================= */
.social {
    position: fixed;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    z-index: 999;
}

.social ul {
    list-style: none;
    padding: 0;
}

.social ul li {
    margin: 12px 0;
}
.social ul li a {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    color: #fff;

    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    transition: 0.3s;
}
.social ul li a:hover {
    transform: scale(1.2);
}

.fa-facebook-f {
    background: #1877f2;
}

.fa-instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.fa-whatsapp {
    background: #25d366;
}

.fa-envelope {
    background: #0d6efd;
}
.social ul li a:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}


/* =========================
   FOOTER ULTRA
========================= */
.bg-footer {
    background: linear-gradient(135deg, #020617, #0f172a);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.bg-footer h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

.bg-footer h4 {
    font-size: 15px;
    opacity: 0.6;
}

.bg-footer hr {
    width: 60%;
    border-color: rgba(255,255,255,0.1);
}

.bg-footer .btn {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border-radius: 50px;
    padding: 14px 40px;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(13,110,253,0.4);
    transition: 0.3s;
}

.bg-footer .btn:hover {
    transform: scale(1.08);
}

/* =========================
   RESPONSIVE REAL
========================= */
@media (max-width: 768px){

    .img-producto {
        width: 55px;
        height: 55px;
    }

    .desc-producto {
        font-size: 15px;
    }

    .social {
        left: 6px;
    }

    .bg-footer h2 {
        font-size: 26px;
    }

    .buscador-form input {
        padding: 12px 15px;
    }
}
/* CONTENEDOR RELATIVO */
#carrito {
    position: relative;
    overflow: visible;
}

/* BADGE */
#badge-carrito {
    position: absolute;
    top: -8px;
    right: -8px;

    background: red;
    color: white;

    font-size: 12px;
    font-weight: bold;

    padding: 3px 7px;
    border-radius: 50px;

    box-shadow: 0 3px 8px rgba(0,0,0,0.3);

    transform: scale(0);
    transition: 0.2s;
}

/* CUANDO APARECE */
#badge-carrito.activo {
    transform: scale(1);
}

/* REBOTE */
@keyframes bounceCart {
    0% { transform: scale(1); }
    30% { transform: scale(1.25); }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.cart-animado {
    animation: bounceCart 0.4s ease;
}

#scroll-controls {
    position: fixed;
    right: 12px;
    bottom: 80px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

#scroll-controls button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;

    background: #111;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    cursor: pointer;

    transition: 0.2s;
}

#scroll-controls button:hover {
    transform: scale(1.15);
}

.accordion-button {
    color: #222 !important;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    color: #111 !important;
}
.accordion-button:hover {
    color: #000 !important;
}
/* =========================
   MAYORISTA BOX PREMIUM
========================= */
.mayorista-box {
    max-width: 500px;
    margin: 30px auto;
    padding: 30px;

    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);

    border-radius: 18px;

    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    transition: 0.3s;
}

.mayorista-box:hover {
    transform: translateY(-3px);
}

/* TITULO */
.mayorista-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #111;
}

/* FORM */
.mayorista-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* INPUT GROUP PRO */
.input-group-pro {
    display: flex;
    align-items: center;

    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.2s;
}

/* ICONOS */
.input-group-pro i {
    color: #6b7280;
    margin-right: 10px;
    font-size: 14px;
}

/* INPUT */
.input-group-pro input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
}

/* FOCUS */
.input-group-pro:focus-within {
    box-shadow: 0 6px 20px rgba(13,110,253,0.2);
}

/* BOTON */
.btn-exportar {
    margin-top: 10px;

    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    border: none;

    color: #fff;
    padding: 14px;

    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;

    box-shadow: 0 8px 25px rgba(13,110,253,0.3);
    transition: 0.3s;
}

/* HOVER */
.btn-exportar:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 35px rgba(13,110,253,0.4);
}

/* MOBILE */
@media (max-width: 768px){
    .mayorista-box {
        margin: 20px 10px;
        padding: 20px;
    }
}
/* HEADER */
.mayorista-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-weight: 600;
    font-size: 16px;

    cursor: pointer;
    padding: 10px 5px;
}

/* ICONO */
.mayorista-toggle i {
    transition: 0.3s;
}

/* CONTENIDO OCULTO */
.mayorista-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* ACTIVO */
.mayorista-box.activo .mayorista-content {
    max-height: 9999px;
    margin-top: 15px;
}

/* ROTAR FLECHA */
.mayorista-box.activo .mayorista-toggle i {
    transform: rotate(180deg);
}
.mayorista-toggle {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
    padding: 12px 15px;
}

/* CONTENEDOR */
.titulo-descarga {
    text-align: center;
    margin: 20px 0;
}

/* BOTON PDF PRO */
.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: linear-gradient(135deg, #ff4d4d, #e60023);
    color: #fff;

    padding: 12px 22px;
    border-radius: 50px;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    box-shadow: 0 6px 18px rgba(230,0,35,0.35);
    transition: all 0.3s ease;
}

/* ICONO */
.btn-pdf i {
    font-size: 18px;
}

/* HOVER */
.btn-pdf:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 25px rgba(230,0,35,0.5);
    color: #fff;
}

/* CLICK */
.btn-pdf:active {
    transform: scale(0.96);
}

/* MOBILE */
@media (max-width: 576px){
    .btn-pdf {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 12px;
    }
}