/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* ========================================
   Checkout Page Fixes
   ======================================== */

/* HAUPTREGEL: Versteckt ALLE Germanized Thumbnails überall */
.wc-gzd-cart-item-thumbnail {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Versteckt die doppelten Germanized Thumbnails auf der Checkout-Seite */
.woocommerce-checkout .wc-gzd-cart-item-thumbnail,
.woocommerce-checkout-review-order-table .wc-gzd-cart-item-thumbnail,
.shop_table .wc-gzd-cart-item-thumbnail,
body.woocommerce-checkout .wc-gzd-cart-item-thumbnail {
    display: none !important;
}

/* Versteckt die Germanized Thumbnails innerhalb des Produktnamens */
.woocommerce-checkout .wc-gzd-cart-item-thumbnail img,
.woocommerce-checkout h4 .wc-gzd-cart-item-thumbnail,
.product-info .wc-gzd-cart-item-thumbnail,
.cart_item .wc-gzd-cart-item-thumbnail {
    display: none !important;
}

/* Entfernt den zusätzlichen Wrapper */
.woocommerce-checkout .wc-gzd-cart-item-name-wrapper {
    display: inline;
}

/* Fix für doppelte Bestellung bearbeiten Blöcke */
.woocommerce-checkout .duplicate-element {
    display: none !important;
}

/* Alternative: Versteckt nur das Germanized Bild, behält aber das Salient Bild */
.woocommerce-checkout .product-info .wc-gzd-cart-item-thumbnail {
    display: none !important;
}

/* Stellt sicher, dass das Salient Produktbild sichtbar bleibt */
.woocommerce-checkout .cart_item .product-image {
    display: block !important;
    float: left;
    margin-right: 20px;
    width: 90px;
}

.woocommerce-checkout .cart_item .product-image img {
    width: 100%;
    height: auto;
}





