/**
 * Промо лента (-10% + код) — начална hero / споделени стилове.
 */

/* ============================================
   Лента: топъл златист градиент, по-мек контраст от плътен #D4AF37
   ============================================ */
.hello-biz-cart-promo-bar {
    box-sizing: border-box;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    position: relative;
    z-index: 2;
    min-height: 2.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border: none;
    /* Лек вертикален градиент + тънка светла линия отгоре за „лента“, не плътен блок */
    background: linear-gradient(
        180deg,
        #ecd078 0%,
        #d4af37 42%,
        #b8941f 100%
    ) !important;
    color: #1c1810 !important;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hello-biz-cart-promo-bar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 0, 0, 0.12) 20%,
        rgba(0, 0, 0, 0.12) 80%,
        transparent
    );
    pointer-events: none;
}

.hello-biz-cart-promo-bar__inner {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem 1rem;
    max-width: min(100%, 1100px);
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.11em;
    color: #1c1810 !important;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hello-biz-cart-promo-bar__text {
    color: #1c1810 !important;
    text-align: center;
}

.hello-biz-cart-promo-bar__sep {
    display: inline-block;
    width: 1px;
    height: 0.95rem;
    align-self: center;
    flex-shrink: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(40, 32, 20, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 1px;
}

.hello-biz-cart-promo-bar__code-line {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #1c1810 !important;
}

.hello-biz-cart-promo-bar__code-label {
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #1c1810 !important;
    opacity: 0.92;
}

.hello-biz-cart-promo-bar__code {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.28rem 0.75rem;
    margin: 0;
    color: #14110c !important;
    background: linear-gradient(180deg, #fffef9 0%, #f5f0e6 100%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1024px) {
    .hello-biz-cart-promo-bar {
        min-height: 2.85rem;
        padding: 0.55rem 1rem;
    }
    .hello-biz-cart-promo-bar__inner {
        font-size: 0.78rem;
        letter-spacing: 0.09em;
        gap: 0.5rem 0.85rem;
    }
}

@media (max-width: 480px) {
    .hello-biz-cart-promo-bar__inner {
        font-size: 0.68rem;
        letter-spacing: 0.07em;
        gap: 0.4rem 0.5rem;
    }
    .hello-biz-cart-promo-bar__sep {
        display: none;
    }
    .hello-biz-cart-promo-bar__code-line::before {
        content: "·";
        margin-right: 0.35rem;
        font-weight: 700;
        opacity: 0.45;
    }
}

/* Начална страница: върху hero */
#sidemen-front-page .sdmn-hero-promo-bar-host {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    border-radius: 12px 12px 0 0;
    overflow: visible;
    pointer-events: none;
}

#sidemen-front-page .sdmn-hero-promo-bar-host .hello-biz-cart-promo-bar {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    pointer-events: auto;
    border-radius: 12px 12px 0 0;
}
