/*
 Theme Name:  Hello Elementor Child
 Theme URI:   https://elementor.com/
 Description: Child-Theme für Alles Holz (PDF-Templates, WooCommerce-Anpassungen)
 Author:      Alles Holz
 Template:    hello-elementor
 Version:     1.0.1
 Text Domain: hello-elementor-child
*/

/* BUG-02 FIX: Shop-Anpassungen */

/* Produktbilder einheitliche Höhe */
.woocommerce ul.products li.product a img {
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Produkt-Titel nicht umbrechen */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem;
    line-height: 1.3;
    min-height: 2.6em;
}

/* Preis-Anzeige konsistent */
.woocommerce ul.products li.product .price {
    color: #2E7D32;
    font-weight: 600;
}

/* In den Warenkorb Button im Shop */
.woocommerce ul.products li.product .button {
    background: #2E7D32;
    color: #fff;
    border-radius: 6px;
    font-weight: 500;
}

.woocommerce ul.products li.product .button:hover {
    background: #1B5E20;
}

/* BUG-02: Piktogramme/Icons auf Produktkarten im Shop verstecken */
.woocommerce ul.products li.product .woocommerce-loop-product__title img,
.woocommerce ul.products li.product .woocommerce-loop-product__title .dashicons,
.woocommerce ul.products li.product .short-description img.emoji,
.woocommerce ul.products li.product .woocommerce-product-details__short-description img {
    display: none !important;
}

/* BUG-02: Kurzbeschreibung im Shop-Loop ausblenden (Rechner + 4 Zeilen) */
.woocommerce ul.products li.product .woocommerce-product-details__short-description,
.woocommerce ul.products li.product .short-description {
    display: none !important;
}

/* BUG-02: Einheitliche Textfarbe auf Produktkarten (kein heller Text) */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product a {
    color: #333 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #1a1a1a !important;
}

/* Einzelproduktseite: Buchungs-UI Styling */
.ah-booking-ui {
    margin-top: 20px;
}

/* Checkout: Fehler-Notices besser sichtbar */
.woocommerce-error {
    border-radius: 6px;
}