:root {
	--wd-text-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 16px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(181,158,99);
	--wd-alternative-color: rgb(150,73,73);
	--btn-default-bgcolor: rgb(51,51,51);
	--btn-default-bgcolor-hover: rgb(0,0,0);
	--btn-accented-bgcolor: rgb(51,51,51);
	--btn-accented-bgcolor-hover: rgb(0,0,0);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(221,133,0);
	--notices-warning-color: #fff;
	--wd-link-color: rgb(30,115,190);
	--wd-link-color-hover: rgba(30,115,190,0.7);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 250px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(0,0,0);
	background-image: none;
}
.wd .product-label.onsale {
	background-color: rgb(0,0,0);
	color: rgb(255,255,255);
}
.wd .product-label.new {
	background-color: rgb(99,165,51);
	color: rgb(255,255,255);
}
.wd .product-label.featured {
	background-color: rgb(221,153,51);
	color: rgb(255,255,255);
}
.wd .product-label.out-of-stock {
	background-color: rgb(221,51,51);
	color: rgb(255,255,255);
}
.wd .product-label.attribute-label:not(.label-with-img) {
	background-color: rgb(30,115,190);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery.thumbs-position-left {
	--wd-thumbs-width: 150px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1440px;
--wd-form-brd-radius: 5px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1440px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

[class*="wd-swatches"].wd-dis-style-1 .wd-swatch.wd-disabled {
	opacity: 1 !important;
	cursor: default;
}

p.stock {
	display: block;
	line-height: 1.5em !important;
}

p.stock > span {
	display: inline-block !important;
}

.is-orderable > span {
	display: inline-block;
	background: #fdf4d1;
	color: #624e17;
}

.is-orderable a:link,
.is-orderable a:visited {
	color: #624e17;
	display: inline-block;
	border-bottom: solid 1px #624e17;
}

.is-orderable a:hover,
.is-orderable a:active {
	border-bottom: solid 1px transparent;
}

p.stock.wd-style-with-bg:is(.available-on-backorder, .in-stock) span {
	color: #5A7D36;
}

p.stock.wd-style-with-bg.in-stock span::before {
	display: none;
}

fieldset.hidden-fields-container {
	display: none !important;
}

video[loop][muted] {
  border-radius: 12px;
  overflow: hidden; 
}

.product-grid-item .tatrapayplus-paylater {
	display: none !important;	
}

.wd-sticky-btn-cart na-splatky-button,
.wd-sticky-btn-cart .woobt-wrap,
.wd-sticky-btn-cart .enigma-gr-badge {
	display: none !important;
}

.size-x500 {
	max-height: 500px !important;
	width: auto !important;
}

.wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu > li > a {
	text-transform: none !important;
	display: block !important;
	text-align: center !important;
}

.wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu > li > a .wd-nav-img {
	display: block;
	max-height: 75px !important;
	width: auto;
	margin: 0 auto 10px auto;
}

.wd-design-aside .sub-sub-menu .sub-sub-menu {
	display: none;
}

.category-grid-item:not(:has(~ .category-grid-item)) + .product {
    grid-column-start: 1;
}


.enigma-demo-badge {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 7px 11px;
    margin: 8px 0;
    background: #edf7f1;
    color: #216746;
    border: 1px solid #c6e5d2;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

/* Reset predvolených tieňov a výšky kontajnera */
body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-wrap {
    height: 100%;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Hlavná kompaktná karta (Shoptet štýl) */
body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    min-height: 60px;
    padding: 8px 14px;
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    box-shadow: none !important;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* Hover efekt karty – tmavší sivý okraj a 5 % čierne pozadie */
body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-inner:hover {
    border-color: #b0b0b0;
    background-color: rgba(0, 0, 0, 0.05);
}

/* Miniatúra vľavo */
body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt.categories-with-shadow .wd-cat-thumb,
body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-thumb {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0 12px 0 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 3px;
	  box-shadow: none !important;
}

body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-thumb .wd-cat-image {
    display: block;
    width: 100%;
    height: 100%;
}

body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zmeň na 'contain', ak budeš mať fotky na bielom pozadí */
    transform: none !important; /* Vypne zoom efekt WoodMartu pri hoveri */
}

/* Názov kategórie vpravo od obrázka */
body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-content {
    position: static;
    flex: 1;
    padding: 0 18px 0 0 !important; /* Priestor pre šípku vpravo */
    margin: 0 !important;
    text-align: left !important;
    background: transparent !important;
}

body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-entities-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    color: #333333;
    text-transform: none; /* Zruší kapitálky */
    transition: color 0.2s ease;
}

/* Mierne stmavenie textu pri hoveri */
body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-inner:hover .wd-entities-title {
    color: #111111;
}

/* Šípka vpravo (>) */
body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-inner::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid #999999;
    border-right: 1.5px solid #999999;
    transform: translateY(-50%) rotate(45deg);
    transition: border-color 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

/* Stmavenie a jemný posun šípky vpravo pri hoveri */
body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-inner:hover::after {
    border-color: #333333;
    transform: translateY(-50%) translateX(2px) rotate(45deg);
}

/* Úprava pre mobily */
@media (max-width: 767px) {
    body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-inner {
        padding: 6px 10px;
        min-height: 50px;
    }
    body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-thumb {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        margin-right: 8px !important;
    }
    body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-entities-title {
        font-size: 13px;
    }
    body:is(.post-type-archive-product, .tax-product_cat) .wd-cat.cat-design-alt .wd-cat-inner::after {
        right: 10px;
    }
}