.citystar-flash-deals {
    background:
        radial-gradient(circle at 92% 10%, rgba(255, 255, 255, .16), transparent 28%),
        linear-gradient(135deg, #e4002b 0%, #b00022 100%);
    box-sizing: border-box;
    color: #fff;
    overflow: hidden;
    padding: 48px 0 54px;
    position: relative;
}

.citystar-flash-deals::before {
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
    content: "";
    height: 300px;
    left: -130px;
    position: absolute;
    top: -170px;
    width: 300px;
}

.citystar-flash-deals .citystar-home__container {
    position: relative;
    z-index: 1;
}

.citystar-flash-deals__header {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 26px;
}

.citystar-flash-deals__heading h2 {
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    margin: 8px 0 7px;
}

.citystar-flash-deals__heading p {
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    margin: 0;
}

.citystar-flash-deals__eyebrow {
    align-items: center;
    background: #071b4d;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 6px;
    letter-spacing: .04em;
    padding: 7px 12px;
    text-transform: uppercase;
}

.citystar-flash-deals__eyebrow > span {
    color: #ffc400;
}

.citystar-flash-deals__navigation {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.citystar-flash-deals__arrow {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
    color: #071b4d;
    display: inline-flex;
    font-size: 22px;
    height: 44px;
    justify-content: center;
    margin: 0;
    padding: 0;
    transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease;
    width: 44px;
}

.citystar-flash-deals__arrow:hover,
.citystar-flash-deals__arrow:focus {
    background: #071b4d;
    color: #fff;
}

.citystar-flash-deals__arrow:focus-visible {
    outline: 3px solid #ffc400;
    outline-offset: 3px;
}

.citystar-flash-deals__autoplay {
    font-size: 16px;
}

.citystar-flash-deals__autoplay > span {
    line-height: 1;
}

.citystar-flash-deals__arrow:disabled {
    cursor: default;
    opacity: .38;
}

.citystar-flash-deals__viewport {
    overflow: hidden;
    width: 100%;
}

.citystar-flash-deals__track {
    display: flex;
    gap: 18px;
}

.citystar-flash-deals__card {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, .18);
    box-sizing: border-box;
    color: #071b4d;
    display: flex;
    flex: 0 0 calc((100% - 54px) / 4);
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.citystar-flash-deals__card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, .26);
    transform: translateY(-4px);
}

.citystar-flash-deals__media {
    align-items: center;
    background: linear-gradient(145deg, #f8f9fb, #eef1f6);
    display: flex;
    height: 218px;
    justify-content: center;
    padding: 18px;
    position: relative;
}

.citystar-flash-deals__image-link {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.citystar-flash-deals__image-link img {
    display: block;
    height: 100%;
    max-height: 190px;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.citystar-flash-deals__discount {
    background: #e4002b;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    left: 14px;
    padding: 7px 10px;
    position: absolute;
    top: 14px;
    z-index: 2;
}

.citystar-flash-deals__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 17px 18px 18px;
}

.citystar-flash-deals__timer-label {
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.citystar-flash-deals__timer {
    color: #e4002b;
    font-size: 21px;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    letter-spacing: .03em;
    line-height: 1.2;
    margin: 3px 0 12px;
}

.citystar-flash-deals__name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.38;
    margin: 0 0 12px;
    min-height: 42px;
}

.citystar-flash-deals__name a {
    color: #071b4d;
    display: -webkit-box;
    overflow: hidden;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.citystar-flash-deals__name a:hover,
.citystar-flash-deals__name a:focus {
    color: #e4002b;
}

.citystar-flash-deals__prices {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.citystar-flash-deals__deal-price,
.citystar-flash-deals__deal-price .price {
    color: #071b4d;
    font-size: 20px;
    font-weight: 800;
}

.citystar-flash-deals__regular-price,
.citystar-flash-deals__regular-price .price {
    color: #8b93a3;
    font-size: 13px;
    text-decoration: line-through;
}

.citystar-flash-deals__quantity-row {
    color: #6b7280;
    display: flex;
    font-size: 11px;
    gap: 8px;
    justify-content: space-between;
    margin-top: auto;
}

.citystar-flash-deals__quantity-row strong {
    color: #e4002b;
}

.citystar-flash-deals__progress {
    background: #e7eaf0;
    border-radius: 999px;
    height: 7px;
    margin: 7px 0 15px;
    overflow: hidden;
}

.citystar-flash-deals__progress span {
    background: linear-gradient(90deg, #ffc400, #e4002b);
    border-radius: inherit;
    display: block;
    height: 100%;
    min-width: 4px;
}

.citystar-flash-deals__add {
    background: #e4002b;
    border: 1px solid #e4002b;
    border-radius: 10px;
    box-shadow: none;
    box-sizing: border-box;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    min-height: 44px;
    width: 100%;
}

.citystar-flash-deals__add:hover,
.citystar-flash-deals__add:focus {
    background: #bd0024;
    border-color: #bd0024;
    color: #fff;
}

@media only screen and (max-width: 1100px) {
    .citystar-flash-deals__card {
        flex-basis: calc((100% - 36px) / 3);
    }
}

@media only screen and (max-width: 767px) {
    .citystar-flash-deals {
        padding: 32px 0 38px;
    }

    .citystar-flash-deals .citystar-home__container {
        box-sizing: border-box;
        padding-left: 14px;
        padding-right: 14px;
        width: 100%;
    }

    .citystar-flash-deals__header {
        align-items: center;
        margin-bottom: 20px;
    }

    .citystar-flash-deals__heading h2 {
        font-size: 27px;
        margin-top: 7px;
    }

    .citystar-flash-deals__heading p {
        font-size: 13px;
        line-height: 1.45;
    }

    .citystar-flash-deals__navigation {
        display: flex;
        margin-left: 8px;
    }

    .citystar-flash-deals__arrow--previous,
    .citystar-flash-deals__arrow--next {
        display: none;
    }

    .citystar-flash-deals__autoplay {
        display: inline-flex;
        height: 40px;
        width: 40px;
    }

    .citystar-flash-deals__viewport {
        margin-left: 0;
        margin-right: -14px;
        overflow-x: auto;
        padding: 0 14px 8px 0;
        scrollbar-width: none;
        width: auto;
        -webkit-overflow-scrolling: touch;
    }

    .citystar-flash-deals__viewport::-webkit-scrollbar {
        display: none;
    }

    .citystar-flash-deals__track {
        scroll-snap-type: x mandatory;
    }

    .citystar-flash-deals__card {
        flex-basis: min(82vw, 300px);
        scroll-snap-align: start;
    }

    .citystar-flash-deals__media {
        height: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .citystar-flash-deals__card,
    .citystar-flash-deals__arrow {
        transition: none;
    }
}
