

/* Start:/pay/style.css?176051401215304*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}
:root{
    --color-main: #ffdb00;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #212529;
    line-height: 1.5;
}


.cart-details {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-icon {
    font-size: 16px;
}

.cart-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.cart-info span {
    font-size: 11px;
}

.cart-total {
    font-weight: 600;
}

.shipping-cost {
    opacity: 0.8;
}

/* Основной контент чекаута */
.checkout-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr;
}

/* Прогресс-бар */
.progress-bar {
    margin-bottom: 40px;
    grid-column: 1 / -1;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 10px;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 22px;
    right: 22px;
    height: 3px;
    background: #f1f3f4;
    z-index: 1;
    border-radius: 3px;
}

.progress-line {
    position: absolute;
    top: 22px;
    left: 22px;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #ff9800);
    z-index: 2;
    transition: width 0.4s ease;
    border-radius: 3px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    position: relative;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 3px solid #f1f3f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #6c757d;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.step.active .step-circle {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border-color: #ffc107;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3);
}

.step.completed .step-circle {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border-color: #ffc107;
    color: white;
}

.step-label {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
}

.step.active .step-label {
    color: #212529;
}

/* Секции форм */
.checkout-form {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.form-section {
    display: block;
    background: white;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 35px;
    color: #1f2937;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #ff9800);
    border-radius: 3px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.form-group:focus-within label {
    color: #ffc107;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f1f3f4;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background: #fafbfc;
    color: #212529;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #ffc107;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover {
    border-color: #dee2e6;
    background: #ffffff;
}

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

.form-row-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Карточка */
.card-preview {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 16px;
    padding: 30px;
    color: white;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.3);
    transition: transform 0.3s ease;
}

.card-preview:hover {
    transform: translateY(-2px);
}

.card-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.15));
    border-radius: 50%;
}

.card-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ffc107, #ff9800);
}

.card-number {
    font-size: 20px;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    margin: 20px 0;
}

.card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-holder {
    font-size: 14px;
    opacity: 0.9;
}

.card-logos {
    display: flex;
    gap: 10px;
    align-items: center;
}

.card-logo {
    width: 30px;
    height: 20px;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #2c3e50;
}

/* Сводка заказа */
.order-summary {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    position: sticky;
    top: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.summary-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #212529;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border-bottom: 1px solid #f1f3f4;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.order-item:hover {
    background: rgba(255, 193, 7, 0.02);
}

.order-item:last-child {
    margin-bottom: 0;
    padding-bottom: 15px;
    border-bottom: none;
}

.item-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #f1f3f4;
    transition: border-color 0.2s ease;
}

.order-item:hover .item-image {
    border-color: #ffc107;
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
    margin-bottom: 4px;
}

.item-details {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 2px solid #f1f3f4;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    border-color: #ffc107;
    color: #ffc107;
    transform: scale(1.05);
}

.quantity-input {
    width: 45px;
    text-align: center;
    border: 2px solid #f1f3f4;
    border-radius: 6px;
    padding: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.2s ease;
}

.quantity-input:focus {
    border-color: #ffc107;
    outline: none;
}

.item-price {
    font-weight: 600;
    color: #212529;
}

.order-totals {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.total-row.final {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    border-top: 1px solid #e9ecef;
    padding-top: 12px;
    margin-top: 12px;
}

/* Кнопки навигации */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f8f9fa;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn-back {
    background: white;
    border: 2px solid #e9ecef;
    color: #6c757d;
}

.btn-back:hover {
    border-color: #6c757d;
    color: #212529;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.btn-next,
.btn-submit {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border: 2px solid #ffc107;
    color: #212529;
}

.btn-next:hover,
.btn-submit:hover {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border-color: #ff9800;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Адаптивность */
@media (max-width: 768px) {

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .progress-steps {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .progress-steps::before {
        display: none;
    }

    .progress-line {
        display: none;
    }

    .header .search input {
        width: 200px;
    }

    .header .actions {
        gap: 15px;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-pay-now,
    .btn-pay-later {
        width: 100%;
        max-width: 300px;
    }

    .checkout-form {
        padding: 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .success-title {
        font-size: 28px;
    }

    .payment-option {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .payment-icon {
        margin-right: 0;
        align-self: center;
    }
}

/* Анимации */
.form-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Валидация */
.form-group.error input {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

.form-group.success input {
    border-color: var(--color-main);
}

/* Секции обзора */
.review-section {
    background: linear-gradient(145deg, #fafbfc 0%, #f8f9fa 100%);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
}

.review-section:hover {
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.review-section h3 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #ffc107, #ff9800);
    border-radius: 2px;
}

.review-section div {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #f1f3f4;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-option:hover {
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.payment-option.active {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.02);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
}

.payment-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.payment-option.active .payment-icon {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
}

.payment-info {
    flex: 1;
}

.payment-name {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 4px;
}

.payment-desc {
    font-size: 14px;
    color: #6c757d;
}

.payment-logos,
.paypal-logo,
.apple-logo,
.google-logo,
.crypto-logos {
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-logos img {
    height: 24px;
    border-radius: 4px;
}

.security-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(40, 167, 69, 0.05);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 8px;
    margin-bottom: 30px;
    color: var(--color-main);
    font-size: 14px;
}

.security-notice i {
    font-size: 18px;
}

/* Success Screen */
.success-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 50px;
    color: white;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.success-message {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 40px;
    line-height: 1.6;
}

.order-details-card {
    background: linear-gradient(145deg, #fafbfc 0%, #f8f9fa 100%);
    border: 2px solid #f1f3f4;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: #6c757d;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
}

.success-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-pay-now {
    background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main) 100%);
    border: 2px solid var(--color-main);
    color: white;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.btn-pay-now:hover {
    background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main) 100%);
    border-color: var(--color-main);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}
/* End */
/* /pay/style.css?176051401215304 */
