/* ===== МОДАЛЬНОЕ ОКНО «КУПИТЬ В 1 КЛИК» ===== */
.oneclick-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.oneclick-overlay.active {
    opacity: 1;
}

.oneclick-modal {
    background: #FFFFFF;
    width: 100%;
    max-width: 480px;
    position: relative;
    padding: 48px 40px 40px 40px;
    box-sizing: border-box;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.oneclick-overlay.active .oneclick-modal {
    transform: translateY(0);
}

.oneclick-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: #818084;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s ease;
}

.oneclick-close:hover {
    color: #303030;
}

.oneclick-close svg {
    width: 20px;
    height: 20px;
}

.oneclick-title {
    color: #303030;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-size: 32px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    text-align: center;
    letter-spacing: 1px;
}

.oneclick-subtitle {
    color: #818084;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin: 0 0 32px 0;
    line-height: 1.5;
}

/* Форма */
.oneclick-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.oneclick-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.oneclick-label {
    color: #303030;
    font-family: 'Inter Tight', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.oneclick-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #E1E1E1;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    color: #303030;
    background: #FFFFFF;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    outline: none;
}

.oneclick-input:focus {
    border-color: #1481DB;
}

.oneclick-input::placeholder {
    color: #C4C4C4;
}

/* Инфо о товаре */
.oneclick-product-info {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: #F2F3F5;
    align-items: flex-start;
}

.oneclick-product-label {
    color: #818084;
    font-family: 'Inter Tight', sans-serif;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.oneclick-product-value {
    color: #303030;
    font-family: 'Inter Tight', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}

/* Кнопка отправки */
.oneclick-submit {
    width: 100%;
    height: 56px;
    background: #73292A;
    border: none;
    color: #FFFFFF;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    letter-spacing: 1px;
}

.oneclick-submit:hover {
    background: #73292A;
}

.oneclick-submit:disabled {
    background: #C4C4C4;
    cursor: not-allowed;
}

/* Политика */
.oneclick-privacy {
    color: #818084;
    font-family: 'Inter Tight', sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

.oneclick-privacy a {
    color: #73292A;
    text-decoration: none;
}

.oneclick-privacy a:hover {
    text-decoration: underline;
}

/* Успешное сообщение */
.oneclick-success {
    text-align: center;
    padding: 20px 0;
}

.oneclick-success-icon {
    width: 64px;
    height: 64px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 20px auto;
}

.oneclick-success-title {
    color: #303030;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-size: 28px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 0 12px 0;
}

.oneclick-success-text {
    color: #818084;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.oneclick-success-btn {
    padding: 14px 40px;
    background: #303030;
    border: none;
    color: #FFFFFF;
    font-family: 'Bebas Neue Cyrillic', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.oneclick-success-btn:hover {
    background: #1481DB;
}

/* Адаптивность */
@media (max-width: 576px) {
    .oneclick-modal {
        max-width: 100%;
        height: 100%;
        padding: 40px 20px 20px 20px;
        overflow-y: auto;
    }
    
    .oneclick-title {
        font-size: 28px;
    }
    
    .oneclick-subtitle {
        font-size: 13px;
    }
}