/* Project overrides for the original layout module. */
.main [id],
.footer[id] {
    scroll-margin-top: 120px;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

.subscribe-form--contact {
    align-items: flex-end;
    height: auto;
}

.subscribe-form--contact .subscribe-form__fields {
    display: grid;
    gap: 12px;
    width: 100%;
}

.subscribe-form--contact .subscribe-form__input {
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    height: 52px;
    padding: 0 15px;
    position: static;
}

.subscribe-form--contact .subscribe-form__button {
    flex: 0 0 auto;
}

.support-box__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cart-option-choice {
    cursor: pointer;
    display: block;
    position: relative;
}

.cart-option-choice__control {
    align-items: center;
    display: flex;
    justify-content: center;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.cart-option-choice__input {
    cursor: pointer;
    height: 46px;
    margin: 0;
    opacity: 0;
    position: absolute;
    z-index: 1;
    width: 46px;
}

.cart-option-choice__radio {
    background: rgba(34, 34, 34, .72);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    display: block;
    height: 46px;
    position: relative;
    width: 46px;
}

.cart-option-choice__radio::after {
    background: #e63619;
    border-radius: 50%;
    content: "";
    height: 22px;
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(.65);
    transition: opacity .15s ease, transform .15s ease;
    width: 22px;
}

.cart-option-choice__input:checked + .cart-option-choice__radio::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.cart-option-choice__input:focus-visible + .cart-option-choice__radio {
    outline: 3px solid rgba(230, 54, 25, .35);
    outline-offset: 4px;
}

.cart-addon-choice {
    align-items: center;
    cursor: pointer;
    gap: 14px;
}

.cart-addon-choice .latest-news-item__info {
    flex: 1 1 auto;
    min-width: 0;
}

.cart-addon-choice__control {
    align-items: center;
    display: flex;
    flex: 0 0 38px;
    height: 38px;
    justify-content: center;
    position: relative;
    width: 38px;
}

.cart-addon-choice__input {
    cursor: pointer;
    height: 38px;
    margin: 0;
    opacity: 0;
    position: absolute;
    width: 38px;
    z-index: 1;
}

.cart-addon-choice__box {
    background: rgba(197, 197, 197, 0.72);
    border: 3px solid #fff;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .28);
    display: block;
    height: 38px;
    position: relative;
    width: 38px;
}

.cart-addon-choice__box::after {
    border-bottom: 4px solid #e63619;
    border-right: 4px solid #e63619;
    content: "";
    height: 18px;
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 44%;
    transform: translate(-50%, -50%) rotate(45deg) scale(.75);
    transition: opacity .15s ease, transform .15s ease;
    width: 10px;
}

.cart-addon-choice__input:checked + .cart-addon-choice__box::after {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

.cart-addon-choice__input:focus-visible + .cart-addon-choice__box {
    outline: 3px solid rgba(230, 54, 25, .35);
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .subscribe-form--contact {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .subscribe-form--contact .subscribe-form__button {
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .support-box__actions {
        align-items: stretch;
    }

    .support-box__actions .uk-button {
        width: 100%;
    }

    .cart-option-choice__control {
        right: 12px;
    }

    .cart-option-choice__radio {
        height: 40px;
        width: 40px;
    }

    .cart-option-choice__input {
        height: 40px;
        width: 40px;
    }

    .cart-option-choice__radio::after {
        height: 18px;
        width: 18px;
    }

    .cart-addon-choice {
        gap: 10px;
    }

    .cart-addon-choice__control,
    .cart-addon-choice__input,
    .cart-addon-choice__box {
        flex-basis: 34px;
        height: 34px;
        width: 34px;
    }

    .cart-addon-choice__box::after {
        height: 15px;
        width: 8px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6,
.uk-h1,
.uk-h2,
.uk-h3,
.uk-h4,
.uk-h5,
.uk-h6,
.titling__title,
.about-content__info__title,
.brands_titling__title,
.km-titling__title {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
}
