.customer-auth-page {
    background: #fff;
    color: #181b26;
}

.customer-auth-page .page-top {
    background: #f6f6f6;
    border-bottom: 1px solid #e3e0dc;
}

.customer-auth-page .page-top h1 {
    font-size: 20px;
    font-weight: 400;
    color: #343741;
    line-height: 35px;
    margin-top: 10px;
}

.customer-auth-wrap {
    padding: 44px 0 64px;
    background: #fff;
}

.customer-auth-shell {
    display: grid;
    grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
    gap: 44px;
    align-items: stretch;
}

.customer-auth-info,
.customer-auth-card,
.customer-register-card,
.customer-auth-step {
    background: #fff;
    border: 1px solid #ded9d3;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(24, 27, 38, 0.035);
}

.customer-auth-info {
    padding: 42px 42px 30px;
    display: flex;
    flex-direction: column;
    min-height: 610px;
}

.customer-auth-shell--compact .customer-auth-info {
    min-height: auto;
}

.customer-auth-eyebrow {
    display: block;
    margin-bottom: 26px;
    color: #d21f07;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.customer-auth-info h2,
.customer-auth-card h2,
.customer-register-head h2 {
    margin: 0;
    color: #181b26;
    font-weight: 800;
    line-height: 1.08;
}

.customer-auth-info h2 {
    font-size: 38px;
    max-width: 390px;
}

.customer-auth-lead {
    margin: 28px 0 36px;
    color: #626777;
    font-size: 16px;
    line-height: 1.58;
}

.customer-auth-benefits {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.customer-auth-benefits li {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    align-items: center;
}

.customer-auth-benefits i,
.customer-auth-step-badge,
.customer-register-progress span,
.customer-auth-selector i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(210, 31, 7, .34);
    background: #fff3f1;
    color: #d21f07;
}

.customer-auth-benefits i {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    font-size: 17px;
}

.customer-auth-benefits strong {
    display: block;
    margin-bottom: 3px;
    color: #181b26;
    font-size: 16px;
}

.customer-auth-benefits small {
    color: #626777;
    font-size: 13px;
}

.customer-auth-selector {
    display: grid;
    grid-template-columns: 42px 1fr 22px;
    gap: 14px;
    align-items: center;
    margin-top: auto;
    padding: 18px 20px;
    border: 1px solid #ded9d3;
    border-radius: 6px;
    background: #fff;
    color: #181b26;
    text-decoration: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.customer-auth-selector:hover {
    border-color: rgba(210, 31, 7, .35);
    box-shadow: 0 16px 28px rgba(210, 31, 7, .08);
    transform: translateY(-1px);
}

.customer-auth-selector i {
    width: 42px;
    height: 42px;
    border-radius: 5px;
}

.customer-auth-selector strong,
.customer-auth-selector small {
    display: block;
}

.customer-auth-selector strong {
    color: #181b26;
    font-size: 14px;
}

.customer-auth-selector small {
    color: #626777;
    font-size: 12px;
    line-height: 1.35;
}

.customer-auth-selector b {
    color: #d21f07;
    font-size: 20px;
}

.customer-auth-shell--compact .customer-auth-selector {
    margin-top: 28px;
}

.customer-auth-card {
    padding: 34px;
}

.customer-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 44px;
    padding: 6px;
    background: #f1ede8;
    border-radius: 8px;
}

.customer-auth-tab {
    padding: 15px 16px;
    border-radius: 6px;
    color: #626777;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
}

.customer-auth-tab.is-active {
    background: #fff;
    border: 1px solid #ded9d3;
    color: #181b26;
    box-shadow: 0 8px 18px rgba(24, 27, 38, .04);
}

.customer-auth-card h2 {
    font-size: 32px;
}

.customer-auth-subtitle {
    margin: 8px 0 28px;
    color: #626777;
    font-size: 15px;
}

.customer-auth-alert {
    border-radius: 6px;
    border: 0;
    margin-bottom: 18px;
}

.customer-auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.customer-auth-field {
    margin-bottom: 20px;
}

.customer-auth-field label,
.customer-auth-consent label {
    color: #626777;
    font-size: 12px;
    font-weight: 800;
}

.customer-auth-field .form-control,
.customer-auth-card .form-control,
.customer-register-card .form-control {
    height: 55px;
    border: 1px solid #ded9d3;
    border-radius: 5px;
    box-shadow: none;
    color: #181b26;
    font-size: 14px;
}

.customer-auth-card textarea.form-control,
.customer-register-card textarea.form-control {
    height: auto;
}

.customer-auth-field .input-group .form-control {
    border-radius: 5px 0 0 5px;
}

.customer-auth-field .input-group-btn .btn {
    height: 55px;
    border-color: #ded9d3;
    border-radius: 0 5px 5px 0;
    background: #fff;
    color: #626777;
}

.customer-auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 8px 0 26px;
    color: #626777;
}

.customer-auth-check {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #626777;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    cursor: pointer;
}

.customer-auth-check input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.customer-auth-check span:first-of-type {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 1px solid #d8d3cc;
    border-radius: 4px;
    background: #fff;
    transition: .16s ease;
}

.customer-auth-check span:first-of-type:after {
    position: absolute;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg) scale(.75);
    content: "";
}

.customer-auth-check input:checked + span:first-of-type {
    border-color: #d21f07;
    background: #d21f07;
}

.customer-auth-check input:checked + span:first-of-type:after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.customer-auth-check input:focus + span:first-of-type {
    box-shadow: 0 0 0 3px rgba(210, 31, 7, .12);
}

.customer-auth-options a {
    color: #d21f07;
    font-weight: 800;
}

.customer-auth-password-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid #ead7d2;
    border-radius: 5px;
    background: #fff;
    color: #d21f07 !important;
    line-height: 1;
    text-decoration: none !important;
}

.customer-auth-password-link:hover,
.customer-auth-password-link:focus {
    border-color: rgba(210, 31, 7, .38);
    background: #fff;
}

.customer-auth-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: center;
}

.customer-auth-actions--single {
    grid-template-columns: minmax(220px, 360px);
}

.customer-auth-btn {
    height: 58px;
    border-radius: 5px;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.customer-auth-btn-primary {
    border: 1px solid #d21f07;
    background: #d21f07;
    color: #fff !important;
}

.customer-auth-btn-primary:hover,
.customer-auth-btn-primary:focus {
    border-color: #b71904;
    background: #b71904;
    color: #fff !important;
}

.customer-auth-btn-outline {
    height: 50px;
    border: 1px solid #d8d3cc;
    background: #fff;
    color: #181b26 !important;
    box-shadow: inset 0 -2px 0 rgba(24, 27, 38, .03);
    align-self: center;
    line-height: 34px;
}

.customer-auth-btn-outline:hover,
.customer-auth-btn-outline:focus {
    border-color: #d21f07;
    background: #fff;
    color: #d21f07 !important;
    box-shadow: inset 0 -2px 0 rgba(210, 31, 7, .08);
}

.customer-auth-register-strip {
    margin-top: 50px;
    padding: 32px;
    border-radius: 8px;
    background: #f4f0eb;
}

.customer-auth-register-strip h3 {
    margin: 0 0 24px;
    color: #181b26;
    font-size: 22px;
    font-weight: 800;
}

.customer-register-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.customer-register-progress li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: center;
}

.customer-register-progress span {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    font-weight: 800;
}

.customer-register-progress strong,
.customer-register-progress small {
    display: block;
}

.customer-register-progress strong {
    color: #181b26;
    font-size: 13px;
}

.customer-register-progress small {
    color: #626777;
    font-size: 11px;
}

.customer-register-wrap {
    padding: 44px 0 64px;
    background: #fff;
}

.customer-register-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.customer-register-card {
    padding: 38px;
}

.customer-register-head {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.customer-register-head h2 {
    font-size: 34px;
}

.customer-register-head p {
    margin: 10px 0 0;
    color: #626777;
    line-height: 1.55;
}

.customer-auth-login-link {
    flex-shrink: 0;
    color: #d21f07;
    font-weight: 800;
    text-decoration: none !important;
}

.customer-register-section {
    padding: 30px 0;
    border-top: 1px solid #e5e0db;
}

.customer-register-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.customer-register-section-title {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.customer-auth-step-badge {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    font-weight: 800;
}

.customer-register-section-title h3 {
    margin: 0;
    color: #181b26;
    font-size: 22px;
    font-weight: 800;
}

.customer-register-section-title p {
    margin: 3px 0 0;
    color: #626777;
    font-size: 13px;
}

.customer-register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 22px;
}

.customer-auth-span-2 {
    grid-column: 1 / -1;
}

.customer-register-grid .form-group {
    margin-bottom: 0;
}

.customer-register-card .help-block {
    color: #7b808c;
}

.customer-auth-consent {
    padding: 18px 20px;
    border: 1px solid #e5e0db;
    border-radius: 8px;
    background: #fbfaf8;
}

.customer-auth-consent .checkbox {
    margin: 0;
}

.customer-auth-consent .customer-auth-check {
    display: flex;
}

.customer-auth-consent a {
    color: #d21f07;
}

.customer-auth-gdpr {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid #e5e0db;
    border-radius: 8px;
    background: #f4f0eb;
    color: #626777;
    font-size: 12px;
    line-height: 1.55;
}

.customer-register-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid #e5e0db;
}

.customer-register-sidebar {
    position: static;
    top: auto;
    display: grid;
    gap: 18px;
}

.customer-auth-step {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 8px;
    align-items: start;
    padding: 20px;
}

.customer-auth-step h3 {
    margin: 2px 0 4px;
    color: #181b26;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.customer-auth-step p {
    margin: 0;
    color: #626777;
    grid-column: 2;
    font-size: 14px;
    line-height: 1.55;
}

.customer-auth-3m {
    color: #d21f07;
    font-weight: 800;
}

@media (max-width: 1199px) {
    .customer-auth-shell,
    .customer-register-layout {
        grid-template-columns: 1fr;
    }

    .customer-auth-info {
        min-height: auto;
    }

    .customer-register-sidebar {
        position: static;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .customer-auth-wrap,
    .customer-register-wrap {
        padding: 30px 0 46px;
    }

    .customer-auth-info,
    .customer-auth-card,
    .customer-register-card {
        padding: 26px 20px;
    }

    .customer-auth-info h2,
    .customer-auth-card h2,
    .customer-register-head h2 {
        font-size: 28px;
    }

    .customer-auth-form-grid,
    .customer-auth-actions,
    .customer-register-grid,
    .customer-register-progress,
    .customer-register-sidebar {
        grid-template-columns: 1fr;
    }

    .customer-auth-options,
    .customer-register-head,
    .customer-register-submit {
        display: block;
    }

    .customer-auth-step {
        grid-template-columns: 42px minmax(0, 1fr);
        column-gap: 12px;
        padding: 16px;
    }

    .customer-auth-step h3 {
        font-size: 16px;
    }

    .customer-auth-step p {
        font-size: 13px;
    }

    .customer-auth-options a,
    .customer-auth-login-link,
    .customer-register-submit a {
        display: inline-block;
        margin-top: 10px;
    }

    .customer-auth-register-strip {
        margin-top: 30px;
        padding: 22px;
    }
}
