.elementor-715 .elementor-element.elementor-element-5b4c0d94{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-51707ac4 *//* 1. Completely break the table structure */
.tinvwl-table-manage-list, 
.tinvwl-table-manage-list thead, 
.tinvwl-table-manage-list tbody, 
.tinvwl-table-manage-list tr, 
.tinvwl-table-manage-list td {
    display: block !important;
    width: 100% !important;
    border: none !important;
}

/* 2. Remove the header labels */
.tinvwl-table-manage-list thead {
    display: none !important;
}

/* 3. Style the row as a list item with a divider */
.tinvwl-table-manage-list tr.wishlist_item {
    position: relative;
    padding: 20px 0 !important;
    margin-bottom: 0;
    border-bottom: 1px solid #eee !important; /* The Divider */
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
}

.tinvwl-table-manage-list tr.wishlist_item:last-child {
    border-bottom: none !important;
}

/* 4. Align the elements naturally */
.tinvwl-table-manage-list td {
    padding: 5px 10px !important;
    width: auto !important;
}

/* Thumbnail */
.product-thumbnail {
    flex: 0 0 100px;
}
.product-thumbnail img {
    max-width: 80px !important;
    height: auto;
}

/* Product Info */
.product-name {
    flex: 1;
    min-width: 150px;
}

/* Action button and status */
.product-stock, .product-price {
    flex: 0 0 auto;
}

.product-action {
    width: 100% !important; /* Forces button to a new line or keeps it full width */
    margin-top: 10px;
}

/* 5. Move the 'Remove' X to the top right corner */
.product-remove {
    position: absolute !important;
    right: 0;
    top: 15px;
    padding: 0 !important;
}

/* 6. Fix the bulk actions area at the bottom */
.tinvwl-table-manage-list tfoot, 
.tinvwl-table-manage-list tfoot tr, 
.tinvwl-table-manage-list tfoot td {
    display: block !important;
    padding: 20px 0 !important;
}

/* Simple mobile adjustment */
@media (max-width: 600px) {
    .tinvwl-table-manage-list tr.wishlist_item {
        flex-direction: column;
        align-items: flex-start;
    }
    .product-thumbnail {
        margin-bottom: 10px;
    }
}




















/* --- THE "ANTI-SHIT" MOBILE OVERHAUL --- */

@media (max-width: 768px) {
    /* 1. Reset the container and force card style */
    .tinv-wishlist tr.wishlist_item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 40px 20px 25px 20px !important;
        margin-bottom: 20px !important; /* Space between cards */
        border: 1px solid #eee !important; /* Box around the card */
        border-radius: 12px !important;
        background: #fff !important;
        position: relative !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    }

    /* 2. Fix that Remove Button (The 'X') */
    .product-remove {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 10 !important;
    }

    .product-remove button {
        background: #f5f5f5 !important;
        border-radius: 50% !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: none !important;
        font-size: 14px !important;
    }

    /* 3. Fix the Checkbox (Top Left) */
    .product-cb {
        position: absolute !important;
        top: 15px !important;
        left: 15px !important;
        width: auto !important;
        padding: 0 !important;
    }

    /* 4. The Image Container */
    .product-thumbnail {
        margin-bottom: 20px !important;
        padding: 0 !important;
    }

    .product-thumbnail img {
        max-width: 140px !important;
        height: auto !important;
        border-radius: 8px !important;
    }

    /* 5. Typography Fixes (Poppins) */
    .product-name {
        margin-bottom: 10px !important;
    }

    .product-name a {
        font-family: 'Poppins', sans-serif !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        color: #000 !important;
    }

    .product-price {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
        color: #444 !important;
    }

    /* Hide the date if it's cluttering things up */
    .product-date {
        display: none !important;
    }

    /* 6. Stock Status */
    .product-stock {
        margin-bottom: 15px !important;
    }

    .product-stock p {
        font-size: 0.85rem !important;
        font-weight: 500 !important;
    }

    /* 7. The "Read More" / Add to Cart Button */
    .product-action {
        width: 100% !important;
        padding: 0 !important;
    }

    .product-action .button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        background: #000 !important;
        color: #fff !important;
        border-radius: 50px !important;
        padding: 14px !important;
        font-family: 'Poppins', sans-serif !important;
        font-weight: 600 !important;
        text-transform: uppercase;
        font-size: 13px !important;
    }
    
    .product-action .woostify-svg-icon {
        margin-right: 8px;
    }
}/* End custom CSS */