/*
Theme Name: Ofenscheune
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: Janis Bauer
Author URI:  https://www.raketenwerk.de
Template: salient
Version: 1.0
*/

#sidebar { 
	background-color: #f9f9f9; 
	border-radius: 5px; padding: 1.5%;	
	box-shadow: 0 10px 50px rgba(0,0,0,0.08), 0 13px 45px rgba(0,0,0,0.08); 
}

/* WooCommerce ------------ */

.woocommerce .material.product .product-wrap .product-add-to-cart .price, 
.material.product .product-wrap .product-add-to-cart a.nectar_quick_view,
.single_add_to_cart_button,
.woocommerce-variation-add-to-cart,
.price,
.woocommerce-grouped-product-list-item__price { display: none; }

.woocommerce ul.products li.product .woocommerce-loop-product__title { margin-bottom: 21px; }

.woocommerce .material.product .product-wrap .product-add-to-cart a > span, 
.woocommerce .material.product .product-wrap .product-add-to-cart a.added_to_cart { background-color: #f6653c; border: none; border-radius: 3px; color: #fff; font-size: 14px;  }
.woocommerce .material.product .product-wrap .price { display: none; }

.woocommerce .material.product .product-wrap .product-add-to-cart a:hover > span { background-color: #444; }

/*.single-product .single-product-main-image .flex-viewport,
.single-product .single-product-main-image .woocommerce-product-gallery__image */

.woocommerce .material.product .product-wrap .product-add-to-cart a { border: none; }

.single-product .wc-tab h2 { display: none; }

.single-product .woocommerce-product-details__short-description { margin-top: 20px; }

.single-product.woocommerce-page div.product .woocommerce-tabs ul.tabs li.active { background-color: transparent; border-bottom: 2px solid #f44f1d !important; color: #f44f1d; }

.main-content .wc-tab .woocommerce-product-attributes { border-top: none; }
.main-content .wc-tab .woocommerce-product-attributes tr th,
.main-content .wc-tab .woocommerce-product-attributes tr td { border: none !important; background-color: transparent !important; }
.main-content .wc-tab .woocommerce-product-attributes tr { border-bottom: 2px solid black; background-color: transparent !important; }
.main-content .wc-tab .woocommerce-product-attributes tr:last-child { border-bottom: none; }

.woocommerce .woocommerce-result-count { margin-right: 10px; }

.children > .cat-parent > .children { display: none; }
.children .current-cat .children,
.children .current-cat-parent .children { display: block; }

.product-categories .cat-item-15 { display: none;}


/*safari bug*/ .woocommerce .span_9 ul.products li.product { margin-right: 1.9%; }
/*safari bug*/ .woocommerce .span_9 ul.products li.product.last { margin-right: 0; }


/* ContactForm7 ------------ */

.wpcf7-acceptance span.wpcf7-list-item { 
	line-height: 20px; 
	font-size: 12px; 
	margin-left: 0; 	
}


@media screen and (max-width: 1280px) and (min-width: 1000px) {
	#top nav > ul.sf-menu > li > a { font-size: 14px; }
}

/* =====================================================================
   Anpassungen nach Update auf Salient 18.4.4 (PW DESIGN, 05.11.2026)
   Ziel: Darstellung wie unter Salient 12.1.3
   ===================================================================== */

/* Buttons und Formular Button wieder in Open Sans */
.nectar-button, a.nectar-button, .wpcf7-submit, .wpcf7 input[type="submit"] { font-family: "Open Sans", 'Open Sans-Roboto', 'Open Sans-Verdana', sans-serif; font-weight: 600; }

/* Leeres Preisfeld auf Produktseiten ausblenden (Salient 18 blendet es ein) */
.single-product .summary p.price { display: none !important; }

/* Überschrift der Produktkategorien wie H1 (70px, responsive Stufen wie im Theme) */
.nectar-shop-header > .page-title { font-size: 70px; line-height: 70px; }
@media only screen and (min-width: 1000px) and (max-width: 1300px) { .nectar-shop-header > .page-title { font-size: 52.5px; line-height: 52.5px; } }
@media only screen and (min-width: 690px) and (max-width: 999px) { .nectar-shop-header > .page-title { font-size: 49px; line-height: 49px; } }
@media only screen and (max-width: 690px) { .nectar-shop-header > .page-title { font-size: 45.5px; line-height: 45.5px; } }

/* Seitentitel im Headerbild: Abstand und Laufweite wie vorher */
body:not(.single):not(.search) #page-header-bg h1 { padding-top: 10px; padding-bottom: 10px; }
body.single #page-header-bg h1 { letter-spacing: -1px; }

/* Breadcrumb, Ergebniszeile und Trennlinie im Shop */
.woocommerce .woocommerce-breadcrumb { color: #aaa; }
.woocommerce .woocommerce-breadcrumb a, .woocommerce .woocommerce-breadcrumb i { color: #767676; }
.woocommerce .woocommerce-breadcrumb > span:last-child { opacity: 1; }
.single-product .woocommerce-breadcrumb { color: #767676; }
.woocommerce .woocommerce-result-count { color: #aaa; font-size: 16.56px; }
.woocommerce .nectar-shop-header { border-bottom: 1px solid #e4e4e4; }

/* Dropdown Schatten wie vorher */
body #header-outer nav > ul > li > ul.sub-menu { box-shadow: 0 19px 35px rgba(0,0,0,0.11) !important; }

/* Zahlen in der Kategorien Seitenleiste wieder mit grauem Hintergrund */
.widget .product-categories li:not(.current-cat) > .count { background-color: #ececec; color: #444; border-radius: 100px; width: auto; min-width: 20px; padding: 0 7px; }

/* Mobiles Menü: Schrift wie vorher */
body #slide-out-widget-area .inner .off-canvas-menu-container li a { font-size: 22px !important; line-height: 28px !important; font-weight: 400 !important; }

/* Suchergebnisse auf dem Handy: Überschrift wie vorher */
@media only screen and (max-width: 690px) { body.search #page-header-bg h1, body.search .page-header-no-bg h1, body.search h1 { font-size: 24px; line-height: 30px; } }

/* Footer Überschriften: Abstand wie vorher */
#footer-outer .widget h4 { margin-bottom: 15px; }

/* Inhaltsbreite Handy und Tablet: flexibel mit 20px Rand (Salient 18 Standard waeren ca. 12px) */
@media only screen and (max-width: 999px) {
	body .container, body .woocommerce-tabs .full-width-content .tab-container { max-width: calc(100% - 40px); }
	body #footer-outer[data-full-width="1"] .container { max-width: none; }
}

/* Shop Kopfzeile Desktop: Breadcrumb, Ergebniszeile und Sortierung in einer Zeile wie vorher */
@media only screen and (min-width: 1000px) {
	.woocommerce .nectar-shop-header { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; padding-bottom: 12px; margin-bottom: 40px; }
	.woocommerce .nectar-shop-header > .page-title { flex: 0 0 100%; }
	.woocommerce .nectar-shop-header > .woocommerce-breadcrumb { order: 1; flex: 1 1 auto; width: auto; margin-bottom: 0 !important; }
	.woocommerce .nectar-shop-header > .woocommerce-result-count { order: 2; margin: 0; float: none; }
	.woocommerce .nectar-shop-header > .woocommerce-ordering { order: 3; margin: 0; float: none; }
}
