

/* Start:/local/templates/slabovid_mibok_triumph/components/custom/certificates.sale/.default/style.css?177687040915499*/
/* ─── Intro-карточки ─────────────────────────────────────────────────────────── */

.certificate-intro {
    margin-bottom: 40px;
}

.certificate-intro__grid {
    display: flex;
    gap: 0;
    border: 1px solid #e8e0de;
}

.certificate-intro__item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-right: 1px solid #e8e0de;
}

.certificate-intro__item:last-child {
    border-right: none;
}

.certificate-intro__img {
    flex: none;
    width: 56px;
    height: 56px;
    overflow: hidden;
}

.certificate-intro__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.certificate-intro__title {
    font-family: 'GothamProMedium', sans-serif;
    font-size: 13px;
    line-height: 140%;
    color: #000;
    margin-bottom: 4px;
}

.certificate-intro__text {
    font-family: 'GothamProLight', sans-serif;
    font-size: 12px;
    line-height: 150%;
    color: #666;
}

/* ─── Двухколоночный layout ──────────────────────────────────────────────────── */

.certificate-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.certificate-layout__left {
    flex: none;
    width: 460px;
}

.certificate-layout__right {
    flex: 1;
    min-width: 0;
}

/* ─── Левая колонка ──────────────────────────────────────────────────────────── */

.certificate-side {
    position: sticky;
    top: 120px;
}

.certificate-preview {
    background-color: #f0eded;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 4px;
    overflow: hidden;
}

.certificate-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */

.certificate-faq__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.certificate-faq__item {
    border-bottom: 1px solid #e0d6d3;
}

.certificate-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    cursor: pointer;
    gap: 16px;
}

.certificate-faq__question-text {
    font-family: 'GothamProMedium', sans-serif;
    font-size: 14px;
    line-height: 150%;
    color: #000;
}

.certificate-faq__icon {
    flex: none;
    line-height: 1;
    color: #999;
    transition: transform .2s;
}

.certificate-faq__item.is-open .certificate-faq__icon {
    transform: rotate(180deg);
}

.certificate-faq__answer {
    display: none;
    font-family: 'GothamProLight', sans-serif;
    font-size: 14px;
    line-height: 160%;
    color: #444;
    padding-bottom: 16px;
}

.certificate-faq__item.is-open .certificate-faq__answer {
    display: block;
}

.certificate-faq__link {
    display: inline-block;
    margin-top: 18px;
    font-family: 'GothamProLight', sans-serif;
    font-size: 14px;
    color: #d1b5ad;
    text-decoration: underline;
}

.certificate-faq__link:hover {
    opacity: .75;
    color: #d1b5ad;
    text-decoration: underline;
}

/* ─── Правая колонка: заголовок ──────────────────────────────────────────────── */

.certificate-form__header {
    margin-bottom: 28px;
}

.certificate-form__subtitle {
    font-family: 'GothamProLight', sans-serif;
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.certificate-form__title {
    font-family: 'GothamProMedium', sans-serif;
    font-size: 26px;
    line-height: 130%;
    color: #000;
    margin: 0;
}

/* ─── Форма ──────────────────────────────────────────────────────────────────── */

.cf {
    display: block;
}

/* ─── Блок ───────────────────────────────────────────────────────────────────── */

.cf-block {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 16px;
}

.cf-block__title {
    font-family: 'GothamProMedium', sans-serif;
    font-size: 20px;
    color: #000;
    margin-bottom: 20px;
}

/* ─── Номиналы ───────────────────────────────────────────────────────────────── */

.cf-nominals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.cf-nominal {
    cursor: pointer;
    user-select: none;
}

.cf-nominal__input {
    display: none;
}

.cf-nominal__label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 18px;
    border: 1px solid #ddd;
    font-family: 'GothamPro', sans-serif;
    font-size: 14px;
    color: #000;
    border-radius: 20px;
    transition: background-color .15s, border-color .15s, color .15s;
    white-space: nowrap;
    background: #fff;
}

.cf-nominal:hover .cf-nominal__label {
    border-color: #d1b5ad;
}

.cf-nominal__input:checked + .cf-nominal__label {
    background-color: #d1b5ad;
    border-color: #d1b5ad;
    color: #fff;
}

/* ─── Свой номинал ───────────────────────────────────────────────────────────── */

.cf-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 42px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 21px;
    cursor: pointer;
    box-sizing: border-box;
    margin-top: 4px;
    background: #fff;
    transition: border-color .15s;
}

.cf-custom:hover {
    border-color: #d1b5ad;
}

.cf-custom__text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'GothamProLight', sans-serif;
    font-size: 14px;
    color: #000;
    flex: none;
}

.cf-custom__icon {
    flex: none;
    opacity: .5;
}

.cf-custom__input {
    /* display: none; */
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'GothamProLight', sans-serif;
    font-size: 15px;
    color: #000;
    /* text-align: right; */
    -moz-appearance: textfield;
}

.cf-custom__input::-webkit-inner-spin-button,
.cf-custom__input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.cf-custom.is-open .cf-custom__text {
    display: none;
}

.cf-custom.is-open .cf-custom__input {
    display: block;
}

/* ─── Поля ───────────────────────────────────────────────────────────────────── */

.cf-field {
    margin-bottom: 10px;
}

.cf-field:last-of-type {
    margin-bottom: 0;
}

.cf-input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 20px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: 'GothamProLight', sans-serif;
    font-size: 15px;
    color: #000;
    box-sizing: border-box;
    border-radius: 24px;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s;
}

.cf-input:focus {
    border-color: #d1b5ad;
    outline: none;
}

#cf-custom-label:has(.cf-custom__input.is-invalid),
.cf-input.is-invalid {
    border-color: #c0392b;
}

.cf-input::placeholder {
    color: #aaa;
}

/* ─── Подсказка ──────────────────────────────────────────────────────────────── */

.cf-hint {
    font-family: 'GothamProLight', sans-serif;
    font-size: 13px;
    line-height: 150%;
    color: #888;
    margin-top: 16px;
    margin-bottom: 16px;
}

/* ─── Toggle ─────────────────────────────────────────────────────────────────── */

.cf-toggle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.cf-toggle {
    position: relative;
    flex: none;
    cursor: pointer;
}

.cf-toggle__input {
    display: none;
}

.cf-toggle__track {
    display: block;
    width: 48px;
    height: 28px;
    background-color: #ddd;
    border-radius: 14px;
    position: relative;
    transition: background-color .2s;
}

.cf-toggle__thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 1px 4px rgba(0,0,0,.25);
}

.cf-toggle__input:checked + .cf-toggle__track {
    background-color: #d1b5ad;
}

.cf-toggle__input:checked + .cf-toggle__track .cf-toggle__thumb {
    transform: translateX(20px);
}

.cf-toggle-label {
    font-family: 'GothamProLight', sans-serif;
    font-size: 14px;
    color: #000;
    cursor: pointer;
}

/* ─── Textarea ───────────────────────────────────────────────────────────────── */

.cf-textarea {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: 'GothamProLight', sans-serif;
    font-size: 15px;
    color: #000;
    resize: vertical;
    box-sizing: border-box;
    border-radius: 16px;
    transition: border-color .15s;
}

.cf-textarea:focus {
    border-color: #d1b5ad;
    outline: none;
}

.cf-textarea::placeholder {
    color: #aaa;
}

/* ─── Итог ───────────────────────────────────────────────────────────────────── */

.cf-block--footer {
    background: #f5f5f5;
}

.cf-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}

.cf-total__label {
    font-family: 'GothamProMedium', sans-serif;
    font-size: 22px;
    color: #000;
}

.cf-total__value {
    font-family: 'GothamProMedium', sans-serif;
    font-size: 22px;
    color: #000;
}

/* ─── Соглашение ─────────────────────────────────────────────────────────────── */

.cf-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    cursor: pointer;
}

.cf-agreement__input {
    width: 16px;
    height: 16px;
    flex: none;
    margin-top: 2px;
    accent-color: #d1b5ad;
    cursor: pointer;
}

.cf-agreement__text {
    font-family: 'GothamProLight', sans-serif;
    font-size: 13px;
    line-height: 160%;
    color: #444;
}

.cf-agreement__text a {
    color: #000;
    text-decoration: underline;
}

/* ─── Кнопка ─────────────────────────────────────────────────────────────────── */

.cf-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    background-color: #d1b5ad;
    border: none;
    color: #fff;
    font-family: 'GothamProMedium', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    cursor: pointer;
    transition: opacity .2s;
    border-radius: 25px;
}

.cf-submit:hover {
    opacity: .85;
}

.cf-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* ─── Заметка ────────────────────────────────────────────────────────────────── */

.cf-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 14px;
    font-family: 'GothamProLight', sans-serif;
    font-size: 12px;
    line-height: 160%;
    color: #888;
}

.cf-note svg {
    flex: none;
    margin-top: 1px;
}

/* ─── Ошибки ─────────────────────────────────────────────────────────────────── */

.field-error {
    display: block;
    font-family: 'GothamProLight', sans-serif;
    font-size: 12px;
    color: #c0392b;
    margin-top: 4px;
    min-height: 16px;
}

.cert-error-summary {
    list-style: none;
    margin: 0 0 16px;
    padding: 14px 18px;
    background-color: #fdf0ef;
    border: 1px solid #c0392b;
    border-radius: 6px;
    font-family: 'GothamProLight', sans-serif;
    font-size: 14px;
    color: #c0392b;
    line-height: 180%;
}

/* ─── Спиннер ────────────────────────────────────────────────────────────────── */

.cert-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cert-spin .7s linear infinite;
}

@keyframes cert-spin {
    to { transform: rotate(360deg); }
}

/* ─── Адаптив ────────────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .certificate-layout__left {
        width: 380px;
    }
}

@media (max-width: 900px) {
    .certificate-layout {
        flex-direction: column;
        gap: 32px;
    }
    .certificate-layout__left {
        width: 100%;
    }
    .certificate-side {
        position: static;
    }
    .certificate-intro__grid {
        flex-wrap: wrap;
    }
    .certificate-intro__item {
        width: 50%;
        flex: none;
        border-bottom: 1px solid #e8e0de;
    }
    .certificate-intro__item:nth-child(2) {
        border-right: none;
    }
    .certificate-intro__item:nth-child(3),
    .certificate-intro__item:nth-child(4) {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .certificate-intro__item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e8e0de;
    }
    .certificate-intro__item:last-child {
        border-bottom: none;
    }
    .cf-block {
        padding: 20px 18px;
    }
    .certificate-form__title {
        font-size: 20px;
    }
}

/* End */
/* /local/templates/slabovid_mibok_triumph/components/custom/certificates.sale/.default/style.css?177687040915499 */
