/* Checkout Modal Styles */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.checkout-modal.active {
    opacity: 1;
    pointer-events: all;
}

.checkout-container {
    background: rgba(255, 255, 255, 0.95);
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.checkout-subtitle {
    text-align: center;
    margin-bottom: 25px;
    color: #666;
}

.buying-options {
    display: flex;
    gap: 15px;
}

.option-card {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.option-card:hover {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.option-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.option-card h3 {
    margin: 5px 0;
    font-size: 1.1em;
    color: #333;
}

.option-card p {
    font-size: 0.8em;
    color: #777;
    margin: 0;
}

/* Payment Options Styles */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.payment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.payment-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: white;
    font-weight: bold;
}

.razorpay-logo {
    background: linear-gradient(135deg, #072654, #3395ff);
}

.cashfree-logo {
    background: linear-gradient(135deg, #5e27cd, #ff8c40);
}

.payment-info h4 {
    margin: 0 0 4px 0;
    color: #333;
    font-size: 1em;
}

.payment-info p {
    margin: 0;
    color: #777;
    font-size: 0.8em;
}


/* Form Styles */
.checkout-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
}

.checkout-input:focus {
    border-color: #D4AF37;
    outline: none;
    background: #fff;
}

.form-row {
    display: flex;
    gap: 10px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.summary-line.highlight {
    font-weight: bold;
    color: #D4AF37;
    font-size: 1.1em;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.fulfillment-toggle {
    display: flex;
    background: #eee;
    padding: 4px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.toggle-btn {
    flex: 1;
    padding: 8px;
    border: none;
    background: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
}

.toggle-btn.active {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #D4AF37;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
}

.back-link {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.9em;
    margin-bottom: 15px;
    padding: 0;
}

.success-icon {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
}

.hidden {
    display: none !important;
}