/* Checkout Header */
.checkout-header {
    background: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.checkout-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.secure-checkout-text {
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    color: #555; 
    font-size: 0.9rem;
}

/* Layout */
.checkout-container {
    padding: 3rem 0 5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
}

.box-white {
    background: #fff;
    border-radius: var(--radius-md, 8px);
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e1e4e8;
}

.sticky-summary {
    position: sticky;
    top: 100px;
}

/* Product Info */
#productTitle { font-size: 1.8rem; margin-bottom: 0.5rem; }
#productDesc { color: #666; margin-bottom: 1.5rem; }
.product-image { max-width: 200px; margin: 0 auto 2rem; display: block; }

.features-title {
    font-size: 1.2rem; 
    margin-bottom: 1rem; 
    border-bottom: 2px solid #f0f0f0; 
    padding-bottom: 0.5rem;
}

.feature-check {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.feature-check svg {
    color: #28a745;
    min-width: 20px;
    margin-top: 3px;
}

.testimonial-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary, #cc0000);
    margin-top: 2rem;
}

.stars { color: #ffb400; font-size: 1.2rem; margin-bottom: 0.5rem; }
.testimonial-text { font-style: italic; color: #555; margin-bottom: 0.5rem; }
.author { font-weight: 700; font-size: 0.9rem; }

/* Steps */
.steps {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    color: #888;
    font-size: 0.9rem;
}

.step.active {
    color: var(--primary, #cc0000);
    font-weight: 700;
}

/* Order Summary Details */
.summary-title { font-size: 1.4rem; margin-bottom: 1.5rem; }
.license-select-wrapper { margin-bottom: 1.5rem; }
.license-label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; }
.license-dropdown { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; font-size: 1rem; }

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.success-text { color: #28a745; }

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
}

#displayTotal { color: var(--primary, #cc0000); }

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.8rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-checkout {
    width: 100%; 
    text-align: center; 
    padding: 16px; 
    font-size: 1.1rem; 
    box-shadow: 0 4px 12px rgba(204,0,0,0.3);
    display: block;
    text-decoration: none;
    border-radius: 4px;
    background: var(--theme-red);
    color: var(--theme-light);
}

.money-back {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.payment-logos { margin-top: 1.5rem; text-align: center; }
.payment-logos img { height: 24px; margin: 0 5px; opacity: 0.6; }

/* Footer */
.checkout-footer {
    background: #fff; 
    border-top: 1px solid #e0e0e0; 
    padding: 2rem 0; 
    text-align: center; 
    color: #888; 
    font-size: 0.9rem;
}

.footer-links { margin-top: 0.5rem; }
.footer-links a { margin: 0 10px; color: inherit; text-decoration: none; }

/* Responsive */
@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}