/*
Theme Name: TheGem Child
Description: Multi-Purpose Wordpress Theme
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
Text Domain: thegem
*/


.thegem-te-product-add-to-cart form.grouped_form table.woocommerce-grouped-product-list td {
    padding: 0px 8px;
}

@media (max-width: 767px) {
    .thegem-te-product-add-to-cart form.grouped_form table.woocommerce-grouped-product-list tr {
        flex-direction: row !important;
    }
}

.thegem-te-product-add-to-cart .gem-attribute-selector.type-color .gem-attribute-options li {
    width: 25px;
    height: 25px;
}

.thegem-te-product-add-to-cart .gem-attribute-selector .gem-attribute-options li .color {
    width: 19px;
    height: 19px;
}

.brandimage img {
    width: 140px;
    height: auto;
    margin-bottom: -5px;
}

.header-background:before {
    box-shadow: 0px 5px 5px -5px rgba(0, 0, 0, 0.15) inset !important;
}

.woocommerce-grouped-product-list-item__price {
    display:none;
}

/* Image à gauche */
.woocommerce-grouped-product-list-item__image {
    order: 1;
    margin-right: 20px;
}

/* Le texte (URL du produit) au milieu et qui prend toute la place disponible */
.woocommerce-grouped-product-list-item__label {
    order: 2;
    flex: 1; 
}

/* La quantité (+/-) à droite sous le texte */
.woocommerce-grouped-product-list-item__quantity {
    order: 3;
    margin-left: 20px; 
    margin-top: 10px; /* Ajustez pour positionner sous le texte */
    align-self: flex-start;
}

/* Le prix à la fin, s'il y en a besoin */
.woocommerce-grouped-product-list-item__price {
    order: 4;
}

/* Cacher la colonne Subtotal dans l'en-tête et le corps du tableau */
th.product-subtotal, 
td.product-subtotal {
    display: none !important;
}

/* Cacher le bouton "Update cart" */
.actions .update-cart, 
.actions .gem-button-container.update-cart {
    display: none !important;
}

/* Optionnel : Ajuster l'alignement ou toute autre mise en forme 
   afin que la colonne Quantity soit visuellement la dernière à droite */
.shop_table.shop_table_responsive.cart .product-quantity {
    text-align: right;
}


.gem-button-container.gem-button-position-inline.mini-cart-checkout {
    display: none;
}

span.woocommerce-Price-amount.amount{
    display: none;
}

.woocommerce-mini-cart__subtotal {
    display: none !important;
}

span.quantity {
    display: none !important;
}