:root {
    --primary-color: #1e3d59; /* Azul del logo "GUARANI" */
    --secondary-color: #9d0a0e; /* Rojo del logo "SUPER" */
    --bg-light: #f0f2f5; /* Gris azulado muy sutil para matar el blanco */
    --card-shadow: 0 2px 15px rgba(0,0,0,0.05);
    --border-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: #333;
}

/* Navbar Estilo Moderno */
.navbar {
    background-color: #ffffff !important;
    padding: 12px 0;
    border-bottom: none;
    box-shadow: 0 4px 10px rgba(157, 10, 14, 0.15); /* Sombra roja difuminada en lugar de línea rígida */
}

/* Carousel Full Width */
.main-carousel {
    margin-bottom: 30px;
}

.carousel-item {
    height: 400px !important; /* Forzamos altura estricta para evitar saltos */
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/* Gradiente decorativo en la base del carrusel */
.carousel-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(157, 10, 14, 0.1) 50%, rgba(30, 61, 89, 0.2) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Flechas del carrusel casi imperceptibles */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.05; /* Casi invisibles como pediste */
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 0.2; /* Apenas se ven al pasar el mouse */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) grayscale(100%); /* Flechas oscuras sutiles */
    width: 2rem;
    height: 2rem;
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    color: #333;
    max-width: 400px;
    z-index: 3;
}

/* Sección de Tarjetas Superpuestas (Estilo ML) */
.overlay-section {
    position: relative;
    margin-top: -60px; /* Superposición */
    z-index: 10;
    margin-bottom: 40px;
}

.overlay-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.overlay-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0,0,0,0.05);
}

.overlay-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.overlay-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color); /* Azul del logo para minimalismo */
    font-size: 1.1rem;
    filter: grayscale(0.5); /* Menos saturado */
}

.overlay-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Bento Grid Asimétrico */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto); /* Altura flexible en lugar de fija */
    gap: 20px;
    padding-bottom: 50px;
}

.bento-item {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0, 166, 80, 0.05);
    position: relative;
    overflow: hidden;
    min-height: 180px; /* Asegura un mínimo de altura */
}

.bento-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%; /* Reducido un poco para que no sature */
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.bento-content-wrapper {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px; /* Espacio entre elementos internos */
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 166, 80, 0.1);
    border-color: rgba(0, 166, 80, 0.2);
}

/* Tamaños Asimétricos */
.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-tall {
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
}

.bento-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #000;
}

.bento-content {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* Media Queries para Responsividad */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto; /* Totalmente flexible en tablets */
    }
    .carousel-item {
        height: 280px;
    }
    .carousel-caption-custom {
        left: 5%;
        max-width: 80%;
    }
    .carousel-caption-custom h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 220px;
    }
    .carousel-caption-custom h2 {
        font-size: 1.5rem;
    }
    .carousel-caption-custom p {
        font-size: 0.9rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 576px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .item-large, .item-wide, .item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    .bento-item {
        min-height: auto; /* Deja que el contenido mande en móviles */
        padding: 20px;
    }
    .carousel-item {
        height: 200px;
    }
    /* Mantener altura en carrusel principal para evitar saltos */
    #mainCarousel .carousel-item {
        height: 400px !important;
    }
    .carousel-caption-custom {
        width: 90%;
    }
    .carousel-caption-custom .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    .overlay-section {
        margin-top: -65px; /* Aumentado de -40px para que la superposición sea evidente */
        padding: 0;
        overflow: hidden;
    }
    .overlay-grid {
        display: flex;
        overflow-x: auto;
        padding: 10px 15px 20px 15px;
        gap: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .overlay-grid::-webkit-scrollbar {
        display: none; /* Ocultar scrollbar para limpieza */
    }
    .overlay-card {
        flex: 0 0 140px; /* Ancho fijo para las tarjetas en móvil */
        scroll-snap-align: start;
        flex-direction: column;
        text-align: center;
        padding: 12px 8px;
    }
    .overlay-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 5px;
    }
    .overlay-text {
        font-size: 0.75rem;
    }
}

/* Sección de Sucursales (Ancho Total y Mini-Tarjetas) */
.branches-section {
    background: #fff;
    padding: 40px 0;
    margin: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.branch-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 15px 20px 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: center; /* Centrar si hay pocas */
}

/* Si hay muchas, quitar el centrado para permitir el scroll */
@media (max-width: 1200px) {
    .branch-grid {
        justify-content: flex-start;
    }
}

.branch-grid::-webkit-scrollbar {
    height: 4px;
}

.branch-grid::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}

.branch-card {
    flex: 0 0 200px; /* Mini-tarjeta */
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.branch-icon {
    width: 28px;
    height: 28px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.branch-name {
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    font-size: 0.85rem;
}

.branch-info {
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.branch-link {
    margin-top: auto;
    padding-top: 8px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.75rem;
}

.branch-info i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.branch-link {
    margin-top: auto;
    padding-top: 15px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Banner Moderno con Formas Geométricas */
.carousel-item-modern {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.geometric-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 61, 89, 0.04) 0%, rgba(157, 10, 14, 0.04) 100%);
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.product-teaser {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-right: 50px;
}

.teaser-img {
    width: 160px; /* Aumentado un poco más */
    height: 160px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.7); /* Transparencia para matar el blanco puro */
    backdrop-filter: blur(5px); /* Efecto de desenfoque suave */
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid rgba(255, 255, 255, 0.5); /* Borde más sutil */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: absolute;
}

.teaser-img:hover {
    transform: scale(1.1) rotate(5deg);
    z-index: 10 !important;
}

/* Disposición de 7 burbujas para llenar mejor el espacio */
.teaser-img:nth-child(1) { transform: translate(-160px, -80px) rotate(-15deg); z-index: 1; width: 100px; height: 100px; }
.teaser-img:nth-child(2) { transform: translate(-80px, 60px) rotate(-5deg); z-index: 2; width: 130px; height: 130px; }
.teaser-img:nth-child(3) { transform: translate(0, -30px) scale(1.2); z-index: 5; }
.teaser-img:nth-child(4) { transform: translate(90px, 70px) rotate(10deg); z-index: 3; width: 130px; height: 130px; }
.teaser-img:nth-child(5) { transform: translate(170px, -50px) rotate(20deg); z-index: 1; width: 100px; height: 100px; }
.teaser-img:nth-child(6) { transform: translate(-40px, -140px) rotate(-10deg); z-index: 0; width: 80px; height: 80px; opacity: 0.8; }
.teaser-img:nth-child(7) { transform: translate(120px, -130px) rotate(15deg); z-index: 0; width: 85px; height: 85px; opacity: 0.8; }

.modern-banner-content {
    position: relative;
    z-index: 3;
    text-align: left;
    max-width: 550px;
    padding: 0;
}

@media (max-width: 991px) {
    .geometric-shape { width: 100%; clip-path: none; opacity: 0.15; }
    
    .product-teaser { 
        display: flex; 
        position: absolute;
        bottom: 20px;
        right: 0;
        left: 0;
        justify-content: center;
        padding: 0;
        height: auto;
        pointer-events: none;
    }

    .teaser-img {
        width: 70px;
        height: 70px;
        padding: 8px;
        border-width: 2px;
        position: relative;
        margin: 0 -10px;
    }

    .teaser-img:nth-child(1) { transform: rotate(-10deg); z-index: 1; width: 60px; height: 60px; }
    .teaser-img:nth-child(2) { transform: rotate(-5deg); z-index: 2; }
    .teaser-img:nth-child(3) { transform: scale(1.1); z-index: 5; }
    .teaser-img:nth-child(4) { transform: rotate(5deg); z-index: 3; }
    .teaser-img:nth-child(5) { transform: rotate(10deg); z-index: 1; width: 60px; height: 60px; }
    .teaser-img:nth-child(6), .teaser-img:nth-child(7) { display: none; } /* Ocultar extras en móvil para no saturar */

    .modern-banner-content { 
        text-align: center; 
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start; /* Alineación superior para evitar superposición */
        padding-top: 30px;
        padding-bottom: 120px; /* Mayor espacio para las burbujas abajo */
    }

    .modern-banner-content h2 { font-size: 1.8rem !important; }
    .modern-banner-content .lead { font-size: 0.95rem; }
    
    .carousel-item-modern { height: 400px !important; }
}

/* Modal de Productos */
.modal-content {
    border-radius: 15px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: var(--primary-color);
    color: #fff;
    border: none;
}

.product-grid-modal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding: 10px;
}

.product-card-mini {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.product-card-mini:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.product-img-mini {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product-name-mini {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    height: 40px;
    overflow: hidden;
    margin-bottom: 5px;
}

.product-price-mini {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Badge WhatsApp Pulsante */
.whatsapp-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #ff4b1f 0%, #ff9068 100%); /* Naranja rojizo vibrante */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 75, 31, 0.4);
    z-index: 10;
    animation: pulse-badge 2s infinite;
    border: 3px solid #fff; /* Borde blanco para separar de la tarjeta */
}

.whatsapp-badge span {
    display: block;
    line-height: 1;
}

@keyframes pulse-badge {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 75, 31, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(255, 75, 31, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 75, 31, 0);
    }
}

/* Estilos Geométricos Tipo MercadoLibre (Adaptado a Super Guarani) */
.ml-style-banner {
    background-color: #f5f5f5; /* Fondo gris muy claro */
    position: relative;
    overflow: hidden;
}

.ml-curve-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: var(--primary-color); /* Azul Guarani */
    border-bottom-left-radius: 100% 100%; /* Curva pronunciada */
    z-index: 1;
}

.ml-circle-accent {
    position: absolute;
    bottom: -40px;
    right: 15%;
    width: 180px;
    height: 180px;
    background: var(--secondary-color); /* Rojo Guarani */
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ml-circle-floating {
    position: absolute;
    top: 10%;
    left: 40%;
    width: 60px;
    height: 60px;
    background: rgba(157, 10, 14, 0.1); /* Rojo muy suave */
    border-radius: 50%;
    z-index: 1;
}

/* Ajustes para móvil */
@media (max-width: 991px) {
    .ml-curve-bg {
        width: 100%;
        height: 55%; /* Ocupa la mitad superior */
        border-bottom-left-radius: 50% 20%;
        border-bottom-right-radius: 50% 20%;
        top: 0;
        right: 0;
    }
    
    .ml-circle-accent {
        width: 100px;
        height: 100px;
        bottom: 15%;
        right: 5%;
    }
    
    .ml-circle-floating {
        display: none;
    }
}

/* Variación para Banner Destacados (Slide 1) */
.ml-style-featured {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.ml-curve-right-featured {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(157, 10, 14, 0.08); /* Rojo suave pero visible */
    border-top-left-radius: 100% 50%; /* Curva inversa a la del otro banner */
    border-bottom-left-radius: 20% 50%;
    z-index: 1;
}

.ml-circle-featured-main {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: rgba(30, 61, 89, 0.06); /* Azul intermedio */
    border-radius: 50%;
    z-index: 1;
}

.ml-circle-featured-accent {
    position: absolute;
    top: 20px;
    right: 40%;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 2;
}

/* Variación para Banner Medios de Pago (Slide 3) */
.ml-style-payment {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* Ajuste específico de texto para este banner */
.ml-style-payment .modern-banner-content h2 {
    font-size: 2.5rem !important;
    max-width: 700px; /* Aumentado para evitar quiebre de línea en "Aceptamos todos los" */
    position: relative;
    z-index: 2;
}

.ml-style-payment .modern-banner-content .badge,
.ml-style-payment .modern-banner-content p {
    position: relative;
    z-index: 2;
}

/* Forma Geométrica Fuerte bajo el Texto */
.ml-payment-text-bg {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 61, 89, 0.15) 0%, rgba(30, 61, 89, 0) 70%); /* Azul corporativo difuminado pero fuerte */
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
}

/* Formas Geométricas de Fondo (Más visibles) */
.ml-payment-curve {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 80%;
    background: rgba(30, 61, 89, 0.08); /* Opacidad aumentada */
    border-top-left-radius: 100% 50%;
    z-index: 1;
}

.ml-payment-circle-1 {
    position: absolute;
    top: -50px;
    right: 30%;
    width: 200px;
    height: 200px;
    background: rgba(157, 10, 14, 0.08); /* Opacidad aumentada */
    border-radius: 50%;
    z-index: 1;
}

.ml-payment-circle-2 {
    position: absolute;
    bottom: 10%;
    right: -50px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(30, 61, 89, 0.06) 0%, rgba(30, 61, 89, 0) 100%); /* Opacidad aumentada */
    border-radius: 50%;
    z-index: 1;
}

.payment-icons-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 2;
}

.payment-icon-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.6); /* Semitransparente */
    backdrop-filter: blur(10px); /* Efecto Glassmorphism */
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05); /* Sombra más suave */
    animation: float-icon 6s ease-in-out infinite;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    height: 85px;
    object-fit: contain;
    margin-bottom: 5px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1)); /* Sombra a la imagen para que resalte sobre el fondo transparente */
}

.payment-icon-float span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333; /* Texto un poco más oscuro para contraste */
}

/* Posicionamiento y Tamaños Específicos */
/* Posicionamiento PC (Ajustado para menos superposición) */
.icon-qr {
    top: 5%;
    right: 48%; /* Movido más a la izquierda */
    width: 150px;
    height: 150px;
    animation-delay: 0s;
}

.icon-card {
    top: 35%;
    right: 22%; /* Movido más a la izquierda para separar de Transferencia */
    width: 170px;
    height: 140px;
    animation-delay: 2s;
    z-index: 3;
}

.icon-cash {
    bottom: 5%;
    right: 60%; /* Movido más a la izquierda */
    width: 140px;
    height: 140px;
    animation-delay: 4s;
}

.icon-transfer {
    top: 15%;
    right: 0%; /* Pegado al borde derecho */
    width: 130px;
    height: 130px;
    animation-delay: 1s;
    opacity: 0.95;
}

@keyframes float-icon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 991px) {
    /* Ajustes Generales Móvil */
    .modern-banner-content {
        padding-bottom: 60px; /* Espacio extra abajo para que no se corte contenido */
    }

    /* Banner Mayorista (Slide 2) - Fix Botón */
    .ml-style-banner .col-lg-5 img {
        max-height: 100px !important; /* Imagen mucho más chica */
        margin-bottom: 5px;
        margin-top: 20px; /* Separación superior */
    }
    
    .ml-style-banner .modern-banner-content h2 {
        font-size: 1.6rem !important; /* Texto más chico */
        margin-bottom: 0.5rem !important;
    }

    .ml-style-banner .modern-banner-content p {
        font-size: 0.9rem !important; /* Texto descriptivo más chico */
        margin-bottom: 1rem !important; /* Menos margen */
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Limitar a 2 líneas */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ml-style-banner .modern-banner-content .btn {
        padding: 0.5rem 1.5rem !important; /* Botón más compacto */
        font-size: 0.9rem !important;
    }

    /* Banner Pagos (Slide 3) - Fix Superposición */
    .ml-payment-curve {
        width: 100%;
        height: 50%;
        bottom: 0;
        border-radius: 50% 50% 0 0;
    }
    
    .ml-payment-text-bg {
        width: 300px;
        height: 300px;
        left: -50px;
        top: -50px;
    }
    
    .payment-icons-container {
        width: 100%;
        height: 50%; /* Ocupar solo la mitad inferior */
        top: auto;
        bottom: 0;
    }
    
    .payment-icon-float {
        padding: 5px;
        border-radius: 20px;
    }
    
    .payment-img {
        width: 45px; /* Más chicas para que entren */
        height: 45px;
        margin-bottom: 2px;
    }
    
    .payment-icon-float span { 
        font-size: 0.6rem; 
        display: block; /* Asegurar que el texto baje */
    }
    
    /* Posiciones Móvil (Distribuidas para no tocarse) */
    .icon-qr { 
        width: 80px; height: 80px; 
        right: 75%; top: 5%; /* Más separado */
    }
    .icon-card { 
        width: 90px; height: 75px; 
        right: 5%; top: 20%; /* Bajado un poco */
    }
    .icon-cash { 
        width: 75px; height: 75px; 
        right: 70%; bottom: 5%; 
    }
    .icon-transfer { 
        width: 70px; height: 70px; 
        right: 35%; bottom: 20%; /* Más a la izquierda */
    }
.ml-payment-curve {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 80%;
    background: rgba(30, 61, 89, 0.08); /* Opacidad aumentada */
    border-top-left-radius: 100% 50%;
    z-index: 1;
}

.ml-payment-circle-1 {
    position: absolute;
    top: -50px;
    right: 30%;
    width: 200px;
    height: 200px;
    background: rgba(157, 10, 14, 0.08); /* Opacidad aumentada */
    border-radius: 50%;
    z-index: 1;
}

.ml-payment-circle-2 {
    position: absolute;
    bottom: 10%;
    right: -50px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(30, 61, 89, 0.06) 0%, rgba(30, 61, 89, 0) 100%); /* Opacidad aumentada */
    border-radius: 50%;
    z-index: 1;
}

.payment-icons-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 2;
}

.payment-icon-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.6); /* Semitransparente */
    backdrop-filter: blur(10px); /* Efecto Glassmorphism */
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05); /* Sombra más suave */
    animation: float-icon 6s ease-in-out infinite;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
    height: 85px;
    object-fit: contain;
    margin-bottom: 5px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1)); /* Sombra a la imagen para que resalte sobre el fondo transparente */
}

.payment-icon-float span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333; /* Texto un poco más oscuro para contraste */
}

/* Posicionamiento y Tamaños Específicos */
/* Posicionamiento PC (Ajustado para menos superposición) */
.icon-qr {
    top: 5%;
    right: 48%; /* Movido más a la izquierda */
    width: 150px;
    height: 150px;
    animation-delay: 0s;
}

.icon-card {
    top: 35%;
    right: 22%; /* Movido más a la izquierda para separar de Transferencia */
    width: 170px;
    height: 140px;
    animation-delay: 2s;
    z-index: 3;
}

.icon-cash {
    bottom: 5%;
    right: 60%; /* Movido más a la izquierda */
    width: 140px;
    height: 140px;
    animation-delay: 4s;
}

.icon-transfer {
    top: 15%;
    right: 0%; /* Pegado al borde derecho */
    width: 130px;
    height: 130px;
    animation-delay: 1s;
    opacity: 0.95;
}

@keyframes float-icon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 991px) {
    /* Ajustes Generales Móvil */
    .modern-banner-content {
        padding-bottom: 60px; /* Espacio extra abajo para que no se corte contenido */
    }

    /* Banner Mayorista (Slide 2) - Fix Botón */
    .ml-style-banner .col-lg-5 img {
        max-height: 100px !important; /* Imagen mucho más chica */
        margin-bottom: 5px;
        margin-top: 20px; /* Separación superior */
    }
    
    .ml-style-banner .modern-banner-content h2 {
        font-size: 1.6rem !important; /* Texto más chico */
        margin-bottom: 0.5rem !important;
    }

    .ml-style-banner .modern-banner-content p {
        font-size: 0.9rem !important; /* Texto descriptivo más chico */
        margin-bottom: 1rem !important; /* Menos margen */
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Limitar a 2 líneas */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ml-style-banner .modern-banner-content .btn {
        padding: 0.5rem 1.5rem !important; /* Botón más compacto */
        font-size: 0.9rem !important;
    }

    /* Banner Pagos (Slide 3) - Estilo Floating Icons en Móvil */
    .ml-payment-curve {
        width: 100%;
        height: 60%;
        bottom: 0;
        border-radius: 50% 50% 0 0;
        opacity: 0.4;
    }
    
    .payment-icons-container {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
    }
    
    .payment-icon-float {
        padding: 6px;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.85);
        box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    }
    
    .payment-img {
        width: 40px;
        height: 40px;
        margin-bottom: 2px;
    }
    
    .payment-icon-float span { 
        font-size: 0.6rem; 
        font-weight: 700;
    }
    
    /* Posiciones Móvil - Distribuidas en las 4 esquinas extremas con resets */
    .icon-qr { 
        width: 75px; height: 75px; 
        top: 2%; right: 2%; 
        bottom: auto; left: auto;
        transform: rotate(10deg);
    }
    .icon-card { 
        width: 80px; height: 70px; 
        top: 2%; left: 2%; 
        bottom: auto; right: auto;
        transform: rotate(-10deg);
    }
    .icon-cash { 
        width: 70px; height: 70px; 
        bottom: 2%; right: 2%; 
        top: auto; left: auto;
        transform: rotate(-5deg);
    }
    .icon-transfer { 
        width: 70px; height: 70px; 
        bottom: 2%; left: 2%; 
        top: auto; right: auto;
        transform: rotate(5deg);
    }
    
    .ml-style-payment .modern-banner-content {
        padding-top: 100px;
        padding-bottom: 100px;
        z-index: 5;
    }

    .ml-style-payment .modern-banner-content h2 {
        font-size: 1.5rem !important;
        text-shadow: 0 2px 10px rgba(255,255,255,1);
    }
}

/* Sección de Ofertas Exclusivas (Iframe) */
.promo-display-section {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.promo-iframe-container {
    width: 90%; /* Un poco más pequeña en general */
    max-width: 1000px; /* Más angosta en horizontal */
    margin: 0 auto;
    height: 550px; /* Un poco más alta para que el logo y contenido respiren mejor */
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.promo-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 991px) {
    .promo-iframe-container {
        width: 95%;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .promo-iframe-container {
        height: 450px;
    }
}

/* Footer */
footer {
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 20px 0;
}

