/* ==========================================================================
   IORO MARKETPLACE - ESTILOS GLOBALES (global.css)
   Compartidos universalmente en PC y Móvil
   ========================================================================== */

/* Transiciones fluidas entre páginas estilo App Nativa sin destellos blancos */
@view-transition {
    navigation: auto;
}

html {
    background-color: #0b101e !important;
    color-scheme: dark !important;
}

/* ==========================================================================
   PANELES DESLIZANTES SPA (Mi Cuenta y Portal Vendedores) - NATIVO PC Y MÓVIL
   ========================================================================== */
.app-slide-panel {
    position: fixed;
    top: 0;
    background-color: #0b101e;
    z-index: 2500 !important;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    will-change: transform, opacity;
    box-sizing: border-box;
}

.app-slide-panel.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* 1. Modo Móvil (<= 768px): Pantalla completa fluida */
@media (max-width: 768px) {
    .app-slide-panel {
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 2500 !important;
    }

    /* En móvil el panel ocupa el 100% de la pantalla, no se necesita backdrop para evitar oscurecimiento */
    .spa-backdrop-overlay {
        display: none !important;
    }
}

/* 2. Modo PC / Desktop (> 768px): Panel lateral deslizante elegante (Slide-over Drawer) */
@media (min-width: 769px) {
    .app-slide-panel {
        right: 0 !important;
        left: auto !important;
        width: 540px !important;
        max-width: 90vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 2500 !important;
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.75) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    /* Telón de Fondo Semi-transparente para Enfoque en PC (Detrás del panel) */
    .spa-backdrop-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(0, 0, 0, 0.65) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        z-index: 2400 !important; /* Siempre menor a 2500 para estar detrás del panel */
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.3s ease !important;
    }

    .spa-backdrop-overlay.active {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* Cabecera Superior de los Paneles SPA con Identidad de Marca */
.app-panel-header {
    height: 64px;
    min-height: 64px;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 20;
    gap: 8px;
}

.app-panel-header.vendor-header {
    border-bottom-color: rgba(212, 175, 55, 0.2);
}

.btn-panel-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-panel-back:hover,
.btn-panel-back:active {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(0.96);
}

/* Zona Central: Logo y Nombre de Marca */
.app-panel-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

.panel-brand-logo {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    flex-shrink: 0;
}

.panel-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
}

.panel-brand-title-img {
    height: 28px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
    display: block;
}

.app-panel-header-action {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.btn-panel-logout-icon {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-panel-logout-icon:hover {
    background: rgba(239, 68, 68, 0.25);
    transform: scale(0.92);
}

.badge-guest-pill {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 5px 11px;
    border-radius: 14px;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.2px;
}

.badge-gold-pill {
    background: rgba(212, 175, 55, 0.12);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 5px 11px;
    border-radius: 14px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 380px) {
    .app-panel-header {
        padding: 0 10px;
        gap: 6px;
    }
    .btn-panel-back {
        padding: 5px 9px;
        font-size: 0.8rem;
        gap: 4px;
    }
    .panel-brand-logo {
        width: 32px;
        height: 32px;
    }
    .panel-brand-title-img {
        height: 22px;
        max-width: 85px;
    }
    .badge-guest-pill,
    .badge-gold-pill {
        padding: 4px 8px;
        font-size: 0.72rem;
    }
}

/* Cuerpo con Scroll Nativo */
.app-panel-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 20px 16px 80px 16px;
    box-sizing: border-box;
}

/* Scrollbar personalizado para el panel */
.app-panel-body::-webkit-scrollbar {
    width: 6px;
}

.app-panel-body::-webkit-scrollbar-track {
    background: #0b101e;
}

.app-panel-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Adaptación del Contenedor de Cuenta en SPA */
.account-container.spa-mode {
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 10px 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Portal de Vendedores en SPA */
.vendor-spa-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 10px 0;
}

.vendor-tabs-nav {
    display: flex;
    background: #141c29;
    padding: 5px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 20px;
    gap: 6px;
}

.vendor-tab-btn {
    flex: 1;
    padding: 10px 8px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.vendor-tab-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.08));
    color: #f3e5ab;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.vendor-tab-content {
    display: none;
    animation: vendorFadeIn 0.25s ease-out;
}

.vendor-tab-content.active {
    display: block;
}

@keyframes vendorFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vendor-card {
    background: #141c29;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.06);
    position: relative;
    overflow: hidden;
}

.vendor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f3e5ab, #d4af37);
}

.vendor-card-header {
    text-align: center;
    margin-bottom: 22px;
}

.vendor-brand-logo {
    width: 55px;
    height: auto;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
}

.vendor-card-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 6px 0;
    font-family: 'Montserrat', sans-serif;
}

.vendor-card-header p {
    font-size: 0.86rem;
    color: #94a3b8;
    line-height: 1.4;
}

.vendor-input-group {
    margin-bottom: 16px;
    text-align: left;
}

.vendor-input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.vendor-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.vendor-input-wrapper .input-icon {
    position: absolute;
    left: 14px;
    color: #d4af37;
    font-size: 1rem;
    pointer-events: none;
}

.vendor-input-control {
    width: 100%;
    background: #1b263b;
    border: 1px solid #2a3b56;
    border-radius: 12px;
    padding: 12px 14px 12px 42px;
    color: #ffffff;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.vendor-input-control:focus {
    border-color: #d4af37;
    background: #202d45;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.toggle-vendor-pass {
    position: absolute;
    right: 14px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.toggle-vendor-pass:hover {
    color: #d4af37;
}

.btn-vendor-submit {
    width: 100%;
    background: linear-gradient(135deg, #d4af37, #b89628);
    color: #0b101e;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.25);
}

.btn-vendor-submit:hover,
.btn-vendor-submit:active {
    transform: scale(0.98);
}

.btn-vendor-submit.register-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.25);
    color: #ffffff;
}

.vendor-footer-cta {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vendor-footer-cta p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 8px;
}

.btn-link-gold {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #f3e5ab;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-link-gold:hover,
.btn-link-gold:active {
    background: rgba(212, 175, 55, 0.1);
    transform: scale(0.96);
}

* {
    margin: 0;
    padding: 0; 
    box-sizing: border-box;
    color: white;
    -webkit-tap-highlight-color: transparent; /* Evita el recuadro azul en móviles al tocar */
}
body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #0b101e; /* Fondo aún más oscuro, tipo medianoche premium */
    /* Textura tecnológica: Patrón de líneas diagonales cruzadas (circuito/data flow) para un look moderno y profesional */
    background-image:
        linear-gradient(45deg, rgba(30,80,150,0.05) 25%, transparent 25%, transparent 75%, rgba(30,80,150,0.05) 75%, rgba(30,80,150,0.05)),
        linear-gradient(-45deg, rgba(30,80,150,0.05) 25%, transparent 25%, transparent 75%, rgba(30,80,150,0.05) 75%, rgba(30,80,150,0.05));
    background-size: 60px 60px; /* Tamaño de las celdas del patrón */
    background-repeat: repeat;
    background-attachment: fixed; /* Efecto parallax: ancla el fondo a la pantalla */
    padding-top: 120px;
    padding-bottom: 80px; /* Añade espacio al final para la barra de filtros flotante */
    overflow-x: hidden; /* Evita el desbordamiento horizontal y el scroll */
    min-height: 100vh;
    position: relative;
} 

/* --- INICIO: Optimización de rendimiento de fondo en móviles --- */
@media (max-width: 800px) {
    body {
        background-attachment: scroll; /* CRÍTICO: Soluciona el lag de scroll severo en móviles */
    }
}
/* --- FIN: Optimización de rendimiento --- */

/* --- INICIO: Fondo animado (Lujo y Exclusividad) --- */
body::before, body::after {
    content: '';
    position: fixed;
    width: 60vw;
    height: 60vw;
    min-width: 500px;
    min-height: 500px;
    border-radius: 50%;
    z-index: -1; /* Se mantiene detrás de todo el contenido */
    filter: blur(150px); /* Desenfoque mayor para que sea ultra-sutil */
    pointer-events: none; /* Para que no interfieran con los clics */
    will-change: transform; /* Optimiza la animación enviándola a la GPU */
}

body::before {
    top: -20%;
    left: -10%;
    background: #0528c2; /* Dorado/Oro viejo (Combina con tus botones) */
    opacity: 0.12; /* Muy sutil para no distraer, solo da un aura de lujo */
    animation: driftGold 35s ease-in-out infinite alternate;
}

body::after {
    bottom: -20%;
    right: -10%;
    background: #1e3a8a; /* Azul zafiro oscuro, transmite profesionalismo y confianza */
    opacity: 0.15;
    animation: driftBlue 40s ease-in-out infinite alternate;
}

@keyframes driftGold {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5vw, 15vh) scale(1.1); }
    100% { transform: translate(-5vw, 5vh) scale(0.95); }
}

@keyframes driftBlue {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10vw, -10vh) scale(1.15); }
    100% { transform: translate(5vw, -15vh) scale(0.9); }
}
/* --- FIN: Fondo animado (Lujo y Exclusividad) --- */

main{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px; /* Reducido para disminuir el espacio entre filtros y productos */
    margin-top: 80px; /* Reducido para acercar todo al header */
}



h1{
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin: 30px 0px;
}
img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 20px 20px 0px 0px;
}

/* --- INICIO: Estilos para el video del producto --- */
.producto-media video {
    width: 100%; /* Ocupa todo el ancho de su contenedor */
    height: 340px; /* Misma altura que la imagen */
    object-fit: cover; /* Asegura que el video cubra el área sin deformarse */
    border-radius: 20px 20px 0px 0px; /* Mismos bordes redondeados que la imagen */
}

/* --- INICIO: Estilos para la transición suave de video --- */
.producto-media {
    position: relative; /* Necesario para superponer el video sobre la imagen */
    background-color: #141C29; /* Color de fondo por si la imagen tarda en cargar */
}

.producto-media video {
    position: absolute; /* Posiciona el video encima de la imagen */
    top: 0;
    left: 0;
    opacity: 0; /* El video está oculto por defecto */
    transition: opacity 0.4s ease-in-out; /* La transición suave */
}

.producto-media.video-hover video {
    opacity: 1; /* Muestra el video cuando el contenedor tiene la clase 'video-hover' */
}
/* --- FIN: Estilos para la transición suave de video --- */
/* --- INICIO: Estilos para el contenedor de media y el icono de play --- */
.producto-media {
    position: relative; /* Necesario para posicionar el icono de play encima */
}

.play-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3); /* Fondo oscuro semitransparente */
    color: white;
    font-size: 48px; /* Tamaño del icono */
    opacity: 0.8;
    pointer-events: none; /* Evita que el icono intercepte los clics */
    border-radius: 20px 20px 0px 0px;
}
/* --- FIN: Estilos para el icono de play --- */

/* --- INICIO: Badge indicador de video --- */
.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(11, 16, 30, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
}

.video-badge i {
    color: #38BDF8; /* Color cian para que resalte elegante */
}

/* Ocultamos el badge cuando se hace hover y el video se reproduce */
.producto-media.video-hover .video-badge,
.media-container:hover .video-badge {
    opacity: 0;
    transform: scale(0.9);
}
/* --- FIN: Badge indicador de video --- */

/* --- INICIO: Botón Inicio cerca del logo --- */
.btn-inicio-logo {
    position: absolute;
    left: 380px; /* Separado del título del logo con un margen amplio */
    top: 35px; /* Alineado verticalmente */
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 100;
}

@media (max-width: 1000px) {
    .btn-inicio-logo {
        display: none !important;
    }
}
/* --- FIN: Botón Inicio cerca del logo --- */

/* --- INICIO: Estilo del saludo del cliente --- */
.welcome-message {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    color: #d4af37 !important; /* Dorado IORO elegante */
    white-space: nowrap;
    align-items: center;
    gap: 7px;
}
/* --- FIN --- */

 /* --- INICIO: Banner de Combos y Ofertas --- */
.combo-banner {
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
    background: linear-gradient(135deg, #ffc107, #f76b1c); /* Gradiente dorado/naranja */
    color: #141C29; /* Texto oscuro para contraste */
    border-radius: 15px;
    padding: 20px 25px;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.combo-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.combo-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.combo-banner-icon {
    font-size: 2.5rem;
    color: rgba(0,0,0,0.6);
}

.combo-banner-text {
    flex-grow: 1;
}

.combo-banner-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0 0 5px 0;
    color: #141C29;
}

.combo-banner-text p {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.combo-banner-action button {
    background-color: #141C29;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.combo-banner-action button:hover {
    background-color: #000;
}

/* [Movido a mobile.css: combo-banner-content] */
/* --- FIN: Banner de Combos y Ofertas --- */

/* --- INICIO: Banner de Personalizables --- */
.personalizables-banner {
    width: 90%;
    max-width: 900px;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); /* Azul elegante premium */
    color: white;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    animation: fadeIn 0.5s ease-out;
}

.personalizables-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.personalizables-text {
    flex: 1;
    min-width: 250px;
}

.personalizables-text h2 {
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 10px 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.personalizables-text p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #e2e8f0;
}

.personalizables-images {
    display: flex;
    gap: 20px;
    font-size: 2.5rem;
    color: #ffc107; /* Dorado IORO para los iconos */
}

/* Si decides usar fotos reales, este código las hará ver como pequeños cuadros con bordes curvos */
.personalizables-images img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* [Movido a mobile.css: personalizables-content] */
/* --- FIN: Banner de Personalizables --- */

/* --- INICIO: Banner de Despensa Hogareña --- */
.despensa-banner {
    width: 90%;
    max-width: 900px;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%); /* Verde Esmeralda Fresh */
    color: white;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

.despensa-banner.theme-morning {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%); /* Verde brillante para la mañana */
}

.despensa-banner.theme-afternoon {
    background: linear-gradient(135deg, #059669 0%, #f59e0b 100%); /* Verde cálido para la tarde */
}

.despensa-banner.theme-night {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%); /* Verde profundo para la noche */
}

.despensa-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.despensa-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.despensa-text {
    flex: 1;
    min-width: 250px;
}

.despensa-text h2 {
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 10px 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.despensa-text p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #ecfdf5;
}

.despensa-icon {
    font-size: 3rem;
    color: #ffffff;
    opacity: 0.9;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.despensa-text strong {
    color: #fde68a; /* Amarillo crema suave: resalta sin fatiga visual */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Sombra sutil para mejorar la profundidad y legibilidad */
}
/* --- FIN: Banner de Despensa Hogareña --- */


#contenedorCompra .productosCompra .selector-cantidad{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
    border-radius: 30px;
    border: solid 2px #25D366;
    height: 40px;
    width: 120px;
    background-color: transparent;
}
#precio{
    white-space: nowrap; /* Evita que el precio se divida en dos líneas */
    margin-top: 0;
    background-color: transparent;
}

/* Cantidad de items en el carrito */
#contenedorCompra .productosCompra .carrito-item-cantidad{
    border: none;
    font-size: 18px;
    background-color: transparent;
    display: inline-block;
    width:30px;
    padding: 5px;
    text-align: center;
}

.contenedor{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 20px;
    min-height: 50vh; /* Reducido para evitar el exceso de espacio vacío al final de la página */
    align-items: stretch; /* Permite que las tarjetas de la misma fila se estiren al mismo tamaño */
    align-content: flex-start; /* Agrupa las tarjetas en la parte superior de la pantalla */
}

/* --- INICIO: Animación de fade-in para productos --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- FIN: Animación de fade-in --- */


/* este codigo personaliza las targeta de los productos */
.contenedor>div{
    border-radius: 20px;
    /* --- INICIO: Efecto Glassmorphism rojizo --- */
    background-color: rgba(112, 1, 1, 0.5); /* Rojo semitransparente */
    -webkit-backdrop-filter: blur(10px); /* Para compatibilidad con Safari */
    backdrop-filter: blur(10px); /* El efecto de desenfoque tipo cristal */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.062);
    /* --- FIN: Efecto Glassmorphism --- */
    display: flex;             /* Convierte la tarjeta en un contenedor flexible */
    flex-direction: column;    /* Apila el contenido verticalmente */
   
}
.contenedor>div:hover{
    background-color: #521203f1;
}

.producto {
    animation: fadeIn 0.5s ease-out forwards;
}

.informacion{
    flex-grow: 1; /* Permite que esta sección crezca para llenar el espacio */
    padding: 15px; /* Añade un poco de espacio interno */
    display: flex;
    justify-content: flex-start; /* Agrupa la info arriba para un diseño más limpio */
    align-items: center;
    flex-direction: column;
    gap: 10px; /* Reduce un poco el espacio entre elementos */
}
.informacion>p:first-child{
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    font-weight: 300;
}
.informacion .precio {
    font-size: 20px;
    font-weight: 500;
}

.informacion .descripcion-producto {
    font-size: 14px;
    color: #a2b3c7;
    text-align: center;
    line-height: 1.4;
}

.informacion .precio span{
    font-size: 17px;
    font-weight: 300;
}

.informacion button{
    background-color: #c28005;
    width: 100px;
    height: 35px;
    border-radius: 10px;
    border: none;

    font-size: 16px;
    font-weight: 400; /* Hacemos la letra un poco más gruesa */
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}
.informacion button:hover{
    background-color: #2D4263;
}

.informacion button:active{
    transform: scale(0.95); /* Efecto de "presión" */
}

.producto-acciones {
    margin-top: 10px; /* Vuelve a su espaciado natural debajo del contenido */
}

/* --- INICIO: Estilos para la valoración con estrellas --- */
.rating-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars .fa-star {
    font-size: 16px;
    color: #5a6f8a; /* Color para estrellas vacías */
    cursor: pointer;
    transition: color 0.2s;
}

.rating-stars .fa-star.filled,
.rating-stars:hover .fa-star:hover,
.rating-stars .fa-star:hover ~ .fa-star {
    color: #ffc107; /* Color amarillo para estrellas llenas o al pasar el cursor */
}
/* --- FIN: Estilos para la valoración con estrellas --- */

/* --- INICIO: Estilos para el botón de reseñas --- */
.resenas-btn {
    display: inline-block;
    text-decoration: none;
    background-color: #17a2b8; /* Un color cian para diferenciarlo */
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    text-align: center;
    transition: background-color 0.2s;
}
.resenas-btn:hover {
    background-color: #117a8b;
}
/* --- FIN: Estilos para el botón de reseñas --- */

.variantes-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* Espacio ultra reducido entre botones para optimizar espacio al máximo */
    margin-top: 5px; /* Ajusta el espacio sobre el contenedor de los botones */
    background-color: transparent;
    width: 100%; /* Permitir que ocupe el ancho disponible de la tarjeta */
    flex-wrap: wrap; /* Permite que si hay muchas tallas, pasen a la línea de abajo */
}


.variante-tipo {
    font-size: 14px;
    font-weight: 50;
}

.variante-btn {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    font-family: 'Space Grotesk', 'Montserrat', sans-serif !important;
    line-height: 1 !important;
    min-width: 24px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 2px !important;
    box-sizing: border-box !important;
} 

.variante-btn:hover:not(:disabled) {
    background-color: rgba(37, 211, 102, 0.25);
    border-color: #25d366 !important;
    color: #ffffff !important;
}

.variante-btn.selected {
    background-color: #25d366 !important;
    color: #0b101e !important;
    border-color: #25d366 !important;
    font-weight: 700 !important;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.4) !important;
}

/* --- INICIO: Ocultar cantidad de stock en variantes --- */
.variante-btn span, .variante-btn small, .variante-btn b, .variante-btn i {
    display: none !important;
}
/* --- FIN: Ocultar cantidad de stock en variantes --- */


/* --- INICIO: Estilos para Variantes de Color --- */
.variante-btn.color-btn {
    width: 18px !important; /* Protegemos el círculo de color de los cambios de arriba */
    height: 18px !important;
    border-radius: 50% !important;
    min-width: unset !important;
    padding: 0 !important;
    border: 2px solid transparent !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    position: relative;
}
.variante-btn.color-btn.selected {
    border-color: #25D366; /* Borde verde para indicar selección */
    transform: scale(1.15);
}
.variante-btn.color-btn.agotado-color::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 2px;
    background-color: #ff0000;
    transform: translateY(-50%) rotate(45deg);
}
/* --- FIN: Estilos para Variantes de Color --- */


/* El contenedor del modal de compra está oculto por defecto */
#contenedorCompra {
    display: none;
}

#contenedorCompra.none {
    display: none !important;
}

/* Estilos responsivos para la cesta del carrito cuando se abre */
#contenedorCompra.contenedorCompra:not(.none),
.contenedorCompra:not(.none) {
    display: flex;
    align-items: center; /* Cambiado para centrar verticalmente */
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(51, 51, 51, 0.6);
    flex-direction: row; /* Carrito a la izquierda, formulario a la derecha */
    gap: 40px;
    padding: 20px 0; /* Reducimos un poco el relleno vertical */
    z-index: 1100;
    overflow-y: auto;
}


/* cesta del cliente */
.informacionCompra{
    width: 600px;
    position: relative; /* Necesario para posicionar el botón 'x' absolutamente dentro de él */
    min-height: 660px;
    background-color: #2D4263;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra horizontalmente el contenido */
    justify-content: flex-start;
    padding: 30px;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* --- INICIO: Color más claro cuando la tarjeta del carrito está vacía --- */
.informacionCompra.carrito-vacio-bg {
    background-color: #2D4263; /* Un azul más claro y amigable */
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.05);
}

.informacionCompra h2 {
    font-weight: 700 !important;
    margin: 10px 0 15px 0 !important;
    font-size: 26px !important;
    width: 100% !important;
    text-align: left !important;
    color: #fff !important;
    font-family: 'Space Grotesk', sans-serif !important;
}

/* --- INICIO: Logo App en Carrito --- */
.cart-header-logos-container {
    display: none !important; /* Oculto en PC */
}
/* --- FIN: Logo App en Carrito --- */

.x {
    /* --- INICIO: Nuevo estilo y posición para "Seguir Comprando" --- */
    position: relative;
    top: auto;
    left: auto;
    background-color: #25D366; /* Color verde */
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 20px; /* Espacio debajo del botón */
    z-index: 10;
    box-shadow: none;
}

.x:hover{
    background-color: #20b058; /* Verde más oscuro al pasar el cursor */
}


/* Ajusta el contenedor de productos dentro del carrito */
.productosCompra {
    font-size: 17px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra los productos horizontalmente */
    justify-content: flex-start;
    width: 95%; /* Ajusta el ancho para que no sobresalga */
    min-height: 400px;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 20px;
    position: static; /* Elimina position: relative/absolute */
}

/* Ajusta los productos individuales */
.productosCompra > div {
    margin: 10px 0;
    padding: 20px;
    width: 95%;
    background-color: #1d3253;
    border-bottom: 1px solid #141C29;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
}


/* --- INICIO: Estilos para los botones de cantidad (+/-) en el carrito --- */
.selector-cantidad .sumar-cantidad,
.selector-cantidad .restar-cantidad {
    display: inline-flex; /* Permite centrar el ícono dentro del botón */
    align-items: center;
    justify-content: center;
    width: 28px; /* Ancho del botón */
    height: 28px; /* Alto del botón */
    color: white; /* Color del ícono (+) o (-) */
    border-radius: 50%; /* Hace los botones circulares */
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 14px; /* Tamaño del ícono */
}

.selector-cantidad .sumar-cantidad {
    background-color: #28a745; /* Verde para sumar */
}

.selector-cantidad .sumar-cantidad:hover {
    background-color: #218838; /* Verde más oscuro al pasar el cursor */
}

.selector-cantidad .restar-cantidad {
    background-color: #dc3545; /* Rojo para restar */
}

.selector-cantidad .restar-cantidad:hover {
    background-color: #c82333; /* Rojo más oscuro al pasar el cursor */
}
/* --- FIN: Estilos para los botones de cantidad --- */

.productosCompra::-webkit-scrollbar{
    width: 7px;
    background-color: #141C29;
    border-radius: 5px;
}

.productosCompra::-webkit-scrollbar-thumb{
    background: white ;
    border-radius: 3px;
}

.carrito-item {
    gap: 15px; /* Espacio entre la imagen, info, cantidad y precio */
}

.carrito-item-titulo {
    margin-bottom: 10px;
    font-size: 13px; /* Hacemos la letra del nombre más pequeña */
    font-weight: 500;
}

.carrito-producto-img {
    width: 90px; /* Aumentamos el tamaño de la imagen considerablemente */
    height: 90px; /* Aumentamos el tamaño de la imagen considerablemente */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    flex-shrink: 0; /* Evita que la imagen se encoja */
}

.carrito-item-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinea el texto a la izquierda */
    justify-content: center;
    flex-grow: 1; /* Permite que ocupe el espacio sobrante */
    text-align: left;
}

/* --- INICIO: Estilos para la nueva sección de total --- */
.total-summary {
    width: 95%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #405a7e;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    margin-bottom: 10px;
}

.total-row.final-total {
    font-size: 22px;
    font-weight: bold;
    margin-top: 15px;
}
/* --- FIN: Estilos para la nueva sección de total --- */

.enviarWhatsApp {
    background-color: #25D366;
    width: 220px; /* Ancho más pequeño */
    height: 42px; /* Altura más pequeña */
    border-radius: 8px; /* Menos redondeado */
    border: none;
    cursor: pointer;
    font-size: 16px; 
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
    margin: 20px auto 0; /* Margen superior y centrado horizontal */
        display: flex; /* Cambiado a flex para alinear el icono y el texto */
        align-items: center;
        justify-content: center;
        gap: 8px; /* Espacio entre el icono y el texto */
}

.enviarWhatsApp:hover{
    /* Animación simple de cambio de color */
    background-color: #20b058;
}

.none {
    display: none !important;
}

.carrito-item-descripcion {
    font-size: 12px;
    color: #a2b3c7; /* Un color más suave para diferenciarlo del nombre */
    margin-top: 4px;
    font-style: italic;
    white-space: normal; /* Permite que el texto se divida en varias líneas */
    word-break: break-word;
}

.soldOut{
    background-color: red;
    padding: 7px 10px;
    border-radius: 10px;
}
.botonTrash{
    background-color: rgba(0, 0, 0, 0);
    border:none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.botonTrash img {
    width: 25px;  /* Le devolvemos un tamaño adecuado */
    height: 25px; /* Le devolvemos un tamaño adecuado */
    object-fit: contain;
}



/* Estilos para el formulario de cliente */
.formulario-cliente {
    background-color: transparent;
    border-radius: 18px;
    padding: 10px;
    width: 100%;
    max-width: 520px;
    margin: 0;
    position: static;
    display: block;
    box-sizing: border-box;
}

.formulario-cliente h3 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: left;
    font-family: 'Space Grotesk', sans-serif;
}

.campo-formulario {
    margin-bottom: 10px;
}

.campo-formulario label {
    display: block;
    color: white;
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 500;
}

.campo-formulario input,
.campo-formulario textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #141C29;
    border-radius: 8px;
    background-color: #141C29;
    color: white;
    font-size: 16px; /* Aumentado a 16px para evitar auto-zoom en iPhone */
    font-family: 'Space Grotesk', sans-serif;
}


.campo-formulario select { /* Añadimos el selector para <select> */
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #141C29;
    border-radius: 8px;
    background-color: #141C29;
    color: white;
    font-size: 16px; /* Aumentado a 16px para evitar auto-zoom en iPhone */
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer; /* Añadimos cursor pointer para el select */
    appearance: none; /* Oculta el estilo nativo del select */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2C114.7L159.2%2C28.9c-3.7-3.6-8.3-5.5-13.1-5.5s-9.4%2C1.9-13.1%2C5.5L5.5%2C114.7c-6.3%2C6.3-6.3%2C16.5%2C0%2C22.8 c6.3%2C6.3%2C16.5%2C6.3%2C22.8%2C0l110.9-110.9l110.9%2C110.9c6.3%2C6.3%2C16.5%2C6.3%2C22.8%2C0C293.3%2C131.3%2C293.3%2C121%2C287%2C114.7z%22%2F%3E%3C%2Fsvg%3E'); /* Icono de flecha */
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
    padding-right: 30px; /* Espacio para la flecha */
}

.campo-formulario input[type="text"]:focus,
.campo-formulario input[type="tel"]:focus,
.campo-formulario input[type="url"]:focus,
.campo-formulario textarea:focus,
.campo-formulario select:focus { /* Añadimos el selector para <select> */
    outline: none;
    border-color: #d37325;
    box-shadow: 0 0 5px rgba(37, 211, 102, 0.3);
}


.campo-formulario input::placeholder,
.campo-formulario textarea::placeholder {
    color: #888;
}

/* Estilos para el texto de ayuda */
.ayuda-texto {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #94a3b8 !important;
    font-size: 0.78rem !important;
    margin-top: 6px !important;
    font-style: normal !important;
    line-height: 1.35 !important;
    width: 100% !important;
}

.ayuda-texto i {
    color: #38bdf8 !important;
    font-size: 0.82rem !important;
    flex-shrink: 0 !important;
}

/* Estilos específicos para las opciones del select */
.campo-formulario select option {
    background-color: #141C29; /* Fondo oscuro para las opciones */
    color: white; /* Texto blanco para las opciones */
}



/* Estilo para la opción placeholder */
.campo-formulario select option[value=""] {
    color: #888; /* Color más claro para el placeholder */
}


/* Estilos para el buscador de los productos*/
#buscadorForm {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    margin-bottom: 0;
}

#buscadorInput {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 16px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    width: 220px;
}

#buscadorInput::placeholder {
    color: #757575 !important;
    opacity: 1;
}

#buscadorInput:focus {
    border-color: #007bff;
    background-color: #ffffff !important;
}

#buscadorForm button {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 18px;
}

#buscadorForm button:hover {
    background: #0056b3;
}

.carrito-vacio {
    text-align: center;
    font-size: 20px;
    color: #fff;
    margin: 40px 0;
    font-family: 'Montserrat', sans-serif;
}

.carrito-vacio-tamano {
    min-height: 120px !important;
    max-height: 180px !important;
    height: auto !important;
    transition: min-height 0.3s, max-height 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}


.contenedor > div {
    /* Mantén el ancho fijo o máximo */
    width: 320px; /* o el valor que prefieras */
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-word; /* Rompe palabras largas */
    overflow-wrap: break-word; /* Rompe palabras largas */
}

.informacion p,
.informacion .nombre-producto {
    white-space: normal; /* Permite saltos de línea */
    text-align: center;  /* Centra el texto si lo deseas */
    word-break: break-word;
    overflow-wrap: break-word;
}


.selector-cantidad i:focus,
.selector-cantidad button:focus,
.selector-cantidad input:focus,
.carrito-item-cantidad:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: inherit !important;
}

/* --- INICIO: Animación para el carrito --- */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

.carrito-animado {
  animation: shake 0.5s ease-in-out;
}
/* --- FIN: Animación para el carrito --- */

/* --- INICIO: Animación de vibración para variantes --- */
@keyframes shake-variantes {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.shake-animation {
  animation: shake-variantes 0.4s ease-in-out;
}

@keyframes pop-btn {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.pop-animation {
  animation: pop-btn 0.2s ease-out;
}
/* --- FIN: Animación de vibración para variantes --- */

/* --- formulario de inicio de cesio y registro del usuario: Estilos para el Modal de Autenticación --- */
.auth-modal {
    display: none; 
    position: fixed;
    z-index: 3000 !important; /* Por encima de los paneles SPA y headers */
    left: 0;
    top: -50px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.6);
}

.auth-modal-content {
    background-color: rgba(2, 21, 49, 0.411);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    max-width: 400px;
    border-radius: 10px;
    position: relative;
}

.auth-close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.auth-close-btn:hover,
.auth-close-btn:focus {
    color: white;
    text-decoration: none;
}

.auth-modal-content h3 {
    text-align: center;
    margin-bottom: 20px;
}

.auth-modal-content form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #141C29;
    background-color: #e6ebf3;
    color: black;
    font-size: 16px; /* Evita el auto-zoom en iOS (iPhone) */
}

.auth-modal-content form button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.auth-modal-content form button:hover {
    background-color: #0056b3;
}

.auth-modal-content form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #141C29;
    background-color: #eef1f7;
    color: black;
    font-family: 'Space Grotesk', sans-serif; /* Heredar la fuente */
    font-size: 16px; /* Evita el auto-zoom en iOS (iPhone) */
}

/* --- INICIO: Estilos para el contenedor de contraseña con ícono --- */
.password-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px; /* Mantiene el espaciado del formulario */
}

.password-container input {
    margin-bottom: 0; /* El input no necesita margen inferior, lo tiene el contenedor */
    padding-right: 45px; /* Espacio a la derecha para el ícono */
}

.password-container i {
    position: absolute;
    top: 35%; /* Centrado verticalmente */
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa; /* Color gris para el ícono */
}

/* --- INICIO: Botón de Google y Separador --- */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
    color: #a2b3c7;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #405a7e;
}
.auth-divider span {
    padding: 0 10px;
    font-size: 14px;
}

.btn-google {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #ffffff !important;
    color: #757575 !important;
    border: 1px solid #ddd !important;
    font-weight: 500 !important;
}
.btn-google:hover {
    background-color: #f1f1f1 !important;
    border-color: #ccc !important;
}
.btn-google i {
    color: #EA4335; /* Color original de Google */
    font-size: 18px;
}
/* --- FIN: Botón de Google y Separador --- */

/* --- FIN: Estilos para el Modal de Autenticación --- */




/* --- INICIO: Estilos para los filtros de categoría --- */
.filtros-container {
    width: fit-content; /* Se ajusta dinámicamente a la cantidad de categorías */
    max-width: 90%; /* Evita que desborde la pantalla si hay demasiadas categorías */
    margin: 10px auto 20px auto;
    display: flex;
    justify-content: center; /* Centramos los botones en PC */
    align-items: center;
    flex-wrap: wrap; /* Permite que las categorías pasen a una segunda línea si son muchas */
    gap: 10px;
    
    /* --- INICIO: Filtros Fijos (Sticky) en PC --- */
    position: sticky;
    top: 125px; /* Se queda casi pegado debajo del Header (120px + 5px) */
    z-index: 990; /* Por debajo del header (1000) pero encima de las fotos de los productos */
    background-color: rgba(11, 16, 30, 0.65); /* Opacidad reducida para que se note mucho más el cristal */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px); /* Desenfoque aumentado para un efecto premium */
    border: 1px solid rgba(255, 255, 255, 0.08); /* Borde sutil blanco tipo "frosted glass" */
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3); /* Sombra elegante para separarlo del fondo */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), bottom 0.3s ease-in-out, opacity 0.3s ease-in-out;
    will-change: transform, opacity, bottom; /* Aceleración por hardware para fluidez al scrollear */
    -webkit-overflow-scrolling: touch; /* Scroll más suave en iOS */
    /* --- FIN: Filtros Fijos --- */
}

/* Clase para ocultar la barra al hacer scroll down en PC (hacia arriba, detrás del menú) */
.filtros-hidden {
    transform: translateY(-150px) !important;
    opacity: 0;
    pointer-events: none; /* Evita clics fantasma mientras está oculta */
}

/* [Movido a mobile.css: filtros-hidden] */

.filtro-btn-categoria {
    padding: 8px 18px;
    white-space: nowrap;
    flex-shrink: 0; /* Evita que los botones se encojan */
    border: 1px solid #405a7e;
    background-color: transparent;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filtro-btn-categoria:hover {
    background-color: #2D4263;
    border-color: #a2b3c7;
}

.filtro-btn-categoria.active {
    background-color: #f1edec; /* Verde para indicar el filtro activo */
    color: #141C29;
    border-color: #f3efee;
    font-weight: bold;
    animation: pop-in 0.3s ease-out; /* <-- AÑADIDO: Aplicamos la animación */
}
/* --- FIN: Estilos para los filtros de categoría --- */

/* --- INICIO: Texto de instrucción para deslizar --- */
@keyframes deslizarIcono {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.filtros-instruccion {
    display: none; /* Oculto en PC por defecto */
}

/* [Movido a mobile.css: filtros-instruccion] */
/* --- FIN: Texto de instrucción para deslizar --- */
/* --- INICIO: Banner de Cookies GDPR --- */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(20, 28, 41, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #e2e8f0;
    padding: 20px;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(64, 90, 126, 0.5);
}
.cookie-banner.show {
    bottom: 0;
}
.cookie-content {
    text-align: center;
    max-width: 800px;
}
.cookie-content h4 {
    color: #ffc107;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}
.cookie-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.cookie-btn { padding: 10px 20px; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; transition: all 0.2s; font-size: 0.9rem; }
.cookie-btn.accept { background-color: #25D366; color: #141C29; }
.cookie-btn.accept:hover { background-color: #20b058; }
.cookie-btn.reject { background-color: transparent; color: #a2b3c7; border: 1px solid #a2b3c7; }
.cookie-btn.reject:hover { background-color: rgba(255,255,255,0.1); color: #fff; }

@media (min-width: 768px) {
    .cookie-banner { flex-direction: row; justify-content: space-between; padding: 20px 5%; }
    .cookie-content { text-align: left; }
}
/* --- FIN: Banner de Cookies GDPR --- */
/* --- INICIO: Animación para el botón de filtro activo --- */
@keyframes pop-in {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}
/* --- FIN: Animación para el botón de filtro activo --- */

/* --- INICIO: Indicador Visual Tutorial --- */
@keyframes pulse-tutorial-overlay {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8), 0 0 0 9999px rgba(0,0,0,0.75); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 0 0 9999px rgba(0,0,0,0.75); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 0 0 9999px rgba(0,0,0,0.75); }
}
.tutorial-focus-overlay {
    position: fixed;
    z-index: 19999 !important;
    border: 3px solid #25D366;
    border-radius: 8px;
    pointer-events: none;
    animation: pulse-tutorial-overlay 1.5s infinite;
}
.tutorial-focus-overlay.no-target {
    border: none;
    animation: none;
    box-shadow: none;
    background: rgba(0,0,0,0.75);
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}
/* --- FIN: Indicador Visual Tutorial --- */

/* --- INICIO: Flecha Animada Tutorial --- */
@keyframes bounce-tutorial-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.flecha-tutorial-animada {
    position: fixed;
    z-index: 20005 !important;
    color: #25D366;
    font-size: 40px;
    animation: bounce-tutorial-arrow 1s infinite;
    pointer-events: none;
    text-shadow: 0 4px 8px rgba(0,0,0,0.6);
}
/* --- FIN: Flecha Animada Tutorial --- */

/* --- INICIO: Estilos compactos para el Tutorial tipo Juego (Móvil) --- */
/* [Movido a mobile.css: swal-tutorial-popup] */
/* --- FIN: Estilos compactos para el Tutorial tipo Juego (Móvil) --- */

/* --- INICIO: Animación de fade-in para productos (Admin) --- */
@keyframes fadeInAdmin {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- FIN: Animación de fade-in --- */

/* --- INICIO: Estilos para Transición de Páginas --- */

/* Estilo base del cuerpo para la animación de entrada */
body {
    animation: fadeInPage 0.5s ease-in-out forwards;
}

/* Clase que se añade con JS para la animación de salida */
body.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Keyframes para la animación de entrada */
@keyframes fadeInPage {
    from {
        opacity: 0; /* La página empieza invisible */
    }
    to {
        opacity: 1; /* La página termina completamente visible */
    }
}

/* --- FIN: Estilos para Transición de Páginas --- */

/* --- INICIO: Corrección Z-Index SweetAlert --- */
.swal2-container {
    z-index: 20000 !important; /* Asegura que esté por encima del carrito (z-index: 1100) */
}
/* --- FIN: Corrección Z-Index SweetAlert --- */

/* --- INICIO: Elementos de la Interfaz Nativa tipo App (Móvil) --- */
.mobile-cart-tabs {
    display: none; /* Oculto en PC */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background-color: #1a2332;
    border-top: 1px solid #2D4263;
    z-index: 2005;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.4);
    justify-content: center;
}

.cart-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 11px;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-tab i {
    font-size: 22px;
    color: inherit;
    transition: transform 0.2s;
}

.cart-tab.active {
    color: #25D366; /* Verde IORO */
    font-weight: 600;
}

.cart-tab.active i {
    transform: scale(1.1);
}

.mobile-actions-container {
    display: none; /* Oculto en PC */
}

.actions-form-container {
    display: flex; /* Visible siempre porque contiene los botones principales */
    flex-direction: row;
    width: 100%;
}

.btn-seguir-mobile {
    display: none; /* Oculto en PC */
}

.btn-siguiente-mobile {
    display: none; /* Oculto en PC */
    width: 100%;
    max-width: 400px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    margin: 25px auto 20px auto;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-siguiente-mobile:hover {
    background-color: #0056b3;
}

.btn-siguiente-mobile:active {
    transform: scale(0.98);
}

@media (min-width: 769px) {
    .mobile-tab-hidden {
        /* En PC (> 768px), forzamos visibilidad para mostrar carrito y formulario lado a lado */
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        display: block !important;
    }
}

/* [Movido a mobile.css: mobile-cart-tabs] */
/* --- FIN --- */


/* --- INICIO: Estilos para la etiqueta "Nuevo" --- */
.producto-media {
    position: relative; /* Necesario para posicionar la etiqueta dentro */
}

.etiqueta-nuevo {
    position: absolute;
    top: 15px;
    left: -8px; /* Ligeramente salido para un efecto de cinta */
    background-color: #25D366; /* Verde WhatsApp, muy llamativo */
    color: #fff;
    padding: 6px 12px;
    border-radius: 0 20px 20px 0;
    font-weight: bold;
    font-size: 14px;
    z-index: 5; /* Asegura que esté por encima de la imagen/video */
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-nuevo 2s infinite;
}

@keyframes pulse-nuevo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
/* --- FIN: Estilos para la etiqueta "Nuevo" --- */

/* --- INICIO: Estilos para Insignias de Tiendas / Vendedores Afiliados --- */
.producto-tienda-tag {
    display: flex;
    justify-content: center;
    margin: 4px 0 6px 0;
}

.tag-badge-vendedor {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.28);
    padding: 3px 9px;
    border-radius: 12px;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.tag-badge-vendedor.tag-ioro {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.25);
}

.tag-badge-vendedor i {
    font-size: 10px;
}

/* ==========================================================================
   FORMULARIO DE ENTREGA MODERNO & HUMANIZADO (GLOBAL - PC & MÓVIL)
   ========================================================================== */
#contenedorCompra.none,
#contenedorCompra:not(.contenedorCompra) {
    display: none !important;
}

/* Banner de Cabecera del Checkout */
.checkout-header-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(211, 115, 37, 0.16), rgba(56, 189, 248, 0.08));
    border: 1px solid rgba(211, 115, 37, 0.35);
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.checkout-header-icon {
    width: 44px;
    height: 44px;
    background: rgba(211, 115, 37, 0.22);
    border: 1px solid rgba(211, 115, 37, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.checkout-header-info h3 {
    margin: 0 0 2px 0 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: left !important;
    font-family: 'Space Grotesk', sans-serif !important;
}

.checkout-header-info p {
    margin: 0 !important;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.35;
}

/* Tarjetas Semánticas Glassmorphic */
.checkout-card {
    background: rgba(22, 32, 50, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 18px 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.checkout-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: 10px;
}

.checkout-card-num {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #d37325, #f59e0b);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-card-title i {
    color: #38bdf8;
    font-size: 0.98rem;
}

.checkout-card-title h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.2px;
}

/* Campos de Formulario e Iconos Integrados */
.campo-formulario {
    margin-bottom: 14px;
    position: relative;
}

.campo-formulario label {
    display: block;
    color: #cbd5e1 !important;
    font-size: 0.86rem !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
    text-align: left;
}

.campo-formulario label .req {
    color: #f43f5e;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.25s ease;
    z-index: 2;
}

.input-with-icon input,
.input-with-icon select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 14px 0 44px !important;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-family: 'Space Grotesk', sans-serif !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.textarea-with-icon textarea:focus {
    border-color: #d37325 !important;
    box-shadow: 0 0 0 3px rgba(211, 115, 37, 0.25) !important;
    outline: none !important;
    background: #141f36 !important;
}

.input-with-icon:focus-within .input-icon,
.textarea-with-icon:focus-within .input-icon {
    color: #d37325 !important;
}

/* Prefijo de WhatsApp Honduras */
.phone-input-wrapper .phone-prefix {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 48px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 12px 0 0 12px;
    color: #25d366;
    font-size: 0.88rem;
    font-weight: 700;
    flex-shrink: 0;
    box-sizing: border-box;
}

.phone-input-wrapper input {
    border-radius: 0 12px 12px 0 !important;
    border-left: none !important;
    padding-left: 12px !important;
}

/* Textarea con icono */
.textarea-with-icon {
    align-items: flex-start;
}

.textarea-with-icon .input-icon {
    top: 16px;
    transform: none;
}

.textarea-with-icon textarea {
    width: 100% !important;
    min-height: 85px !important;
    padding: 12px 14px 12px 44px !important;
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    font-family: 'Space Grotesk', sans-serif !important;
    box-sizing: border-box !important;
    resize: vertical;
    transition: all 0.25s ease !important;
}

/* Badges y GPS Assistant */
.label-with-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.optional-badge {
    font-size: 0.72rem;
    background: rgba(56, 189, 248, 0.14);
    color: #38bdf8;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.28);
}

.gps-assistant-box {
    background: rgba(15, 23, 42, 0.65);
    border: 1px dashed rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
}

.btn-gps-autofill {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(30, 80, 150, 0.3));
    border: 1px solid #38bdf8;
    color: #38bdf8;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-gps-autofill:active {
    background: #38bdf8;
    color: #0b101e;
    transform: scale(0.98);
}

.ayuda-texto-moderno {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 8px 0 0 0;
    line-height: 1.45;
}

.ayuda-texto-moderno i {
    color: #f59e0b;
}

/* Selector Interactivo de Tarjetas de Pago */
.payment-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.payment-method-card:active {
    background: #152238;
}

.payment-method-card.active {
    background: linear-gradient(135deg, rgba(211, 115, 37, 0.16), rgba(15, 23, 42, 0.95)) !important;
    border-color: #d37325 !important;
    box-shadow: 0 4px 16px rgba(211, 115, 37, 0.25);
}

.payment-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #f59e0b;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.payment-method-card.active .payment-card-icon {
    background: rgba(211, 115, 37, 0.25);
    color: #d37325;
}

.payment-card-text {
    flex: 1;
    text-align: left;
}

.payment-card-text strong {
    display: block;
    font-size: 0.92rem;
    color: #ffffff;
    font-weight: 600;
}

.payment-card-text small {
    display: block;
    font-size: 0.76rem;
    color: #94a3b8;
    line-height: 1.3;
}

.payment-card-check {
    color: #475569;
    font-size: 1.15rem;
    transition: all 0.2s ease;
}

.payment-method-card.active .payment-card-check {
    color: #10b981;
    transform: scale(1.1);
}

/* Badges de Confianza */
.checkout-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 14px;
    padding: 12px 14px;
    margin: 16px 0 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #cbd5e1;
    text-align: left;
}

.trust-badge-item i {
    color: #10b981;
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* Botón de Enviar Pedido por WhatsApp */
.enviarWhatsApp {
    width: 100% !important;
    height: 52px !important;
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    border: none !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    font-family: 'Space Grotesk', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.45) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.enviarWhatsApp:active {
    transform: scale(0.98) !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
}
/* --- FIN: Estilos para Insignias de Tiendas --- */

