:root {
	--wd-text-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 16px;
	--wd-title-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-transform: none;
	--wd-entities-title-color: rgb(36,36,36);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 15px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(10,2,2);
	--wd-alternative-color: rgb(237,27,36);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(10,2,2);
	--btn-accented-bgcolor-hover: rgb(48,48,48);
	--wd-form-brd-width: 0px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(248,248,248);
	background-image: url(https://rototeh.lv/wp-content/uploads/2022/05/popup-banner.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-nav.wd-nav-secondary > li > a {
	font-family: "Mulish", Arial, Helvetica, sans-serif;
	font-weight: 800;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 18px;
	text-transform: none;
}
html .wd-nav-mobile > li > a {
	text-transform: none;
}
.whb-general-header .wd-nav.wd-nav-secondary > li > a {
	font-weight: 400;
	color: rgb(119,119,119);
}
.whb-general-header .wd-nav.wd-nav-secondary > li:hover > a, .whb-general-header .wd-nav.wd-nav-secondary > li.current-menu-item > a {
	color: rgb(36,36,36);
}
html .entry-summary .single_add_to_cart_button, .wd-single-add-cart .single_add_to_cart_button, html .wd-sticky-btn-cart .single_add_to_cart_button, html .wd-sticky-btn-cart .wd-sticky-add-to-cart, html .wd-sticky-btn.wd-quantity-overlap div.quantity :is(input[type],.btn) {
	color: rgb(255,255,255);
	background: rgb(10,2,2);
}
html .entry-summary .single_add_to_cart_button:hover, .wd-single-add-cart .single_add_to_cart_button:hover, html .wd-sticky-btn-cart .single_add_to_cart_button:hover, html .wd-sticky-btn-cart .wd-sticky-add-to-cart:hover, html .wd-sticky-btn.wd-quantity-overlap .cart:hover > div.quantity :is(input[type],.btn), html .wd-sticky-btn.wd-quantity-overlap .cart:hover > div.quantity+.button {
	color: rgb(255,255,255);
	background: rgb(63,52,51);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(119,119,119);
	--wd-form-placeholder-color: rgb(119,119,119);
	--wd-form-bg: rgba(15,15,15,0.04);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 15px;
}
.woocommerce-product-gallery.thumbs-position-left {
	--wd-thumbs-width: 150px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}
	html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
		font-size: 16px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 10px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}
	html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
		font-size: 16px;
	}
	.woocommerce-product-gallery {
		--wd-gallery-gap: 4px;
	}

}
:root{
--wd-container-w: 1390px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

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


.wd-page-title {
background-color: rgb(217,217,217);
}

/* Kad ir apakškategorijas — slēp WooCommerce produktu grid dublikātu */
.cat-has-children .wd-products {
    display: none !important;
}

/* Kad nav apakškategoriju — slēp kategoriju elementu */
.cat-is-leaf .woodmart-product-categories {
    display: none !important;
}
/* Product Filters button */
.elementor-widget-wd_product_filters .wd-pf-btn > button {
  color: #ffffff !important;
  background-color: #ED1B24 !important;
  border: 1px solid #ED1B24 !important;
}

/* If button text is wrapped in span/icon */
.elementor-widget-wd_product_filters .wd-pf-btn > button *,
.elementor-widget-wd_product_filters .wd-pf-btn > button span {
  color: #ffffff !important;
}

/* Hover */
.elementor-widget-wd_product_filters .wd-pf-btn > button:hover {
  color: #ffffff !important;
  background-color: #AF0D15 !important;
  border-color: #AF0D15 !important;
}

.whb-header .sub-menu-dropdown .wd-nav-img,
.whb-header .sub-menu .wd-nav-img {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  object-fit: contain;
}
/* Equal-height category cards */

/* Move background to the grid item itself — it already fills the full row height via CSS Grid stretch */
.wd-cats.wd-products-with-bg .wd-col.wd-cat {
    background-color: var(--wd-prod-bg);
    border-radius: var(--wd-cat-brd-radius, var(--wd-brd-radius));
}
/* Remove duplicate background from wd-cat-wrap (it is now on the grid item) */
.wd-cats.wd-products-with-bg .wd-col.wd-cat .wd-cat-wrap {
    background-color: transparent !important;
}

/* Normalise image area to 1:1 ratio so all cards have equal image height */
.wd-cat-thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.wd-cat-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.wd-cat-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Brand-filtered pages: show both products and (brand-filtered) subcategory tiles */
.cat-brand-active .wd-products              { display: block !important; }
.cat-brand-active .woodmart-product-categories { display: block !important; }
/* === PRODUCT THUMB EQUAL HEIGHT === */
/* Fiksēts kvadrāta izmērs produktu attēliem katalogā — neatkarīgi no foto izmēra */
.wd-product .wd-product-thumb > .wd-product-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
}
.wd-product .wd-product-thumb > .wd-product-img-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
