/* Estilos Generales del Banner */
.promo-banner {
    width: 100%;
    height: 78px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: white;
    position: relative;
    z-index: 10001;
}

/* Variantes de Color */
.promo-banner.variant-teal {
    background-color: var(--verde-be);
}

.promo-banner.variant-blue {
    background-color: var(--azul-be);
}

/* Sección Izquierda: Carrito e Info */
.banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    position: relative;
}

/* Icono del Carrito */
.cart-icon {
    font-size: 55px;
}

/* Texto Central */
.text-block {
    line-height: 1.4;
    white-space: nowrap;
}

.main-message {
    font-weight: 700 !important;
    margin-right: 5px;
}

/* El enlace */
.url-link {
    color: white;
    text-decoration: underline;
    font-weight: 700;
}

.url-link:hover {
    text-decoration: underline;
}

/* Badge "New!" */
.new-badge {
    font-size: 60px;
    width: 1em;
    height: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

/* El fondo de estrella dentada usando SVG */
.starburst-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: white;
    z-index: 1;
}

.new-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 16px;
    font-family: sans-serif;
    transform: rotate(-8deg);
}

/* Texto del badge según el color del padre */
.variant-teal .new-text {
    color: var(--verde-be);
}

.variant-blue .new-text {
    color: var(--azul-be);
}

/* Responsividad */
@media (max-width: 1299px) {
    .text-block {
        line-height: 1.4;
        white-space: normal;
    }
}

@media (max-width: 992px) {
    .promo-banner .container {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .promo-banner {
        height: auto !important;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .banner-content {
        /* flex-direction: column; */
        gap: 10px;
        text-align: center;
    }

    .text-block {
        white-space: normal;
        font-size: 18px;
    }

    .new-text {
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .promo-banner {
        padding: 15px 20px;
        height: auto !important;
    }

    .text-block {
        font-size: 15px;
    }

    .cart-icon {
        font-size: 37px;
    }

    .new-badge {
        font-size: 43px;
    }
}

/* Corregir margin-top del menú cuando está en estado affix (scroll) */
#navigation.affix {
    margin-top: 0 !important;
    top: 0 !important;
}

/* Reforzar negritas del mensaje principal */
.promo-banner .main-message,
.promo-banner strong.main-message {
    font-weight: 700 !important;
    font-style: normal;
    display: inline;
    font-family: "raleway";
}