/*
ST1 Modernized
Plain CSS modernization layer.
Loaded after the legacy theme stylesheet.
Do not compile with the legacy Sass/Gulp pipeline.
*/

/* WooCommerce Sortierung */
.woocommerce .woocommerce-ordering select.orderby {
	width: 100%;
	height: calc(1.5em + 0.75rem + 2px);
	padding: 0.375rem 1.75rem 0.375rem 0.75rem;
	color: #495057;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 8px 10px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.woocommerce .woocommerce-ordering select.orderby:focus {
	border-color: #bfb3ff;
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(85, 51, 255, 0.25);
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce .woocommerce-ordering select.orderby {
		transition: none;
	}
}

/* Related Products */
.single-product section.related.products > h2 {
	display: block;
	line-height: 2;
	margin-top: 25px;
	margin-bottom: 15px;
	font-size: 22px;
	font-weight: 400;
	text-align: center;
}

.single-product section.related.products > h2::after {
	display: block;
	width: 100px;
	height: 2px;
	margin: auto;
	background-color: #f9f9f9;
	content: "";
}

@media (min-width: 992px) {
	.single-product section.related.products > h2 {
		font-size: 24px;
		text-align: left;
	}

	.single-product section.related.products > h2::after {
		margin: 0;
	}
}

/* Produkt: In den Warenkorb */
.woocommerce div.product form.cart button.single_add_to_cart_button {
	float: none;
	border: 1px solid #399946;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:focus {
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(111, 82, 255, 0.5);
}

.woocommerce div.product form.cart button.single_add_to_cart_button.loading {
	opacity: 1;
}

.woocommerce div.product form.cart button.single_add_to_cart_button.loading::after {
	animation: none;
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce div.product form.cart button.single_add_to_cart_button {
		transition: none;
	}
}

/* Varianten: Attributname ausblenden */
.woocommerce div.product form.cart .variations th.label {
	display: none;
}

/* Verfügbarkeit: Info-Icon vor dem grünen Punkt ausblenden */
.woocommerce div.product form.cart .woocommerce-variation-availability > p.in-stock::before {
	content: none;
}

/* FiboSearch 1.34 Pirx: geschlossene Desktop-Suche an den Live-Zustand angleichen */
@media (min-width: 992px) {
	#header_search:not(.header_search_wide) .dgwt-wcas-search-input {
		height: 40px;
		margin: 0;
		padding: 10px 0 10px 40px !important;
		font-size: 14px;
		font-style: normal;
		font-weight: 400;
		background: #fff;
		border: 0 !important;
		border-bottom: 2px solid #1a1a1a !important;
		border-radius: 1px;
		box-shadow: none;
	}

	#header_search:not(.header_search_wide) .dgwt-wcas-search-input::placeholder {
		color: #adacac;
		font-style: normal;
		font-weight: 400;
		opacity: 1;
	}

	#header_search:not(.header_search_wide) .dgwt-wcas-search-submit {
		position: absolute;
		left: 12px;
		top: 13px;
		width: 20px;
		height: 20px;
		min-width: 0;
		min-height: 0;
		margin: 0;
		padding: 0;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		line-height: 0;
	}

	#header_search:not(.header_search_wide) .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier {
		display: block;
		width: 20px;
		height: 20px;
		max-width: 20px;
		max-height: 20px;
		margin: 0;
		color: #1a1a1a;
		fill: #1a1a1a;
		opacity: 0.8;
		vertical-align: middle;
	}

	#header_search.header_search_wide {
		padding-top: 0;
	}
}

/* BeRocket 3.3: geschlossene Filteroptik an den bisherigen ST1-Zustand angleichen */
#pkat_sidebar_filterbox .bapf_sfilter {
	margin-bottom: 15px;
}

#pkat_sidebar_filterbox .bapf_head {
	margin-bottom: 15px;
	border-bottom: 2px solid #f9f9f9;
}

#pkat_sidebar_filterbox .bapf_head h3 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
}

#pkat_sidebar_filterbox .bapf_sfilter .bapf_body ul > li {
	margin-bottom: 5px !important;
}

#pkat_sidebar_filterbox .bapf_sfilter .bapf_body ul > li label {
	margin-left: 10px;
}

#pkat_sidebar_filterbox .bapf_colaps_smb {
	font-family: "bootstrap-icons" !important;
	font-weight: 400 !important;
	font-style: normal;
	color: #554e5b;
}

#pkat_sidebar_filterbox .fa-chevron-up::before {
	content: "\f286" !important;
}

#pkat_sidebar_filterbox .fa-chevron-down::before {
	content: "\f282" !important;
}

#pkat_sidebar_filterbox .fa-star,
#pkat_sidebar_filterbox .fa-star-o {
	font-family: "bootstrap-icons" !important;
	font-weight: 400 !important;
	font-style: normal;
}

#pkat_sidebar_filterbox .fa-star::before {
	content: "\f586" !important;
}

#pkat_sidebar_filterbox .fa-star-o::before {
	content: "\f588" !important;
}

#pkat_sidebar_filterbox .bapf_clr_span {
	border-radius: 50px;
	border: 2px solid #eee !important;
}

#pkat_sidebar_filterbox .bapf_sfilter input:checked + label .bapf_clr_span {
	border: 2px solid #399946 !important;
}

/* WooCommerce Bestellbestätigung: Bootstrap .col-1/.col-2 nicht auf Adressspalten anwenden */
#page_checkout .woocommerce-customer-details .col2-set > .col-1,
#page_checkout .woocommerce-customer-details .col2-set > .col-2 {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}
