
        /* Custom styles for the cart item structure */
        body {
            font-family: light;
            background-color: #fff;
            color: #333;
        }

        .text-right {
            text-align: right !important;
        }

        /* Cart Content Wrapper: Side-by-side layout for desktop */
        .cart-content-wrapper {
            display: block !important;
        }

        @media (min-width: 768px) {
            .cart-content-wrapper {
                flex-direction: row;
                justify-content: space-between;
                align-items: flex-start;
            }
        }

        /* Cart Items Container: Left side content */
        .cart-items-container {
            width: 100% !important;
            background-color: #fff;
            padding: 1.5rem;
            border-radius: 0.75rem;
        }

        @media (min-width: 768px) {
            .cart-items-container {
                width: 65%;
            }
        }

        /* Header and Item Alignment - Using CSS Grid for Structure */
        .cart-list-header {
            /* Desktop Grid: 3 columns for PRODUCT | QUANTITY | TOTAL */
            /* display: none; */
            grid-template-columns: minmax(200px, 3fr) 1fr 1fr;
            gap: 1rem;
            text-transform: uppercase;
            font-size: 0.875rem;
            font-weight: 600;
            color: #6b7280;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid #e5e7eb;
            margin-bottom: 1rem;
        }

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

        .header-qty {
            text-align: center;
        }

        .header-total {
            text-align: right;
        }

        /* Product Item Row */
        .cart-product-item {
            display: flex;
            /* Always use flex for the immediate container */
            align-items: flex-start;
            padding: 1.5rem 0;
            justify-content: space-between;
            padding-bottom: 0;
            border-bottom: 1px solid #e5e7eb;
            gap: 1.5rem;
            position: relative;
        }

        .text-xl {
            font-size: 1rem !important;

        }

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

        /* Desktop Layout Override: Use Grid to align with headers */

        @media (min-width: 768px) {
            .cart-product-item {
                display: grid;
                grid-template-columns: minmax(200px, 3fr) 1fr 1fr;
                gap: 1rem;
                /* Vertically align image and controls */
            }
        }

        .product-image {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 0.5rem;
            flex-shrink: 0;
        }

        /* Product Details Group (Image + Name/Price) */
        .product-details-group {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
        }

        .product-details-group img {
            width: 85px;
            height: 65px;
            margin: 0 0 10px 0 ;
        }

        /* On desktop, this group takes the first grid column (PRODUCT) */
        @media (min-width: 768px) {}

        /* On mobile, controls are placed directly under the details */
        .mobile-controls-wrapper {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1rem;
        }
        #cart-items{
            height: 300px;
            overflow-y: scroll;
             overflow-x: scroll;
        }
        @media (min-width: 768px) {
            .mobile-controls-wrapper {
                display: contents;
                /* Hide this wrapper on desktop, content flows into grid */
            }
        }

        /* Quantity Control */
        .quantity-control {
                display: flex;
    align-items: center;
    
    flex-direction: column;
        }
        .quantity-control img{
            display: none;
        }

        /* Desktop: Center quantity in the 2nd grid column */
        .qty-column {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Item Total */
        .total-column {
            text-align: right;
            font-size: 1rem;
            font-weight: 600;
        }

        .remove-btn {

            cursor: pointer;
            opacity: 0.6;
            transition: opacity 0.2s;
            width: 15px;
            height: 20px;
            margin-top: 1rem;
        }

        @media (min-width: 768px) {
            .remove-btn {
                position: static;
                /* Let it flow with content on desktop, or remove if not desired */
                grid-column: 3 / 4;
                /* Place in Total column */
                justify-self: end;
                align-self: center;
            }
        }


        /* Order Summary Card */
        .cart-summary-column {
            width: 100%;
        }

        @media (min-width: 768px) {
            .cart-summary-column {
                width: 30%;
            }
        }

        .summary-card {
            background-color: #fff;
            border-radius: 0.75rem;
            padding: 1.5rem;
        }

        .summary-row {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 40px;
            padding: 0.5rem 0;
        }

        /* GENERAL STYLES (Kept for navigation/footer consistency) */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
            max-width: 1200px;
            margin: 0 auto;
        }



        .cart-icon-container {
            position: relative;
            display: inline-block;
        }

        #cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: #f97316;
            color: white;
            border-radius: 50%;
            padding: 1px 6px;
            font-size: 0.75rem;
            line-height: 1;
        }

        footer {
            background-color: #1f2937;
            color: white;
            padding: 3rem 0;
            margin-top: 3rem;
        }

        footer .align {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            gap: 2rem;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            padding: 0 1rem;
        }

        .copy {
            text-align: center;
            padding: 1.5rem 1rem 0;
            margin-top: 2rem;
            border-top: 1px solid #374151;
            font-size: 0.875rem;
            color: #9ca3af;
        }

        .flex {
            display: flex;
            align-items: center !important;
            justify-content: space-between;
            padding-top: 2rem;
        }

        .ins {
            width: 30%;
        }

        .text {
            width: 100%;
            border: 0.5px solid #3334355f;
            border-radius: 0.5rem 0.5rem 0rem 0.5rem;
            padding: 0.5rem;
            font-size: 1rem;
            resize: vertical;
        }

        .quantity-input {
            text-align: center;
        }

        .font-extrabold {
            font-family: st;
            font-size: 3rem;

        }

        @media (max-width: 468px) {
            .font-extrabold {
                font-size: 2rem !important;
            }
            .quantity-control img{
                display: block !important;
            }
        }

        @media (max-width: 868px) {
            .cart-content-wrapper .flex {
                display: block !important;
            }
            .cart-list-header{
                display: none;
            }
            .ins {
                width: 100%;
            }

            .cart-summary-column {
                width: 100%;
            }

            .cart-summary-column a {
                width: fit-content;
                float: right;
                padding: 6px 57px;
            }
        }
        .scroll{
            overflow-y: scroll;
        }
  #emptyCart{
        box-shadow: 1px 0px 18px #a8a8a88a;
}
.cart-items-container{
    overflow: scroll;
    height: 50vh;
}
 .icon-nav-container .cart-icon-container{
    display: flex !important;
  }