
        

        /* ===== CHECKOUT CONTAINER ===== */
        .checkout-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 5%;
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 30px;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s forwards 0.3s;
        }
        
        @media (max-width: 992px) {
            .checkout-container {
                grid-template-columns: 1fr;
            }
        }

        /* ===== CHECKOUT STEPS (Animated Progress Bar) ===== */
        .checkout-steps {
            display: flex;
            justify-content: space-between;
            margin-bottom: 40px;
            position: relative;
        }
        
        .checkout-steps::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 0;
            right: 0;
            height: 4px;
            background: #eee;
            z-index: 1;
            border-radius: 10px;
        }
        
        body.night-mode .checkout-steps::before {
            background: #333;
        }
        
        .step {
            position: relative;
            z-index: 2;
            text-align: center;
            width: 25%;
            transition: all 0.3s;
        }
        
        .step-number {
            width: 40px;
            height: 40px;
            background: #ddd;
            color: #777;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 10px;
            font-weight: bold;
            transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        
        body.night-mode .step-number {
            background: #333;
            color: #aaa;
        }
        
        .step.active .step-number {
            background: #ff6b6b;
            color: white;
            transform: scale(1.2);
            box-shadow: 0 5px 15px rgba(255,107,107,0.4);
        }
        
        .step.completed .step-number {
            background: #4CAF50;
            color: white;
            animation: bounce 0.5s;
        }
        
        .step.completed .step-number::after {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
        }
        
        .step-title {
            font-size: 14px;
            color: #777;
            transition: all 0.3s;
        }
        
        body.night-mode .step-title {
            color: #aaa;
        }
        
        .step.active .step-title {
            color: #ff6b6b;
            font-weight: bold;
        }
        
        .step.completed .step-title {
            color: #4CAF50;
        }

        /* ===== CHECKOUT SECTIONS (3D Tilt Effect) ===== */
        .checkout-section {
            background: #fff;
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.5s ease, transform 0.1s ease;
            transform-style: preserve-3d;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s forwards 0.5s;
        }
        
        .checkout-section:hover {
            transform: translateY(-5px) rotateX(1deg) rotateY(1deg);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        body.night-mode .checkout-section {
            background: #1e1e1e;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        body.night-mode .section-header {
            border-bottom-color: #333;
        }
        
        .section-title {
            font-size: 20px;
            color: #333;
            transition: all 0.3s;
        }
        
        body.night-mode .section-title {
            color: #f1f1f1;
        }
        
        .edit-btn {
            background: none;
            border: none;
            color: #ff6b6b;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all 0.3s;
        }
        
        .edit-btn:hover {
            transform: translateX(5px);
        }
        
        .edit-btn i {
            transition: transform 0.3s;
        }
        
        .edit-btn:hover i {
            transform: rotate(90deg);
        }

        /* ===== FORM STYLES (Interactive Inputs) ===== */
        .form-group {
            margin-bottom: 20px;
            position: relative;
        }
        
        .form-row {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .form-row .form-group {
            flex: 1;
            margin-bottom: 0;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #555;
            transition: all 0.3s;
        }
        
        body.night-mode .form-label {
            color: #ccc;
        }
        
        .form-input, .form-select, .form-textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s;
            background: #fff;
        }
        
        body.night-mode .form-input,
        body.night-mode .form-select,
        body.night-mode .form-textarea {
            background: #2d2d2d;
            border-color: #444;
            color: #f1f1f1;
        }
        
        .form-input:focus, .form-select:focus, .form-textarea:focus {
            border-color: #ff6b6b;
            box-shadow: 0 0 0 3px rgba(255,107,107,0.2);
            outline: none;
            transform: translateY(-2px);
        }
        
        .form-input::placeholder {
            color: #aaa;
        }
        
        body.night-mode .form-input::placeholder {
            color: #666;
        }

        /* ===== PAYMENT METHODS (Hover Effects) ===== */
        .payment-methods {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .payment-method {
            display: flex;
            align-items: center;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }
        
        body.night-mode .payment-method {
            border-color: #444;
        }
        
        .payment-method:hover {
            border-color: #ff6b6b;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .payment-method.active {
            border-color: #ff6b6b;
            background: rgba(255,107,107,0.05);
            box-shadow: 0 0 0 1px #ff6b6b, 0 5px 15px rgba(255,107,107,0.2);
            transform: scale(1.02);
        }
        
        body.night-mode .payment-method.active {
            background: rgba(255,107,107,0.1);
        }
        
        .payment-method input {
            margin-right: 15px;
            accent-color: #ff6b6b;
            transform: scale(1.2);
        }
        
        .payment-icon {
            width: 40px;
            height: 40px;
            background: #f5f5f5;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            transition: all 0.3s;
        }
        
        body.night-mode .payment-icon {
            background: #333;
        }
        
        .payment-method.active .payment-icon {
            background: #ff6b6b;
            color: white;
            transform: rotateY(360deg);
        }

        /* ===== CREDIT CARD PREVIEW (3D Animated) ===== */
        .credit-card-form {
            margin-top: 20px;
            padding: 20px;
            background: #f9f9f9;
            border-radius: 8px;
            animation: fadeIn 0.5s;
            perspective: 1000px;
        }
        
        body.night-mode .credit-card-form {
            background: #2d2d2d;
        }
        
        .card-preview {
            height: 180px;
            background: linear-gradient(135deg, #434343, #000000);
            border-radius: 12px;
            padding: 20px;
            color: white;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
            transition: transform 0.5s ease;
            transform-style: preserve-3d;
        }
        
        .card-preview:hover {
            transform: rotateY(10deg) rotateX(5deg) translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        }
        
        .card-preview::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            animation: shine 3s infinite;
        }
        
        .card-chip {
            width: 40px;
            height: 30px;
            background: linear-gradient(135deg, #ffd700, #c0c0c0);
            border-radius: 5px;
            margin-bottom: 20px;
            animation: float 3s ease-in-out infinite;
        }
        
        .card-number {
            font-size: 18px;
            letter-spacing: 2px;
            margin-bottom: 20px;
            font-family: monospace;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }
        
        .card-details {
            display: flex;
            justify-content: space-between;
        }
        
        .card-name, .card-expiry {
            font-size: 14px;
            opacity: 0.8;
        }

        /* ===== ORDER SUMMARY (Sticky & Animated) ===== */
        .order-summary {
            position: sticky;
            top: 20px;
            background: #fff;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.5s ease;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s forwards 0.7s;
        }
        
        body.night-mode .order-summary {
            background: #1e1e1e;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }
        
        .summary-title {
            font-size: 20px;
            margin-bottom: 20px;
            color: #333;
            transition: all 0.3s;
        }
        
        body.night-mode .summary-title {
            color: #f1f1f1;
        }
        
        .summary-items {
            max-height: 300px;
            overflow-y: auto;
            margin-bottom: 20px;
            padding-right: 10px;
        }
        
        .summary-item {
            display: flex;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed #eee;
            transition: all 0.3s;
            position: relative;
        }
        
        body.night-mode .summary-item {
            border-bottom-color: #333;
        }
        
        .summary-item:hover {
            transform: translateX(5px);
        }
        
        .item-img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 8px;
            margin-right: 15px;
            transition: all 0.3s;
        }
        
        .summary-item:hover .item-img {
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .item-name {
            font-size: 14px;
            margin-bottom: 5px;
            color: #333;
            transition: all 0.3s;
        }
        
        body.night-mode .item-name {
            color: #f1f1f1;
        }
        
        .item-price {
            font-size: 14px;
            color: #ff6b6b;
            font-weight: bold;
        }
        
        .item-quantity {
            font-size: 12px;
            color: #777;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 5px;
        }
        
        body.night-mode .item-quantity {
            color: #aaa;
        }
        
        .quantity-btn {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            border: 1px solid #ddd;
            background: #f5f5f5;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        body.night-mode .quantity-btn {
            border-color: #444;
            background: #2d2d2d;
            color: #f1f1f1;
        }
        
        .quantity-btn:hover {
            background: #ff6b6b;
            color: white;
            border-color: #ff6b6b;
        }
        
        .quantity {
            min-width: 20px;
            text-align: center;
        }
        
        .delete-item {
            position: absolute;
            top: 5px;
            right: 0;
            background: none;
            border: none;
            color: #ff6b6b;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .delete-item:hover {
            transform: scale(1.2);
            color: #ff0000;
        }
        
        .summary-totals {
            margin-top: 20px;
        }
        
        .total-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            transition: all 0.3s;
        }
        
        .total-row:hover {
            transform: translateX(5px);
        }
        
        .total-label {
            color: #555;
            transition: all 0.3s;
        }
        
        body.night-mode .total-label {
            color: #ccc;
        }
        
        .total-value {
            font-weight: 500;
            color: #333;
            transition: all 0.3s;
        }
        
        body.night-mode .total-value {
            color: #f1f1f1;
        }
        
        .all1 {
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid #eee;
            font-size: 18px;
            font-weight: bold;
            animation: pulse1 2s infinite;
            opacity: 1;
        }
        
        body.night-mode .all1{
            border-top-color: #333;
        }
        
        .all1 .total-value {
            color: #ff6b6b;
            font-size: 20px;
        }
        
        .checkout-btn {
            display: block;
            width: 100%;
            padding: 15px;
            background: #ff6b6b;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            margin-top: 25px;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(255,107,107,0.3);
        }
        
        .checkout-btn:hover {
            background: #ff5252;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(255,107,107,0.4);
        }
        
        .checkout-btn:active {
            transform: translateY(0);
        }
        
        .checkout-btn::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to bottom right,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0) 45%,
                rgba(255, 255, 255, 0.3) 48%,
                rgba(255, 255, 255, 0) 52%,
                rgba(255, 255, 255, 0) 100%
            );
            transform: rotate(30deg);
            animation: shine 3s infinite;
        }
        
        .secure-checkout {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
            font-size: 12px;
            color: #777;
            transition: all 0.3s;
        }
        
        body.night-mode .secure-checkout {
            color: #aaa;
        }

        /* ===== ORDER CONFIRMATION (Confetti Celebration) ===== */
        .order-confirmation {
            text-align: center;
            padding: 50px 20px;
            max-width: 600px;
            margin: 50px auto;
            background: #fff;
            border-radius: 15px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            transition: all 0.5s ease;
            opacity: 0;
            transform: scale(0.9);
            position: relative;
            overflow: hidden;
        }
        
        body.night-mode .order-confirmation {
            background: #1e1e1e;
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }
        
        .confetti {
            position: absolute;
            width: 10px;
            height: 10px;
            background: #ff6b6b;
            opacity: 0;
        }
        
        .confirmation-icon {
            width: 100px;
            height: 100px;
            background: #4CAF50;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            color: white;
            font-size: 50px;
            animation: bounceIn 1s, pulse1 2s infinite 1s;
            box-shadow: 0 10px 20px rgba(76,175,80,0.3);
        }
        
        .confirmation-title {
            font-size: 28px;
            margin-bottom: 15px;
            color: #333;
            transition: all 0.3s;
        }
        
        body.night-mode .confirmation-title {
            color: #f1f1f1;
        }
        
        .confirmation-subtitle {
            font-size: 16px;
            color: #777;
            margin-bottom: 30px;
            transition: all 0.3s;
        }
        
        body.night-mode .confirmation-subtitle {
            color: #aaa;
        }
        
        .order-details {
            background: #f9f9f9;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 30px;
            text-align: left;
            transition: all 0.3s;
        }
        
        body.night-mode .order-details {
            background: #2d2d2d;
        }
        
        .order-number {
            font-weight: bold;
            margin-bottom: 10px;
            color: #ff6b6b;
        }
        
        .order-info {
            font-size: 14px;
            color: #555;
            margin-bottom: 5px;
            transition: all 0.3s;
        }
        
        body.night-mode .order-info {
            color: #ccc;
        }
        
        .continue-btn {
            display: inline-block;
            padding: 12px 30px;
            background: #ff6b6b;
            color: white;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
        }
        
        .continue-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }
        
        .continue-btn::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                to bottom right,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0) 45%,
                rgba(255, 255, 255, 0.3) 48%,
                rgba(255, 255, 255, 0) 52%,
                rgba(255, 255, 255, 0) 100%
            );
            transform: rotate(30deg);
            animation: shine 3s infinite;
        }

        /* ===== LOADING ANIMATION (Spinner) ===== */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }
        
        .loading-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 5px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            border-top-color: #ff6b6b;
            animation: spin 1s ease-in-out infinite;
            margin-bottom: 20px;
        }
        
        .loading-text {
            color: white;
            font-size: 18px;
            margin-top: 20px;
            animation: pulse1 1.5s infinite;
        }

        

        /* ===== ANIMATIONS ===== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes bounceIn {
            0% { transform: scale(0.5); opacity: 0; }
            60% { transform: scale(1.1); opacity: 1; }
            100% { transform: scale(1); }
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }
        
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        
        @keyframes pulse1 {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        @keyframes shine {
            0% { transform: translateX(-100%) rotate(30deg); }
            20% { transform: translateX(100%) rotate(30deg); }
            100% { transform: translateX(100%) rotate(30deg); }
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        @keyframes confettiFall {
            0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
            100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .checkout-steps {
                flex-wrap: wrap;
                gap: 20px;
            }
            
            .step {
                width: 45%;
            }
            
            .checkout-steps::before {
                display: none;
            }
            
            .form-row {
                flex-direction: column;
                gap: 0;
            }
            
            .confirmation-icon {
                width: 80px;
                height: 80px;
                font-size: 40px;
            }
            
            .confirmation-title {
                font-size: 24px;
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .step {
                width: 100%;
                text-align: left;
                display: flex;
                align-items: center;
                gap: 15px;
            }
            
            .step-number {
                margin: 0;
            }
            
            .checkout-section {
                padding: 20px;
            }
            
            .section-title {
                font-size: 18px;
            }
            
            .confirmation-icon {
                width: 60px;
                height: 60px;
                font-size: 30px;
            }
            
            .confirmation-title {
                font-size: 20px;
            }
            
            .confirmation-subtitle {
                font-size: 14px;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
        }
    