/* ========================================
   SITIO STORE - BANNERS DINÁMICOS
   Estilos Frontend
   ======================================== */

/* --- CONTENEDOR PRINCIPAL --- */
.ssbd-banner-wrapper-full {
    width: 100%;
    background: #f4f9fc;
    padding: 10px 0 15px 0;
    box-sizing: border-box;
    /* Espacio controlado con el header */
    margin-top: 5px;
    margin-bottom: 0;
}


.ssbd-banner-exito-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin: 0 auto;
    max-width: 1250px;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    gap: 20px;
}

/* --- COLUMNAS LATERALES --- */
.ssbd-banner-left-col,
.ssbd-banner-right-col {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ssbd-banner-img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply !important;
    background-color: transparent !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08)) !important;
    transition: transform 0.3s ease, filter 0.3s ease;
    -webkit-filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08)) !important;
}

.ssbd-banner-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15)) brightness(1.05) !important;
    -webkit-filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15)) brightness(1.05) !important;
}

.ssbd-img-small {
    max-height: 110px;
    margin: 0 5px;
}

/* --- CONTENIDO CENTRAL --- */
.ssbd-banner-center-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 500px;
}

.ssbd-banner-title {
    font-size: 34px;
    font-weight: 800;
    color: #2c2c2c;
    margin: 0 0 15px 0;
    white-space: nowrap;
    letter-spacing: -0.5px;
    text-align: center;
}

/* --- RECUADROS/STICKERS --- */
.ssbd-banner-stickers-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.ssbd-banner-sticker {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 8px 15px;
    color: #ffffff;
    flex: 1;
    max-width: 180px;
    min-width: 150px;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.3s ease;
}

.ssbd-banner-sticker:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.12);
}

.ssbd-badge-envio {
    background: #fffb00;
    color: #000000;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    position: absolute;
    top: -9px;
    text-transform: uppercase;
    z-index: 10;
}

.ssbd-sticker-pct {
    font-size: 14px;
    margin-top: 2px;
}

.ssbd-sticker-cat {
    font-size: 10px;
    opacity: 0.9;
    font-weight: 300;
}

/* --- SUBTÍTULO --- */
.ssbd-banner-subtitle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.ssbd-banner-subtitle {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.ssbd-heartbeat-line {
    width: 60px;
    height: 14px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 30" fill="none" stroke="%23ff3344" stroke-width="2.5"><path d="M0 15 h30 l5 -10 l5 25 l5 -20 l5 5 h20"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

/* --- BANNER POR CATEGORÍA --- */
.ssbd-banner-categoria-wrapper {
    width: 100%;
    min-height: 280px;
    margin-top: -25px !important;
    border-radius: 14px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    overflow: hidden;
    margin: 25px 0;
    transition: transform 0.3s ease;
}

.ssbd-banner-categoria-wrapper:hover {
    transform: scale(1.01);
}

.ssbd-banner-categoria-contenido {
    max-width: 700px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.ssbd-banner-categoria-titulo {
    color: #ffffff !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    margin: 0 0 15px 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ssbd-banner-categoria-frase {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    line-height: 1.6 !important;
    margin: 0 0 20px 0 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ssbd-banner-categoria-enlace {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 4px;
    transition: all 0.2s ease;
    display: inline-block;
}

.ssbd-banner-categoria-enlace:hover {
    color: #0066cc !important;
    border-bottom-color: #ffffff;
}

/* --- RESPONSIVE --- */
@media (max-width: 1000px) {
    .ssbd-banner-exito-container {
        flex-direction: column;
        padding: 20px;
        min-width: 100%;
    }
    
    .ssbd-banner-left-col,
    .ssbd-banner-right-col {
        display: none;
    }
    
    .ssbd-banner-center-content {
        min-width: 100%;
    }
    
    .ssbd-banner-title {
        font-size: 26px;
        white-space: normal;
        text-align: center;
    }
    
    .ssbd-banner-stickers-row {
        flex-direction: column;
        align-items: center;
    }
    
    .ssbd-banner-sticker {
        width: 100%;
        max-width: 280px;
    }
    
    .ssbd-banner-categoria-wrapper {
        min-height: 220px;
    }
    
    .ssbd-banner-categoria-titulo {
        font-size: 24px !important;
    }
    
    .ssbd-banner-categoria-frase {
        font-size: 16px !important;
    }
}

@media (max-width: 600px) {
    .ssbd-banner-exito-container {
        padding: 15px;
    }
    
    .ssbd-banner-title {
        font-size: 20px;
    }
    
    .ssbd-banner-stickers-row {
        gap: 10px;
    }
    
    .ssbd-banner-sticker {
        padding: 6px 12px;
        min-width: 120px;
        max-width: 150px;
    }
    
    .ssbd-sticker-pct {
        font-size: 12px;
    }
    
    .ssbd-sticker-cat {
        font-size: 9px;
    }
    
    .ssbd-banner-subtitle-container {
        flex-direction: column;
        gap: 5px;
    }
    
    .ssbd-banner-subtitle {
        font-size: 12px;
    }
    
    .ssbd-banner-categoria-titulo {
        font-size: 20px !important;
    }
}
