/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/



.iframe-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
}
.iframe-container iframe,
.iframe-container object,
.iframe-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100%;
}



/* 2023/01/01 */
.shop-title-wrapper {
	display: flex;
	align-items: center;
}
.shop-title-wrapper h1 {
	margin: 0;
}

.yoast-breadcrumb span.breadcrumb_last:first-child {
	display: none;
}

.product-wrapper .product-label.new,
.single-product-content .woocommerce-product-gallery .product-label.new {
	background: #0C9549;
}

.product-wrapper .product-label.onsale,
.single-product-content .woocommerce-product-gallery .product-label.onsale {
	background: #ff8e00;
}
.product-wrapper .product-labels.labels-rounded .product-label,
.single-product-content .woocommerce-product-gallery .product-labels.labels-rounded .product-label {
	min-width: 0;
	max-width: 100vw;
	min-height: 0;
	max-height: 100vw;
	margin-bottom: 3px;
	padding: 10px 20px;
	text-transform: none;
	white-space: nowrap;
	border-radius: 20px;
}

.related-products .product-labels.labels-rounded .product-label {
	padding: 5px 10px;
	font-size: 12px;
}
.product-wrapper .product-labels.labels-rounded .product-label,
.single-product-content .woocommerce-product-gallery .product-labels.labels-rounded .product-label {

}

.wd-header-cart {
	float: right;
}
@media screen and (max-width: 700px) {
	.wd-header-cart {
		top: -9px;
		margin-right: 17px;
	}
	.wd-header-cart .subtotal-divider,
	.wd-header-cart .wd-cart-subtotal {
		display: none;
	}
}

/*
.product-grid-item :is(.product-image-link,.hover-img) img {
	max-height: 150px;
	object-fit: cover;
}
*/

@media screen and (max-width: 700px) {
	.content-container.footer .row {
		display: block;
		margin-left: 0;
		margin-right: 0;
	}
	.content-container.footer .row .col {
		padding-right: 0;
		padding-bottom: 15px;
	}
	.content-container.footer .row .col:last-child {
		padding-bottom: 0;
	}
}

/* show separator between item count and price in the header cart widget */
.gardeon .wd-header-cart .subtotal-divider {
	display: inline-block;
}

/* do not show cart icon for products out of stock */
.gardeon .wd-add-btn-replace .add-to-cart-loop:not(.add_to_cart_button):hover span {
	transform: none;
}
.gardeon .wd-add-btn-replace .add-to-cart-loop:not(.add_to_cart_button):hover:before {
	display: none;
}

.gardeon p.stock.wd-style-default {
	margin-top: 5px;
}
.gardeon p.stock.wd-style-default:is(.available-on-backorder,.in-stock) {
	color: var(--wd-primary-color);
}



header.gardeon #mobile-menu-overlay ul.product-categories li {
	padding: 0 75px 0 25px;
}
header.gardeon #mobile-menu-overlay ul.product-categories ul.children li {
	padding: 0 0 0 25px;
}
header.gardeon #mobile-menu-overlay ul.product-categories .wd-cats-toggle {
	top: 12px;
	inset-inline-end: 25px;
	width: 30px;
	height: 30px;
	font-size: 15px;
	line-height: 30px;
}
header.gardeon #mobile-menu-overlay ul.product-categories ul.children .wd-cats-toggle {
	inset-inline-end: -50px;
}



.button-cta-intro {
	color: #000;
	font-weight: bold;
}
.button-cta-container {
	text-align: center;
}
.button-cta,
.button-cta:hover {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
	padding: 20px 40px;
    font-family: eksterregular, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    background-color: #0c9549;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
    cursor: pointer;
}



.gar-mtop {
	margin-top: 24px;
}



#assembly_options {
	list-style: none;
	margin-bottom: 0;
}
#assembly_options input[type=radio] {
	position:relative;
	top: 4px;
	float: right;
	margin-inline-end: 0;
	margin-inline-start: 7px
}
#assembly_options label {
    margin-bottom: 10px;
}

.woocommerce-checkout-review-order-table tr.fee {
	display: none;
}



.woocommerce header.gardeon .top-block {
	padding-bottom: 18px;
}
.woocommerce header.gardeon .top-block .configurator-button {
	float: none;
	top: -10px;
}

.woocommerce header.gardeon .top-block .phone,
.woocommerce header.gardeon .top-block .email {
	margin-right: 24px;
}



.woocommerce-Price-amount {
	white-space: nowrap;
}



.onsale.product-label .amount {
	color: #fff;
}



/* 2023/09/21 zmeny podla https://crm.gardeon.sk/bug_reports  */

.widget_product_categories .cat-item em {
	font-style: normal;
	font-weight: bold;
	color: rgb(12, 149, 73);
}

.wd-shop-tools .selected-order {
	font-weight: bold;
}

@media (max-width: 768px) {
	body.theme-woodmart .title-size-default .entry-title {
		font-size: 24px !important;
	}

	.offcanvas-sidebar-mobile .shop-content-area:not(.col-lg-12) .wd-show-sidebar-btn {
		width: 100%;
	}
	.offcanvas-sidebar-mobile .shop-content-area:not(.col-lg-12) .wd-shop-tools {
		justify-content: flex-start !important;
	}

	.product-grid-item {
		margin-bottom: 40px !important;
	}

	.categories-accordion-on .widget_product_categories .product-categories {
		padding-inline-end: 40px;
	}

	.widget_product_categories .wd-cats-toggle {
		top: 0;
		width: 36px;
		height: 36px;
		line-height: 36px;
		inset-inline-end: -40px;
	}
}
