/* ============================================================ */
/* 🎨 VARIABLES GLOBALES DE TEMA Y ADAPTABILIDAD DINÁMICA       */
/* ============================================================ */
:root {
    /* Colores Principales del Tema */
    --color-primary: #E5C453;            /* Color principal (Dorado/Destacados) */
    --color-primary-hover: #caa93a;      /* Hover del color principal */
    --color-secondary: #0f172a;          /* Azul Navy Oscuro (Componentes/Botones) */
    --color-secondary-hover: #1e293b;    /* Hover de componentes */
    --color-bg-header: #0b131a;          /* Fondo Header y Navegación */
    --color-text-header: #ffffff;        /* Texto del Header */
    --color-bg-app: #f5f6fa;             /* Fondo general de la App y Contenedor */
    --color-accent: #ef4444;             /* Rojo para ofertas, badges y alertas */
    --color-text-main: #020617;          /* Texto general en tarjetas/precios */
    --color-whatsapp: #25D366;           /* Verde oficial WhatsApp */

    /* Variables Calculadas Dinámicamente para Modales y Tarjetas */
    --color-card-bg: #ffffff;
    --color-card-border: rgba(0, 0, 0, 0.08);
    --color-text-muted: #64748b;
    --color-input-bg: #ffffff;
    --color-input-border: #cbd5e1;
    --color-fondo-header: var(--color-bg-header); 
}

/* ========================================= */
/* CONFIGURACIÓN GLOBAL LIMPIA               */
/* ========================================= */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: var(--color-bg-app);
    color: var(--color-text-main);
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* ============================================================ */
/* ✅ FINAL: 100% ALTO/ANCHO + TEXTO ABAJO + FIX CARRUSEL */
/* ============================================================ */

.header {
    display: flex!important;
    align-items: stretch!important;
    background: var(--color-bg-header)!important;
    overflow: hidden!important;
}
.header > div:first-child { flex: 0 0 40%!important; }

.banner-promocional-principal,
#info-destacada-header {
    flex: 1 1 60%!important;
    align-self: stretch!important;
    position: relative!important;
    width: 100%!important;
    min-height: 100%!important;
    height: auto!important;
    overflow: hidden!important;
    display: block!important;
    margin: 0!important;
    padding: 0!important;
}

/* TODOS LOS BANNERS - OCULTOS Y APILADOS */
#info-destacada-header.banner-promo-wrapper {
    position: absolute!important;
    inset: 0!important;
    width: 100%!important;
    height: 100%!important;
    display: flex!important;
    flex-direction: column!important;
    justify-content: flex-end!important;
    background: transparent!important;
    opacity: 0!important;
    transition: opacity 0.4s ease!important;
    z-index: 1!important;
}

/* BANNER ACTIVO - VISIBLE */
#info-destacada-header.banner-promo-wrapper.capa-pintando,
#info-destacada-header.banner-promo-wrapper.activada {
    opacity: 1!important;
    z-index: 2!important;
    position: relative!important; /* para que de altura al header */
}

/* IMAGEN 100% RESPONSIVE */
.banner-bg {
    position: absolute!important;
    inset: 0!important;
    width: 100%!important;
    height: 100%!important;
    background-size: cover!important;
    background-position: center center!important;
    background-repeat: no-repeat!important;
    z-index: 1!important;
}

/* TAMAÑOS Y COLORES ORIGINALES - PEGADOS ABAJO */
#info-destacada-header .banner-promo-wrapper{
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important; /* empuja todo abajo */
}

/* DIFUMINADO FUERTE CON COLOR DEL TEMA - DONDE ESTAN LOS TEXTOS */
.banner-overlay {
    position: absolute!important;
    inset: 0!important;
    z-index: 2!important;
    /* DIFUMINADO A LA IZQUIERDA con color del tema */
   background: linear-gradient(90deg, rgba(216, 90, 131, 0.4) 0%, transparent 12%)!important;
}

.banner-content {
    position: relative!important;
    z-index: 3!important;
    width: 100%!important;
    height: 100%!important;
    margin-top: auto!important;
    padding: 15px 25px 12px 25px!important;
    display: flex!important;
    flex-direction: column!important;
    justify-content: flex-end!important;
    /* difuminado izquierda detrás del texto */
    background: linear-gradient(90deg, var(--color-bg-header) 0%, var(--color-bg-header) 20%, transparent 80%)!important;
}
.banner-title{font-size:2.1rem!important;font-weight:800!important;color:var(--color-text-header)!important;margin:0 0 2px 0!important;line-height:1.1!important;text-shadow:1px 1px 10px rgba(0,0,0,0.8)!important}
.banner-desc{font-size:0.9rem!important;color:var(--color-text-header)!important;opacity:.95!important;margin:2px 0 6px 0!important;max-width:480px!important;line-height:1.2!important;text-shadow:1px 1px 6px rgba(0,0,0,0.8)!important;white-space:pre-wrap!important;display:block!important}
.banner-footer{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin-bottom:2px!important}
.banner-price{font-size:1.9rem!important;font-weight:900!important;color:var(--color-primary)!important;white-space:nowrap!important;text-shadow:1px 1px 8px rgba(0,0,0,0.8)!important}
.banner-badge{background:var(--color-accent)!important;color:#fff!important;font-size:.8rem!important;font-weight:800!important;padding:6px 12px!important;border-radius:4px!important;white-space:nowrap!important}
.banner-btn{background:var(--color-primary)!important;color:var(--color-secondary)!important;font-size:.8rem!important;font-weight:900!important;padding:10px 18px!important;border-radius:4px!important;text-transform:uppercase!important;border:none!important;white-space:nowrap!important;flex-shrink:0!important}

@media (max-width: 768px) {
 .banner-promocional-principal { display: none!important; }
}
/* ============================================================ */
/* 🚀 BOTÓN ENVIAR PEDIDO (FORMULARIO MODAL)                    */
/* ============================================================ */
.formulario button,
.formulario input[type="submit"],
#btnEnviarPedido,
.btn-enviar-pedido {
    width: 100% !important;
    padding: 16px 20px !important;
    margin-top: 15px !important;
    background: var(--color-whatsapp, #25D366) !important; /* Verde estilo WhatsApp */
    color: #ffffff !important;
    font-family: 'Montserrat', 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.formulario button:hover,
.formulario input[type="submit"]:hover,
#btnEnviarPedido:hover,
.btn-enviar-pedido:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    filter: brightness(1.05) !important;
}

.formulario button:active,
.formulario input[type="submit"]:active {
    transform: translateY(0) !important;
}
/* ========================================= */
/* HEADER Y MARCA                            */
/* ========================================= */
.header {
    display: flex !important;
    align-items: stretch;
    justify-content: space-between;
    min-height: 185px !important; /* 👈 LÍNEA 145 CORREGIDA: Fuerza a todo el header a medir 185px */
    background: var(--color-bg-header) !important; 
    color: var(--color-text-header) !important;
    overflow: hidden;
    transition: background-color 0.4s ease;
}

.header > div:first-child {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
}

.marca-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.eslogan {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--color-primary) !important;
}

.banner-informativo {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* 🎟️ CINTILLA PROMO ESTILO TICKET CON ANIMACIÓN */
.texto-destacado {
    position: relative !important;
    z-index: 1;
    margin: 15px auto !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: fit-content !important;
    max-width: 90% !important;
    padding: 14px 40px !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(0.85rem, 2.5vw, 1.3rem) !important;
    text-transform: none !important;
    letter-spacing: 1.5px;
    text-align: center !important;
    color: var(--color-secondary) !important;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4) !important;
    background: var(--color-primary) !important;
    clip-path: polygon(
        0% 4px, 5% 0, 10% 4px, 15% 0, 20% 4px, 25% 0, 30% 4px, 35% 0, 40% 4px, 45% 0, 50% 4px, 55% 0, 60% 4px, 65% 0, 70% 4px, 75% 0, 80% 4px, 85% 0, 90% 4px, 95% 0, 100% 4px,
        98% 15%, 100% 25%, 98% 35%, 100% 45%, 98% 55%, 100% 65%, 98% 75%, 100% 85%, 98% 95%,
        100% 95%, 95% 100%, 90% 95%, 85% 100%, 80% 95%, 75% 100%, 70% 95%, 65% 100%, 60% 95%, 55% 100%, 50% 95%, 45% 100%, 40% 95%, 35% 100%, 30% 95%, 25% 100%, 20% 95%, 15% 100%, 10% 95%, 5% 100%, 0% 95%,
        2% 85%, 0% 75%, 2% 65%, 0% 55%, 2% 45%, 0% 35%, 2% 25%, 0% 15%
    ) !important;
    transform: rotate(-2deg);
    animation: resplandorBordes 2.5s ease-in-out infinite !important;
}

.texto-destacado::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 170%;
    height: 250%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center, 
        transparent 20%, 
        rgba(255, 255, 255, 0.95) 45%, 
        var(--color-primary) 65%, 
        transparent 80%
    ) !important;
    animation: ondaHaciaBordes 2.5s ease-in-out infinite !important;
}

@keyframes ondaHaciaBordes {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.5); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.35); }
}

@keyframes resplandorBordes {
    0%, 100% { filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 2px var(--color-primary)) !important; }
    50% { filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px #FFFFFF) drop-shadow(0 0 20px var(--color-primary)) !important; }
}

.logo-estilo {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

#nombreEmpresa {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-header) !important;
    display: inline-block;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    background: linear-gradient(to right, var(--color-text-header) 20%, var(--color-primary) 50%, var(--color-text-header) 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: revealText 1.5s ease forwards, shineSweep 4s linear infinite;
}

@media (max-width: 768px) {
    .banner-promocional-principal { display: none !important; }
    .header > div:first-child { flex: 0 0 100% !important; width: 100% !important; padding: 20px 10px !important; }
    #nombreEmpresa { font-size: 1.3rem !important; }
    .header { min-height: 100px !important; }
}

.eslogan {
    font-family: 'Cormorant Garamond', serif;
    display: block;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-primary) !important;
    margin-top: 5px;
    font-weight: 600;
    opacity: 1 !important;
    animation: fadeSlogan 4s ease-in-out infinite !important;
}

@keyframes revealText {
    0% { opacity: 0; transform: translateY(30px) skewY(5deg); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0) skewY(0deg); filter: blur(0); }
}

@keyframes shineSweep { to { background-position: 200% center; } }
@keyframes fadeSlogan { 0%, 100% { opacity: 0.8; transform: scale(0.98); } 50% { opacity: 1; transform: scale(1); } }

/* ========================================= */
/* GRID Y TARJETAS DE PRODUCTOS              */
/* ========================================= */
.productos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
    background: var(--color-bg-app) !important;
    transition: background-color 0.4s ease;
}

.producto {
    background: var(--color-card-bg) !important;
    border-radius: 12px;
    border: 1px solid var(--color-card-border) !important;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary) !important;
}

.producto img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0; 
    background-color: var(--color-card-bg);
    border-radius: 12px 12px 0 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    border: none;
}

.producto img:hover {
    transform: scale(1.03);
    filter: brightness(1.03);
}

.nombre {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(12px, 2.5vw, 15px); 
    color: var(--color-card-text) !important;
    margin: 10px 0 4px 0;
    text-transform: capitalize;
    line-height: 1.2;
    padding: 0 8px;
    word-wrap: break-word;
}

.precio-contenedor {
    margin: 0;
    padding: 0 8px 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================================================ */
/* 🏷️ PRECIOS Y BOTONES CENTRADOS Y ALINEADOS (CON Y SIN PROMO)  */
/* ============================================================ */

/* Caso 1: SIN PROMO ($20.000) -> Centrado vertical en 1 sola línea con los botones */
.precio-contenedor-premium {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 0 6px !important;
}

/* Caso 2: CON PROMO -> Se convierte en Grid de 2 líneas a la izquierda */
.precio-contenedor-premium:has(.franja-promo-botones) {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
}

.franja-promo-botones {
    display: contents !important;
}

.precio {
    grid-column: 1 !important;
    grid-row: 1 !important;
    font-size: 19px !important;
    font-weight: 900 !important;
    color: var(--color-card-text, #0f172a) !important;
    margin: 0 !important;
    line-height: 1 !important;
    text-align: left !important;
}

.bloque-ahorro {
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-top: 3px !important;
}

.precioViejo {
    font-size: 11px !important;
    color: #64748b !important;
    text-decoration: line-through !important;
    font-weight: 600 !important;
}

.badge-ahorro-premium {
    background-color: rgba(34, 197, 94, 0.15) !important;
    color: #16a34a !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

.botones-alineados {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    margin-left: auto !important;
}

.etiquetaPromo,
.etiquetaAgotado {
    position: absolute;
    top: 0;
    font-size: 11px;
    padding: 8px 15px;
    z-index: 5;
}

.etiquetaPromo {
    left: 0;
    background: var(--color-accent);
    color: white;
    font-weight: bold;
    border-radius: 0 0 12px 0;
}

.etiquetaAgotado {
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 0 0 0 12px;
}

.btn-container-responsive {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-outline-minimal {
    background: transparent !important;
    border: 1.2px solid var(--color-card-border) !important;
    color: var(--color-card-text) !important;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline-minimal:hover {
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
    transform: scale(1.1);
}

.btn-outline-minimal i { font-size: 1.1rem; }

/* ========================================= */
/* 🚨 ETIQUETA STOCK URGENTE                 */
/* ========================================= */
.badge-stock-urgente {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: var(--color-accent) !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    animation: pulseUrgencia 2s infinite !important;
}

.badge-stock-urgente i {
    color: #ffffff !important;
    font-size: 11px !important;
}

@keyframes pulseUrgencia {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ================================================= */
/* BOTONES FLOTANTES (CARRITO Y WHATSAPP)            */
/* ================================================= */
.whatsappbtnflotante, 
.cart-btn-flotante {
    position: fixed !important;
    right: 20px !important;
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: all 0.3s ease-in-out !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
    cursor: pointer !important;
    z-index: 99999 !important;
}

.cart-btn-flotante { 
    bottom: 90px !important; 
    background: #ffffff !important; 
    border: 2px solid var(--color-primary, #2563eb) !important;
}

.cart-btn-flotante i,
.cart-btn-flotante svg {
    font-size: 22px !important;
    color: #0f172a !important;
    transition: all 0.3s ease !important;
}

.cart-btn-flotante:hover {
    transform: scale(1.1) !important;
    background: var(--color-primary, #2563eb) !important;
}

.cart-btn-flotante:hover i,
.cart-btn-flotante:hover svg {
    color: #ffffff !important;
}

.cart-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: var(--color-accent, #ef4444) !important;
    color: #ffffff !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

.whatsappbtnflotante { 
    bottom: 20px !important; 
    background-color: var(--color-whatsapp, #25D366) !important; 
    border: none !important; 
}

.whatsappbtnflotante i,
.whatsappbtnflotante svg { 
    color: #ffffff !important; 
    font-size: 28px !important;
}

.whatsappbtnflotante:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4) !important;
}

/* ========================================= */
/* LOADER MODERNO                            */
/* ========================================= */
#loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--color-bg-header) !important;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    z-index: 9999999 !important;
    transition: all 0.8s ease;
}

.loader-bar {
    position: absolute; top: 0; left: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    width: 100%;
    animation: scan 2s linear infinite;
}

.loader-pulse {
    width: 80px; height: 80px;
    border: 2px solid rgba(225, 225, 225, 0.1);
    border-top: 2px solid var(--color-primary);
    border-radius: 50%;
    animation: spin-elegant 1.2s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

.loader-text {
    margin-top: 25px;
    font-family: 'Montserrat', sans-serif;
    color: var(--color-primary);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

@keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes spin-elegant { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ========================================= */
/* FORMULARIO Y CARRITO MODAL                */
/* ========================================= */
#modalPedido {
    display: none; 
    width: 100%;
    min-height: 100vh;
    background-color: var(--color-bg-app) !important;
    margin: 0;
    padding-top: 15px !important;
    box-sizing: border-box;
}

.modal-contenido {
    background: #ffffff !important;
    color: #0f172a !important;
    width: 100%;
    max-width: 720px; 
    margin: 0 auto;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-card-border, #cbd5e1) !important;
}

.modal-contenido h3 {
    color: #0f172a !important;
}

.total-pago-box {
    text-align: right;
    padding: 16px;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a !important;
    border-top: 2px solid var(--color-primary, #e5c453) !important;
    margin-top: 15px;
}

.total-pago-box span {
    color: #0f172a !important;
}

#seccion-adicionales {
    background: #f8fafc !important;
    border-radius: 12px;
    margin: 15px 0;
    padding: 12px;
    border: 1px solid #cbd5e1 !important;
    width: 100% !important;
    box-sizing: border-box;
}

#seccion-adicionales p {
    margin: 0 0 10px 5px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

#carrusel-adicionales {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 12px !important;
    padding: 6px 4px 10px 4px !important;
    align-items: center !important;
    width: 100% !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.card-adicional-item {
    min-width: 80px !important;
    max-width: 85px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 8px 6px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
    transition: transform 0.2s ease, border-color 0.2s ease !important;
}

.card-adicional-item:hover {
    transform: scale(1.05) !important;
    border-color: var(--color-primary, #e5c453) !important;
}

.card-adicional-item img {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    margin-bottom: 4px !important;
}

.formulario input,
.formulario textarea,
.formulario select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 10px;
    border: 1.5px solid var(--color-input-border, #cbd5e1) !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.formulario input::placeholder,
.formulario textarea::placeholder {
    color: #64748b !important;
}

.formulario input:focus,
.formulario select:focus,
.formulario textarea:focus {
    border-color: var(--color-primary, #e5c453) !important;
}

.modal-contenido span[onclick*="cerrarModal"],
.btn-volver {
    color: #0f172a !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: color 0.3s ease !important;
}

.modal-contenido span[onclick*="cerrarModal"]:hover,
.btn-volver:hover {
    color: var(--color-primary, #e5c453) !important;
    text-decoration: underline !important;
}

/* ========================================= */
/* BOTONES Y AGOTADOS                        */
/* ========================================= */
.btn-agotado-layer, .btn-agotado-final {
    background: rgba(100, 116, 139, 0.15) !important;
    color: var(--color-text-muted) !important;
    border: 1px solid var(--color-card-border) !important;
    padding: 6px 14px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    border-radius: 50px !important;
    text-transform: uppercase;
    cursor: not-allowed;
    margin-left: auto;
}

.producto.agotado {
    opacity: 0.75;
}

/* ========================================= */
/* FOOTER Y AVISOS                           */
/* ========================================= */
.footer {
    background: var(--color-secondary) !important;
    color: var(--color-text-header) !important;
    padding: 35px 20px;
    text-align: center;
    border-top: 3px solid var(--color-primary);
    font-family: 'Poppins', sans-serif;
}

.info-footer-elegante {
    margin: 4px 0;
    font-size: 14px;
    color: var(--color-text-header);
}

.aviso-privacidad {
    font-size: 12px;
    color: var(--color-text-muted) !important;
    line-height: 1.4;
    padding: 10px 14px;
    background-color: var(--color-bg-app) !important;
    border-left: 3px solid var(--color-whatsapp);
    margin-bottom: 12px !important;
    border-radius: 6px;
}

/* ========================================= */
/* 🚩 PESTAÑA EMPRESA (FLUIDA DE ORILLA A ORILLA) */
/* ========================================= */
#empresa-tab {
    background: var(--color-bg-app) !important;
    color: var(--color-text-main) !important;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    width: 100% !important;
    box-sizing: border-box !important;
}

.empresa-header {
    background: var(--color-bg-header, var(--color-secondary)) !important;
    padding: clamp(35px, 6vw, 60px) 20px !important;
    text-align: center;
    border-bottom: 2px solid var(--color-primary);
    width: 100% !important;
    box-sizing: border-box !important;
}

.empresa-logo {
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    border-radius: 20px;
    padding: 10px;
    background: var(--color-card-bg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empresa-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.empresa-titulo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem) !important;
    color: var(--color-text-header) !important;
    margin-bottom: 8px;
}

.empresa-eslogan {
    color: var(--color-primary) !important;
    font-style: italic;
    font-size: clamp(0.95rem, 1.8vw, 1.2rem) !important;
    margin: 0 auto;
    max-width: 95%;
}

.empresa-section {
    width: 100% !important;
    padding: 35px 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box !important;
}

.empresa-subtitulo {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-primary) !important;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 800;
}

/* 📝 DESCRIPCIÓN EMPRESA (EXPANDIDA DE ORILLA A ORILLA) */
.empresa-descripcion {
    width: 96% !important;
    max-width: 100% !important; /* Sin tope para que llene la pantalla */
    line-height: 1.75 !important;
    color: var(--color-text-main) !important;
    font-size: 14px !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    margin: 0 auto !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* 🗺️ MAPA EXPANDIDO */
#contenedor-mapa {
    width: 96% !important;
    margin: 0 auto !important;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

#contenedor-mapa iframe {
    width: 100% !important;
    border: none;
    display: block;
}

/* 💳 MEDIOS DE PAGO (EXPANDIDOS) */
#perfil-medios-pago {
    width: 96% !important;
    max-width: 100% !important;
    margin: 10px auto 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 12px !important;
    box-sizing: border-box !important;
}

#perfil-medios-pago div {
    width: 100% !important;
    background: var(--color-card-bg, #ffffff) !important;
    border: 1px solid var(--color-card-border, #cbd5e1) !important;
    padding: 14px 18px !important;
    border-radius: 12px;
    color: var(--color-card-text, #0f172a) !important;
    font-weight: 600;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    transition: 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    box-sizing: border-box !important;
}

#perfil-medios-pago div i {
    color: #10b981 !important;
    margin-right: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

#perfil-medios-pago div:hover {
    border-color: var(--color-primary) !important;
    transform: translateY(-2px);
}

/* 🌐 REDES SOCIALES EXPANDIDAS */
.grid-redes {
    width: 96% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 15px !important;
    box-sizing: border-box !important;
}

.red-item {
    background: var(--color-card-bg, #ffffff) !important;
    border: 1px solid var(--color-card-border, #cbd5e1) !important;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-card-text, #0f172a) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.red-item i {
    color: var(--color-card-text, #0f172a) !important;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.red-item:hover {
    border-color: var(--color-primary) !important;
    transform: translateY(-3px);
}

.red-item.facebook:hover i { color: #1877F2 !important; }
.red-item.instagram:hover i { color: #E4405F !important; }
.red-item.tiktok:hover i { color: #00f2ea !important; }

/* 📱 BOTÓN CHATEAR AHORA */
.empresa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-whatsapp) !important;
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
    text-transform: uppercase;
    transition: transform 0.2s ease;
}

.empresa-btn:hover {
    transform: translateY(-2px);
}

/* 📱 AJUSTES MÓVILES */
@media (max-width: 768px) {
    .empresa-section { padding: 25px 12px !important; }
    .empresa-descripcion {
        width: 100% !important;
        font-size: 12.5px !important;
        text-align: center !important; /* Centrado para móvil */
    }
    #contenedor-mapa,
    .grid-redes,
    #perfil-medios-pago {
        width: 100% !important;
    }
    #perfil-medios-pago {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================= */
/* BARRA NAVEGACIÓN SUPERIOR (TABS)          */
/* ========================================= */
.tabs-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: var(--color-bg-header) !important;
    border-bottom: 2px solid var(--color-primary) !important;
    position: sticky !important; 
    top: 0; left: 0; width: 100%; height: 60px !important;
    z-index: 5000 !important;
    padding: 0 15px !important;
}

.menu-toggle {
    display: none !important; 
    background: transparent !important;
    border: none !important;
    color: var(--color-primary) !important;
    font-size: 24px !important;
    cursor: pointer;
}

.tabs-left {
    display: flex !important;
    height: 100%;
    align-items: center;
}

.tab-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    padding: 0 25px !important;
    color: var(--color-text-header) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    cursor: pointer;
    gap: 10px !important;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.tab-item.active { 
    color: var(--color-primary) !important; 
    border-bottom: 3px solid var(--color-primary) !important; 
    opacity: 1 !important;
}

.search-nav-container {
    position: relative;
    flex: 0 1 350px !important; 
    margin: 0 15px !important;
}

.search-input-nav {
    width: 100%;
    height: 38px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 0 15px 0 38px !important;
    color: var(--color-text-header) !important;
    outline: none !important;
}

.search-icon-nav {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary) !important;
}

.redes-nav {
    display: flex !important;
    gap: 12px;
    align-items: center;
    height: 100%;
}

.icono-nav {
    font-size: 24px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-text-header) !important;
}

.icono-nav:hover {
    color: var(--color-primary) !important;
    transform: scale(1.15);
}

/* ========================================= */
/* AJUSTES MÓVIL                             */
/* ========================================= */
@media screen and (max-width: 767px) {
    .menu-toggle { display: block !important; order: 1; }
    .tabs-left {
        display: none !important;
        position: absolute;
        top: 60px; left: 0; width: 100%;
        background: var(--color-bg-header) !important;
        flex-direction: column !important;
        height: auto !important;
        border-bottom: 2px solid var(--color-primary);
        padding-bottom: 10px;
    }
    .tabs-left.mostrar-menu { display: flex !important; }
    .tab-item {
        width: 100% !important;
        height: 52px !important;
        justify-content: flex-start !important;
        padding-left: 20px !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    .search-nav-container { order: 2; margin: 0 10px !important; flex: 1 !important; max-width: 180px !important; }
    .redes-nav { order: 3; }
    .productos { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; padding: 10px !important; }
    .modal-contenido { padding: 16px !important; }
}

/* ========================================= */
/* BARRA CATEGORÍAS EN LÍNEA                 */
/* ========================================= */
#menu-categorias-flotante {
    position: relative !important;
    width: 100% !important;
    background: var(--color-bg-app) !important;
    padding: 12px 0 !important;
}

.categorias-wrapper-tags {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px !important;
    padding: 0 45px !important;
    scrollbar-width: none;
}

.cat-tag {
    flex: 0 0 auto !important;
    background: var(--color-card-bg) !important;
    border: 1px solid var(--color-card-border) !important;
    color: var(--color-card-text) !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease;
}

.cat-tag:hover {
    border-color: var(--color-primary) !important;
    color: var(--color-primary) !important;
}

.cat-tag.activo {
    background: var(--color-secondary) !important;
    color: var(--color-primary) !important;
    border-color: var(--color-secondary) !important;
}

.cat-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    background: var(--color-card-bg) !important;
    border: 1px solid var(--color-card-border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1005 !important;
    cursor: pointer !important;
    color: var(--color-card-text) !important;
    border-radius: 50%;
}

.arrow-left { left: 8px !important; }
.arrow-right { right: 8px !important; }

/* ============================================================ */
/* 🎬 BANNER PROMO SECUNDARIO (STACKING SIN COLAPSO DE ANCHO)   */
/* ============================================================ */

/* Contenedor Principal: Apila las capas en 1 sola celda de Grid */
#promo-stage {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr !important;
    width: 100% !important;
    overflow: hidden !important;
    background: var(--color-bg-app);
}

/* Grilla de Tarjetas (Ambas capas comparten la misma celda exactas) */
.promo-grid-layer {
    grid-area: 1 / 1 !important; /* 👈 APILA LAS CAPAS UNA SOBRE OTRA SIN ABSOLUTE */
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px !important;
    padding: 15px 20px !important;
    width: 100% !important;
    box-sizing: border-box;
    background: var(--color-bg-app);
}

/* Responsivo de columnas */
@media (max-width: 1024px) {
    .promo-grid-layer { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .promo-grid-layer { grid-template-columns: 1fr !important; }
}

/* Capa Entrante (Pinta por encima) */
.promo-grid-layer.capa-pintando {
    z-index: 5 !important;
    clip-path: inset(0 100% 0 0) !important;
    transition: clip-path 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.promo-grid-layer.capa-pintando.activada {
    clip-path: inset(0 0 0 0) !important;
}

/* Tarjeta Individual de Promoción */
.promo-item-fade {
    width: 100% !important;
    min-height: 85px !important;
    background: var(--color-card-bg) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    cursor: pointer;
    border: 1px solid var(--color-card-border) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    box-sizing: border-box;
}

.promo-item-fade:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
}

.promo-img-box {
    width: 65px !important; 
    height: 65px !important;
    flex-shrink: 0 !important;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-img-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
}

.promo-info { 
    flex: 1; 
    min-width: 0; 
}

.p-name-slim { 
    font-size: 13px; 
    font-weight: 700; 
    color: var(--color-card-text) !important; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    white-space: nowrap; 
}

.p-price-big { 
    color: var(--color-card-text) !important; 
    font-size: 18px; 
    font-weight: 800; 
}

.btn-promo-action {
    display: flex; 
    flex-direction: column; 
    align-items: center;
    background: var(--color-card-bg) !important; 
    border: 1px solid var(--color-card-border) !important;
    padding: 6px 10px; 
    border-radius: 8px; 
    flex-shrink: 0;
}

.buy-text { 
    font-size: 11px; 
    font-weight: 800; 
    color: var(--color-primary) !important; 
    text-transform: uppercase; 
}

.save-badge { 
    background: var(--color-accent); 
    color: #fff; 
    font-size: 10px; 
    font-weight: 800; 
    padding: 2px 6px; 
    border-radius: 4px; 
    margin-top: 3px; 
}
/* ============================================================ */
/* 🖌️ CAPA SOBREPUESTA: PINTADO SIMULTÁNEO SIN HUECOS EN BLANCO  */
/* ============================================================ */

#info-destacada-header,
#promo-stage {
    position: relative !important;
    overflow: hidden !important;
}

/* Grilla contenedora secundaria */
.promo-grid-layer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

/* 🎨 Capa que se PINTA encima de la anterior simultáneamente */
.banner-promo-wrapper.capa-pintando,
.promo-grid-layer.capa-pintando {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    
    /* Inicia recortada a la izquierda (invisible) */
    clip-path: inset(0 100% 0 0) !important;
    /* Transición suave de pintado (0.9s) */
    transition: clip-path 0.9s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 🚀 Al activarse, se despliega cubriendo la tarjeta vieja como un pincel */
.banner-promo-wrapper.capa-pintando.activada,
.promo-grid-layer.capa-pintando.activada {
    clip-path: inset(0 0 0 0) !important;
}
/* ================================================= */
/* MODAL DETALLE PRODUCTO DETALLADO (BLOQUE COMPLETO) */
/* ================================================= */
.modal-detalle-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(2, 6, 23, 0.85) !important; 
    backdrop-filter: blur(8px) !important;
    z-index: 999999 !important; 
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.modal-detalle-box {
    background: #ffffff !important;
    color: #0f172a !important;
    width: 100%;
    max-width: 880px;
    max-height: 92vh;
    border-radius: 20px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-card-border, #cbd5e1) !important;
}

.btn-cerrar-modal {
    position: absolute;
    top: 15px; right: 15px;
    background: #ffffff !important; 
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    width: 36px; height: 36px; border-radius: 50%;
    font-size: 20px; cursor: pointer; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.modal-detalle-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.modal-detalle-izq {
    background: #ffffff !important; 
    border-right: 1px solid var(--color-card-border, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-detalle-izq img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: contain !important; 
    max-height: 500px;
    border-radius: 12px;
}

.modal-detalle-der {
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: #f8fafc !important;
}

#detalleNombre {
    font-size: clamp(18px, 4vw, 26px) !important; 
    font-weight: 800;
    color: #0f172a !important;
    margin: 0 0 15px 0;
    text-transform: capitalize;
    line-height: 1.25;
    /* ✅ Permite que el texto baje de línea y no se desborde en móviles */
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

.etiqueta-gris {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #64748b !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.precio-principal-modal {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a !important;
}

.ahorro-modal-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.precio-tachado-modal {
    text-decoration: line-through;
    color: #94a3b8 !important;
    font-size: 18px;
}

.badge-rojo-ahorro {
    background: var(--color-accent, #ef4444) !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
}

.seccion-compartir-modal {
    margin: 20px 0 10px 0;
    display: flex;
    justify-content: center;
}

#detalleDescripcion {
    font-size: 14px;
    color: #334155 !important;
    line-height: 1.6;
    white-space: pre-wrap !important;
}

.modal-detalle-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 15px;
}

.btn-modal-solido {
    padding: 15px 10px !important;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px !important;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    border: none;
    background: var(--color-secondary, #0f172a) !important;
    color: #ffffff !important;
}

#btnVerCarritoDesdeModal {
    background: var(--color-primary, #e5c453) !important;
    color: var(--color-secondary, #0f172a) !important;
}

.btn-modal-solido:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

@media screen and (max-width: 767px) {
    .modal-detalle-grid { grid-template-columns: 1fr; }
    .modal-detalle-der { padding: 20px; }
    .modal-detalle-izq img { max-height: 350px; }
}

.estado-vacio-tienda {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 50vh; 
    grid-column: 1 / -1; 
    padding: 20px;
}

.estado-vacio-tienda i {
    font-size: 48px;
    color: var(--color-text-muted, #64748b) !important;
    margin-bottom: 12px;
}

.estado-vacio-tienda h3 {
    font-size: 20px;
    color: var(--color-text-main, #0f172a) !important;
    margin: 0 0 8px 0;
    font-weight: 800;
}

.estado-vacio-tienda p {
    font-size: 14px;
    color: var(--color-text-muted, #64748b) !important;
}
/* Ocultar globos de error si el modal no está activo */
#modalPedido[style*="display: none"] ~ .globo-error,
body:has(#modalPedido[style*="display: none"]) .globo-error {
    display: none !important;
}

/* ============================================================ */
/* 🚩 FOOTER Y TEXTO EXPANDIDO 100% DE ORILLA A ORILLA          */
/* ============================================================ */

/* 1. FRANJA COMPLETA DE FONDO */
.footer-seo-container {
    width: 100% !important;
    background-color: var(--color-bg-header) !important;
    padding: 35px 25px 25px 25px !important;
    margin: 30px 0 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* 2. TEXTO QUE SE ADAPTA Y EXPANDE EN TODA LA PANTALLA */
.texto-seo-footer {
    width: 96% !important;       /* Ocupa casi todo el ancho disponible */
    max-width: 100% !important;  /* Sin topes fijos para que no deje márgenes */
    margin: 0 auto 20px auto !important;
    font-size: 13.5px !important;
    line-height: 1.65 !important;
    text-align: justify !important; /* Justificado para llenar de lado a lado */
    text-justify: inter-word !important;
    color: var(--color-text-header, #ffffff) !important;
    opacity: 0.95 !important;
    font-weight: 400 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

/* 3. LÍNEA DE CRÉDITOS */
.footer-creditos {
    width: 96% !important;
    max-width: 100% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
    padding-top: 18px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 12.5px !important;
    color: var(--color-text-header, #ffffff) !important;
}

.separador-punto {
    opacity: 0.4 !important;
    color: var(--color-text-header, #ffffff) !important;
}

.badge-zippy {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 4px 14px !important;
    border-radius: 50px !important;
    color: var(--color-text-header, #ffffff) !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
}

.badge-zippy strong {
    color: var(--color-primary, #e5c453) !important;
    font-weight: 800 !important;
}

.badge-zippy:hover {
    transform: translateY(-2px) !important;
    background: rgba(255, 255, 255, 0.22) !important;
}

/* 📱 AJUSTES AUTOMÁTICOS PARA CELULARES */
@media (max-width: 768px) {
    .footer-seo-container {
        padding: 20px 12px 15px 12px !important;
    }
    .texto-seo-footer {
        width: 100% !important;
        font-size: 12px !important;
        line-height: 1.55 !important;
        text-align: center !important; /* En celular se lee mejor centrado */
    }
    .footer-creditos {
        width: 100% !important;
        flex-direction: column !important;
        gap: 6px !important;
    }
    .separador-punto {
        display: none !important;
    }
}