        /* CSS Variables for colors */
        :root {
            --bg-dark: #1a1a1a;
            --card-bg: #1f1f1f;
            --text-light: #e0e0e0;
            --text-muted: #a0a0a0;
            --border-color: #333333;
            --yellow-primary: #facc15;
            --yellow-hover: #fcd34d;
            --gray-button-bg: #4a4a4a;
            --gray-button-hover: #5a5a5a;
            --red-text: #ef4444;
        }

        /* Make the body a standard block container */
        body {
            background-color: #141414;
            font-family: 'Inter', sans-serif;
            color: var(--text-light);
            margin: 0;
        }
        
        /* Create a new wrapper to center the checkout content */
        .checkout-wrapper {
            min-height: calc(100vh - 80px); /* Adjust 80px based on actual header height */
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }

        .container {
            max-width: 1280px;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            padding: 1rem;
            background-color: var(--card-bg);
            border-radius: 0.5rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        }

        @media (min-width: 1024px) {
            .container {
                flex-direction: row;
            }
        }

        .shopping-cart-section {
            flex: 1;
            background-color: #141414;
            padding: 1.5rem;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        .shopping-cart-section h2, .order-summary-section h2 {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--text-light);
        }

        .cart-grid-header {
            display: none;
            grid-template-columns: repeat(12, minmax(0, 1fr));
            gap: 1rem;
            color: var(--text-muted);
            font-size: 0.875rem;
            font-weight: 500;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 1rem;
        }

        @media (min-width: 768px) {
            .cart-grid-header {
                display: grid;
            }
        }

        .cart-grid-header > div:nth-child(1) { grid-column: span 5 / span 5; }
        .cart-grid-header > div:nth-child(2) { grid-column: span 2 / span 2; text-align: center; }
        .cart-grid-header > div:nth-child(3) { grid-column: span 3 / span 3; text-align: center; }
        .cart-grid-header > div:nth-child(4) { grid-column: span 2 / span 2; text-align: right; }

        .cart-item {
            display: grid;
            grid-template-columns: repeat(12, minmax(0, 1fr));
            align-items: center;
            gap: 1rem;
            padding-top: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border-color);
        }

        .cart-item:last-child {
            border-bottom: 0;
        }

        .cart-item-product-info {
            grid-column: span 12 / span 12;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        @media (min-width: 768px) {
            .cart-item-product-info {
                grid-column: span 5 / span 5;
            }
        }

        .cart-item-product-info img {
            width: 5rem;
            height: 5rem;
            object-fit: cover;
            border-radius: 0.375rem;
        }

        .cart-item-product-info p:first-of-type {
            font-weight: 500;
            color: var(--text-light);
        }

        .cart-item-product-info p:last-of-type {
            color: var(--text-muted);
            font-size: 0.875rem;
        }

        .cart-item-price {
            grid-column: span 4 / span 4;
            text-align: center;
            color: var(--text-light);
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .cart-item-price {
                grid-column: span 3 / span 3;
            }
            .remove-item-container{
                flex-direction: row;
                align-items: center;
                justify-self: center;
            }
        }

        .cart-item-quantity-controls {
            grid-column: span 6 / span 6;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        @media (min-width: 768px) {
            .cart-item-quantity-controls {
                grid-column: span 3 / span 3;
            }
        }

        .quantity-btn {
            background-color: transparent;
            color: var(--text-light);
            width: 2rem;
            height: 2rem;
            border-radius: 9999px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease;
            outline: none;
        }

        .quantity-btn:hover {
            background-color: var(--gray-button-hover);
        }

        .quantity-input {
            width: 3rem;
            text-align: center;
            background-color: var(--gray-button-bg);
            color: var(--text-light);
            border-radius: 0.375rem;
            padding: 0.25rem;
            border: none;
            outline: none;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
            -moz-appearance: textfield;
        }
        
        .quantity-input::-webkit-outer-spin-button,
        .quantity-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .quantity-input:focus {
            outline: none;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
        }

        .item-subtotal {
            grid-column: span 2 / span 2;
            text-align: right;
            color: var(--text-light);
            font-weight: 500;
        }

        @media (min-width: 768px) {
            .item-subtotal {
                grid-column: span 2 / span 2;
            }
        }

        .remove-item-container {
            grid-column: span 12 / span 12;
            display: flex;
            justify-content: flex-end;
            margin-top: 0.5rem;
        }

        @media (min-width: 768px) {
            .remove-item-container {
                grid-column: auto;
                justify-content: flex-start;
                margin-top: 0;
            }
        }

        .remove-item-btn {
            color: var(--text-muted);
            border: none;
            background: none;
            cursor: pointer;
            transition: color 0.3s ease;
            outline: none;
        }

        .remove-item-btn:hover {
            color: var(--red-text);
        }

        .remove-item-btn svg {
            height: 1.25rem;
            width: 1.25rem;
        }

        .order-summary-section {
            flex-basis: 33.333333%;
            padding: 1.5rem;
            background-color: #141414;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            height: fit-content;
        }

        .summary-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            color: var(--text-light);
        }

        .summary-item.total {
            font-size: 1.25rem;
            font-weight: 600;
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
        }

        #pay-btn {
            width: 100%;
            background-color: var(--yellow-primary);
            color: var(--bg-dark);
            font-weight: 600;
            padding: 0.75rem;
            border-radius: 0.375rem;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease;
            outline: none;
        }

        #pay-btn:hover {
            background-color: var(--yellow-hover);
        }

        #pay-btn:disabled{
            background-color: grey;
        }

        .empty-cart-message {
            text-align: center;
            padding: 4rem 1rem;
            color: var(--text-muted);
        }

        .empty-cart-message h2 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--text-light);
        }

        .empty-cart-message a {
            color: var(--yellow-primary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .empty-cart-message a:hover {
            color: var(--yellow-hover);
        }

        /* Email Input Field */
        .email-form-group {
            margin-bottom: 1.5rem;
        }

        .email-form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-size: 0.875rem;
            color: var(--text-muted);
        }

        .email-input {
            width: 100%;
            background-color: var(--gray-button-bg);
            color: var(--text-light);
            border-radius: 0.375rem;
            padding: 0.75rem;
            border: 1px solid var(--border-color);
            outline: none;
            box-sizing: border-box; /* Important for padding */
        }
        
        .email-input:disabled {
            background-color: #2a2a2a;
            cursor: not-allowed;
        }

        /* Delivery Options */
        .delivery-options-group {
            margin-bottom: 1.5rem;
        }

        .delivery-options-group label {
            display: block;
            font-size: 0.875rem;
            color: var(--text-muted);
            background-color: var();
        }

        .delivery-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            padding: 0.75rem 1rem;
            background-color: var(--gray-button-bg);
            border-radius: 0.375rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .delivery-option:hover {
            background-color: var(--gray-button-hover);
        }

        .delivery-option input[type="radio"] {
            width: 1.25rem;
            height: 1.25rem;
            accent-color: var(--yellow-primary);
        }

        .delivery-option label {
            font-size: 0.875rem;
            color: var(--text-light);
            font-weight: 500;
        }

        .delivery-option span {
            font-size: 0.875rem;
            color: var(--text-muted);
        }

        .text-label{
            background-color: transparent;
        }
