.table.cart-list {
    margin: 0
}

.table.cart-list th,
.table.options_cart th {
    background-color: transparent;
    text-transform: uppercase;
    font-weight: normal;
    color: #111;
    border: 0;
    padding-top: 0
}

.table.cart-list th:nth-child(1) {
    width: 70%
}

.table.cart-list th:nth-child(2) {
    width: 15%
}

.table.cart-list th:nth-child(3) {
    width: 20%
}

.table.cart-list th:nth-child(4) {
    width: 5%
}

.table.cart-list td {
    vertical-align: middle;
    border: 0
}

.table.cart-list td strong {
    font-weight: 500
}

.table.cart-list td.options a {
    /*display: inline-block;*/
    margin-right: 10px
}

.table.cart-list td.options a i {
    font-size: 18px;
    font-size: 1.125rem
}

.table.cart-list td .numbers-row {
    background-color: #fff
}

.table.cart-list.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.045)
}

@media (max-width: 767px) {

    .table.cart-list,
    .table.cart-list thead,
    .table.cart-list tbody,
    .table.cart-list th,
    .table.cart-list td,
    .table.cart-list tr {
        display: block;
        border: 0
    }

    .table.cart-list thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px
    }

    .table.cart-list tr {
        border: 1px solid #ddd
    }
}

@media (max-width: 767px) and (max-width: 991px) {
    .table.cart-list tr {
        margin-bottom: 20px
    }
}

@media (max-width: 767px) {
    .table.cart-list td {
        border: none;
        border-bottom: 1px solid #ddd;
        position: relative;
        padding-left: 35%
    }

    .table.cart-list td:before {
        position: absolute;
        top: 12px;
        left: 12px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap
    }

    .table.cart-list td:nth-of-type(1):before,
    .table.cart-list td:nth-of-type(2):before,
    .table.cart-list td:nth-of-type(3):before,
    .table.cart-list td:nth-of-type(4):before,
    .table.cart-list td:nth-of-type(5):before {
        font-weight: 700;
        color: #111
    }

    .table.cart-list td:nth-of-type(1):before {
        content: "Producto"
    }

    .table.cart-list td:nth-of-type(2):before {
        content: "Precio Unit."
    }

    .table.cart-list td:nth-of-type(3):before {
        content: "Cantidad"
    }

    .table.cart-list td:nth-of-type(4):before {
        content: "SubTotal"
    }

    .table.cart-list td:nth-of-type(5):before {
        content: "Editar"
    }
}

.thumb_cart {
    width: 60px;
    height: 60px;
    overflow: hidden;
    margin-right: 10px;
    float: left;
    position: relative;
    background-color: #fff;
    padding: 5px;
    box-sizing: content-box
}

.thumb_cart img {
    width: 60px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) scale(1.1);
    -moz-transform: translate(-50%, -50%) scale(1.1);
    -ms-transform: translate(-50%, -50%) scale(1.1);
    -o-transform: translate(-50%, -50%) scale(1.1);
    transform: translate(-50%, -50%) scale(1.1)
}

@media (max-width: 991px) {
    .thumb_cart {
        display: none
    }
}

.item_cart {
    float: left;
    width: 65%;
    margin: 25px 0 0 10px;
    line-height: 1.3;
    font-weight: 500
}

@media (max-width: 991px) {
    .item_cart {
        margin: 5px 0 0 0;
        width: 100%;
        float: none
    }
}

.cart_actions .apply-coupon .form-control {
    margin-right: 10px;
    height: 40px
}

@media (max-width: 575px) {
    .cart_actions .apply-coupon .form-control {
        margin: 0 0 5px 0
    }
}

@media (max-width: 575px) {
    .cart_actions .btn_1 {
        width: 100%;
        margin-bottom: 15px
    }
}

.box_cart {
    background-color: #fff;
    padding: 30px 0;
    text-align: right
}

@media (max-width: 767px) {
    .box_cart {
        padding: 30px 0
    }
}

.box_cart h5 {
    margin-top: 0;
    padding: 0;
    text-transform: uppercase
}

.box_cart small {
    text-align: center;
    line-height: 1.1;
    display: block;
    margin-top: 10px
}

.box_cart ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
    font-weight: 500;
    font-size: 16px;
    font-size: 1rem
}

.box_cart ul li span {
    float: left
}

.box_cart ul li:last-child {
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: bold;
    color: #ff5353;
    font-size: 21px;
    font-size: 1.3125rem
}

/* Quantity Control Styles - Improved Design */
.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
    border: 1px solid #dee2e6;
    min-width: 90px;
    margin: 0 auto;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: bold;
}

.quantity-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-minus {
    background: #dc3545;
}

.quantity-minus:hover {
    background: #c82333;
}

.quantity-input {
    width: 35px;
    height: 28px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
    font-weight: bold;
    font-size: 14px;
    padding: 0;
}

/* Cursor pointer effect for all quantity buttons */
.quantity-btn {
    cursor: pointer !important;
}

/* Hover effect for the entire quantity control */
.quantity-control:hover {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quantity-control {
        min-width: 80px;
        padding: 3px;
    }

    .quantity-btn {
        width: 24px;
        height: 24px;
    }

    .quantity-input {
        width: 30px;
        height: 24px;
        font-size: 13px;
    }
}

/* Enhanced Row Styles - Modern Design */
.cart-item-row {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
}

.cart-item-row:hover {
    background-color: #f8f9ff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.cart-item-row td {
    vertical-align: middle;
    padding: 12px 8px;
    border-color: #f1f3f5;
}

/* Stock Cell */
.stock-cell .badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Product Cell */
.product-cell {
    min-width: 180px;
}

.product-image {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
}

.product-min {
    font-size: 10px;
    background: #fff3cd;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 2px;
}

.gift-link {
    font-size: 12px;
    transition: transform 0.2s;
}

.gift-link:hover {
    transform: scale(1.2);
}

/* Price Cell */
.price-cell {
    min-width: 120px;
}

.price-cell .input-group {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.price-cell .input-group-text {
    border: 1px solid #dee2e6;
    border-right: none;
    font-weight: 600;
    color: #495057;
}

.price-cell .current-unit-price {
    border: 1px solid #dee2e6;
    background: #fff;
    font-weight: 600;
    color: #212529;
    text-align: right;
}

.price-cell .current-unit-price:disabled {
    background: #f8f9fa;
}

/* Quantity Cell - Enhanced */
.quantity-cell {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px !important;
}

.quantity-cell .quantity-control {
    background: white;
    border: 2px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.quantity-cell .quantity-control:hover {
    border-color: #007bff;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.15);
}

/* Subtotal Cell */
.subtotal-cell {
    min-width: 100px;
    text-align: right;
    font-weight: 700;
    font-size: 15px;
}

/* Action Cell */
.action-cell {
    text-align: center;
    min-width: 60px;
}

.action-cell .cart__remove-product_ {
    transition: all 0.2s ease;
    border-radius: 6px;
    min-width: 35px;
}

.action-cell .cart__remove-product_:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
    border-color: #dc3545;
}

/* Mobile adjustments for enhanced row */
@media (max-width: 768px) {
    .cart-item-row td {
        padding: 8px 4px;
    }

    .product-cell {
        min-width: 140px;
    }

    .product-image {
        width: 35px;
        height: 35px;
    }

    .product-name {
        font-size: 13px;
    }

    .subtotal-cell {
        font-size: 14px;
    }
}

/* Product Catalog Table Header Enhancement */
.pos_item_table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Table header enhancement */
.table_shopping thead th {
    background: var(--main-bg-color-primario);
    color: black;
    font-weight: 600;
    border: none;
    padding: 12px 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Table footer enhancement */
.table_shopping tfoot td {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 700;
    border-top: 2px solid var(--main-bg-color-primario);
    font-size: 16px;
    padding: 12px 8px;
    position: sticky;
    bottom: 0;
    z-index: 10;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

/* Smooth transitions for all interactive elements */
.cart-item-row td>* {
    transition: all 0.2s ease;
}