/* ============================================
   GrowCommerce - Checkout Page (Minimal)
   ============================================ */

/* Checkout Steps */
.checkout-steps {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.8125rem;
    font-weight: 600;
}

.step.active {
    color: #667eea;
}

.step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 700;
}

.step-line {
    width: 30px;
    height: 2px;
    background: #e5e7eb;
}

.checkout-secure {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #10b981;
    font-size: 0.8125rem;
    font-weight: 600;
}

.checkout-secure svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .checkout-steps {
        display: none;
    }

    .checkout-secure span {
        display: none;
    }
}

/* Checkout Section */
.checkout-section {
    padding: 3rem 0;
    background: #f9fafb;
    min-height: calc(100vh - 72px);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* Checkout Form */
.checkout-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #f3f4f6;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.card-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.125rem;
}

.card-header p {
    font-size: 0.8125rem;
    color: #9ca3af;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #6b7280;
    transition: all 0.2s;
}

.payment-option-content svg {
    width: 20px;
    height: 20px;
}

.payment-option.selected .payment-option-content {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.04);
    color: #667eea;
}

.card-input-wrapper {
    position: relative;
}

.card-icons {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 0.25rem;
}

.paypal-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #eff6ff;
    border-radius: 10px;
    color: #2563eb;
}

.paypal-info svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.paypal-info p {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Submit Button */
.btn-checkout {
    width: 100%;
    justify-content: center;
    padding: 1.125rem;
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

.checkout-trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.trust-item svg {
    width: 14px;
    height: 14px;
    color: #10b981;
}

/* Order Summary */
.order-summary-wrapper {
    position: sticky;
    top: 90px;
    align-self: start;
}

.order-summary {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #f3f4f6;
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.summary-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.summary-product-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-product-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.summary-product-info {
    flex: 1;
}

.summary-product-info h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
}

.summary-product-info p {
    font-size: 0.8125rem;
    color: #9ca3af;
}

.summary-product-price {
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.summary-details {
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: #6b7280;
}

.summary-row.discount {
    color: #10b981;
}

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

.summary-total span:first-child {
    font-weight: 700;
    color: #111827;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
}

.summary-note {
    font-size: 0.8125rem;
    color: #9ca3af;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Coupon */
.coupon-section {
    margin-bottom: 1.5rem;
}

.coupon-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0.75rem;
}

.coupon-toggle:hover {
    color: #764ba2;
}

.coupon-toggle svg {
    width: 16px;
    height: 16px;
}

.coupon-input-wrap {
    display: flex;
    gap: 0.5rem;
}

.btn-apply {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.875rem;
    white-space: nowrap;
    font-family: inherit;
    transition: transform 0.2s;
}

.btn-apply:hover {
    transform: translateY(-1px);
}

/* Guarantee */
.summary-guarantee {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #f0fdf4;
    border-radius: 10px;
    border: 1px solid #bbf7d0;
}

.summary-guarantee > svg {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.summary-guarantee strong {
    display: block;
    font-size: 0.8125rem;
    color: #166534;
    margin-bottom: 0.125rem;
}

.summary-guarantee p {
    font-size: 0.75rem;
    color: #4ade80;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .checkout-card {
        padding: 1.5rem;
    }

    .order-summary {
        padding: 1.5rem;
    }
}
