/* Checkout Specific Styles */
        .checkout-container {
            display: flex;
            gap: 2rem;
            width: 100%;
            margin-top: 6rem;
        }

        .checkout-form-section {
            flex: 2;
            background-color: var(--card);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow-card);
        }

        .order-summary {
            flex: 1;
            background-color: var(--card);
            border-radius: 12px;
            box-shadow: var(--shadow-card);
            max-height: fit-content;
            position: sticky;
            top: 6rem;
        }

        .section-title {
            font-family: var(--font-display);
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--foreground);
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--border);
        }

        .form-section {
            margin-bottom: 2rem;
        }

        .form-section h3 {
            margin-bottom: 1rem;
            color: var(--foreground);
            font-weight: 600;
            font-size: 1.1rem;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--foreground);
            font-size: 0.95rem;
        }

        .form-group input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border);
            border-radius: 6px;
            font-family: var(--font-body);
            font-size: 1rem;
            transition: all 0.2s;
            background-color: white;
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(30, 90, 142, 0.1);
        }

        .form-group input.error {
            border-color: var(--destructive);
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        /* Payment Methods */
        .payment-methods {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
            margin-bottom: 1rem;
        }

        .payment-method {
            border: 2px solid var(--border);
            border-radius: 8px;
            padding: 1.25rem;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            min-height: 110px;
            justify-content: center;
            background: white;
        }

        .payment-method:hover {
            border-color: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .payment-method.selected {
            border-color: var(--primary);
            background-color: rgba(30, 90, 142, 0.05);
            box-shadow: 0 4px 12px rgba(30, 90, 142, 0.15);
        }

        .payment-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .payment-name {
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--foreground);
        }

        /* Payment Details */
        .payment-details {
            margin-top: 1rem;
            padding: 1.5rem;
            background-color: var(--muted);
            border-radius: 8px;
            display: none;
            border: 1px solid var(--border);
        }

        .payment-details.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Order Summary */
        .summary-header {
            padding: 1.5rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: var(--primary-foreground);
            border-radius: 12px 12px 0 0;
        }

        .summary-title {
            font-family: var(--font-display);
            font-size: 1.25rem;
            font-weight: 700;
            margin: 0;
        }

        .summary-content {
            padding: 1.5rem;
        }

        .order-items {
            max-height: 300px;
            overflow-y: auto;
            margin-bottom: 1.5rem;
        }

        .order-items::-webkit-scrollbar {
            width: 6px;
        }

        .order-items::-webkit-scrollbar-track {
            background: var(--muted);
            border-radius: 3px;
        }

        .order-items::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }

        .order-item {
            display: flex;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border);
        }

        .order-item:last-child {
            border-bottom: none;
        }

        .item-image {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 8px;
            border: 1px solid var(--border);
            flex-shrink: 0;
        }

        .item-details {
            flex: 1;
            min-width: 0;
        }

        .item-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: var(--foreground);
            font-size: 0.95rem;
        }

        .item-specs {
            font-size: 0.8rem;
            color: var(--muted-foreground);
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

        .item-price {
            font-weight: 600;
            color: var(--primary);
            font-size: 0.9rem;
        }

        .summary-totals {
            background-color: var(--muted);
            border-radius: 8px;
            padding: 1.25rem;
            margin: 1.5rem 0;
        }

        .total-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem;
            font-size: 0.95rem;
        }

        .total-row:last-child {
            margin-bottom: 0;
        }

        .total-label {
            color: var(--muted-foreground);
        }

        .total-value {
            font-weight: 600;
            color: var(--foreground);
        }

        .grand-total {
            border-top: 2px solid var(--border);
            padding-top: 0.75rem;
            margin-top: 0.75rem;
        }

        .grand-total .total-label {
            color: var(--foreground);
            font-weight: 700;
            font-size: 1.1rem;
        }

        .grand-total .total-value {
            color: var(--primary);
            font-size: 1.25rem;
            font-weight: 700;
        }

        /* Place Order Button */
        .place-order-btn {
            width: 100%;
            background-color: var(--trust);
            color: var(--trust-foreground);
            border: none;
            padding: 1rem;
            border-radius: 8px;
            font-size: 1.125rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.2s;
        }

        .place-order-btn:hover:not(:disabled) {
            background-color: #047857;
            transform: translateY(-1px);
            box-shadow: var(--shadow-lg);
        }

        .place-order-btn:disabled {
            background-color: var(--muted);
            color: var(--muted-foreground);
            cursor: not-allowed;
            opacity: 0.6;
        }

        /* PayPal Button Container */
        #paypal-button-container {
            margin-top: 1rem;
            min-height: 50px;
        }

        /* Modal */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }

        .modal.active {
            display: flex;
            animation: fadeIn 0.3s ease;
        }

        .modal-content {
            background-color: var(--card);
            border-radius: 12px;
            width: 100%;
            max-width: 500px;
            box-shadow: var(--shadow-xl);
            animation: slideUp 0.3s ease;
        }

        @keyframes slideUp {
            from {
                transform: translateY(50px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        .modal-title {
            font-family: var(--font-display);
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0;
        }

        .close-modal {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--muted-foreground);
            cursor: pointer;
            padding: 0.25rem;
            border-radius: 4px;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

        .close-modal:hover {
            background-color: var(--muted);
            color: var(--foreground);
        }

        .modal-body {
            padding: 2rem;
            text-align: center;
        }

        .success-icon {
            width: 80px;
            height: 80px;
            background-color: var(--trust);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            margin: 0 auto 1.5rem;
            animation: scaleIn 0.5s ease;
        }

        @keyframes scaleIn {
            from {
                transform: scale(0);
            }

            to {
                transform: scale(1);
            }
        }

        .btn-link {
            background-color: var(--primary);
            color: var(--primary-foreground);
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            transition: all 0.2s;
        }

        .btn-link:hover {
            background-color: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }

        .btn-secondary {
            background-color: #6b7280;
        }

        .btn-secondary:hover {
            background-color: #4b5563;
        }

        /* Empty Cart */
        .empty-cart-message {
            text-align: center;
            padding: 4rem 1rem;
            margin-top: 6rem;
        }

        .empty-cart-message i {
            font-size: 4rem;
            color: var(--muted-foreground);
            margin-bottom: 1.5rem;
            opacity: 0.5;
        }

        .empty-cart-message h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--foreground);
        }

        .empty-cart-message p {
            color: var(--muted-foreground);
            margin-bottom: 2rem;
            font-size: 1.125rem;
        }

        /* Notifications */
        .notification {
            position: fixed;
            top: 6rem;
            right: 1rem;
            padding: 1rem 1.5rem;
            border-radius: 8px;
            color: white;
            font-weight: 500;
            z-index: 1001;
            animation: slideInRight 0.3s ease;
            box-shadow: var(--shadow-lg);
            max-width: 400px;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .notification.success {
            background-color: var(--trust);
        }

        .notification.error {
            background-color: var(--destructive);
        }

        .notification.warning {
            background-color: var(--warning);
        }

        .notification.info {
            background-color: var(--accent);
        }

        @keyframes slideInRight {
            from {
                transform: translateX(400px);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOutRight {
            from {
                transform: translateX(0);
                opacity: 1;
            }

            to {
                transform: translateX(400px);
                opacity: 0;
            }
        }

        /* Responsive */
        @media screen and (max-width: 992px) {
            .checkout-container {
                flex-direction: column;
            }

            .order-summary {
                position: static;
                top: auto;
            }

            .payment-methods {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media screen and (max-width: 576px) {
            .form-row {
                grid-template-columns: 1fr;
            }

            .payment-methods {
                grid-template-columns: 1fr;
            }

            .checkout-form-section,
            .summary-content {
                padding: 1.25rem;
            }

            .checkout-container {
                gap: 1rem;
                margin-top: 5rem;
            }

            .notification {
                top: 5rem;
                left: 1rem;
                right: 1rem;
                max-width: none;
            }
        }

        /* stripe css */
        .StripeElement {
            box-sizing: border-box;
            padding: 12px 16px;
            border: 1px solid #ddd;
            border-radius: 8px;
            background-color: white;
            margin-bottom: 1rem;
        }

        .StripeElement--focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(99, 91, 255, 0.1);
        }

        .StripeElement--invalid {
            border-color: #fa755a;
        }

        .StripeElement--webkit-autofill {
            background-color: #fefde5 !important;
        }
