/* shipping form */

#shipping .field {
	display: flex;
	gap: 20px;
	
}

#shipping .field label {
	width: 120px;
	margin-top: 15px;
}

#shipping .field > label + .control {
    width: calc(100% - 140px);
    margin: 0px 0 0 auto;
}

#shipping .field > legend + .control {
	width: 500px;
}

#shipping .field label + .control input, #shipping .field label + .control select {
	width: 100%;
	height: 50px;
	border: 1px solid #878787;
}

#shipping .field-tooltip {
	transform: translate(calc(100% + 10px), 10px);
}

#shipping .field-tooltip-content {
	transform: translateY(-3px);
}

#shipping fieldset.street > legend {
	position: relative;
	top: 15px;
}

#shipping div[name="shippingAddress.street.0"] span {
	display: none !important;
}

#shipping div[name="shippingAddress.street.0"] > .control {
	margin-top: -30px;
}

#shipping div[name="shippingAddress.street.0"] + .additional {
	margin-top: -20px;
}

#shipping div[name="shippingAddress.street.0"] label:before {
	content: "Hausnummer / Stiege / Tür";
	position: relative;
	top: 25px;
	display: inline-block;
	line-height: 1.3em;
}

/* footer preserve space */

footer {
	z-index: 2;
	position: relative;
}

/* right block */

div.opc-wrapper {
	width: calc(100% - 860px);
}

#checkout aside[role="dialog"] {
	width: 840px;
}

#opc-sidebar {
	display: flex;
	flex-direction: row-reverse;
	width: 100%;
}

	#opc-sidebar > div {
		width: calc((100% - 40px) / 2);
		margin-left: 20px;
	}

/* contact form */

.bfb-element .bfb-element-tooltip .bfb-element-tooltip-content {
	border-top: 3px solid var(--theme-color) !important;
}

#contact_checkbox_fix .mgz-element-inner .bfb-element-control { width: 35px; }
#contact_checkbox_fix .mgz-element-inner .bfb-element-label { width: calc(100% - 35px); }

#contact_checkbox_fix .bfb-error {
	width: 100%;
	position: absolute;
	top: 30px;
}

form.bfb-form .bfb-element-text-wrapper input {
	background: transparent;
}

form.bfb-form .bfb-element-text-wrapper input + div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	padding-left: 1em;
	z-index: -1;
	color: rgba(0, 0, 0, .5);
}

/* owl carousel */

.slider_container .owl-item {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #eee; 
}

	.slider_container .owl-item .item > div:first-child img {
		height: 140px !important;
		width: auto;
		margin: 0 auto;
	}

.slider_container .owl-carousel {
	position: relative;
}

/*
.custom-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
}
.custom-nav button {
	background-color: #333;
	color: #fff;
	border: none;
	padding: 10px;
	cursor: pointer;
}
*/

.slider_container .item {
	width: 100%;
	background: #fff;
}

.slider_container .item > div {
	text-align: center;
	padding: 5px 0;
}
.slider_container .item > div p {
	padding: 0 5px !important;
	margin-bottom: 0;
}
	
	/*
	.slider_container .item > div > p:first-child { padding-top: 20px !important; }
	.slider_container .item > div > p:last-child { padding-bottom: 20px !important; }
	*/

	/*
	.item > div:nth-child(3) {
		background: #fff;
	}
	*/

.slider_container {
	display: none;
	align-items: stretch;
	color: #000;
}

@media screen and (max-width: 1350px) {
	.slider_container {
		max-width: calc(100% - 100px);
		margin: 0 auto;
	}
}
	
	.slider_container .owl-carousel {
		width: calc(100% - 120px);
	}

.slider_container .item_wrapper {
	border-right: 3px solid #fff;
	width: 120px;
}
	
	.slider_container .item_wrapper > div {
		/* background: #eee; */
		padding: 5px 20px;
	}
	
	.slider_container .item_wrapper > div:nth-child(odd), .slider_container .item > div:nth-child(odd) {
		background: rgba(0, 0, 0, .025);
	}
	
	.slider_container .item_wrapper > div:nth-child(even), .slider_container .item > div:nth-child(even) {
		background: #eee;
	}

	.slider_container .item_wrapper > div:nth-child(1), 
	.slider_container .item_wrapper > div:nth-child(2) {
		/* background: #fff; */
	}
	
	/*
	.item_wrapper > div:nth-child(3) {
		color: #67b43b;
		background: #fff;
		background: rgba(0, 0, 0, .05);
	}
	
	*/

	.slider_container .item > div:not(:first-child), .item_wrapper > div {
		/* border-top: 3px solid #fff; */
	}

.owl-carousel .owl-nav button.owl-prev {
    left: -130px;
    transform: translateX(-100%);
}

.owl-carousel .owl-nav button.owl-next {
	transform: translateX(calc(100% + 10px));
}

@media (max-width: 991px) {
    body.categorypath-druck-produkte-roll-up .page-main-inner .sidebar.mobile-sidebar {
		transform: none !important;
		width: 100%;
		position: relative !important;
	}
	body.categorypath-druck-produkte-roll-up .page-main-inner .sidebar.mobile-sidebar .sidebar-content {
		overflow-y: hidden;
	}
}

@media only screen and (min-width: 768px) {
	.header-toprow, .header-main {
		top: 0;
		left: 0;
		z-index: 888;
	}
	body.categorypath-druck-produkte-roll-up .page-main-inner .sidebar.mobile-sidebar {
		margin-top: 10px;
	}
}

@media only screen and (max-width: 768px) {
    body.categorypath-druck-produkte-roll-up .page-main-inner .sidebar.mobile-sidebar,
    #sticky,
    #sticky.full_width_row,
    .magezon-builder #sticky.full_width_row,
    #sticky2,
    .header-main {
        position: relative !important;
        top: 0;
        margin-top: 0;
    }
}

.sidebar-content.sticky-active {
	position: initial !important;
}

svg.lucide.lucide-help-circle-icon {
    width: 30px !important;
    height: 30px !important;
}

#Info + div {
	cursor: pointer;
}

#InlineNotifications {
	position: fixed;
	top: 0;
	right: 0;
	transform: translateX(100%);
	background: #ffffff;
	padding: 2em;
	color: #000000;
	font-size: .9em;
	transition: transform, .3s;
	z-index: 9999;
	height: 100vh;
	width: 320px;
}

body.notificationsShow #InlineNotifications {
	transform: translateX(0);
}

body.notificationsShow .minicart-overlay {
	display: block !important;
}

/* read more functionality */

.read_more_link, .read_more_text .close {
	cursor: pointer;
	display: inline-block;
	margin: .5em 0 1em 0;
	color: #000;
}

.read_more_text {
	display: none;
}

.rollup-inline-scroll h3, .rollup-inline-scroll h3 + div {
	margin-bottom: 15px;
}

/* pseudoblock form rollup producte */

#pseudo_block {
	padding: 0;
	margin: 0;
	width: 230px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	background: #fff;
}

#pseudo_block .block-category-list .block-content {
    max-height: 55vh;
    overflow-y: auto;
}

@media only screen and (min-width: 993px) { /* 993 and up */
	
	body.has_pseudoblock .magezon-builder > :not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)) {
		/* max-width: calc(100% - 230px);
		margin-left: 230px; */
		max-width: calc(100% - 450px);
        margin: 0 auto;
	}

}

@media only screen and (max-width: 1200px) {
	
	#pseudo_block > .sidebar, .layout-fullwidth.page-layout-2columns-left #pseudo_block .sidebar-main,
	.layout-fullwidth.page-layout-2columns-left .column.main, .layout-fullwidth.page-layout-2columns-right .column.main	{
		width: 100%;
	}
	
}

@media only screen and (max-width: 992px) {

	#pseudo_block {
        position: relative !important;
        top: 0 !important;
        width: calc(100% - 1em);
        margin-left: 1em;
	}
		
		#pseudo_block .sidebar {
			transform: translateX(0) !important;
			position: relative !important;
		}

}

/* squares */

#Info > div, #Info ~ div > div {
    height: 75px;
    display: flex;
    align-items: center;
	justify-content: center;
}

/* popup */

.modal-popup.modal-slide, .modal-popup.modal-slide._inner-scroll._show {
	left: 0;
}
.modal-popup.modal-slide._inner-scroll .modal-inner-wrap {
	height: auto;
	min-height: 100%;
	margin: 1em auto;
	left: 0;
}

/* products */

.products {
    background: #fff;
}

/* overwrite */

.layout-fullwidth.page-layout-2columns-right .column.main {
	width: calc(100% - 335px) !important;
}

@media (min-width: 1200px) {
    
	.layout-fullwidth.page-layout-2columns-right .sidebar-main {
		width: 335px !important;
	}
	
}

/* read more */

/*

a.blog-post-more-link {
    visibility: hidden;
    position: relative;
}

a.blog-post-more-link:after {
	content: "Mehr Lessen »";
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
    background: #65b53b;
    border-radius: 3px;
    padding: 5px 10px;
    width: max-content;
	transition: background, .25s;
}

a.blog-post-more-link:hover:after {
	background: #777777;
}

*/



div.block-category-list .block-content ol li a {
    color: #000;
	max-width: 169px;
	min-width: 169px; 
	min-height: 44px;
}




/* Fix for custom button */
.sc-gEvEer.cDpdZI {
  min-width: 44px!important;
  min-height: 44px!important;
  padding: 10px;
  box-sizing: border-box;
}

/* Fix for Owl Carousel dots */
button.owl-dot {
  min-width: 20px;
  min-height: 20px;
  margin: 0 8px; /* Ensure spacing */
  padding: 12px;
  box-sizing: border-box;
}

/* Active Owl Carousel dot */
button.owl-dot.active {
  min-width: 20px;
  min-height: 20px;
  padding: 12px;
}

.owl-dot {
	width: 48px;
	height: 48px;
	margin: 8px; /* adds spacing between dots */
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 0; /* Ensure padding isn't reducing the touch area */
	border-radius: 50%; /* optional, for round dots */
}

/* code for new pages */

.sondermenue {
	padding: 10px;
	margin-top: 0;
	border-top: 6px solid #67b53b;
	border-radius: 2px;
}
	
	.sondermenue p.menue {
		font-size: 1.2em;
		font-weight: 600;
		margin-bottom: .5em;
	}

	.sondermenue li {
		padding: .7em 0 0 10px;
		line-height: 1.2em;
		font-size: 1em;
		font-weight: 100;
	}
	
	.sondermenue li a {
		color: #000000;
	}

/* fix page paddings */

.page-wrapper .page-main {
	padding: 0;
}

/* notifications for more than two products */

#twoproductsnotification {
	display: none;
}

body.custom-modal > *:not(.modal) {
	opacity: .5;
}

body.custom-modal .modal {
    position: fixed;
    top: 50vh;
    left: 50vw;
    transform: translate(-50%, -50%);
    background: #ed0000;
    color: #fff;
    padding: 1em;
    border: 1px solid black;
    cursor: pointer;
}
