@media (min-width: 992px) {
/* Older base.js renders discount-item; current production renders discount-container.
   Keep the older markup aligned with the current three-column homepage layout. */
.discount-right {
    padding: 16px;
    border-radius: 1.2rem;
}

.discount-right > .discount-item:first-child:before {
    content: "";
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    height: 60px;
    border-radius: 12px;
    background: #f5f9fd;
}

.discount-right > .discount-item .discount-tab {
    position: absolute;
    top: 24px;
    width: calc((100% - 48px) / 5);
    height: 44px;
    line-height: 44px;
    font-size: 20px;
    border-radius: 12px;
}

.discount-right > .discount-item:nth-child(1) .discount-tab { left: 24px; }
.discount-right > .discount-item:nth-child(2) .discount-tab { left: calc(24px + (100% - 48px) / 5); }
.discount-right > .discount-item:nth-child(3) .discount-tab { left: calc(24px + (100% - 48px) * 2 / 5); }
.discount-right > .discount-item:nth-child(4) .discount-tab { left: calc(24px + (100% - 48px) * 3 / 5); }
.discount-right > .discount-item:nth-child(5) .discount-tab { left: calc(24px + (100% - 48px) * 4 / 5); }
.discount-right > .discount-item:nth-child(n+6) .discount-tab { display: none; }

.discount-right > .discount-item .discount-tab:hover { background: #fff; }
.discount-right > .discount-item.active .discount-tab {
    font-weight: 600;
    color: #1e385a;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(30, 56, 90, .08);
}
.discount-right > .discount-item.active .discount-tab span { border-bottom: 0; }

.discount-right > .discount-item .discount-cont {
    margin-top: 60px;
    padding: 0;
    border-top: 0;
}
.discount-right > .discount-item.active .discount-cont {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.discount-right > .discount-item .discount-flight {
    width: auto;
    min-width: 0;
    margin-right: 0;
}
.discount-right > .discount-item .discount-flight:nth-child(n+4):after { border-bottom: 0; }
.discount-right > .discount-item .discount-flight:nth-child(n+7) { display: none; }

}

