#fixed-top-appliable-rule {
    display: none !important;
}

@media (max-width: 768px) {
    .cart.items.data.table {
        border: none;
    }

    .cart.items.data.table thead {
        display: none;
    }

    .cart.items.data.table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #eee;
        padding: 10px;
    }

    .cart.items.data.table td {
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap to the next line */
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        text-align: right;
    }

    .cart.items.data.table td::before {
        content: attr(data-th) ": ";
        font-weight: bold;
        flex-basis: 40%;
        text-align: left;
    }

    .cart.items.data.table .col.item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        width: 100%; /* Ensure item column takes full width */
    }

    .cart.items.data.table .product-item-photo {
        margin-right: 0;
        margin-bottom: 10px;
        float: none;
        width: 100%; /* Ensure image takes full width */
        text-align: center; /* Center the image */
    }
    .cart.items.data.table .product-item-photo img {
        max-width: 100%;
        height: auto;
    }

    .cart.items.data.table .product-item-details {
        overflow: visible;
        width: 100%;
        padding-left: 0;
        text-align: center; /* Center product name */
    }

    .cart.items.data.table .col.price,
    .cart.items.data.table .col.qty,
    .cart.items.data.table .col.subtotal {
        width: 100%; /* Ensure these columns take full width */
    }

    .cart.items.data.table .col.qty .qty-control {
        display: flex;
        align-items: center;
        justify-content: flex-end; /* Align to the right for mobile */
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .cart.items.data.table .col.qty .qty-control button {
        background-color: #f0f0f0;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        font-size: 1em;
        font-weight: bold;
        color: #555;
        transition: background-color 0.3s ease;
    }

    .cart.items.data.table .col.qty .qty-control button:hover {
        background-color: #e0e0e0;
    }

    .cart.items.data.table .col.qty .qty-control .qty-decrease {
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }

    .cart.items.data.table .col.qty .qty-control .qty-increase {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    .cart.items.data.table .col.qty .qty-input {
        width: 40px; /* Adjusted width for better fit with buttons */
        padding: 5px 0;
        border: none;
        text-align: center;
        -moz-appearance: textfield; /* Firefox */
    }

    .cart.items.data.table .col.qty .qty-input::-webkit-outer-spin-button,
    .cart.items.data.table .col.qty .qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .cart.items.data.table .col.action {
        text-align: center;
        padding-top: 15px;
        width: 100%; /* Ensure action column takes full width */
    }
}
