.wcv_single_product_actions a {
    margin-right: 8px;
}

/* WCV - Add spacing between product actions on Vendor Dashboard > Product */
.wcvendors-table-product .row-actions-product a {
	margin-right: 8px;
}

/* Remove dropdown at the bottom of the Vendor Dashboard */
.elementor-widget-container:has(#wcv-store-settings)>span .selection {
    display: none;
}
 
/* Change the color and radius of button on the Vendor Dashboard */
.wcv-button {
    background-color: #F59A57;
    border-radius: 100px;
}

/* WCV - Add spacing between order actions on Vendor Dashboard > Order */
.wcvendors-table-order .row-actions-order a {
	margin-right: 8px;
}

/* WCV - Hide extra error notice to connect with Stripe */
.wcvendors-pro-dashboard-wrapper .wcv-main-content>ul.woocommerce-error {
    display: none;
}

.wcv-main-content>span.select2-container {
display: none;
}

.wcv-product-details-table tbody>tr>th {min-width: 100px}

.wcv-select-list .wcv-select-item[data-value="external"],
.wcv-select-list .wcv-select-item[data-value="grouped"] {
display: none
}

.wcv-main-content.vertical>p. {
display: none
}

.wcv-main-content > ul.woocommerce-error:first-of-type {
    display: none;
}

.wcvendors-pro-dashboard-wrapper > .wcv-grid > form#wcv-store-settings .wcv-button-group.small {
    left: 130px;
    position: relative;
}
#wcv-product-edit #product-type {
    width: auto;
    height: auto;
}
.wcv_vendorslist.grid small.vendors_list--shop-phone,
.wcv_vendorslist.grid small.vendors_list--shop-address,
.wcv_vendorslist.grid .vendor_list .vendor_list_info br {
    display: none;
}
.wcv-store-header.header-modern .address.block,
.wcv-store-header.header-modern .sales.block{
    visibility: hidden;
}

.wc_payment_method.payment_method_stripe-checkout {
    display: none;
}

/* CONSTRAIN THE PRODUCT TITLE */
.wd-entities-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em; 
    line-height: 1.4em;
}
    
    /* CENTERING */
    display: flex !important;
    align-items: center !important; 
    justify-content: center !important; 
}

/* FINAL ATTEMPT TO FORCE IMAGE SIZE AND CONTAINMENT */
.product-element-top { 
    /* Set the fixed size for the container */
    height: 242px !important; 
    width: 242px !important; 
    overflow: hidden !important; /* CRITICAL: Hides any overflowing content */
    
    /* Centering is still important */
    display: flex !important;
    align-items: center !important; 
    justify-content: center !important; 
}

/* TARGET IMAGE AND ITS LINK WRAPPER WITH ABSOLUTE PRIORITY */
.product-element-top img,
.product-element-top .product-image-link {
    /* Force 100% dimensions on all child elements */
    width: 100% !important;
    height: 100% !important;
    
    /* Crucial containment rules */
    object-fit: contain !important;
    max-width: 100% !important;
    max-height: 100% !important;

    /* Margin cleanup */
    margin: 0 auto !important;
}

/* Keep your existing rules for product-wrapper and wd-entities-title below this */

/* 4. TILE HEIGHT FIX (Kept for overall uniformity) */
.product-wrapper {
    min-height: 255px;
}

/* Hides the category/tag list that is stretching the tiles */
.wd-product-cats {
    display: none !important;
}