:root {
    --h: 84px; 
    --radius: 14px;
    --gap: 28px;
    --label-col-width: 280px; 
}

.discount-bar {
    display: flex;
    align-items: center;
    row-gap: var(--gap);
    padding: 16px;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #1FC6EB 0%, #0F6AA8 50%, #064B8A 100%);
    color: #fff;
    font-family: "DM Sans", "noto_sansregular", Arial, sans-serif;
    box-sizing: border-box;
    padding: 18px 26px;
    margin-bottom: 25px;
}

.discount-wrapper {
    overflow-x: scroll;
}

    .discount-wrapper::-webkit-scrollbar {
        width: 0;
    }

.discount-bar__labels {
    width: var(--label-col-width);
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 12px;
}

.discount-bar-full .discount-bar__labels {
    row-gap: 34px;
}

.discount-bar__label {
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
}

.discount-bar__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(72px, 1fr));
    row-gap: 18px;
    align-items: center;
    width: 100%;
}

.discount-bar__cell {
    text-align: center;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 6px;
}

.discount-bar-full .discount-bar__cell:has(.discount-bar__percent) {
    border-bottom: 1px solid #fff;
}

.discount-bar__percent {
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
}

.discount-bar__count {
    font-weight: 500;
    font-size: 14px;
    opacity: 0.95;
}

.discount-bar__labels-headers {
    display: flex;
    row-gap: 14px;
    flex-direction: column;
}

@media (min-width:1440px) {
    .discount-bar {
        padding: 22px 36px;
    }
}

@media (max-width:1439px) {
    .discount-bar {
        margin-left: 16px;
        margin-right: 16px;
        min-width: max-content;
    }
    .discount-bar-full .discount-bar__labels {
        row-gap: 30px;
    }
    .discount-bar__labels {
        row-gap: 10px;
        width: 180px;
    }
    .discount-bar__labels-headers {
        row-gap: 12px;
    }
}