/*
Theme Name:   HelloBiz pdChild
Description:  Child Theme f. HelloBiz
Author:       pott.digital
Template:     hello-biz
Version:      1.0.0
Text Domain:  hello-biz-child-bypd
*/


/*wC*/
#primary{margin-top: 7em;}
#primary .woocommerce-breadcrumb {display:none}
#content.post-1837, #content:has(.wp-block-woocommerce-checkout) { /* wC-wk*/
    margin-top: 10em;
}
.wc-block-components-button, .single_add_to_cart_button {background:var(--e-global-color-accent) !important;color:#fff !important;border-color:transparent !important}

.wc-block-components-totals-coupon__form .wc-block-components-button:hover{background:#fff;color:var(--e-global-color-accent) !important;border-color:var(--e-global-color-accent) !important}
.wc-block-cart__submit-container a{text-decoration:none !important}
.wc-block-components-totals-item__value{
    flex-grow: 1;
    text-align: right;
}
/* keine unterscheidung möglich..., leider .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {color:#fff;background:tomato;font-weight:bold;padding:.3em .6em;text-align:center} */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price
Specificity: (0,3,2), .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {color: var( --e-global-color-primary ) !important}

form.cart .quantity:has(input[type=number])::before {content:"für"}
form.cart .quantity:has(input[type=number])::after {content:"Person(en)"}
form.cart .quantity:has(input[type=hidden]) ~ .single_add_to_cart_button {
	display: block !important;
    float: none !important;
    width: 100% !important;
}

.product_meta>span{display:block}
.product_meta *{font-size:.8rem !important}


.woocommerce-product-gallery__wrapper, .woocommerce-product-gallery__wrapper>div, .woocommerce-product-gallery__wrapper>div>a, .woocommerce-product-gallery__wrapper>div>a>img{max-height: 40vh !important;}
.woocommerce-product-gallery__wrapper>div>a>img{height: 100% !important;width: auto !important;}
.woocommerce-product-gallery>ol.flex-control-thumbs {margin-top:1em !important}

.related.products::before{content:"Weitere Termine";font-size: 2rem;font-weight: 500;}
.related.products>h2{display:none}


/*Terminliste*/
.pdtl ul.products.columns-1 li.product {display:flex;align-items:center;margin-bottom:20px}
.pdtl ul.products.columns-1 li.product img {width:100px;height:auto;margin-right:20px;float:left}
.pdtl ul.products.columns-1 li.product .price {min-width:min(50vw,500px)}
.pdtl ul.products.columns-1 li.product .woocommerce-loop-product__title,
.pdtl ul.products.columns-1 li.product .price,
.pdtl ul.products.columns-1 li.product .button {margin:0}