/**
 * SPLAT Auth CSS (BEM Methodology)
 * 
 * @package Splat_Auth
 */

 
/*-----------FONTS--------------------*/
@font-face {
    font-display: swap;
    font-family: 'Favorit';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/ABCFavoritPro-Book.woff2') format('woff2'),
            url('../fonts/ABCFavoritPro-Book.woff') format('woff');
}

@font-face {
    font-display: swap;
    font-family: 'Favorit';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/ABCFavoritPro-Book.woff2') format('woff2'),
            url('../fonts/ABCFavoritPro-Book.woff') format('woff');
}

@font-face {
    font-display: swap;
    font-family: 'Oceanic'; 
    font-style: normal;
    font-weight: 450;
    src: url('../fonts/Oceanic.woff2') format('woff2'),
            url('../fonts/Oceanic.woff') format('woff');
}

/* ==========================================================================
   Variables
   ========================================================================== */

:root {
    --splat-auth-primary: #E31E24;
    --splat-auth-secondary: #222222;
    --splat-auth-gray: #f8f8f8;
    --splat-auth-border: #e0e0e0;
    --splat-auth-error: #F44336;
    --splat-auth-success: #4CAF50;
    --splat-auth-warning: #FF9800;
    --splat-auth-font-primary: 'Favorit', 'Helvetica Neue', sans-serif;
    --splat-auth-font-secondary: 'Oceanic', 'Helvetica Neue', sans-serif;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
.popup-auth {
    font-feature-settings: 'ss04' on, 'ss05' on;
}

.popup-auth .popup-auth_wrapper .auth-form {
    min-height: calc(100vh - 80px);
}

.popup-auth .popup-auth_wrapper .auth-form .step.active {
    display: flex;
    flex-direction: column;
}

.splat-auth-popup {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    align-items: stretch;
    justify-content: flex-end;
}

.splat-auth-popup__wrapper {
    position: relative;
    width: 100%;
    max-width: 693px;
    max-height: max-content;
    overflow-y: auto;
    padding: 80px 60px 0;
    background: #FFFFFF;
    box-sizing: border-box;
    box-shadow: 12px 24px 60px rgba(0, 0, 0, 0.15);
}

.splat-auth-popup__close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.splat-auth-popup__close:hover {
    opacity: 0.7;
}

.splat-auth-popup__content {
    width: 100%;
}

/* ==========================================================================
   Form Container
   ========================================================================== */

.splat-auth {
    width: 100%;
}

/* ==========================================================================
   Steps
   ========================================================================== */

.splat-auth__step {
    display: none;
}

.splat-auth__step.active {
    display: block;
    height: calc(100vh - 160px);
}

.splat-auth__step-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

/* ==========================================================================
   Form Elements
   ========================================================================== */

.splat-auth__form {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.splat-auth__step--b2b-inn .splat-auth__form {
    height: auto;
}

.splat-auth__form-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.splat-auth__form-content--full-height {
    height: 100%;
    justify-content: space-between;
}

.splat-auth__form-content-box {
    width: 100%;
}

.woocommerce-form-register.splat-auth__form {
    gap: 20px;
}

.splat-auth__form-row {
    margin-bottom: 24px;
}

.splat-auth__form-row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.splat-auth__field {
    position: relative;
}

.splat-auth__field--labeled {
    position: relative;
    width: 100%;
}

.splat-auth__field--readonly .splat-auth__input,
.splat-auth__field--readonly .splat-auth__textarea {
    background: var(--splat-auth-gray);
    cursor: not-allowed;
}

.splat-auth__input,
.splat-auth__textarea {
    width: 100%;
    padding: 18px 0 16px;
    font-family: var(--splat-auth-font-primary);
    font-size: 18px;
    line-height: 1.4;
    border: none;
    border-bottom: 1px solid var(--splat-auth-secondary);
    border-radius: 0;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.splat-auth__input:focus,
.splat-auth__textarea:focus {
    outline: none;
    border: none!important;
    border-bottom: 1px solid var(--splat-auth-secondary)!important;
}

.splat-auth__input::placeholder,
.splat-auth__textarea::placeholder,
.splat-auth__input[readonly],
.splat-auth__textarea[readonly] {
    color: rgba(34, 34, 34, 0.5);
}

.splat-auth__label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--splat-auth-font-primary);
    font-size: 18px;
    color: rgba(34, 34, 34, 0.5);
    pointer-events: none;
    transition: all 0.2s;
}

.splat-auth__input:focus + .splat-auth__label,
.splat-auth__textarea:focus + .splat-auth__label,
.splat-auth__field.not-empty .splat-auth__label,
.splat-auth__input[readonly] + .splat-auth__label {
    top: 12px;
    font-size: 12px;
    background: white;
    padding: 0;
}

.splat-auth__field.error .splat-auth__input,
.splat-auth__field.error .splat-auth__textarea {
    border-color: var(--splat-auth-error);
}

.splat-auth__field-error {
    display: none;
    margin-top: 8px;
    font-size: 14px;
    color: var(--splat-auth-error);
}

.splat-auth__company-data.splat-auth__company-data--visible {
    height: 100%;
    display: flex!important;
    flex-direction: column;
    justify-content: space-between;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.splat-auth__button-wrapper {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    font-family: var(--splat-auth-font-primary);
}

.splat-auth__step--b2b-inn  .splat-auth__button-wrapper {
    margin-top: auto;
}

.splat-auth__button {
    background: var(--splat-auth-secondary);
    padding: 16px 24px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    border: none;
    cursor: pointer;
    color: #ffffff;
    font-family: var(--splat-auth-font-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 350;
    line-height: 130%; /* 28px */
    letter-spacing: -0.4px;
    transition: all 0.2s;
}

.splat-auth__button:hover:not(:disabled) {
    opacity: 0.9;
}

.splat-auth__button:disabled,
.splat-auth__button--disabled {
    background: rgba(34, 34, 34, 0.3);
    color: rgba(34, 34, 34, 0.3);
    cursor: not-allowed;
}

.splat-auth__button--secondary {
    background: transparent;
    border: none;
    color: var(--splat-auth-secondary);
}

.splat-auth__button--secondary:hover:not(:disabled) {
    background-color: var(--splat-auth-secondary);
    color: white;
}

.splat-auth__buttons {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: auto;
}
.splat-auth__button--primary {
    background: var(--splat-auth-secondary);
    color: white;
}

.splat-auth__button--primary:hover:not(:disabled) {
    opacity: 0.9;
}

.splat-auth__button--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.splat-auth__button--loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
    background: linear-gradient(90deg, #d0d0d0 0%, #e8e8e8 50%, #d0d0d0 100%) !important;
    background-size: 200% 100% !important;
    animation: splat-button-loading 1.5s ease-in-out infinite;
    cursor: wait !important;
}

.splat-auth__button--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: splat-button-spinner 0.8s linear infinite;
}

@keyframes splat-button-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes splat-button-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.splat-auth__button--text {
    background: transparent;
    color: var(--splat-auth-primary);
    padding: 8px 16px;
    text-decoration: underline;
}

.splat-auth__button--text:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================================================
   Checkbox
   ========================================================================== */

.splat-auth__checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
}

.splat-auth__checkbox input[type="checkbox"] {
    margin-top: 0;
    border-radius: 0;
    border: 1px solid var(--splat-auth-border);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.splat-auth__checkbox input[type="checkbox"]:checked {
    background: var(--splat-auth-secondary);
}

.splat-auth__checkbox label {
    font-family: var(--splat-auth-font-primary);
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

/* ==========================================================================
   Info Messages
   ========================================================================== */

.splat-auth__info {
    font-family: var(--splat-auth-font-primary);
    font-size: 16px;
    line-height: 1.5;
    color: rgba(34, 34, 34, 0.7);
    margin-bottom: 24px;
}

.splat-auth__phone-display {
    color: var(--splat-auth-secondary);
}

/* ==========================================================================
   SMS Code Input
   ========================================================================== */

.splat-auth__code-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 28px 0 0;
}

.splat-auth__code-input {
    width: 100%;
    height: 70px;
    font-family: var(--splat-auth-font-primary);
    font-size: 52px;
    font-weight: 350;
    text-align: center;
    border: none;
    border-bottom: 1px solid var(--splat-auth-border);
    border-radius: 0;
    box-sizing: border-box;
}

.splat-auth__code-input:focus {
    border-color: var(--splat-auth-secondary);
    outline: none;
}

.splat-auth__code-group.not-valid .splat-auth__code-input {
    border-color: var(--splat-auth-error);
}

.splat-auth__resend-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.splat-auth__resend-button {
    background: var(--primary-black, #222222);
    color: var(--typography-text-white-100, #ffffff);
    padding: 12px 16px;
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    height: 60px;
    border: none;
    cursor: pointer;
    font-family: var(--splat-auth-font-primary);
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.03em;
    font-weight: 400;
    transition: background 0.2s ease;
}

.splat-auth__resend-button:hover:not(:disabled) {
    background: #000000;
}

.splat-auth__resend-button--disabled {
    background: #ededed;
    cursor: not-allowed;
}

.splat-auth__resend-content {
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;
}

.splat-auth__resend-button .splat-auth__resend-text {
    color: #ffffff;
}

.splat-auth__resend-button--disabled .splat-auth__resend-text {
    color: #222222;
}

.splat-auth__resend-timer {
    color: rgba(34, 34, 34, 0.5);
}

.splat-auth__resend-button:not(.splat-auth__resend-button--disabled) .splat-auth__resend-timer {
    display: none;
}

/* ==========================================================================
   User Type Selection
   ========================================================================== */

.splat-auth__user-types {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.splat-auth__user-type {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border: 2px solid var(--splat-auth-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.splat-auth__user-type:hover {
    border-color: var(--splat-auth-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.splat-auth__user-type-icon {
    flex-shrink: 0;
    color: var(--splat-auth-primary);
}

.splat-auth__user-type-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.splat-auth__user-type-title {
    font-family: var(--splat-auth-font-primary);
    font-size: 20px;
    font-weight: 600;
    color: var(--splat-auth-secondary);
}

.splat-auth__user-type-desc {
    font-family: var(--splat-auth-font-primary);
    font-size: 14px;
    color: rgba(34, 34, 34, 0.6);
}

/* ==========================================================================
   B2B Warning
   ========================================================================== */

.splat-auth__warning-icon,
.splat-auth__success-icon,
.splat-auth__error-icon,
.splat-auth__edo-icon {
    display: flex;
    justify-content: center;
    margin: 32px 0;
}

.splat-auth__warning-text,
.splat-auth__success-text,
.splat-auth__error-message {
    font-family: var(--splat-auth-font-primary);
    font-size: 16px;
    line-height: 1.6;
    margin: 24px 0;
}

/* ==========================================================================
   EDO Info
   ========================================================================== */

.splat-auth__edo-text,
.splat-auth__edo-benefits {
    margin: 0;
}

.splat-auth__benefits-list {
    list-style: none;
    padding: 0;
}

.splat-auth__benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-family: var(--splat-auth-font-primary);
    font-size: 16px;
    line-height: 1.5;
}

.splat-auth__benefits-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   INN Input
   ========================================================================== */

.splat-auth__inn-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    font-size: 14px;
    color: rgba(34, 34, 34, 0.6);
}

.splat-auth__inn-loader {
    display: none;
    text-align: center;
    padding: 32px 0;
}

.splat-auth__loader {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--splat-auth-gray);
    border-top-color: var(--splat-auth-primary);
    border-radius: 50%;
    animation: splat-auth-spin 1s linear infinite;
}

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

/* ==========================================================================
   Company Data
   ========================================================================== */

.splat-auth__company-data {
    display: none;
    margin-top: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.splat-auth__company-data--visible {
    opacity: 1;
}

.splat-auth__input-group--editable {
    border-color: var(--splat-auth-primary);
}

.splat-auth__input-group--editable .splat-auth__textarea {
    color: var(--splat-auth-secondary);
}

.splat-auth__input-group--editable .splat-auth__textarea:focus {
    border: none;
    border-bottom: 1px solid var(--splat-auth-secondary);
}

.splat-auth__description {
    font-family: var(--splat-auth-font-primary);
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -0.02em;
    font-weight: 400;
}

/* ==========================================================================
   Agreement & Yandex
   ========================================================================== */

.splat-auth__agreement {
    margin-top: 24px;
}

.splat-form-customer-agreement {
    font-family: var(--splat-auth-font-primary);
    font-size: 12px;
    line-height: 1.4;
    color: rgba(34, 34, 34, 0.6);
}

.splat-form-customer-agreement a {
    color: var(--splat-auth-primary);
    text-decoration: none;
}

.splat-form-customer-agreement a:hover {
    text-decoration: underline;
}

.splat-auth__yandex-wrapper {
    width: 100%;
    margin: 0;
    transition: all 0.3s ease;
}

.splat-auth__yandex-wrapper[data-visible-for="customer"] {
    display: block;
}

.splat-auth__yandex-wrapper.splat-auth--loading {
    opacity: 0.6;
    pointer-events: none;
}

.splat-auth__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px;
    font-family: var(--splat-auth-font-primary);
    font-size: 14px;
    font-weight: 400;
    color: rgba(34, 34, 34, 0.5);
    text-align: center;
}

.splat-auth__divider::before,
.splat-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--splat-auth-border);
}

.splat-auth__divider span {
    padding: 0 8px;
}

#yandex-id-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    transition: opacity 0.3s ease;
}

/* Yandex button custom styling */
#yandex-id-button-container .ya-id-container {
    width: 100%;
}

#yandex-id-button-container .ya-id-button {
    width: 100% !important;
    max-width: none !important;
    min-height: 52px !important;
    height: 52px !important;
}

/* Override Yandex SDK button inner elements */
#yandex-id-button-container .ya-id-button button,
#yandex-id-button-container .ya-id-button > div {
    min-height: 52px !important;
    height: 52px !important;
}

.splat-auth__separator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    font-size: 14px;
    color: rgba(34, 34, 34, 0.5);
}

.splat-auth__separator::before,
.splat-auth__separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--splat-auth-border);
}

.splat-auth__yandex-button {
    margin-top: 16px;
}

/* ==========================================================================
   Tab Group (User Type Selection)
   ========================================================================== */

.splat-auth__tab-group {
    padding: 28px 0;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    align-self: stretch;
    margin-bottom: 0;
}

.splat-auth__tab {
    padding: 17px 24px 18px 24px;
    border: 1px solid rgba(34, 34, 34, 0.3);
    border-left: none;
    flex: 1;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--splat-auth-font-primary);
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.03em;
    color: var(--splat-auth-secondary);
}


.splat-auth__tab:not(.splat-auth__tab--active):first-child {
    border-left: 1px solid rgba(34, 34, 34, 0.3);
    border-right: none;
}

.splat-auth__tab--active {
    background: var(--splat-auth-secondary);
    border: 1px solid #222222;
}

.splat-auth__tab-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--splat-auth-font-primary);
}

.splat-auth__tab--active .splat-auth__tab-text {
    color: #ffffff;
}

/* ==========================================================================
   Updated Content Blocks
   ========================================================================== */

.splat-auth__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.splat-auth__content--padded {
    padding: 0 0 40px 0;
}

.splat-auth__title {
    color: var(--splat-auth-secondary);
    font-family: var(--splat-auth-font-primary);
    font-size: 36px;
    line-height: 120%;
    letter-spacing: -0.03em;
    font-weight: 400;
    align-self: stretch;
    margin: 0;
}

.splat-auth__subtitle {
    color: var(--splat-auth-secondary);
    font-family: var(--splat-auth-font-primary);
    font-size: 20px;
    line-height: 140%;
    letter-spacing: -0.02em;
    font-weight: 400;
    align-self: stretch;
}

/* ==========================================================================
   Input Fields (Updated)
   ========================================================================== */

.splat-auth__input-wrapper {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.splat-auth__input-group {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.splat-auth__input-group--inactive {
    border-bottom-color: rgba(34, 34, 34, 0.3);
}

.splat-auth__input-group .splat-phone-mask.error {
    border-bottom-color: var(--splat-auth-secondary)!important;
}

.splat-auth__input-field {
    padding: 18px 0 16px 0;
    color: var(--splat-auth-secondary);
    font-family: var(--splat-auth-font-primary);
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.03em;
    font-weight: 400;
    width: 100%;
    border: none!important;
    border-bottom: 1px solid var(--splat-auth-secondary)!important;
    background: transparent;
    outline: none;
}

.splat-auth__input-field:read-only {
    color: rgba(34, 34, 34, 0.5);
}

.splat-auth__input-label {
    color: var(--splat-auth-secondary);
    font-family: var(--splat-auth-font-primary);
    font-size: 12px;
    line-height: 130%;
    letter-spacing: -0.02em;
    font-weight: 400;
    opacity: 0.3;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}

.splat-auth__step--b2b-company .splat-auth__input-label {
    top: 0;
}

.splat-auth__input-field:focus + .splat-auth__input-label,
.splat-auth__input-field.not-empty + .splat-auth__input-label {
    top: 0;
    font-size: 12px;
    background: white;
    padding: 0;
}

.splat-auth__error {
    color: #cb3d35;
    font-family: var(--splat-auth-font-primary);
    font-size: 10px;
    line-height: 130%;
    letter-spacing: -0.02em;
    opacity: 0;
    align-self: stretch;
    height: 13px;
}

.splat-auth__error.visible {
    opacity: 1;
}

/* Multiple inputs in a row */
.splat-auth__inputs-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.splat-auth__inputs-row .splat-auth__input-wrapper {
    flex: 1;
}

/* ==========================================================================
   Agreement Text
   ========================================================================== */

.splat-auth__agreement {
    margin-top: 0;
}

.splat-auth__agreement-text {
    color: rgba(34, 34, 34, 0.5);
    font-family: var(--splat-auth-font-primary);
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.splat-auth__agreement-link {
    color: rgba(34, 34, 34, 0.5);
    text-decoration: underline;
    font-family: var(--splat-auth-font-primary);
}

/* ==========================================================================
   EDO Info Styles
   ========================================================================== */

.splat-auth__edo-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.splat-auth__edo-links {
    padding: 0 0 0 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.splat-auth__edo-text {
    position: relative;
    font-size: 20px;
    line-height: 140%;
    font-family: var(--splat-auth-font-primary);
    letter-spacing: -0.02em;
}

.splat-auth__edo-text:before {
    content: "";
    height: 8px;
    width: 8px;
    flex: 0 0 4px;
    border-radius: 50%;
    background-color: #000;
    display: block;
    position: absolute;
    left: -20px;
    top: 10px;
}

.splat-auth__link {
    color: rgba(34, 34, 34, 0.5);
    text-decoration: underline;
    font-family: var(--splat-auth-font-primary);
    font-size: 20px;
    line-height: 140%;
    letter-spacing: -0.02em;
    font-weight: 400;
}

/* ==========================================================================
   Account Warning Section
   ========================================================================== */

.splat-auth__warning-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.splat-auth__warning-subtitle {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    font-size: 20px;
    line-height: 140%;
    font-family: var(--splat-auth-font-primary);
}

.splat-auth__warning-subtitle ul {
    padding-left: 30px;
}

.splat-auth__warning-subtitle p {
    font-size: 20px;
    line-height: 140%;
    font-family: var(--splat-auth-font-primary) !important;
}

/* ==========================================================================
   Company Data Form
   ========================================================================== */

.splat-auth__frame {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.splat-auth__header {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.splat-auth__form-wrapper {
    padding: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 600px;
}

.splat-auth__step--b2b-representative .splat-auth__form-wrapper {
    padding-top: 24px;
    padding-bottom: 0;
    gap: 32px;
    height: 100%;
}

.splat-auth__form-section {
    padding: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.splat-auth__textarea {
    color: var(--splat-auth-secondary);
    font-family: var(--splat-auth-font-primary);
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.03em;
    width: 100%;
    background: transparent;
    outline: none;
    resize: none;
}

.splat-auth__textarea::placeholder,
.splat-auth__textarea[readonly] {
    color: rgba(34, 34, 34, 0.5);
}

/* ==========================================================================
   Checkbox
   ========================================================================== */

.splat-auth__checkbox-wrapper {
    margin-bottom: 26px;
    display: flex;
    gap: 16px;
    align-items: center;
    max-width: 600px;
}

.splat-auth__checkbox-item {
    background: #ffffff;
    border: 1px solid var(--splat-auth-secondary);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.splat-auth__checkbox-label {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.splat-auth__checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.splat-auth__checkbox-label input[type="checkbox"]:checked {
    background: var(--splat-auth-secondary);
}

.splat-auth__checkbox-label span {
    color: var(--splat-auth-secondary);
    font-family: var(--splat-auth-font-primary);
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.03em;
}

/* ==========================================================================
   Registration Form (Representative)
   ========================================================================== */

.splat-auth__registration-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-height: 100%;
}

.splat-auth__button-bottom-panel {
    background: #ffffff;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: auto;
}

/* ==========================================================================
   Success Step
   ========================================================================== */

.splat-auth__success-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.splat-auth__discount-list {
    padding: 0 40px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.splat-auth__discount-item {
    font-size: 20px;
    line-height: 140%;
    font-family: var(--splat-auth-font-primary);
}

.auth-form .splat-auth__discount-item ul {
    list-style-type: disc;
    padding-left: 30px;
    margin: 0;
}

.auth-form .splat-auth__discount-item ul li {
    margin-bottom: 8px;
    font-size: 20px;
    font-style: normal;
    font-weight: 350;
    line-height: 140%; /* 28px */
    letter-spacing: -0.4px;
    color: var(--splat-auth-secondary);
}

.auth-form .splat-auth__discount-item ul li:last-child {
    margin-bottom: 0;
}

.splat-auth__discount-item ul li::marker {
    color: var(--splat-auth-secondary);
}

.splat-auth__subtitle--info {
    line-height: 140%;
}

.splat-auth__subtitle-link {
    font-size: 20px;
    line-height: 140%;
    font-family: var(--splat-auth-font-primary);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.splat-auth__highlight {
    color: #cb3d35;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.splat-skeleton {
    opacity: 0.5;
    pointer-events: none;
    animation: splat-skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes splat-skeleton-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* ==========================================================================
   Error Step
   ========================================================================== */

.splat-auth__step--error {
    text-align: center;
}

.splat-auth__error-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.splat-auth__error-icon svg {
    width: 80px;
    height: 80px;
}

.splat-auth__error-message {
    color: var(--text-secondary, #666);
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0;
    padding: 0 20px;
}

.splat-auth__step--error .splat-auth__buttons {
    justify-content: center;
    max-width: 400px;
    margin: 24px auto 0;
}

.splat-auth__step--b2b-edo .splat-auth__buttons,
.splat-auth__step--b2b-representative .splat-auth__buttons,
.splat-auth__step--account-warning .splat-auth__buttons,
.splat-auth__step--user-data .splat-auth__buttons {
    margin-bottom: 0;
}

/* ==========================================================================
   Account Info Section (Dual Account Support)
   ========================================================================== */

.splat-auth__account-info {
    position: relative;
    margin: 0;
    padding: 20px 20px 20px 68px;
    background-color: var(--splat-auth-gray, #f8f8f8);
    font-size: 13px;
    line-height: 1.5;
    font-family: var(--splat-auth-font-primary);
}

.splat-auth__account-current {
    color: var(--splat-auth-secondary, #222);
    margin-bottom: 8px;
    font-weight: 500;
}

.splat-auth__account-info-icon {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.splat-auth__account-info-title {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.03em;
    font-weight: 500;
}

.splat-auth__account-info-title strong {
    font-weight: 400;
}

.splat-auth__account-info-email {
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -0.03em;
    font-weight: 400;
    opacity: 0.7;
}

.splat-auth__account-info-text {
    margin-top: 12px;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -0.03em;
    font-weight: 400;
    opacity: 0.7;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

   @media (max-width: 1279.99px) {
    .splat-auth-popup__wrapper {
        padding: 50px 60px;
    }
    
    .splat-auth__step h4 {
        font-size: 32px;
    }
    
    .splat-auth__button {
        font-size: 20px;
    }
    
    .splat-auth__input,
    .splat-auth__textarea,
    .splat-auth__label {
        font-size: 16px;
    }
    
    .splat-auth__title {
        font-size: 28px;
        line-height: 120%;
        letter-spacing: -0.84px;
    }
    .splat-auth__subtitle {
        font-size: 18px;
        line-height: 140%;
        letter-spacing: -0.54px;
    }
    
    .splat-auth__warning-subtitle {
        font-size: 16px;
        line-height: 140%;
        letter-spacing: -0.48px;
    }
}

@media (max-width: 767px) {
    .popup-template_wrapper.popup-auth_wrapper {
        padding: 40px 16px 20px;
    }
    .popup-auth .popup-auth_wrapper .auth-form {
        min-height: calc(100vh - 60px);
        display: flex;
        flex-direction: column;
    }
    .popup-auth .popup-auth_wrapper .auth-form .step.active {
        flex: 1;
    }
    .splat-auth-popup__wrapper {
        padding: 32px 24px;
        margin: auto 0;
    }
    .splat-auth__form-wrapper {
        padding: 0 0 26px 0;
        max-width: 100%;
    }
    .popup-template_close {
        padding: 8px;
    }
    
    .splat-auth__button {
        padding: 12px 24px;
        font-size: 14px;
        line-height: 130%;
        letter-spacing: -0.42px;
        height: 46px;
    }
    
    .splat-auth__code-group {
        margin: 16px 0 0;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 10px;
    }
    
    .splat-auth__code-input {
        width: 100%;
        height: 48px;
        font-size: 28px;
    }
    
    .splat-auth__user-type {
        padding: 16px;
    }
    
    .splat-auth__user-type-title {
        font-size: 18px;
    }
    
    .splat-auth__buttons {
        grid-template-columns: 1fr;
    }
    
    .splat-form-customer-agreement {
        font-size: 11px;
    }
    .popup-template_close .splat-auth-popup__close {
        padding: 8px;
    }
    .popup-template_close .splat-auth-popup__close svg {
        width: 24px;
        height: 24px;
    }
    .splat-auth__title {
        font-size: 24px;
        line-height: 120%; /* 28.8px */
        letter-spacing: -0.72px;
    }
    .splat-auth__subtitle,
    .splat-auth__edo-text,
    .splat-auth__link {
        font-size: 16px;
        line-height: 140%; /* 22.4px */
        letter-spacing: -0.48px;
    }

    .splat-auth__tab-group {
        padding: 12px 0;
    }
    
    .splat-auth__input,
    .splat-auth__textarea,
    .splat-auth__label {
        padding: 16px 0 12px;
    }
    .splat-auth__tab {
        padding: 13px 16px 14px 16px;
        font-size: 14px;
        line-height: 130%;
        letter-spacing: -0.03em;
    }
    .splat-auth__resend-button {
        font-size: 14px;
        line-height: 130%;
        letter-spacing: -0.03em;
        padding: 12px 16px;
        height: 42px;
    }
    .splat-auth__warning-subtitle {
        font-size: 16px;
        line-height: 140%;
        letter-spacing: -0.48px;
    }
    .splat-auth__warning-subtitle {
        font-size: 16px;
        line-height: 130%;
        letter-spacing: -0.03em;
    }
    .splat-auth__account-info {
        padding: 16px 16px 16px 60px;
    }
    .splat-auth__account-info-icon {
        top: 16px;
        left: 16px;
        height: 34px;
        width: 34px;
    }
    .splat-auth__account-info-title {
        font-size: 14px;
        line-height: 130%;
        letter-spacing: -0.03em;
    }
    .splat-auth__account-info-email {
        font-size: 12px;
        line-height: 130%;
        letter-spacing: -0.03em;
    }
    .splat-auth__account-info-text {
        font-size: 12px;
        line-height: 130%;
        letter-spacing: -0.03em;
    }
    .splat-auth__input-field {
        padding: 16px 0 12px;
        font-size: 14px;
        line-height: 130%;
        letter-spacing: -0.03em;
    }
    .splat-auth__company-data .splat-auth__inputs-row {
        flex-wrap: wrap;
    }
    .splat-auth__company-data .splat-auth__inputs-row .splat-auth__input-wrapper:nth-child(1),
    .splat-auth__company-data .splat-auth__inputs-row .splat-auth__input-wrapper:nth-child(2) {
        max-width: 47%;
        flex: 0 0 47%;
    }
    .splat-auth__company-data .splat-auth__inputs-row .splat-auth__input-wrapper:nth-child(3) {
        width: 100%;
        flex: 0 0 100%;
    }
    .splat-auth__checkbox-label {
        align-items: flex-start;
        gap: 10px;
    }
    .splat-auth__checkbox-label span {
        font-size: 14px;
        font-style: normal;
        font-weight: 350;
        line-height: 130%; /* 18.2px */
        letter-spacing: -0.42px;
    }
    .splat-auth__checkbox-label input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
    .splat-auth__form-section {
        gap: 20px;
    }
    .splat-auth__registration-form {
        gap: 24px;
    }
    .splat-auth__error {
        font-size: 10px;
        line-height: 130%;
        letter-spacing: -0.2px;
        height: 13px;
    }
    .splat-auth__step--b2b-representative .splat-auth__form-wrapper {
        gap: 24px;
    }
    
    .auth-form .splat-auth__discount-item ul li {
        margin-bottom: 5px;
        font-size: 16px;
        line-height: 130%; /* 20.8px */
        letter-spacing: -0.21px;
    }
}

@media (max-width: 600px) {
    .splat-auth__step h4 {
        font-size: 24px;
    }
    
    .splat-auth__form-row--half {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   REM Overrides for Checkout Pages (/cart, /cart/delivery, /checkout, edit-address)
   Requires: html { font-size: 62.5%; } for 1rem = 10px
   ========================================================================== */

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .popup-auth .popup-auth_wrapper .auth-form {
    min-height: calc(100vh - 8rem);
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth-popup__wrapper {
    max-width: 69.3rem;
    padding: 8rem 6rem 0;
    box-shadow: 1.2rem 2.4rem 6rem rgba(0, 0, 0, 0.15);
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth-popup__close {
    padding: 1.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__step.active {
    height: calc(100vh - 16rem);
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__step-content {
    gap: 2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__form-content {
    gap: 2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .woocommerce-form-register.splat-auth__form {
    gap: 2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__form-row {
    margin-bottom: 2.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__form-row--half {
    gap: 1.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__textarea {
    padding: 1.8rem 0 1.6rem;
    font-size: 1.8rem;
    border-bottom: 0.1rem solid var(--splat-auth-secondary);
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input:focus,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__textarea:focus {
    border-bottom: 0.1rem solid var(--splat-auth-secondary)!important;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__label {
    font-size: 1.8rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input:focus + .splat-auth__label,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__textarea:focus + .splat-auth__label,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__field.not-empty .splat-auth__label,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input[readonly] + .splat-auth__label {
    top: 1.2rem;
    font-size: 1.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__field-error {
    margin-top: 0.8rem;
    font-size: 1.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__button-wrapper {
    gap: 1rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__button {
    padding: 1.6rem 2.4rem;
    height: 6rem;
    font-size: 1.6rem;
    letter-spacing: -0.04rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__buttons {
    margin-bottom: 2rem;
    gap: 1rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__step--b2b-edo .splat-auth__buttons {
    font-size: 1.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__button--loading::after {
    width: 2rem;
    height: 2rem;
    margin: -1rem 0 0 -1rem;
    border: 0.2rem solid #ffffff;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__button--text {
    padding: 0.8rem 1.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__checkbox {
    gap: 1.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__checkbox input[type="checkbox"] {
    border: 0.1rem solid var(--splat-auth-border);
    width: 2.4rem;
    height: 2.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__checkbox label {
    font-size: 1.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__info {
    font-size: 1.6rem;
    margin-bottom: 2.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__code-group {
    gap: 1.6rem;
    margin: 2.8rem 0 0;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__code-input {
    height: 7rem;
    font-size: 5.2rem;
    border-bottom: 0.1rem solid var(--splat-auth-border);
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__resend-wrapper {
    gap: 1.2rem;
    margin-top: 0.8rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__resend-button {
    padding: 1.2rem 1.6rem;
    gap: 0.4rem;
    height: 6rem;
    font-size: 1.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__resend-content {
    gap: 0.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__user-types {
    gap: 1.6rem;
    margin-top: 3.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__user-type {
    gap: 2rem;
    padding: 2.4rem;
    border: 0.2rem solid var(--splat-auth-border);
    border-radius: 1.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__user-type:hover {
    box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.1);
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__user-type-content {
    gap: 0.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__user-type-title {
    font-size: 2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__user-type-desc {
    font-size: 1.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__warning-icon,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__success-icon,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__error-icon,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__edo-icon {
    margin: 3.2rem 0;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__warning-text,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__success-text,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__error-message {
    font-size: 1.6rem;
    margin: 2.4rem 0;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__benefits-list li {
    gap: 1.2rem;
    padding: 1.2rem 0;
    font-size: 1.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__benefits-list li svg {
    margin-top: 0.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__inn-info {
    gap: 0.8rem;
    margin: 1.2rem 0;
    font-size: 1.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__inn-loader {
    padding: 3.2rem 0;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__loader {
    width: 4rem;
    height: 4rem;
    border: 0.4rem solid var(--splat-auth-gray);
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input-group--editable .splat-auth__textarea:focus {
    border-bottom: 0.1rem solid var(--splat-auth-secondary);
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__agreement {
    margin-top: 2.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-form-customer-agreement {
    font-size: 1.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__divider {
    gap: 1.6rem;
    margin: 0 0 2rem;
    font-size: 1.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__divider::before,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__divider::after {
    height: 0.1rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__divider span {
    padding: 0 0.8rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) #yandex-id-button-container {
    min-height: 5.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) #yandex-id-button-container .ya-id-button {
    min-height: 5.2rem !important;
    height: 5.2rem !important;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) #yandex-id-button-container .ya-id-button button,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) #yandex-id-button-container .ya-id-button > div {
    min-height: 5.2rem !important;
    height: 5.2rem !important;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__separator {
    gap: 1.6rem;
    margin: 2.4rem 0;
    font-size: 1.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__separator::before,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__separator::after {
    height: 0.1rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__yandex-button {
    margin-top: 1.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__tab-group {
    padding: 2.8rem 0;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__tab {
    padding: 1.7rem 2.4rem 1.8rem 2.4rem;
    border: 0.1rem solid rgba(34, 34, 34, 0.3);
    font-size: 1.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__tab:not(.splat-auth__tab--active):first-child {
    border-left: 0.1rem solid rgba(34, 34, 34, 0.3);
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__tab--active {
    border: 0.1rem solid #222222;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__content {
    gap: 1.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__content--padded {
    padding: 0 0 4rem 0;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__title {
    font-size: 3.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__subtitle {
    font-size: 2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input-wrapper {
    gap: 0.8rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input-field {
    padding: 1.8rem 0 1.6rem 0;
    font-size: 1.6rem;
    border-bottom: 0.1rem solid var(--splat-auth-secondary)!important;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input-label {
    font-size: 1.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input-field:focus + .splat-auth__input-label,
body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input-field.not-empty + .splat-auth__input-label {
    font-size: 1.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__error {
    font-size: 1.2rem;
    height: 2.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__inputs-row {
    gap: 2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__agreement-text {
    font-size: 1.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__edo-content {
    gap: 1.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__edo-links {
    padding: 0 0 0 3rem;
    gap: 0.8rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__edo-text {
    font-size: 2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__edo-text:before {
    height: 0.8rem;
    width: 0.8rem;
    flex: 0 0 0.4rem;
    left: -2rem;
    top: 1rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__link {
    font-size: 2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__warning-content {
    gap: 1.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__warning-subtitle {
    gap: 0.8rem;
    font-size: 2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__frame {
    gap: 4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__header {
    gap: 1.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__form-wrapper {
    padding: 0 0 4rem 0;
    max-width: 60rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__step--b2b-representative .splat-auth__form-wrapper {
    padding-top: 2.4rem;
    gap: 3.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__form-section {
    padding: 0 0 4rem 0;
    gap: 3.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__textarea {
    font-size: 1.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__checkbox-wrapper {
    margin-bottom: 2.6rem;
    gap: 1.6rem;
    max-width: 60rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__checkbox-item {
    border: 0.1rem solid var(--splat-auth-secondary);
    width: 2.8rem;
    height: 2.8rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__checkbox-label {
    gap: 1.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__checkbox-label input[type="checkbox"] {
    width: 2.8rem;
    height: 2.8rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__checkbox-label span {
    font-size: 1.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__button-bottom-panel {
    gap: 1rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__success-content {
    gap: 1.2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__discount-list {
    padding: 0 4rem 0 0;
    gap: 0.8rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__discount-item {
    font-size: 2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .auth-form .splat-auth__discount-item ul li {
    margin-bottom: 0.8rem;
    font-size: 2rem;
    letter-spacing: -0.04rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__subtitle-link {
    font-size: 2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__error-icon {
    margin-bottom: 2.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__error-icon svg {
    width: 8rem;
    height: 8rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__error-message {
    font-size: 1.4rem;
    margin: 2rem 0;
    padding: 0 2rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__step--error .splat-auth__buttons {
    max-width: 40rem;
    margin: 2.4rem auto 0;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__account-info {
    padding: 2rem 2rem 2rem 6.8rem;
    font-size: 1.3rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__account-current {
    margin-bottom: 0.8rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__account-info-icon {
    left: 2rem;
    top: 2rem;
    width: 3.6rem;
    height: 3.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__account-info-title {
    margin-bottom: 0.4rem;
    font-size: 1.6rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__account-info-email {
    font-size: 1.4rem;
}

body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__account-info-text {
    margin-top: 1.2rem;
    font-size: 1.4rem;
}

/* Responsive overrides for checkout pages */
@media (max-width: 1279.99px) {
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth-popup__wrapper {
        padding: 5rem 6rem;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__step h4 {
        font-size: 3.2rem;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__button {
        font-size: 2rem;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input,
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__textarea,
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__label {
        font-size: 1.6rem;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__title {
        font-size: 2.8rem;
        letter-spacing: -0.084rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__subtitle {
        font-size: 1.8rem;
        letter-spacing: -0.054rem;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__warning-subtitle {
        font-size: 1.6rem;
        letter-spacing: -0.048rem;
    }
}

@media (max-width: 767px) {
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .popup-template_wrapper.popup-auth_wrapper {
        padding: 4rem 1.6rem 2rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .popup-auth .popup-auth_wrapper .auth-form {
        min-height: calc(100vh - 6rem);
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth-popup__wrapper {
        padding: 3.2rem 2.4rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__form-wrapper {
        padding: 0 0 2.6rem 0;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .popup-template_close {
        padding: 0.8rem;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__button {
        padding: 1.2rem 2.4rem;
        font-size: 1.4rem;
        letter-spacing: -0.042rem;
        height: 4.6rem;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__code-group {
        margin: 1.6rem 0 0;
        gap: 1rem;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__code-input {
        height: 4.8rem;
        font-size: 2.8rem;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__user-type {
        padding: 1.6rem;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__user-type-title {
        font-size: 1.8rem;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-form-customer-agreement {
        font-size: 1.1rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .popup-template_close .splat-auth-popup__close {
        padding: 0.8rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .popup-template_close .splat-auth-popup__close svg {
        width: 2.4rem;
        height: 2.4rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__title {
        font-size: 2.4rem;
        letter-spacing: -0.072rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__subtitle,
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__edo-text,
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__link {
        font-size: 1.6rem;
        letter-spacing: -0.048rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__tab-group {
        padding: 1.2rem 0;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input,
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__textarea,
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__label {
        padding: 1.6rem 0 1.2rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__tab {
        padding: 1.3rem 1.6rem 1.4rem 1.6rem;
        font-size: 1.4rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__resend-button {
        font-size: 1.4rem;
        padding: 1.2rem 1.6rem;
        height: 4.2rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__warning-subtitle {
        font-size: 1.6rem;
        letter-spacing: -0.048rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__account-info {
        padding: 1.6rem 1.6rem 1.6rem 6rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__account-info-icon {
        top: 1.6rem;
        left: 1.6rem;
        height: 3.4rem;
        width: 3.4rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__account-info-title {
        font-size: 1.4rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__account-info-email {
        font-size: 1.2rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__account-info-text {
        font-size: 1.2rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__input-field {
        padding: 1.6rem 0 1.2rem;
        font-size: 1.4rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__checkbox-label {
        gap: 1rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__checkbox-label span {
        font-size: 1.4rem;
        letter-spacing: -0.042rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__checkbox-label input[type="checkbox"] {
        width: 2rem;
        height: 2rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__form-section {
        gap: 2rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__registration-form {
        gap: 2.4rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__error {
        font-size: 1rem;
        letter-spacing: -0.02rem;
        height: 1.3rem;
    }

    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__step--b2b-representative .splat-auth__form-wrapper {
        gap: 2.4rem;
    }
    
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .auth-form .splat-auth__discount-item ul li {
        margin-bottom: 0.5rem;
        font-size: 1.6rem;
        letter-spacing: -0.021rem;
    }
}

@media (max-width: 600px) {
    body:is(.page-template-page-delivery, .page-template-page-cart, .page-template-page-checkout, .page-template-page-edit-address) .splat-auth__step h4 {
        font-size: 2.4rem;
    }
}
