.best-reservation {
    align-items: center;
    background: #e5f8e9;
    border-radius: 8px;
    box-sizing: border-box;
    color: #185d2b;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin: 0 auto 18px;
    max-width: 1140px;
    min-height: 78px;
    padding: 12px 20px;
    width: 100%;
}

.best-reservation[hidden] {
    display: none !important;
}

.best-reservation__message {
    align-items: center;
    display: flex;
    flex: 1 1 38%;
    gap: 12px;
    min-width: 0;
}

.best-reservation__check {
    align-items: center;
    background: #078b39;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 36px;
    font-size: 23px;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    line-height: 1;
    width: 36px;
}

.best-reservation__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.best-reservation__timer {
    background: #d2f2d9;
    border-radius: 4px;
    color: #075b28;
    flex: 0 0 auto;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    min-width: 145px;
    padding: 3px 10px;
    text-align: center;
}

.best-reservation__detail {
    border-left: 1px solid #abd8b6;
    flex: 1 1 38%;
    font-size: 17px;
    line-height: 1.4;
    padding-left: 16px;
}

.best-reservation__action {
    background: #087a34;
    border: 0;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    display: none;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    text-decoration: none;
    text-transform: uppercase;
}

.best-reservation__action:hover,
.best-reservation__action:focus {
    background: #056127;
    color: #fff;
}

.same-day-delivery {
    align-items: center;
    background: #fffafa;
    border: 2px solid #f04444;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    gap: clamp(10px, 1.5vw, 20px);
    margin: 0 auto 18px;
    max-width: 1140px;
    padding: 8px 16px;
    width: 100%;
}

.same-day-delivery-icon {
    display: block;
    flex: 0 0 clamp(58px, 8vw, 94px);
    height: clamp(58px, 8vw, 94px);
    width: clamp(58px, 8vw, 94px);
}

.same-day-delivery-content {
    flex: 1 1 auto;
    min-width: 0;
}

.same-day-delivery-title {
    color: #f01818;
    font-size: clamp(24px, 3.7vw, 36px);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 5px;
    white-space: nowrap;
}

.same-day-delivery-title span {
    background: #ffeb00;
    border-radius: 2px;
    color: #111;
    display: inline-block;
    padding: 0 5px;
}

.same-day-delivery-highlight {
    color: #f01818;
    font-weight: 700;
}

.same-day-delivery-text {
    color: #111;
    font-size: clamp(13px, 1.5vw, 18px);
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
}

.same-day-delivery-mobile-break,
.same-day-delivery-mobile-countdown {
    display: none;
}

.same-day-delivery-countdown {
    align-self: stretch;
    border-left: 1px solid #f04444;
    display: flex;
    flex: 0 0 clamp(190px, 24%, 270px);
    flex-direction: column;
    justify-content: center;
    margin-left: 2px;
    padding-left: clamp(12px, 2vw, 24px);
    text-align: center;
}

.same-day-delivery-countdown-label {
    color: #111;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 4px;
}

.same-day-delivery-countdown-units {
    align-items: flex-start;
    display: flex;
    gap: 4px;
    justify-content: center;
}

.same-day-delivery-countdown-unit {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
}

.same-day-delivery-countdown-unit strong {
    background: #ed2929;
    border-radius: 5px;
    color: #fff;
    font-size: clamp(20px, 2.5vw, 32px);
    line-height: 1.1;
    padding: 1px 3px;
}

.same-day-delivery-countdown-unit small {
    color: #111;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 3px;
}

.same-day-delivery-countdown-separator {
    color: #111;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    padding-top: 3px;
}

@media (min-width: 601px) and (max-width: 900px) {
    .same-day-delivery-title {
        font-size: clamp(21px, 3vw, 28px);
        white-space: normal;
    }

    .same-day-delivery-text {
        white-space: normal;
    }
}

.best-reservation.is-expired {
    justify-content: flex-start;
}

.best-reservation.is-expired .best-reservation__timer {
    display: none;
}

.best-reservation.is-expired .best-reservation__detail {
    border-left: 0;
    flex: 1 1 auto;
    padding-left: 0;
}

.best-reservation.is-expired .best-reservation__action {
    display: inline-block;
}

@media (max-width: 600px) {
    .best-reservation {
        align-items: center;
        flex-wrap: wrap;
        gap: 8px 10px;
        justify-content: center;
        margin-bottom: 8px;
        min-height: 0;
        padding: 10px 12px;
        margin-top: -24px;
    }

    .best-reservation__message {
        flex: 1 1 100%;
        justify-content: center;
    }

    .best-reservation__check {
        flex-basis: 30px;
        font-size: 20px;
        height: 30px;
        width: 30px;
    }

    .best-reservation__title {
        font-size: 14px;
    }

    .best-reservation__timer {
        flex-basis: 100%;
        font-size: 34px;
        min-width: 0;
        padding: 4px 10px;
    }

    .best-reservation__detail {
        border-left: 0;
        flex: 1 1 100%;
        font-size: 12px;
        padding-left: 0;
    }

    .best-reservation.is-expired .best-reservation__detail {
        flex-basis: 100%;
    }

    .best-reservation__action {
        margin-top: 2px;
    }

    .same-day-delivery {
        align-items: flex-start;
        background: #fff;
        border: 1px solid #e5e5e5;
        gap: 8px;
        padding: 14px 12px;
        width: 100%;
        border-radius: 8px;
    }

    .same-day-delivery-content {
        flex: 1 1 auto;
    }

    .same-day-delivery-icon {
        flex-basis: 36px;
        height: 36px;
        width: 36px;
    }

    .same-day-delivery-title {
        font-size: 16px;
    }

    .same-day-delivery-text {
        font-size: 14px;
        line-height: 1.45;
        white-space: normal;
    }

    .same-day-delivery-mobile-break,
    .same-day-delivery-mobile-countdown {
        display: inline;
    }

    .same-day-delivery-countdown {
        display: none;
    }
}
@media (max-width: 380px) {
    .same-day-delivery-text {
        font-size: 13px;
    }
    .same-day-delivery-title{
        font-size: 15px;
    }
}
@media (max-width: 362px) {
    .same-day-delivery-text {
        font-size: 12px;
    }
    .same-day-delivery-title{
        font-size: 14px;
    }
}
@media (max-width: 340px) {
    .same-day-delivery-text {
        font-size: 11px;
    }
    .same-day-delivery-title{
        font-size: 13px;
    }
}

@media (max-width: 405px) {
    .best-reservation {
        margin-top: -12px;
    }
}
@media (max-width: 396px) {
    .best-reservation {
        margin-top: -15px;
    }
}
@media (max-width: 380px) {
    .best-reservation {
        margin-top: -20px;
    }
}

@media (max-width: 345px) {
    .best-reservation {
        margin-top: -0px;
    }
}
@media (max-width: 768px) {
    .bottom-test {
        font-size: 14px !important;
    }
}
