/**
 * Lebendige Erde – WooCommerce-Darstellung für Katalog UND Testbenutzer.
 * WICHTIG: Keine globale Ausblendung von .w-cart, .disabled oder
 * .single_variation_wrap! Der Katalogmodus wird separat gesteuert.
 */

/* Produktlisten und Produktdetailseite. */
.product .product_meta {
    margin-top: 0;
}

.no-touch .woocommerce .button.add_to_cart_button:hover {
    background: transparent;
}

.product .w-grid-item-h {
    padding: 2px 30px 20px;
}

.w-post-elm.product_field.sku .w-post-elm-before {
    display: none;
}

/* Impreza-Header-Warenkorb: bleibt für Testbenutzer sichtbar. */
.w-cart-icon {
    background-color: var(--color-alt-content-link);
    color: #fff;
    border-radius: 50%;
}

.w-cart-icon .w-cart-quantity {
    color: #000 !important;
}

/* Warenkorb-Symbole in Produktkarten. */
.ajax_add_to_cart_button,
.add_to_cart_button,
.sold-out-btn,
.no_view_cart_link .product {
    z-index: 50;
    position: absolute;
    right: 22px;
    bottom: 48px;
}

.add_to_cart_button::before,
.sold-out-btn::before {
    display: inline-block;
    font-family: FontAwesome, fontawesome, sans-serif;
    content: "\f217";
    font-size: 32px;
    font-weight: 300;
    height: 2em;
    width: 2em;
    background-color: var(--color-alt-content-link);
    color: #fff;
    border-radius: 50%;
    line-height: 2em;
}

.no_view_cart_link .product::before {
    display: inline-block;
    font-family: FontAwesome, fontawesome, sans-serif;
    content: "\f324";
    font-size: 32px;
    font-weight: 300;
    height: 2em;
    width: 2em;
    background-color: var(--color-alt-content-link);
    color: #fff;
    border-radius: 50%;
    line-height: 2em;
}

.add_to_cart_button .g-preloader {
    top: 100%;
    width: 2em;
    height: 2em;
}

.add_to_cart_button .w-btn-label {
    display: none;
}

.woocommerce .button.add_to_cart_button {
    background: transparent;
    height: 2em;
    width: 2em;
}

/* Warenkorb. */
.woocommerce .cart_totals .checkout-button {
    margin-bottom: .6rem;
}

.woocommerce-cart table.cart img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.shop_table tr > :last-child {
    text-align: left;
}

.woocommerce .shop_table.cart .actions {
    text-align: right;
}

/* Gutscheinfeld ausschließlich im Warenkorb ausblenden. */
.woocommerce-cart .coupon,
.woocommerce-cart .custom-cart-coupon-row {
    display: none !important;
}

/* Checkout (klassisch). */
.woocommerce-checkout #order_review_heading {
    float: none;
    width: 100%;
}

.woocommerce-checkout .shop_table {
    background-color: transparent;
}

/* Die ursprüngliche globale `tbody::after`-Regel wurde bewusst entfernt.
 * Sie erzeugte zusätzliche Tabelleninhalte auf ALLEN Seiten. */
