:root {
    --bg: #f4f4f4;
    --text: #111;
    --card: #fff;
    --accent: #c62828;
    --shadow: rgba(0,0,0,0.15);
}

body.dark {
    --bg: #121212;
    --text: #f5f5f5;
    --card: #1e1e1e;
    --shadow: rgba(0,0,0,0.6);
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.boton.reservado {
    background: #999;
    color: #fff;
    cursor: not-allowed;
}


/* ================= HEADER ================= */
/*.header-pro {
  background: linear-gradient(180deg,#111,#000);
  color: #fff;
  padding: 20px;
}*/

.header-content {
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap; /* 🔥 CLAVE */
}


.brand h1 {
    margin: 0;
    font-size: 1.6rem;
}

.brand p {
    margin: 0;
    font-size: .85rem;
    opacity: .7;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0; /* 🔥 no se aplastan */
}


.search-box {
    flex: 1;
    min-width: 0; /* 🔥 evita overflow */
}

.search-box input {
    width: 100%;
}


.icon-btn {
    background: #222;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn.cart span {
    font-size: .7rem;
    background: #ff5252;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 4px;
}

/* ================= FILTROS ================= */
.filtros {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px;
    justify-content: center;
}

.filtros button {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    background: var(--card);
    cursor: pointer;
    box-shadow: 0 4px 10px var(--shadow);
}

.filtros button.active {
    background: var(--accent);
    color: #fff;
}

/* ================= CATÁLOGO ================= */
#catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    padding: 40px;
}

.producto {
    background: var(--card);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px var(--shadow);
    position: relative;
}

.info {
    padding: 18px;
}

.precio {
    color: var(--accent);
    font-weight: bold;
}

.boton {
    margin-top: 12px;
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg,#00ffd5,#00c2a8);
    cursor: pointer;
}

/* ================= BADGES ================= */
.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

.badge.nuevo {
    background: #00ffd5;
    color: #000;
}

/* ================= PAGINACIÓN ================= */
.paginacion {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 30px 0 50px;
    flex-wrap: wrap;
}

.paginacion button {
    padding: 8px 14px;
    border-radius: 12px;
    border: none;
    background: var(--card);
    color: var(--text);
    box-shadow: 0 4px 12px var(--shadow);
    cursor: pointer;
    min-width: 40px;
}

.paginacion button.active {
    background: var(--accent);
    color: #fff;
}

/* ================= MODALES (ENVÍOS / PAGOS) ================= */
/* ================= MODALES FIX ================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 1300;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}


.modal-contenido {
    background: var(--card);
    color: var(--text);
    max-width: 500px;
    width: 90%;
    padding: 25px;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

.modal-contenido h2 {
    margin-bottom: 15px;
}

.cerrar {
    position: absolute;
    top: 12px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
}

/* Envíos */
.envio-item,
.pago-item {
    margin-bottom: 15px;
}

.envio-item h3,
.pago-item h3 {
    margin-bottom: 5px;
}

.envio-nota,
.pago-nota {
    margin-top: 20px;
    font-size: 0.9em;
    opacity: 0.85;
}

/* ================= OVERLAY ================= */
.overlay,
#enviosOverlay,
#pagosOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 998;
}

#enviosOverlay.show,
#pagosOverlay.show {
    display: block;
}

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


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

/* ================= WHATSAPP FLOAT ================= */
#whatsappFloat {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #000;
    font-size: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
}

/* ================= LOADER ================= */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #ccc;
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-box input {
        width: 120px;
    }


}

/* ================= CARRITO DRAWER FIX ================= */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px; /* oculto */
    width: 360px;
    max-width: 90%;
    height: 100vh;
    background: var(--card);
    box-shadow: -20px 0 40px rgba(0,0,0,.4);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

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

/* Header carrito */
.cart-header {
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,.1);
}

/* Items */
.cart-items {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 55vh;
}


/* Footer carrito */
.cart-footer {
    padding: 15px;
    border-top: 1px solid rgba(0,0,0,.1);
}

/* Overlay */
#cartOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 900; /* MÁS BAJO que el confirm */
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

#cartOverlay.show {
    opacity: 1;
    pointer-events: auto;
}


/* ================= FILTROS EN MODO OSCURO ================= */
body.dark .filtros button {
    background: #2a2a2a;
    color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0,0,0,.6);
}

body.dark .filtros button:hover {
    background: #333;
}

body.dark .filtros button.active {
    background: var(--accent);
    color: #fff;
}


.filtros button {
    transition: background .2s ease, color .2s ease, transform .15s ease;
}

.filtros button:hover {
    transform: translateY(-2px);
}

/* ================= MERCADO LIBRE STYLE ================= */

/* TRUST BAR */
.ml-trust {
    max-width: 1200px;
    margin: 30px auto 10px;
    padding: 20px;
    background: var(--card);
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
    box-shadow: 0 12px 30px var(--shadow);
}

.ml-trust-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ml-trust-item span {
    font-size: 28px;
}

.ml-trust-item strong {
    display: block;
    font-size: .95rem;
}

.ml-trust-item p {
    margin: 0;
    font-size: .8rem;
    opacity: .75;
}

/* CARD HOVER PRO */
.producto {
    transition: transform .25s ease, box-shadow .25s ease;
}

.producto:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0,0,0,.45);
}

/* BOTÓN ML */
.boton {
    font-weight: 600;
    letter-spacing: .3px;
    transition: filter .2s ease;
}

.boton:hover {
    filter: brightness(1.1);
}

/* MODAL INFO */
.ml-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 998;
}

.ml-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: var(--card);
    color: var(--text);
    width: 90%;
    max-width: 420px;
    padding: 25px;
    border-radius: 18px;
    z-index: 999;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
}

.ml-modal h2 {
    margin-top: 0;
}

.ml-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
}

/* DARK FIX FILTROS */
body.dark .filtros button {
    background: #222;
    color: #fff;
}

/* ================= CONVERSIÓN PRO ================= */

.badge.unico {
    background: linear-gradient(135deg,#ff5252,#ff1744);
    color: #fff;
}

.badge.ultimo {
    background: linear-gradient(135deg,#ff5252,#ff1744);
    color: #fff;
}

.badge.oferta {
    background: linear-gradient(135deg,#ff5252,#ff1744);
    color: #fff;
}

.badge.nuevo {
  background: #00c853;
  color: #fff;
}

.badge.exclusivo {
  background: #ff6d00;
  color: #fff;
}

.badge.preventa {
  background: #7b1fa2;
  color: #fff;
}

.stock-mental {
    display: block;
    font-size: 0.75rem;
    opacity: .75;
    margin-bottom: 6px;
}

.envio-mini {
    font-size: .7rem;
    opacity: .7;
    display: block;
    margin-bottom: 10px;
}

.boton {
    font-weight: 600;
    letter-spacing: .2px;
}

.boton:hover {
    transform: scale(1.02);
}

/* ================= CARRITO ================= */

.cart-hint {
    font-size: .8rem;
    opacity: .7;
    margin-bottom: 10px;
    text-align: center;
}

/* ================= TRUST STRIP ================= */

.trust-strip {
    text-align: center;
    padding: 25px 10px;
    font-size: .85rem;
    opacity: .7;
}

/* ================= DARK MODE FIX FILTROS ================= */

body.dark .filtros button {
    background: #1e1e1e;
    color: #f5f5f5;
}

body.dark .filtros button.active {
    background: var(--accent);
    color: #fff;
}
/* ================= VISIT COUNTER ================= */
.visit-counter {
    text-align: center;
    padding: 12px 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

body.dark .visit-counter {
    opacity: 0.9;
}

/* =======================
   CARRITO DRAWER PRO
======================= */

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    height: 100vh;
    background: var(--card);
    color: var(--text);
    box-shadow: -20px 0 40px rgba(0,0,0,.4);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right .35s ease;
}

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

body.dark .cart-drawer {
    background: #1a1a1a;
}

/* HEADER */
.cart-header {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.cart-header h2 {
    margin: 0;
    font-size: 1.1rem;
}

.cart-header button {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text);
    cursor: pointer;
}


.cart-item strong {
    font-size: .9rem;
}

/* CANTIDAD */
.cart-qty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-qty button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-weight: bold;
    background: #eee;
}

body.dark .cart-qty button {
    background: #333;
    color: #fff;
}

.cart-remove {
    background: none;
    border: none;
    color: #ff5252;
    cursor: pointer;
    font-size: 16px;
}

/* FOOTER */
.cart-footer {
    padding: 18px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#cartTotal {
    font-size: 1.1rem;
    font-weight: bold;
}

/* WHATSAPP */
.btn-whatsapp {
    background: linear-gradient(135deg,#25d366,#1ebc59);
    color: #000;
    padding: 14px;
    text-align: center;
    border-radius: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: transform .2s;
}

.btn-whatsapp:hover {
    transform: scale(1.03);
}

/* VACIAR */
.btn-vaciar {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: .85rem;
    cursor: pointer;
    text-align: center;
}

/* OVERLAY */
#cartOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1000;
    display: none;
}

#cartOverlay.show {
    display: block;
}

/* ===============================
   MEJORAS CARRITO – CONVERSIÓN
   =============================== */

/* Animación al agregar producto */

.producto.added {
    animation: added 0.6s ease;
}

@keyframes added {
    0% { transform: scale(1); }
    40% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes productoPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

/* Textos informativos carrito */
.cart-note,
.cart-secure,
.cart-timer {
    font-size: 0.85rem;
    opacity: 0.8;
    text-align: center;
    line-height: 1.4;
}

/* Temporizador */
.cart-timer {
    font-weight: 600;
    color: var(--accent);
}

/* Mensaje confianza */
.cart-secure {
    font-size: 0.8rem;
}

/* Pulso WhatsApp */
.btn-whatsapp {
    position: relative;
    z-index: 1;
}


@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===============================
   CARRITO – REDISEÑO VISUAL PRO
   =============================== */


.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px var(--shadow);
}

/* Nombre producto */
.cart-item strong {
    font-size: 0.95rem;
    line-height: 1.3;
}

/* Precio */
.cart-price {
    color: var(--accent);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Controles */
.cart-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

/* Cantidad */
.cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-weight: bold;
    background: #eee;
    transition: background .2s ease, transform .15s ease;
}

.cart-qty button:hover {
    transform: scale(1.1);
}

body.dark .cart-qty button {
    background: #333;
    color: #fff;
}

/* Eliminar */
.cart-remove {
    background: none;
    border: none;
    color: #ff5252;
    font-size: 18px;
    cursor: pointer;
    transition: transform .15s ease;
}

.cart-remove:hover {
    transform: scale(1.2);
}

/* Mensajes informativos */
.cart-note {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.75;
    margin-bottom: 6px;
}

.cart-secure {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.7;
}

.cart-timer {
    text-align: center;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--accent);
}

.cart-legal-mini {
    font-size: 0.75rem;
    opacity: 0.8;
    text-align: center;
    line-height: 1.4;
}

.cart-legal-mini a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.cart-legal-mini a:hover {
    text-decoration: underline;
}
/* ================= TRUST SECTION ================= */
.trust-section {
    padding: 50px 20px;
    text-align: center;
}

.trust-grid {
    max-width: 1000px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 20px;
}

.trust-card {
    background: var(--card);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 12px 30px var(--shadow);
    font-size: .95rem;
}

.trust-card span {
    display: block;
    font-size: .8rem;
    opacity: .7;
}

/* ================= TESTIMONIOS ================= */
.testimonios {
    padding: 50px 20px;
    background: rgba(0,0,0,.03);
    text-align: center;
}

body.dark .testimonios {
    background: rgba(255,255,255,.04);
}

.testimonios-grid {
    max-width: 800px;
    margin: 30px auto 0;
    display: grid;
    gap: 20px;
}

.testimonio {
    background: var(--card);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 12px 30px var(--shadow);
    font-size: .9rem;
}

.testimonio span {
    display: block;
    margin-top: 8px;
    font-size: .75rem;
    opacity: .6;
}

/* ================= FAQ ================= */
.faq {
    padding: 50px 20px;
    max-width: 800px;
    margin: auto;
}

.faq-item {
    margin-bottom: 12px;
}

.faq-question {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: none;
    background: var(--card);
    box-shadow: 0 8px 20px var(--shadow);
    text-align: left;
    font-weight: bold;
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding: 12px 14px;
    font-size: .85rem;
    opacity: .8;
}

/* ================= CARRITO PRO ================= */



.cart-item strong {
    font-size: .9rem;
    line-height: 1.3;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #eaeaea;
    font-weight: bold;
    cursor: pointer;
}

body.dark .cart-qty button {
    background: #333;
    color: #fff;
}

.cart-remove {
    border: none;
    background: none;
    color: #ff5252;
    font-size: 18px;
    cursor: pointer;
}

/* TOTAL */
#cartTotal {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

/* WHATSAPP BOTÓN */
.btn-whatsapp {
    background: linear-gradient(135deg,#25d366,#1ebc59);
    padding: 16px;
    border-radius: 18px;
    font-size: 1rem;
    text-align: center;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.btn-whatsapp:hover {
    transform: scale(1.03);
}

/* VACIAR */
.btn-vaciar {
    border: none;
    background: none;
    color: #ff6b6b;
    font-size: .85rem;
    cursor: pointer;
    text-align: center;
}

/* MENSAJE */
.cart-hint {
    font-size: .8rem;
    opacity: .75;
    text-align: center;
    margin-bottom: 10px;
}
/* ================= TOAST CARRITO ================= */

.cart-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--card);
    color: var(--text);
    width: 280px;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
    z-index: 2000;
    display: none;
    animation: slideIn .35s ease;
}

.cart-toast strong {
    display: block;
    margin-bottom: 6px;
    font-size: .95rem;
}

.cart-toast p {
    font-size: .85rem;
    opacity: .8;
    margin: 0 0 10px;
}

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

.toast-actions button {
    border: none;
    cursor: pointer;
    font-size: .8rem;
}

#toastVerCarrito {
    background: var(--accent);
    color: #fff;
    padding: 6px 12px;
    border-radius: 10px;
}

#toastCerrar {
    background: none;
    font-size: 16px;
    opacity: .6;
}

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

body.dark .cart-toast {
    background: #1e1e1e;
}

/* MODAL IMAGEN */


.image-modal img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,.6);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

/* ================= CONFIRM MODAL ================= */


.confirm-box h3 {
    margin-top: 0;
}

.confirm-box p {
    font-size: .9rem;
    opacity: .85;
}

.confirm-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-cancelar {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    border: none;
    background: #ddd;
    cursor: pointer;
    font-weight: 600;
}

.btn-confirmar {
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg,#ff5252,#ff1744);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

body.dark .btn-cancelar {
    background: #333;
    color: #fff;
}

@keyframes popIn {
    from {
        transform: scale(.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.como-funciona {
    margin: 60px auto;
    max-width: 1100px;
    padding: 0 20px;
    text-align: center;
}

.como-funciona h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.pasos-compra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.paso {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.paso:hover {
    transform: translateY(-5px);
}

.paso span {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    line-height: 40px;
    margin-bottom: 10px;
}

.paso p {
    font-size: 0.95rem;
    color: #333;
}

/* MODO OSCURO (si lo usas) */
body.dark .paso {
    background: #1e1e1e;
    color: #f1f1f1;
}

body.dark .paso p {
    color: #ddd;
}
.pasos-carrito {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

.titulo-pasos {
    font-weight: bold;
    margin-bottom: 10px;
}

.pasos-carrito ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pasos-carrito li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.pasos-carrito span {
    width: 22px;
    height: 22px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    text-align: center;
    line-height: 22px;
}

/* Modo oscuro */
body.dark .pasos-carrito {
    background: #1e1e1e;
}

/*.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #000;
}*/

.logo img {
    height: 45px;
    width: auto;
}

@media (max-width: 768px) {
    .logo img {
        height: 38px;
    }
}
.img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #111;
    border-radius: 14px;
    overflow: hidden;
}

.producto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

.producto-img:hover {
    transform: scale(1.05);
}



.cart-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-info {
    flex: 1;
}

.cart-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.cart-price,
.cart-qty {
    font-size: 0.8rem;
    margin: 2px 0;
    opacity: 0.8;
}

.cart-remove {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.6;
}

.cart-remove:hover {
    opacity: 1;
    color: red;
}


/* TARJETA DE PRODUCTO */

/* IMAGEN PRODUCTO */
.cart-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

/* TEXTO PRODUCTO */
.cart-item-info h4 {
    font-size: 1rem;
    margin: 0 0 4px;
}

.cart-item-info .precio {
    font-size: 0.95rem;
    font-weight: 600;
    color: #d32f2f;
}

.cart-item-info .cantidad {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* BOTÓN ELIMINAR */
.cart-item-remove {
    margin-left: auto;
    font-size: 20px;
    color: #e53935;
    cursor: pointer;
}

.cart-footer {
    padding: 14px 18px;
    border-top: 1px solid rgba(0,0,0,.05);
}

/* TOTAL */
#cartTotal {
    font-size: 1rem;
    margin: 6px 0;
}

/* TEXTO LEGAL */
.cart-legal-mini {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 10px;
}

/* PASOS */
.pasos-carrito {
    font-size: 0.8rem;
}

.pasos-carrito ul li {
    margin-bottom: 4px;
}

/* BOTÓN WHATSAPP */
.btn-whatsapp {
    padding: 10px;
    font-size: 0.9rem;
}

/* BOTÓN VACIAR */
.btn-vaciar {
    font-size: 0.75rem;
    padding: 6px;
}


.cart-item.remove {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Para que los iconos no se muevan en movil */
@media (max-width: 600px) {
    .header-content {
        gap: 8px;
    }

    .brand h1 {
        font-size: 1.2rem;
    }

    .brand p {
        display: none; /* limpia espacio */
    }

    .search-box {
        padding: 6px 10px;
    }

    .search-box input {
        font-size: 0.9rem;
    }

    .icon-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}


/* ===== FIX HEADER MOBILE (SAFE) ===== */

.header-content {
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 12px;
}

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

.search-box input {
    width: 100%;
}

.header-actions {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .brand p {
        display: none;
    }

    .icon-btn {
        width: 34px;
        height: 34px;
    }
}
/* ===============================
   FIX DEFINITIVO CARRITO MOBILE
   =============================== */

/* CONTENEDOR ITEMS */

/* ITEM */
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: var(--card);
    box-shadow: 0 6px 16px var(--shadow);
    margin-bottom: 12px;

    /* swipe */
    touch-action: pan-y;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

body.dark .cart-item {
    background: rgba(255,255,255,.06);
}


/* IMAGEN */
.cart-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

/* INFO */
.cart-info {
    flex: 1;
    min-width: 0;
}

.cart-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.25;
}

.cart-price {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: bold;
    margin: 2px 0;
}

.cart-qty {
    font-size: 0.75rem;
    opacity: 0.75;
}

/* BOTÓN ELIMINAR */
.cart-remove {
    background: none;
    border: none;
    font-size: 18px;
    color: #ff5252;
    cursor: pointer;
    flex-shrink: 0;
}

/* ===== SWIPE STATES ===== */

.cart-item.swiping {
    transition: none;
}

.cart-item.swipe-left {
    transform: translateX(-80px);
    opacity: 0.7;
}

.cart-item.removed {
    opacity: 0;
    transform: translateX(-120px);
    height: 0;
    margin: 0;
    padding: 0;
}

/* ===== FOOTER MÁS COMPACTO ===== */

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

.cart-legal-mini {
    font-size: 0.7rem;
    margin-bottom: 8px;
}

.pasos-carrito {
    font-size: 0.75rem;
}

.btn-whatsapp {
    padding: 12px;
    font-size: 0.9rem;
}

/* ===== MOBILE EXTRA ===== */
@media (max-width: 480px) {
    .cart-img {
        width: 56px;
        height: 56px;
    }

    .cart-name {
        font-size: 0.85rem;
    }
}



.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

/* LOGO */
.main-header .header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-header .logo-icon {
    font-size: 26px;
}

.main-header .logo-text h1 {
    font-size: 18px;
    margin: 0;
    font-weight: 700;
}

.main-header .logo-text span {
    font-size: 12px;
    color: #777;
}

/* NAV */
.main-header .header-center {
    display: flex;
    gap: 20px;
}

.main-header .header-center a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    position: relative;
}

.main-header .header-center a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e50914;
    transition: width .3s ease;
}

.main-header .header-center a:hover::after {
    width: 100%;
}

/* ACCIONES */
.main-header .header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-header .cart-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

.main-header .cart-btn span {
    background: #e50914;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 6px;
    font-size: 12px;
}

.main-header .whatsapp-btn {
    background: #25D366;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
}

.main-header .facebook-btn {
    background: #1877F2;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
}

.main-header .theme-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* MODO OSCURO */
body.dark .main-header {
    background: rgba(18,18,18,.9);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

body.dark .main-header .logo-text span {
    color: #aaa;
}



/* =========================
   HEADER + MODO OSCURO FIX
========================= */

body.dark .main-header {
    background: rgba(18, 18, 18, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.dark .main-header .logo-text h1 {
    color: #fff;
}

body.dark .main-header .header-center a {
    color: #eee;
}

body.dark .main-header .cart-btn {
    background: #fff;
    color: #111;
}

body.dark .main-header .cart-btn span {
    background: #e50914;
    color: #fff;
}

body.dark .main-header .whatsapp-btn {
    background: #1ebe57;
}

body.dark .main-header .theme-btn {
    color: #fff;
}

/* =========================
   HEADER FINAL (ÚNICO)
========================= */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    color: var(--text);
}

.main-header a {
    color: inherit;
}

/* ===== DARK MODE ===== */

body.dark .main-header {
    background: rgba(18,18,18,.95);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

body.dark .main-header * {
    color: var(--text);
}

body.dark .main-header .cart-btn {
    background: #fff;
    color: #111;
}

body.dark .main-header .cart-btn span {
    background: var(--accent);
    color: #fff;
}

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

/* ===============================
   MODAL CONFIRMACIÓN (VACÍAR)
================================ */

.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 9999; /* MÁS ALTO QUE EL CARRITO */
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-modal {
    background: #1e1e1e;
    color: #fff;
    padding: 24px;
    border-radius: 14px;
    width: 90%;
    max-width: 360px;
    box-shadow: 0 20px 50px rgba(0,0,0,.6);
}

.confirm-modal h3,
.confirm-modal p {
    color: #fff;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.confirm-actions button {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-cancelar {
    background: #333;
    color: #fff;
}

.btn-confirmar {
    background: #c62828;
    color: #fff;
}

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

.footer-pro {
    background: radial-gradient(circle at top, #1c1c1c, #0f0f0f);
    color: #ccc;
    padding: 50px 20px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
}



.footer-links h4,
.footer-trust h4 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 1rem;
}


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

/* TRUST LIST */
.footer-trust ul {
    list-style: none;
    padding: 0;
}

.footer-trust li {
    margin-bottom: 8px;
    font-size: .9rem;
}

/* SOCIALS */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social {
    padding: 8px 14px;
    border-radius: 20px;
    font-size: .85rem;
    text-decoration: none;
    font-weight: 600;
}

.social.whatsapp {
    background: #25D366;
    color: #fff;
}

.social.facebook {
    background: #1877F2;
    color: #fff;
}

/* BOTTOM */
.footer-bottom {
    margin-top: 40px;
    text-align: center;
    font-size: .85rem;
    color: #777;
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 16px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .footer-socials {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================
   FOOTER
========================= */
.footer {
    background-color: #111;
    color: #ddd;
    padding: 40px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #f44336; /* color principal */
}

.footer-links h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #fff;
}

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

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links ul li a:hover {
    color: #f44336;
}



/* Responsive para móviles */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-brand {
        justify-content: center;
    }
}
/* Modal imagen */

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    user-select: none;
}

/* FOOTER LIMPIO Y BONITO */
.footer {
    background: #111; /* fondo oscuro */
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ccc;
    margin: 0 12px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff5252; /* acento rojo */
}

.footer-copy {
    font-size: 0.85rem;
    color: #aaa;
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .footer-links a {
        display: block;
        margin: 6px 0;
    }
}


/* Header general */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    flex-wrap: wrap; /* 🔹 permite que los elementos bajen a otra línea */
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-left {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 200px;
}

.logo-icon {
    font-size: 2rem;
    margin-right: 10px;
}

.logo-text h1 {
    font-size: 1.2rem;
    margin: 0;
}

.logo-text span {
    font-size: 0.8rem;
    color: #555;
}

.header-center {
    display: flex;
    gap: 15px;
    flex: 1 1 auto;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 0;
}

.header-center a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    justify-content: flex-end;
}

/* Botones dentro del header */
.cart-btn,
.whatsapp-btn,
.facebook-btn,
.theme-btn {
    padding: 5px 10px;
    font-size: 0.9rem;
}

/* ==================== MEDIA QUERY PARA MÓVIL ==================== */
@media screen and (max-width: 768px) {
    .main-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-left, .header-center, .header-right {
        width: 100%;
        justify-content: flex-start;
        margin: 5px 0;
    }

    .header-center {
        justify-content: flex-start;
        gap: 10px;
        flex-wrap: wrap;
    }

    .header-right {
        gap: 5px;
        flex-wrap: wrap;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text span {
        font-size: 0.7rem;
    }
}
/* Contenedor del producto */
.img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; /* mantiene cuadrado */
    overflow: hidden;
    border-radius: 14px;
    background: #000; /* color de fondo si la imagen tarda en cargar */
}

/* Imagen */
.producto-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cubre todo el contenedor, sin bordes negros */
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

.producto-img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
  .main-header {
    flex-wrap: wrap;
    height: auto;
  }

  .header-center {
    display: flex !important;
    width: 100%;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
  }

  .header-center a {
    font-size: 14px;
  }
}

/* =========================
   MENU HAMBURGUESA
========================= */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

/* MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .header-center {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--card);
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
    display: none;
    z-index: 1000;
  }

  .header-center.open {
    display: flex;
  }

  .header-center a {
    font-size: 16px;
  }
}

/* =========================
   MENU HAMBURGUESA ANIMADO
========================= */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: transform 0.3s ease;
}

/* MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .header-center {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--card);
    flex-direction: column;
    gap: 18px;
    padding: 22px 0;
    display: flex;
    align-items: center;

    /* animación */
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    z-index: 1000;
  }

  .header-center.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-center a {
    font-size: 16px;
    color: var(--text);
    transition: color 0.2s ease;
  }

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

/* =========================
   DARK MODE MENU
========================= */
body.dark .header-center {
  background: #121212;
}

body.dark .menu-toggle {
  color: #fff;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 2001; /* 🔥 MÁS ALTO QUE EL HEADER */
  }
}

/* =========================
   FIX HEADER MOBILE FINAL
========================= */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    z-index: 3000; /* 🔥 encima de todo */
  }

  .header-center {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: var(--card);
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 22px 0;

    /* estado cerrado */
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: all 0.35s ease;
    z-index: 2000;
  }

  .header-center.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ================= MODAL IMAGEN – DEFINITIVO ================= */

.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.image-modal img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.7);
}

.close-modal {
    position: absolute;
    top: 22px;
    right: 28px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.sin-stock {
  display: inline-block;
  padding: 10px 14px;
  background: #222;
  color: #c59d5f;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
/* ================= FILTROS MOBILE ================= */
@media (max-width: 768px) {
    .filtros {
        max-height: 52px; /* altura de 1 fila */
        overflow: hidden;
        position: relative;
        transition: max-height .3s ease;
    }

    .filtros.expandido {
        max-height: 500px; /* suficiente para todas */
    }

    .filtros-toggle {
        display: block;
        margin: 10px auto 0;
        background: none;
        border: none;
        color: var(--accent);
        font-weight: 600;
        cursor: pointer;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .testimonio {
        padding: 14px;
        font-size: 0.85rem;
    }

    .testimonios-grid {
        gap: 14px;
    }

    .testimonio span {
        font-size: 0.7rem;
    }
}
@media (max-width: 768px) {
    .testimonio {
        display: none;
    }

    .testimonio:first-child {
        display: block;
    }

    .testimonios.expandido .testimonio {
        display: block;
    }
}


/* ===== DESCRIPCIÓN OFERTA ===== */
.descripcion-oferta {
  font-size: 0.9rem;
  color: #444;
  margin: 6px 0 10px;
  line-height: 1.4;
}

body.dark .descripcion-oferta {
  color: #ccc;
}




/* ===== BOTÓN MÁS CATEGORÍAS ===== */

/* BASE (MÓVIL) */
.filtros-toggle {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

/* ESCRITORIO */
@media (min-width: 769px) {
    .filtros-toggle {
        justify-content: flex-start;
        margin: 10px 0 20px;
    }
}
/* ===== VER MÁS OPINIONES ===== */

/* BASE (MÓVIL) */
.ver-mas-opiniones {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* ESCRITORIO */
@media (min-width: 769px) {
    .ver-mas-opiniones {
        width: auto;
        display: inline-block;
        margin-top: 30px;
    }
}


.ver-mas-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;

  margin: 2rem auto 0;
  padding: .6rem 1.2rem;

  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;

  color: var(--text);
  font-size: .85rem;
  font-weight: 500;

  cursor: pointer;
  transition: all .25s ease;
}

@media (hover: hover) {
  .ver-mas-btn:hover {
    background: var(--card);
    border-color: var(--accent);
    color: var(--accent);
  }
}
@media (max-width: 768px) {
  .ver-mas-btn {
    width: 100%;
    font-size: .9rem;
  }
}

.filtros-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;

  margin: 2rem auto;
  padding: .6rem 1.3rem;

  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;

  color: var(--text);
  font-size: .85rem;
  font-weight: 500;

  cursor: pointer;
  transition: all .25s ease;
}
@media (hover: hover) {
  .filtros-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--card);
  }
}

@media (max-width: 768px) {
  .filtros-toggle {
    width: 100%;
    font-size: .9rem;
  }
}

/* ===============================
   BOTONES "VER MÁS" (CATEGORÍAS / OPINIONES)
================================ */

.filtros-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;

    margin: 24px auto;
    padding: 10px 20px;

    background: transparent;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 999px;

    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);

    cursor: pointer;
    transition: all .25s ease;
}

/* Hover solo escritorio */
@media (hover: hover) {
    .filtros-toggle:hover {
        background: var(--card);
        border-color: var(--accent);
        color: var(--accent);
        transform: translateY(-2px);
    }
}

/* Móvil */
@media (max-width: 768px) {
    .filtros-toggle {
        width: 100%;
        font-size: 0.9rem;
    }
}

/* Evita que padding rompa el ancho */
* {
  box-sizing: border-box;
}

.banner-envio-gratis{
    width: 100%;
    max-width: 100%;
    background: linear-gradient(135deg, #1f1f1f, #2d2d2d);
    border: 1px solid #3f3f3f;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 10px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.banner-content{
    text-align: center;
    color: #ffffff;
    width: 100%;
}

.banner-content h2{
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.3;
    word-break: break-word;
}

.banner-content p{
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #d7d7d7;
    word-break: break-word;
}

.banner-content strong{
    color: #ffffff;
}

.banner-note{
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: #9f9f9f;
    line-height: 1.4;
}

@media (max-width: 768px){

    .banner-envio-gratis{
        padding: 10px 12px;
        border-radius: 8px;
    }

    .banner-content h2{
        font-size: 15px;
    }

    .banner-content p{
        font-size: 12px;
    }

    .banner-note{
        font-size: 10px;
    }
}

.boton.proximamente{
    background:#999;
    cursor:not-allowed;
    opacity:.7;
}

.boton.proximamente:hover{
    transform:none;
}

.proximamente-precio{
    font-style: italic;
    opacity: .8;
}