/* 
* Theme Name: Hello Elementor Child
* Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
* Author: Elementor Team
* Author URI: https://elementor.com/
* Template: hello-elementor
* Version: 1.0.9
* Text Domain: hello-elementor-child
* License: GNU General Public License v3 or later.
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
* GitHub Theme URI: https://github.com/PromoTime24/child-hello-elementor-rp
*/

/*** Allgemeines ***/
/* h2 */
.content-page h2 {
    padding-top: 33px;
}

/* Abstandstrenner mit Margin top und bottom */
.elementor hr {
    margin-top: 36px;
    margin-bottom: 36px;
}

/*** ONLINESHOP ***/
/* Anpassung Warenkorb */
.post-10279 .entry-title {
	padding-top: 90px;
}

/* Anpassung für kleinere Bildschirme (maximale Breite 768px) */
@media (max-width: 768px) {
    .post-10279 .entry-title {
        padding-top: 60px;
    }
}

.post-10279 .alignwide {
    margin-left: 0px;
    margin-right: 0px;
}

.post-10279 table tfoot th, table thead th {
    font-size: 1.6em;
}

.post-10279 .wc-block-components-product-name {
    font-size: 1.35em;
}

.post-10279 .wc-block-components-product-metadata {
    font-size: 1em;
}

.post-10279 .is-large.wc-block-cart .wc-block-cart__totals-title {
	font-size: 1.1em;
}

.post-10279 table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
	font-size: 1em;
}

/* Anpassung "Zum Warenkorb" */
.elementor-widget-wc-add-to-cart .elementor-widget-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.elementor-button-wrapper {
    width: 100%;
    margin-bottom: 10px;
}

.elementor-button-wrapper .elementor-button {
    width: 100%;
}

.added_to_cart.wc-forward {
    display: block;
    text-decoration: underline;
    padding: 7.5px 0;
}

/* Anpassung Farbe von WooCommerce */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt {
    background-color: var(--e-global-color-accent);
    color: var(--e-global-color-text);
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:hover {
    background-color: var(--e-global-color-accent);
    color: var(--e-global-color-text);
}

/* Produktbild auf Cover */
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:first-child img {
    object-fit: cover; 
    width: 100%;
    height: 560px !important;
}

/* Anpassung für kleinere Bildschirme (maximale Breite 768px) */
@media (max-width: 768px) {
    .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:first-child img {
        height: 300px !important;
    }
}

/****** WooCommerce ******/
/* Bestellübersicht */
.wc-block-components-order-summary .wc-block-components-panel__button {
    padding: 9px !important;
}

/* Gutschein hinzufügen */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
    padding: 9px !important;
}

/* Bestellübersicht ausgeklappt */
@media (max-width: 768px) {
    .woocommerce-checkout-review-order {
        display: block !important;
    }
    .woocommerce-checkout-review-order-table {
        display: block !important;
    }
}

/* Produktanzeige, wenn Warenkorb leer entfernen */
.wc-block-grid__products {
    display: none !important;
}