

/* Start:/local/components/sova/gift.certificates/templates/.default/style.css?178539568711790*/
/*
 * Изолированные стили страницы покупки подарочного сертификата.
 * Секции: каркас, preview/варианты, форма/состояния и responsive layout.
 */

/* Каркас страницы и типографика. */
.coupon-page {
    position: relative;
    overflow: hidden;
    padding: 30px 18px 145px;
    color: #1a1a1a;
    background: #ffffff url("/local/templates/sova/assets/img/certificate/bg_gift_cer.svg") center -96px no-repeat;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.coupon-page *,
.coupon-page *::before,
.coupon-page *::after {
    box-sizing: border-box;
}

.coupon-page .coupon-form-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}

.coupon-page .coupon-form-title {
    margin: 0 0 30px;
    color: #111111;
    font-size: 31px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .7px;
    text-align: center;
    text-transform: uppercase;
}

.coupon-page .coupon-form-description {
    margin: 0;
    color: #333333;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.15;
}

.coupon-page .coupon-form-description p {
    margin: 0 0 17px;
}

.coupon-page .coupon-form-description p:last-child {
    margin-bottom: 0;
}

.coupon-page .coupon-form-layout {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    margin-top: 29px;
}

.coupon-page .coupon-form-preview {
    width: 59%;
}

/* Preview сертификата и переключатели номинала. */
.coupon-page .coupon-form-card {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50.35%;
    overflow: hidden;
    border-radius: 8px;
    color: #333333;
    background-color: #eeeeec;
}

.coupon-page .coupon-form-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.coupon-page .coupon-form-card-content {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    width: 100%;
    padding: 0 22px;
    text-align: center;
    -webkit-transform: translateY(-47%);
    transform: translateY(-47%);
}

.coupon-page .coupon-form-card-title {
    display: block;
    margin: 0;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .2px;
    text-transform: uppercase;
}

.coupon-page .coupon-form-card-subtitle {
    display: block;
    margin-top: 1px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1;
}

.coupon-page .coupon-form-card-amount {
    display: block;
    margin-top: 20px;
    font-size: 49px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .5px;
    white-space: nowrap;
}

.coupon-page .coupon-form-card-code {
    display: inline-block;
    min-width: 214px;
    margin-top: 23px;
    padding: 11px 14px 10px;
    color: inherit;
    background: rgba(95, 95, 95, .18);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 1.8px;
    white-space: nowrap;
}

.coupon-page .coupon-form-card.coupon-form-theme-black {
    color: #f1f1f1;
}

.coupon-page .coupon-form-card.coupon-form-theme-red {
    color: #171717;
}

.coupon-page .coupon-form-card.coupon-form-theme-dark {
    color: #cb3737;
}

.coupon-page .coupon-form-card.coupon-form-theme-black .coupon-form-card-code {
    background: rgba(255, 255, 255, .13);
}

.coupon-page .coupon-form-card.coupon-form-theme-red .coupon-form-card-code {
    background: rgba(0, 0, 0, .12);
}

.coupon-page .coupon-form-card.coupon-form-theme-dark .coupon-form-card-code {
    background: rgba(203, 55, 55, .14);
}

.coupon-page .coupon-form-options {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin-top: 5px;
}

.coupon-page .coupon-form-option {
    display: block;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    min-width: 0;
    height: 54px;
    margin: 0 3px;
    padding: 0 6px;
    border: 0;
    border-radius: 3px;
    outline: 0;
    color: #333333;
    background: #f1f1f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .14);
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    line-height: 54px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    -webkit-transition: box-shadow .15s ease, -webkit-transform .15s ease;
    transition: box-shadow .15s ease, transform .15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.coupon-page .coupon-form-option:first-child {
    margin-left: 0;
}

.coupon-page .coupon-form-option:last-child {
    margin-right: 0;
}

.coupon-page .coupon-form-option.coupon-form-theme-black,
.coupon-page .coupon-form-option.coupon-form-theme-dark {
    color: #eeeeee;
    background: #151515;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .18);
}

.coupon-page .coupon-form-option.coupon-form-theme-red {
    color: #151515;
    background: #cc3838;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .18);
}

.coupon-page .coupon-form-option.coupon-form-theme-dark {
    color: #cb3737;
}

.coupon-page .coupon-form-option:hover,
.coupon-page .coupon-form-option:focus {
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

.coupon-page .coupon-form-option.coupon-form-active {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9), 0 0 0 2px #171717;
}

.coupon-page .coupon-form-option.coupon-form-theme-white.coupon-form-active {
    box-shadow: inset 0 0 0 2px #171717, 0 0 0 2px #f1f1f1;
}

/* Поля формы, honeypot и статусы оплаты. */
.coupon-page .coupon-form-fields {
    position: relative;
    width: 39.2%;
}

.coupon-page .coupon-form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.coupon-page .coupon-form-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    min-height: 31px;
    margin-bottom: 10px;
}

.coupon-page .coupon-form-label {
    display: block;
    width: 48%;
    padding-right: 10px;
    color: #1b1b1b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}

.coupon-page .coupon-form-input {
    display: block;
    width: 52%;
    height: 31px;
    padding: 4px 9px;
    border: 1px solid #aaaaaa;
    border-radius: 8px;
    outline: 0;
    color: #222222;
    background: rgba(255, 255, 255, .9);
    font-family: inherit;
    font-size: 14px;
    line-height: 21px;
    -webkit-appearance: none;
    appearance: none;
}

.coupon-page .coupon-form-input:focus,
.coupon-page .coupon-form-textarea:focus {
    border-color: #333333;
    box-shadow: 0 0 0 1px #333333;
}

.coupon-page .coupon-form-comment {
    display: block;
}

.coupon-page .coupon-form-comment-label {
    display: block;
    margin: 17px 0 9px;
    color: #1b1b1b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}

.coupon-page .coupon-form-textarea {
    display: block;
    width: 100%;
    height: 161px;
    padding: 9px;
    resize: none;
    border: 1px solid #aaaaaa;
    border-radius: 9px;
    outline: 0;
    color: #222222;
    background: rgba(255, 255, 255, .9);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.15;
    -webkit-appearance: none;
    appearance: none;
}

.coupon-page .coupon-form-payment {
    display: block;
    width: 100%;
    height: 54px;
    margin-top: 10px;
    padding: 0 15px;
    border: 0;
    border-radius: 8px;
    color: #f3f3f3;
    background: #171717;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 54px;
    letter-spacing: .1px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.coupon-page .coupon-form-payment[disabled] {
    cursor: wait;
    opacity: .68;
}

.coupon-page .coupon-form-status {
    margin: 12px 0 0;
    color: #333333;
    font-size: 13px;
    line-height: 1.35;
}

.coupon-page .coupon-form-status-error {
    color: #b42318;
}

.coupon-page .coupon-form-error {
    margin: 0;
    padding: 30px 0;
    color: #333333;
    font-size: 17px;
    line-height: 1.4;
    text-align: center;
}

/* Планшет: preview и форма переходят в вертикальный поток. */
@media (max-width: 820px) {
    .coupon-page {
        padding: 25px 15px 50px;
    }

    .coupon-page .coupon-form-title {
        margin-bottom: 20px;
        font-size: 26px;
    }

    .coupon-page .coupon-form-description {
        font-size: 15px;
        line-height: 1.3;
    }

    .coupon-page .coupon-form-description p {
        margin-bottom: 13px;
    }

    .coupon-page .coupon-form-layout {
        display: block;
        margin-top: 24px;
    }

    .coupon-page .coupon-form-preview,
    .coupon-page .coupon-form-fields {
        width: 100%;
    }

    .coupon-page .coupon-form-preview {
        max-width: 620px;
        margin: 0 auto;
    }

    .coupon-page .coupon-form-fields {
        max-width: 620px;
        margin: 28px auto 0;
    }

    .coupon-page .coupon-form-label {
        width: 42%;
    }

    .coupon-page .coupon-form-input {
        width: 58%;
    }
}

/* Телефон: компактная карточка и варианты по две кнопки в строке. */
@media (max-width: 520px) {
    .coupon-page {
        padding-right: 12px;
        padding-left: 12px;
    }

    .coupon-page .coupon-form-title {
        font-size: 23px;
        letter-spacing: .2px;
    }

    .coupon-page .coupon-form-card {
        min-height: 230px;
        padding-bottom: 0;
    }

    .coupon-page .coupon-form-card-content {
        padding: 0 12px;
    }

    .coupon-page .coupon-form-card-title {
        font-size: 22px;
    }

    .coupon-page .coupon-form-card-subtitle {
        margin-top: 3px;
        font-size: 18px;
    }

    .coupon-page .coupon-form-card-amount {
        margin-top: 17px;
        font-size: 42px;
    }

    .coupon-page .coupon-form-card-code {
        min-width: 194px;
        margin-top: 18px;
        padding: 10px 11px 9px;
        font-size: 18px;
        letter-spacing: 1.2px;
    }

    .coupon-page .coupon-form-options {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-top: 3px;
    }

    .coupon-page .coupon-form-option {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(50% - 3px);
        flex: 0 0 calc(50% - 3px);
        width: calc(50% - 3px);
        height: 50px;
        margin: 3px;
        font-size: 18px;
        line-height: 50px;
    }

    .coupon-page .coupon-form-option:nth-child(odd) {
        margin-left: 0;
    }

    .coupon-page .coupon-form-option:nth-child(even) {
        margin-right: 0;
    }

    .coupon-page .coupon-form-fields {
        margin-top: 25px;
    }

    .coupon-page .coupon-form-row {
        display: block;
        margin-bottom: 14px;
    }

    .coupon-page .coupon-form-label,
    .coupon-page .coupon-form-input {
        width: 100%;
    }

    .coupon-page .coupon-form-label {
        margin-bottom: 7px;
        padding-right: 0;
    }

    .coupon-page .coupon-form-input {
        height: 40px;
    }

    .coupon-page .coupon-form-comment-label {
        margin-top: 19px;
    }

    .coupon-page .coupon-form-textarea {
        height: 140px;
    }

    .coupon-page .coupon-form-payment {
        font-size: 16px;
    }
}

/* End */
/* /local/components/sova/gift.certificates/templates/.default/style.css?178539568711790 */
