/* Aligned basket columns; original image sizing and hover are inherited. */
@media (min-width: 769px) {
    .basketPage-table .product-line:has(> :nth-child(8)) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 9% 10% 7% 8% 13% 11% 57px;
    }
    .basketPage-table .product-line:has(> :nth-child(8)) > .product-line__col {
        width: auto;
        min-width: 0;
    }
    .basketPage-table .product-line__col_del {
        justify-content: flex-start;
        padding-right: 25px;
    }
}

@media (max-width: 768px) {
    .basketPage-table .product-line__col_del {
        padding-right: 25px;
    }
}

/* Remove 3D compositing while preserving existing sizes and hover scale. */
.basketPage-table .product-line .product-line__img {
    -webkit-transform: none;
    transform: none;
}
.basketPage-table .product-line:hover .product-line__img,
.basketPage-table .product-line:focus-within .product-line__img {
    -webkit-transform: scale(3);
    transform: scale(3);
}
@media (max-width: 768px) {
    .basketPage-table .product-line:hover .product-line__img,
    .basketPage-table .product-line:focus .product-line__img {
        -webkit-transform: none;
        transform: none;
    }
}
