
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
              font-family: 'Poppins', sans-serif;

        }

        body {
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 15px;
        }

        .checkout-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid #e1e5e9;
            margin-bottom: 20px;
        }

        .logo {
            max-height: 40px;
            width: auto;
        }

        .secure-checkout {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #4a934a;
            font-weight: 500;
            font-size: 14px;
        }

        .checkout-layout {
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 30px;
        }

        .checkout-form {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .order-summary {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            height: fit-content;
        }

        .section-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 20px;
            color: #2c3e50;
        }

        .form-group {
            margin-bottom: 20px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #4a5568;
        }

        input, select {
            width: 100%;
            padding: 14px 15px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 16px; /* Prevents zoom on iOS */
            transition: all 0.3s;
        }

        input:focus, select:focus {
            outline: none;
            border-color: #4299e1;
            box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .payment-methods {
            display: flex;
            gap: 10px;
            margin-top: 10px;
            overflow-x: auto;
            padding-bottom: 5px;
        }

        .payment-method {
            min-width: 100px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 12px 8px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .payment-method:hover {
            border-color: #4299e1;
        }

        .payment-method.active {
            border-color: #4299e1;
            background-color: rgba(66, 153, 225, 0.05);
        }

        .payment-icon {
            font-size: 22px;
            margin-bottom: 6px;
            color: #000000ff;
        }

        .cart-item {
            display: flex;
            gap: 15px;
            padding: 15px 0;
            border-bottom: 1px solid #e2e8f0;
        }

        .item-image {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            background-color: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #a0aec0;
            flex-shrink: 0;
        }

        .item-details {
            flex: 1;
            min-width: 0; /* Prevents flex item from overflowing */
        }

        .item-name {
            font-weight: 500;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .item-variant {
            color: #718096;
            font-size: 14px;
            margin-bottom: 5px;
        }

        .item-price {
            font-weight: 600;
        }

        .item-quantity {
            font-size: 14px;
            color: #718096;
            flex-shrink: 0;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
        }

        .summary-total {
            border-top: 1px solid #e2e8f0;
            margin-top: 10px;
            padding-top: 15px;
            font-weight: 700;
            font-size: 18px;
        }

        .btn {
            display: block;
            width: 100%;
            padding: 16px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-primary {
            background-color: #000000ff;
            color: white;
        }

        .btn-primary:hover {
            background-color: #464545ff;
        }

        .return-to-cart {
            display: inline-block;
            margin-top: 15px;
            color: #4299e1;
            text-decoration: none;
            font-weight: 500;
            text-align: center;
            width: 100%;
        }

        .return-to-cart:hover {
            text-decoration: underline;
        }

        .trust-badges {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #e2e8f0;
            flex-wrap: wrap;
        }

        .trust-badge {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #718096;
            font-size: 13px;
        }

        /* Mobile-specific styles */
        @media (max-width: 1024px) {
            .checkout-layout {
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }
            
            .checkout-layout {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .checkout-form, .order-summary {
                padding: 20px;
            }
            
            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }
            
            .payment-methods {
                gap: 8px;
            }
            
            .payment-method {
                min-width: 90px;
                padding: 10px 5px;
            }
            
            .payment-icon {
                font-size: 20px;
            }
            
            .cart-item {
                gap: 12px;
            }
            
            .item-image {
                width: 50px;
                height: 50px;
            }
            
            .trust-badges {
                gap: 10px;
            }
            
            .trust-badge {
                font-size: 12px;
            }
        }

        @media (max-width: 480px) {
            .checkout-header {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }
            
            .logo {
                max-height: 35px;
            }
            
            .checkout-form, .order-summary {
                padding: 15px;
                border-radius: 10px;
            }
            
            .section-title {
                font-size: 16px;
            }
            
            input, select {
                padding: 12px;
            }
            
            .btn {
                padding: 14px;
            }
            
            .payment-method {
                min-width: 80px;
                font-size: 14px;
            }
            
            .payment-icon {
                font-size: 18px;
            }
            
            .trust-badges {
                flex-direction: column;
                align-items: center;
                gap: 8px;
            }
        }

        /* Sticky order summary on mobile */
        @media (max-width: 768px) {
            .order-summary {
                position: sticky;
                bottom: 0;
                z-index: 10;
                margin-top: 20px;
            }
            
            .order-summary.collapsed {
                max-height: 80px;
                overflow: hidden;
            }
            
            .order-summary-toggle {
                display: flex;
                justify-content: space-between;
                align-items: center;
                cursor: pointer;
                padding: 10px 0;
            }
            
            .order-summary-toggle i {
                transition: transform 0.3s;
            }
            
            .order-summary.collapsed .order-summary-toggle i {
                transform: rotate(180deg);
            }
            
            .order-summary.collapsed .order-summary-content {
                display: none;
            }
        }

        /* Desktop only - hide toggle */
        @media (min-width: 769px) {
            .order-summary-toggle {
                display: none;
            }
        }
