: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: none;
	--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 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;
}

/* ROTOTEH cat-card image fit fix (2026-08): real category images (e.g. BOFORS) rendered small/top-left; force contain + center + fill so they match placeholders */
.wd-cats .wd-cat .wd-cat-image{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;padding:14px!important;box-sizing:border-box!important;}
.wd-cats .wd-cat .wd-cat-image img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;margin:0 auto!important;display:block!important;}

/* Slēpt kategorijas virsrakstu virs precēm. */
body.tax-product_cat .wd-woo-page-title { display: none !important; }
/* Sarkans kategorijas nosaukums, uzvedot peli sānu izvēlnē. */.elementor-widget-wd_sidebar .widget_product_categories li.cat-item > a:hover { color: #ED1B24 !important; }.elementor-widget-wd_sidebar .widget_product_categories li.cat-item > a:hover { transition: none !important; color: #ED1B24 !important; }#woocommerce_product_categories-20#woocommerce_product_categories-20 .product-categories li > a:hover { color: #ED1B24 !important; }#woocommerce_product_categories-20#woocommerce_product_categories-20 .product-categories li.cat-item:has(> .wd-cats-toggle.toggle-active) > a:not(:hover),#woocommerce_product_categories-20#woocommerce_product_categories-20 .product-categories li.current-cat > a:not(:hover) { color: #111827 !important; font-weight: 700 !important; }#woocommerce_product_categories-20#woocommerce_product_categories-20 .product-categories li:is(.current-cat,.current-cat-parent,:has(> .wd-cats-toggle.toggle-active)) > a:hover { color: #111827 !important; font-weight: 700 !important; }@media (hover:hover) and (pointer:fine){html.rototeh-mm #menu-item-1114.wd-event-hover:hover .wd-sub-menu-wrapp > .wd-sub-menu > li.wd-event-hover.rototeh-active:not(:hover) > .wd-dropdown{visibility:hidden!important;opacity:0!important;pointer-events:none!important;}}#woocommerce_product_categories-20#woocommerce_product_categories-20 .product-categories li > a { font-size: 14px !important; }#woocommerce_product_categories-20#woocommerce_product_categories-20 .product-categories li > a:not(:hover) { color: #333333 !important; }/* Sanu kategoriju grupas ka galvenaja produktu izvelne. */#woocommerce_product_categories-20#woocommerce_product_categories-20 > ul.product-categories > li.cat-item { border-bottom: 1px solid rgba(0,0,0,.075) !important; }#woocommerce_product_categories-20#woocommerce_product_categories-20 > ul.product-categories > li.cat-item > a { display: block; padding-top: 12px !important; padding-bottom: 12px !important; line-height: 20px !important; min-height: 44px; box-sizing: border-box; }#woocommerce_product_categories-20#woocommerce_product_categories-20 > ul.product-categories > li.cat-item > .wd-cats-toggle { top: 11px !important; } /* Atjaunot pirmas grupas apaksizvelni, kamer katalogs ir atverts. */@media (hover:hover) and (pointer:fine){html.rototeh-mm #menu-item-1114.wd-event-hover:hover .wd-sub-menu-wrapp > .wd-sub-menu > li.wd-event-hover.rototeh-active:not(:hover) > .wd-dropdown{visibility:visible!important;opacity:1!important;pointer-events:auto!important;}} /* Hero kataloga galveno grupu sarkans hover. */#menu-item-1114 .wd-sub-menu-wrapp > .wd-sub-menu > li.menu-item:hover > a.woodmart-nav-link { color: #ED1B24 !important; } /* Hero apaksgrupas sarkanas, uzvedot peli. */#menu-item-1114 .wd-sub-menu-wrapp .wd-dropdown a:hover,#menu-item-1114 .wd-sub-menu-wrapp .wd-dropdown li:hover > a { color: #ED1B24 !important; } /* Demolēšanas aprīkojums: rādīt preces zem apakškategorijas. */body.term-3486.cat-has-children:not(.cat-brand-active) .elementor-widget-wd_archive_products { display: block !important; } /* Kategorijās ar savām precēm rādīt tās zem apakškategorijām. */ body.cat-has-children.rt-cat-own-products:not(.cat-brand-active) .elementor-widget-wd_archive_products { display: block !important; }