
@media (max-width: 767px) {
    #cart-section {
        padding: 0;
        margin-bottom: 30px;
    }
    #cart-section .cart-header {
        display: none;
    }
    #cart-section .cart-content .cart-item {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 15px;
        position: relative;
        background: #fff;
        border: 1px solid #eee;
        margin-bottom: 15px;
        border-radius: 8px;
        width: 100%;
    }
    #cart-section .cart-item .product-cart-item {
        width: 100% !important;
        margin-bottom: 15px;
        padding-right: 25px;
        display: flex;
        align-items: flex-start;
    }
    #cart-section .cart-item .product-cart-item .info {
        flex: 1;
        min-width: 0; /* Critical for wrapping in flex */
    }
    #cart-section .cart-item .product-cart-item .info p {
        margin: 0;
        white-space: normal !important;
        word-break: break-word;
        line-height: normal;
    }
    #cart-section .cart-item .product-cart-item .info p:first-child {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 4px;
    }
    #cart-section .cart-item .product-cart-item img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        margin-right: 12px;
        border-radius: 4px;
    }
    #cart-section .cart-item .product-cart-item input {
        margin-right: 12px;
        margin-top: 5px;
    }
    #cart-section .cart-item > div:not(.product-cart-item) {
        width: 100% !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
        border-bottom: 1px dashed #eee;
        padding-bottom: 8px;
        gap: 10px;
    }
    #cart-section .cart-item > div:not(.product-cart-item):last-of-type {
        border-bottom: none;
        margin-bottom: 0;
    }
    #cart-section .cart-item > div:not(.product-cart-item)::before {
        content: attr(data-label);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 11px;
        color: #888;
        flex-shrink: 0;
    }
    #cart-section .cart-item .delete-item {
        position: absolute;
        top: 15px;
        right: 10px;
        width: auto !important;
        margin: 0 !important;
        padding: 5px !important;
        color: #999;
    }
    #cart-section .cart-item .delete-item:hover {
        color: #fd1748;
    }
    #checkout-cart {
        margin-top: 10px;
        padding: 20px 15px;
    }
}
