:root {
    --hifu-blue: #06abd9;
    --hifu-red: #e50000;
    --hifu-text: #242424;
}

.hifu-offer,
.hifu-offer * {
    box-sizing: border-box;
}

.hifu-offer {
    width: 100%;
    margin-top: 10px;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(510px, .92fr);
    gap: clamp(24px, 3vw, 42px);
    padding: clamp(22px, 2.2vw, 32px) clamp(24px, 3vw, 44px);
    border: 4px solid var(--hifu-red);
    border-radius: 18px;
    background: #fff;
    color: var(--hifu-text);
    font-family: inherit;
    cursor: pointer;
}

.hifu-offer--pending {
    display: none;
}

.hifu-offer:focus-visible {
    outline: 3px solid var(--hifu-blue);
    outline-offset: 4px;
}

.hifu-offer__message {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hifu-offer__title {
    margin: 0;
    color: var(--hifu-blue);
    font-size: clamp(32px, 3.2vw, 44px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.hifu-offer__discount {
    white-space: nowrap;
}

.hifu-offer__discount-icon {
    width: .7em;
    height: .7em;
    margin-left: .08em;
    vertical-align: .06em;
}

.hifu-offer__note {
    margin: 24px 0 0;
    padding-top: 0;
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 500;
    line-height: 1.35;
}

.hifu-offer__action {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hifu-offer__caption {
    margin-bottom: 14px;
    color: var(--hifu-blue);
    font-size: clamp(21px, 1.8vw, 27px);
    font-weight: 700;
    text-align: center;
}

.hifu-timer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1.5vw, 20px);
}

.hifu-timer__card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--hifu-blue);
    border-radius: 16px;
    background: #fff;
}

.hifu-timer__value {
    color: var(--hifu-blue);
    font-size: clamp(46px, 4.1vw, 60px);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: .95;
}

.hifu-timer__label {
    margin-top: 10px;
    font-size: clamp(13px, 1.15vw, 16px);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.hifu-timer__card--split {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 2px auto auto;
    align-content: center;
    justify-items: center;
    text-align: center;
    padding: 9px 10px;
}

.hifu-timer__card--split .hifu-timer__value,
.hifu-timer__card--split .hifu-timer__label {
    width: 100%;
    text-align: center;
}

.hifu-timer__value--small {
    font-size: clamp(30px, 2.7vw, 40px);
}

.hifu-timer__label--small {
    margin-top: 5px;
    padding-bottom: 7px;
    font-size: clamp(11px, .95vw, 14px);
}

.hifu-timer__divider {
    width: 100%;
    height: 2px;
    margin: 0;
    background: var(--hifu-blue);
}

.hifu-timer__value--seconds {
    padding-top: 7px;
    color: var(--hifu-red);
    font-size: clamp(29px, 2.6vw, 39px);
}

.hifu-timer__label--seconds {
    margin-top: 4px;
    color: var(--hifu-red);
    font-size: clamp(11px, .95vw, 14px);
}

.hifu-offer__button {
    width: 100%;
    min-height: 54px;
    margin-top: 16px;
    padding: 11px 22px;
    border: 0;
    border-radius: 10px;
    background: var(--hifu-red);
    color: #fff;
    font: inherit;
    font-size: clamp(19px, 1.7vw, 25px);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease;
}

.hifu-offer__button:hover { filter: brightness(.92); }
.hifu-offer__button:active { transform: translateY(1px); }
.hifu-offer__button:focus-visible { outline: 3px solid #222; outline-offset: 3px; }

@media (max-width: 1050px) {
    .hifu-offer {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .hifu-offer__title,
    .hifu-offer__note { text-align: center; }
    .hifu-offer__note { margin-top: 18px; }
}

@media (max-width: 560px) {
    .hifu-offer {
        gap: 25px;
        padding: 27px 16px 20px;
        border-width: 3px;
        border-radius: 14px;
    }
    .hifu-offer__title { font-size: 36px; }
    .hifu-offer__note { padding-top: 18px; font-size: 14px; }
    .hifu-offer__caption { margin-bottom: 14px; font-size: 23px; }
    .hifu-timer { gap: 8px; }
    .hifu-timer__card { min-height: 138px; border-width: 2px; border-radius: 10px; }
    .hifu-timer__value { font-size: 46px; }
    .hifu-timer__label { margin-top: 12px; font-size: 12px; }
    .hifu-timer__value--small,
    .hifu-timer__value--seconds { font-size: 31px; }
    .hifu-timer__label--small,
    .hifu-timer__label--seconds { margin-top: 3px; font-size: 10px; }
    .hifu-timer__label--small { padding-bottom: 5px; }
    .hifu-timer__divider { margin: 0; }
    .hifu-timer__value--seconds { padding-top: 5px; }
    .hifu-offer__button { min-height: 58px; margin-top: 14px; font-size: 20px; }
}
