﻿.customize-discover-page {
    padding: 0 0 80px;
    background: #f6f7f8;
    color: #202124;
}

.customize-discover-hero {
    padding: 56px 0 52px;
    background: linear-gradient(135deg, #850b11, #d71920 62%, #ef353c);
    color: #fff;
}

.customize-discover-hero .content-shell,
.customize-form-shell {
    width: calc(100% - 48px);
    max-width: 1200px;
    box-sizing: border-box;
    margin-right: auto;
    margin-left: auto;
}

.customize-discover-eyebrow,
.customize-form-heading > span {
    display: block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.customize-discover-hero h1 {
    margin: 0;
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.25;
    font-weight: 900;
}

.customize-discover-hero p {
    max-width: 820px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    line-height: 1.85;
}

.customize-form-shell {
    margin-top: 34px;
    padding: 38px 40px 44px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    background: #fff;
}

.customize-form-heading {
    max-width: 820px;
}

.customize-form-heading > span {
    color: #d71920;
}

.customize-form-heading h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 900;
}

.customize-form-heading p {
    margin: 12px 0 0;
    color: #6f7580;
    line-height: 1.8;
}

.customize-type-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.customize-type-tabs button {
    position: relative;
    min-height: 102px;
    padding: 20px 22px 18px 58px;
    border: 1px solid #dfe2e6;
    border-radius: 5px;
    background: #fafafa;
    color: #24272c;
    text-align: left;
    cursor: pointer;
}

.customize-type-tabs button:hover,
.customize-type-tabs button.is-active {
    border-color: #d71920;
    background: #fff3f4;
}

.customize-type-tabs button > span {
    position: absolute;
    top: 22px;
    left: 20px;
    color: #d71920;
    font-size: 13px;
    font-weight: 900;
}

.customize-type-tabs strong,
.customize-type-tabs small {
    display: block;
}

.customize-type-tabs strong {
    font-size: 18px;
    font-weight: 900;
}

.customize-type-tabs small {
    margin-top: 8px;
    color: #737982;
    font-size: 13px;
}

.customize-form {
    margin-top: 28px;
}

.customize-form-panel,
.customize-common-fields {
    padding: 30px;
    border: 1px solid #e3e5e8;
    border-radius: 5px;
    background: #fff;
}

.customize-form-panel[hidden] {
    display: none;
}

.customize-common-fields {
    margin-top: 20px;
    background: #fafafa;
}

.customize-common-fields h3 {
    margin: 0 0 24px;
    font-size: 21px;
    font-weight: 900;
}

.customize-field,
.customize-field-grid {
    margin-top: 20px;
}

.customize-form-panel > .customize-field:first-child,
.customize-common-fields > .customize-field:first-of-type {
    margin-top: 0;
}

.customize-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.customize-field-grid .customize-field {
    margin-top: 0;
}

.customize-field label,
.customize-field__label {
    display: block;
    margin-bottom: 9px;
    color: #30343a;
    font-size: 14px;
    font-weight: 800;
}

.customize-field label em,
.customize-field__label em {
    color: #d71920;
    font-style: normal;
}

.customize-field input[type="text"],
.customize-field input[type="tel"],
.customize-field select,
.customize-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d7dade;
    border-radius: 3px;
    background: #fff;
    color: #25282d;
    font-size: 15px;
    outline: none;
}

.customize-field input[type="text"],
.customize-field input[type="tel"],
.customize-field select {
    height: 46px;
    padding: 0 13px;
}

.customize-field textarea {
    min-height: 108px;
    padding: 12px 13px;
    line-height: 1.7;
    resize: vertical;
}

.customize-field input:focus,
.customize-field select:focus,
.customize-field textarea:focus {
    border-color: #d71920;
    box-shadow: 0 0 0 3px rgba(215, 25, 32, .08);
}

.customize-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.customize-check-grid label {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #e0e2e5;
    border-radius: 3px;
    background: #fafafa;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.customize-check-grid label:hover {
    border-color: #e8aeb1;
    background: #fff4f5;
}

.customize-check-grid input {
    accent-color: #d71920;
}

.customize-inline-control {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.customize-inline-control input[type="button"] {
    width: 118px;
    flex: 0 0 118px;
    border: 0;
    border-radius: 3px;
    background: #30343a;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.customize-inline-control input[type="button"]:disabled {
    cursor: default;
    opacity: .65;
}

.customize-mobile-code-field {
    max-width: 620px;
}

.customize-verify-note {
    margin: 9px 0 0;
    color: #777d86;
    font-size: 13px;
    line-height: 1.65;
}

.customize-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 26px;
}

.customize-submit-row button {
    min-width: 180px;
    height: 48px;
    border: 0;
    border-radius: 3px;
    background: #d71920;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.customize-submit-row button:hover {
    background: #ad0f15;
}

.customize-submit-row p {
    margin: 0;
    color: #777d86;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 800px) {
    .customize-type-tabs,
    .customize-field-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 640px) {
    .customize-discover-hero .content-shell,
    .customize-form-shell {
        width: calc(100% - 28px);
    }

    .customize-discover-hero {
        padding: 44px 0;
    }

    .customize-form-shell {
        padding: 28px 18px 32px;
    }

    .customize-form-panel,
    .customize-common-fields {
        padding: 22px 16px;
    }

    .customize-submit-row,
    .customize-inline-control {
        align-items: stretch;
        flex-direction: column;
    }

    .customize-inline-control input[type="button"],
    .customize-submit-row button {
        width: 100%;
        flex-basis: auto;
    }
}
