/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

:root {
  --wd-filter-text: #1f1a17;
  --wd-filter-muted: #7b746d;
  --wd-filter-border: #d9d1c7;
  --wd-filter-card-border: #ece6df;
  --wd-filter-card-bg: #fffdfa;
}

.wpfMainWrapper .wpfFilterWrapper {
  margin-bottom: 18px;
}

.wpfMainWrapper .wpfFilterTitle {
  margin-bottom: 2px;
}

.wpfMainWrapper .wpfFilterTitle .wfpTitle {
  color: var(--wd-filter-text);
}

.wpfMainWrapper .wpfFilterContent {
}

.wpfMainWrapper .wpfFilterContent {
  color: var(--wd-filter-text);
}

.wpfMainWrapper .wd-wpf-select-all,
.wpfMainWrapper .wd-wpf-more-toggle {
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--wd-filter-muted);
  font-size: 0.85rem;
  line-height: 1.25;
  cursor: pointer;
  transition: color 0.2s ease;
}

.wpfMainWrapper .wd-wpf-select-all {
  text-transform: none;
}

.wpfMainWrapper .wd-wpf-more-toggle {
  color: var(--wd-filter-text);
}

.wpfMainWrapper .wd-wpf-select-all:hover,
.wpfMainWrapper .wd-wpf-more-toggle:hover {
  color: #000;
}

.wpfMainWrapper .wpfFilterVerScroll {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.wpfMainWrapper .wpfFilterVerScroll > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wpfMainWrapper .wpfLiLabel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  color: var(--wd-filter-text);
}

.wpfMainWrapper .wpfDisplay {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: inherit;
  text-align: left;
}

.wpfMainWrapper .wpfValue {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.wpfMainWrapper .wpfFilterTaxNameWrapper {
  font-size: inherit;
}

.wpfMainWrapper .wpfCount {
  color: var(--wd-filter-muted);
}

.wpfMainWrapper .wpfCheckbox label {
  margin: 0;
  border: 1px solid var(--wd-filter-border);
  border-radius: 2px;
}

.wpfMainWrapper .wpfCheckbox input:checked + label {
  border-color: #111;
}

.wpfMainWrapper .wd-wpf-is-hidden {
  display: none !important;
}

.wd-product.product-list-item {
  margin-bottom: 20px;
}

.wpfMainWrapper .wpfFilterVerScroll .wpfLiLabel .wpfCount {
  margin-left: 2px;
  white-space: nowrap;
}


/* X-kom tape-measure pass for WBW filter spacing */
.wpfMainWrapper .wpfFilterWrapper {
  margin-bottom: 14px !important;
}

.wpfMainWrapper .wpfFilterTitle {
  margin: 0 0 1px !important;
}

.wpfMainWrapper .wpfFilterTitle .wfpTitle {
  font-size: 14px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
}

.wpfMainWrapper .wpfFilterContent {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.wpfMainWrapper .wd-wpf-select-all {
  display: inline-flex !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.wpfMainWrapper .wpfFilterVerScroll {
}

.wpfMainWrapper .wpfFilterVerScroll > li {
  min-height: 28px !important;
}

.wpfMainWrapper .wpfLiLabel {
  min-height: 28px !important;
  gap: 6px !important;
}

.wpfMainWrapper .wpfCheckbox {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.wpfMainWrapper .wpfCheckbox label {
  width: 17px !important;
  min-width: 17px !important;
  height: 17px !important;
}

.wpfMainWrapper .wpfDisplay {
  gap: 4px !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
}

.wpfMainWrapper .wpfValue {
  gap: 4px !important;
}

.wpfMainWrapper .wpfFilterTaxNameWrapper {
  font-weight: 400 !important;
  line-height: 1.1 !important;
}

.wpfMainWrapper .wpfCount {
  font-size: 13px !important;
  line-height: 1 !important;
}

.wpfMainWrapper .wd-wpf-more-toggle {
  margin-bottom: 0 !important;
  font-size: 13px !important;
  line-height: 1 !important;
}


/* Aggressive compact spacing for injected filter controls */
.wpfMainWrapper .wpfFilterWrapper {
  margin-bottom: 10px !important;
}

.wpfMainWrapper .wpfFilterTitle,
.wpfMainWrapper .wpfFilterTitle .wfpTitle {
  margin: 0 !important;
  padding: 0 !important;
}

.wpfMainWrapper .wpfFilterContent {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.wpfMainWrapper .wd-wpf-select-all,
.wpfMainWrapper .wd-wpf-more-toggle {
  display: block !important;
  width: fit-content !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.wpfMainWrapper .wd-wpf-select-all {
  margin: 1px 0 0 !important;
}

.wpfMainWrapper .wd-wpf-select-all + .wpfFilterVerScroll {
  margin-top: 1px !important;
}

.wpfMainWrapper .wpfFilterVerScroll {
  gap: 0 !important;
}

.wpfMainWrapper .wpfFilterVerScroll > li,
.wpfMainWrapper .wpfLiLabel {
  min-height: 26px !important;
}

.wpfMainWrapper .wd-wpf-more-toggle {
  margin-top: 0 !important;
}

.wpfMainWrapper .wd-wpf-more-toggle:not([hidden]) {
  margin-bottom: 0 !important;
}


/* Filter Everything sidebar alignment and spacing */
.widget_wpc_filters_widget .wpc-filters-open-button-container,
.widget_wpc_filters_widget .wpc-widget-close-container,
.widget_wpc_filters_widget .wpc-filters-widget-controls-container,
.widget_wpc_filters_widget .wpc-posts-found,
.widget_wpc_filters_widget .wpc-instead-of-posts-found,
.widget_wpc_filters_widget .wpc-see-more-control,
.widget_wpc_filters_widget .wpc-see-less-control {
  display: none !important;
}

.widget_wpc_filters_widget,
.widget_wpc_filters_widget .wpc-filters-main-wrap,
.widget_wpc_filters_widget .wpc-filters-widget-content,
.widget_wpc_filters_widget .wpc-filters-scroll-container,
.widget_wpc_filters_widget .wpc-filters-widget-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.widget_wpc_filters_widget .wpc-filters-widget-content {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

.widget_wpc_filters_widget .wpc-filters-section {
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
}

.widget_wpc_filters_widget .wpc-filter-header {
}

.widget_wpc_filters_widget .wpc-filter-title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--wd-filter-text) !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

.widget_wpc_filters_widget .wpc-filter-content {
}

.widget_wpc_filters_widget .wd-fe-select-all,
.widget_wpc_filters_widget .wd-fe-more-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.widget_wpc_filters_widget .wd-fe-select-all {
  margin: 0 0 2px;
}

.widget_wpc_filters_widget .wd-fe-more-toggle {
  margin: 2px 0 0;
  color: var(--wd-filter-text);
}

.widget_wpc_filters_widget .wpc-filters-ul-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.widget_wpc_filters_widget .wpc-term-item {
  padding: 0 !important;
  list-style: none !important;
}

.widget_wpc_filters_widget .wpc-term-item-content-wrapper {
}

.widget_wpc_filters_widget .wpc-term-item input[type="checkbox"] {
}

.widget_wpc_filters_widget .wpc-term-item label {
  text-align: left;
}

.widget_wpc_filters_widget .wpc-term-item label a,
.widget_wpc_filters_widget .wpc-term-item label .wpc-filter-link {
}

.widget_wpc_filters_widget .wpc-term-count {
}

.widget_wpc_filters_widget .wd-fe-is-hidden {
  display: none !important;
}

.widget_wpc_filters_widget .wpc-filter-_price .wpc-filters-section-title {
  text-transform: none !important;
}

.widget_wpc_filters_widget .wpc-filter-_price .wpc-filters-range-inputs,
.widget_wpc_filters_widget .wpc-filter-_price .wpc-filters-range-wrapper,
.widget_wpc_filters_widget .wpc-filter-_price .wpc-filters-range-slider-wrapper {
  margin-top: 0 !important;
}

.widget_wpc_filters_widget .wpc-filter-_price {
  margin-bottom: 18px !important;
}

.widget_wpc_filters_widget .wpc-filter-_price .wpc-filters-range-wrapper,
.widget_wpc_filters_widget .wpc-filter-_price .wpc-filters-range-slider-wrapper {
  margin-bottom: 16px !important;
}

.widget_wpc_filters_widget .wpc-filter-_price + .wpc-filters-section {
  margin-top: 14px !important;
}

.widget_wpc_filters_widget .wpc-filters-section.wpc-show-more .wpc-filters-ul-list > li {
  display: list-item !important;
}

.widget_wpc_filters_widget .wpc-filter-set-widget-title,
.widget_wpc_filters_widget .wpc-filter-set-widget-title .widget-title {
  text-align: left !important;
  justify-content: flex-start !important;
}

.widget_wpc_filters_widget .wpc-filter-set-widget-title {
  display: flex !important;
  align-items: center;
  justify-content: space-between !important;
  gap: 12px;
  margin-bottom: 14px !important;
}

.widget_wpc_filters_widget .wpc-filter-set-widget-title .widget-title {
  margin: 0 !important;
}

.widget_wpc_filters_widget .wd-fe-clear-filters {
  color: var(--wd-filter-muted) !important;
  font-size: 0.84rem;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
}

/* X-kom-inspired single-product specification table */
.single-product .wd-single-attrs h4,
.single-product .wd-single-attrs h4 img,
.single-product .wd-single-attrs .wd-attr-name-img,
.single-product .wd-single-attrs .wd-attr-name > img {
  display: none !important;
}

.single-product .wd-single-attrs .shop_attributes {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  --wd-attr-v-gap: 0 !important;
  --wd-attr-h-gap: 0 !important;
  --wd-attr-brd-width: 0 !important;
}

.single-product .wd-single-attrs .shop_attributes tbody {
  display: table-row-group !important;
  margin: 0 !important;
}

.single-product .wd-single-attrs .shop_attributes tr,
.single-product .wd-single-attrs.wd-style-default .shop_attributes tr,
.single-product .wd-single-attrs.wd-layout-inline .shop_attributes tr,
.single-product .wd-single-attrs.wd-layout-grid .shop_attributes tr {
  display: grid !important;
  grid-template-columns: minmax(240px, 300px) minmax(360px, 620px) !important;
  align-items: start !important;
  justify-content: center !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.single-product .wd-single-attrs .shop_attributes tr:nth-child(odd) {
  background: #f7f7f5 !important;
}

.single-product .wd-single-attrs .shop_attributes tr:nth-child(even) {
  background: #ffffff !important;
}

.single-product .wd-single-attrs .shop_attributes :is(th, td),
.single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__label,
.single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__value {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 15px 22px !important;
  border: 0 !important;
  background: transparent !important;
}

.single-product .wd-single-attrs .shop_attributes th,
.single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__label {
  width: auto !important;
  text-align: left !important;
  color: #1f1f1f !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.single-product .wd-single-attrs .shop_attributes td,
.single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__value {
  text-align: left !important;
  color: #232323 !important;
  font-size: 0.98rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

.single-product .wd-single-attrs .shop_attributes .wd-attr-name {
  display: inline !important;
}

.single-product .wd-single-attrs .shop_attributes .wd-attr-term,
.single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__value p {
  display: block !important;
  color: inherit !important;
}

.single-product .wd-single-attrs .shop_attributes .wd-attr-term p,
.single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__value p {
  display: block !important;
  margin: 0 !important;
}

.single-product .wd-single-attrs .shop_attributes .wd-attr-term p + p,
.single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__value p + p {
  margin-top: 4px !important;
}

.single-product .wd-single-attrs .shop_attributes .wd-attr-list-item {
  display: block !important;
  margin: 0 !important;
}

.single-product .wd-single-attrs .shop_attributes .wd-attr-list-item + .wd-attr-list-item {
  margin-top: 4px !important;
}

@media (max-width: 1024px) {
  .single-product .wd-single-attrs .shop_attributes tr,
  .single-product .wd-single-attrs.wd-style-default .shop_attributes tr,
  .single-product .wd-single-attrs.wd-layout-inline .shop_attributes tr,
  .single-product .wd-single-attrs.wd-layout-grid .shop_attributes tr {
    grid-template-columns: minmax(190px, 250px) minmax(260px, 1fr) !important;
    justify-content: center !important;
  }

  .single-product .wd-single-attrs .shop_attributes :is(th, td),
  .single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__label,
  .single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__value {
    padding: 14px 18px !important;
  }
}

@media (max-width: 767px) {
  .single-product .wd-single-attrs .shop_attributes tr,
  .single-product .wd-single-attrs.wd-style-default .shop_attributes tr,
  .single-product .wd-single-attrs.wd-layout-inline .shop_attributes tr,
  .single-product .wd-single-attrs.wd-layout-grid .shop_attributes tr {
    grid-template-columns: 1fr !important;
  }

  .single-product .wd-single-attrs .shop_attributes :is(th, td),
  .single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__label,
  .single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__value {
    padding: 12px 14px !important;
    font-size: 0.94rem !important;
  }

  .single-product .wd-single-attrs .shop_attributes th,
  .single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__label {
    padding-bottom: 4px !important;
  }

  .single-product .wd-single-attrs .shop_attributes td,
  .single-product .wd-single-attrs .shop_attributes .woocommerce-product-attributes-item__value {
    padding-top: 0 !important;
  }
}

.single-product .wd-products .wd-product:not(.product-list-item) .wd-entities-title {
  line-height: 1.32;
}

.single-product .wd-products .wd-product:not(.product-list-item) .wd-entities-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.32em * 3);
}

.wd-free-progress-bar,
.wd-shipping-progress-bar {
  display: none !important;
}



/* Cart layout cleanup: hide unwanted builder FAQ block and empty recommendations heading area */
body.woocommerce-cart .elementor-element-49d0e5d,
body.woocommerce-cart .elementor-element-aba5dce,
body.woocommerce-cart .elementor-element-5eb81b7 {
  display: none !important;
}

body.woocommerce-cart .elementor-element-05bea09 .wd-title-wrapper,
body.woocommerce-cart .elementor-element-05bea09 .title-wrapper,
body.woocommerce-cart .elementor-element-05bea09 .wd-heading,
body.woocommerce-cart .elementor-element-05bea09 .elementor-widget-container > h1,
body.woocommerce-cart .elementor-element-05bea09 .elementor-widget-container > h2,
body.woocommerce-cart .elementor-element-05bea09 .elementor-widget-container > h3,
body.woocommerce-cart .elementor-element-05bea09 .elementor-widget-container > h4,
body.woocommerce-cart .elementor-element-05bea09 .elementor-widget-container > h5,
body.woocommerce-cart .elementor-element-05bea09 .elementor-widget-container > h6 {
  display: none !important;
}


/* Cart runtime hard cleanup: AJAX recently viewed heading and extra side blocks */
body.woocommerce-cart .wd-products-element.with-title > .wd-el-title.element-title,
body.woocommerce-cart .wd-products-element.with-title > .title.element-title {
  display: none !important;
}

body.woocommerce-cart .cart-collaterals .elementor-widget-wd_toggle,
body.woocommerce-cart .cart-collaterals .elementor-widget-accordion,
body.woocommerce-cart .cart-collaterals .wd-el-toggle,
body.woocommerce-cart .cart-collaterals .wd-accordion,
body.woocommerce-cart .wd-cart-collaterals .elementor-widget-wd_toggle,
body.woocommerce-cart .wd-cart-collaterals .elementor-widget-accordion,
body.woocommerce-cart .wd-cart-collaterals .wd-el-toggle,
body.woocommerce-cart .wd-cart-collaterals .wd-accordion {
  display: none !important;
}

/* Checkout runtime hard cleanup: hide unwanted FAQ / delivery return block */
body.woocommerce-checkout .checkout-order-review .elementor-widget-wd_toggle,
body.woocommerce-checkout .checkout-order-review .elementor-widget-accordion,
body.woocommerce-checkout .checkout-order-review .wd-el-toggle,
body.woocommerce-checkout .checkout-order-review .wd-accordion,
body.woocommerce-checkout .cart-collaterals .elementor-widget-wd_toggle,
body.woocommerce-checkout .cart-collaterals .elementor-widget-accordion,
body.woocommerce-checkout .cart-collaterals .wd-el-toggle,
body.woocommerce-checkout .cart-collaterals .wd-accordion,
body.woocommerce-checkout .wd-cart-collaterals .elementor-widget-wd_toggle,
body.woocommerce-checkout .wd-cart-collaterals .elementor-widget-accordion,
body.woocommerce-checkout .wd-cart-collaterals .wd-el-toggle,
body.woocommerce-checkout .wd-cart-collaterals .wd-accordion {
  display: none !important;
}

/* Checkout specific: hide Delivery & Return builder block widgets directly */
body.woocommerce-checkout .elementor-element-f2de756,
body.woocommerce-checkout .elementor-element-c8b1e6d {
  display: none !important;
}

/* Checkout specific: hide now-empty Delivery & Return wrapper container */
body.woocommerce-checkout .elementor-element-12f9097 {
  display: none !important;
}


/* WPML language switcher: simple horizontal EN / ET / FI tabs, hide footer switcher */
.wpml-ls-statics-footer {
  display: none !important;
}

.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language,
.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item,
.whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item {
  position: relative;
}

.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language > a.woodmart-nav-link,
.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item > a.woodmart-nav-link,
.whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item > a.woodmart-nav-link {
  display: none !important;
}

.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language > .wd-dropdown-menu,
.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item > .wd-dropdown-menu,
.whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item > .wd-dropdown-menu {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  margin: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: auto !important;
}

.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language > .wd-dropdown-menu .container,
.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item > .wd-dropdown-menu .container,
.whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item > .wd-dropdown-menu .container {
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language .wd-sub-menu,
.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item .wd-sub-menu,
.whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item .wd-sub-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 22px;
  margin: 0 !important;
  padding: 0 !important;
}

.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language .wd-sub-menu > li,
.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item .wd-sub-menu > li,
.whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item .wd-sub-menu > li {
  margin: 0 !important;
  padding: 0 !important;
}

.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language .wd-sub-menu > li > a,
.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item .wd-sub-menu > li > a,
.whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item .wd-sub-menu > li > a {
  display: inline-flex !important;
  align-items: center;
  padding: 0 0 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-bottom: 5px solid transparent !important;
  background: transparent !important;
  color: #1b1b1b !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language .wd-sub-menu > li > a:hover,
.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item .wd-sub-menu > li > a:hover,
.whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item .wd-sub-menu > li > a:hover {
  color: #111 !important;
  border-bottom-color: #8b8b8b !important;
}

.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language .wd-sub-menu > li > a .wd-nav-img,
.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item .wd-sub-menu > li > a .wd-nav-img,
.whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item .wd-sub-menu > li > a .wd-nav-img {
  display: none !important;
}

.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language .wd-sub-menu > li > a .nav-link-text,
.whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item .wd-sub-menu > li > a .nav-link-text,
.whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item .wd-sub-menu > li > a .nav-link-text {
  display: inline !important;
}

html[lang^="en"] .whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language .wd-sub-menu > li > a[href*="/en/"],
html[lang^="en"] .whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item .wd-sub-menu > li > a[href*="/en/"],
html[lang^="en"] .whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item .wd-sub-menu > li > a[href*="/en/"],
html[lang^="et"] .whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language .wd-sub-menu > li > a[href*="/et/"],
html[lang^="et"] .whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item .wd-sub-menu > li > a[href*="/et/"],
html[lang^="et"] .whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item .wd-sub-menu > li > a[href*="/et/"],
html[lang^="fi"] .whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-language .wd-sub-menu > li > a[href*="/fi/"],
html[lang^="fi"] .whb-column .wd-nav-header.wd-nav-secondary > li.menu-item-wpml-ls-item .wd-sub-menu > li > a[href*="/fi/"],
html[lang^="fi"] .whb-column .wd-nav-header.wd-nav-secondary > li.wpml-ls-item .wd-sub-menu > li > a[href*="/fi/"] {
  color: #111 !important;
  font-weight: 700;
  border-bottom-color: #4f4f4f !important;
}




/* Header WPML widget switcher: force simple EN / ET / FI tabs. */
.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] {
  width: auto !important;
  max-width: none !important;
}

.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] > ul {
  display: flex !important;
  align-items: center;
  gap: 22px;
  margin: 0 !important;
  padding: 0 !important;
}

.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] .wpml-ls-item,
.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] .wpml-ls-current-language {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] .wpml-ls-sub-menu {
  visibility: visible !important;
  position: static !important;
  display: flex !important;
  align-items: center;
  gap: 22px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] a {
  display: inline-flex !important;
  align-items: center;
  padding: 0 0 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-bottom: 5px solid transparent !important;
  background: transparent !important;
  color: #1b1b1b !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: none !important;
}

.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] a:hover {
  color: #111 !important;
  border-bottom-color: #8b8b8b !important;
  background: transparent !important;
}

.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] a.wpml-ls-item-toggle {
  padding-right: 0 !important;
}

.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] a.wpml-ls-item-toggle::after {
  display: none !important;
}

.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] .wpml-ls-flag,
.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] .wpml-ls-display,
.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] .wpml-ls-native {
  display: none !important;
}

.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] a[lang="en"]::before,
.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] a[hreflang="en"]::before {
  content: "EN";
}

.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] a[lang="et"]::before,
.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] a[hreflang="et"]::before {
  content: "ET";
}

.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] a[lang="fi"]::before,
.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] a[hreflang="fi"]::before {
  content: "FI";
}

.whb-column .widget_icl_lang_sel_widget [class*="wpml-ls-legacy-dropdown"] .wpml-ls-current-language > a {
  color: #111 !important;
  font-weight: 700 !important;
  border-bottom-color: #4f4f4f !important;
}
/* Hide compare-page category selector and action buttons. */
body.page-template-compare .wd-compare-header,
body .wd-compare-page .wd-compare-header {
  display: none !important;
}

.widget_wpc_filters_widget .wpc-filters-section.wd-fe-collapsible .wpc-filter-title {
  position: relative;
  cursor: pointer;
}

.widget_wpc_filters_widget .wpc-filters-section.wd-fe-collapsible .wpc-filter-title::after {
  content: "";
  position: absolute;
  top: 50%;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.18s ease;
}

.widget_wpc_filters_widget .wpc-filters-section.wd-fe-collapsible.wd-fe-opened .wpc-filter-title::after {
  transform: translateY(-30%) rotate(-135deg);
}

.widget_wpc_filters_widget .wpc-filters-section.wd-fe-collapsible.wd-fe-closed .wpc-filter-content {
  display: none !important;
}

/* Compact list view: image left, details center, purchase block right */
body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 0 !important;
  padding: 8px 12px !important;
  border-radius: 16px !important;
}

body.woocommerce-shop .wd-products.elements-list,
body.post-type-archive-product .wd-products.elements-list,
body.tax-product_cat .wd-products.elements-list {
  --wd-gap: 10px !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item {
  margin-bottom: 0 !important;
  padding-bottom: 0px !important;
  border-bottom: 0 !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item:last-child,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item:last-child,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item:last-child {
  padding-bottom: 0 !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .content-product-imagin,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .content-product-imagin,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .content-product-imagin {
  display: none !important;
}





body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-buttons.wd-pos-r-t,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-buttons.wd-pos-r-t,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-buttons.wd-pos-r-t {
  top: 6px !important;
  right: 6px !important;
  inset-inline-end: 6px !important;
  transform: translate3d(8px, 0, 0) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 6 !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item:hover .wd-list-compact-vk .wd-buttons.wd-pos-r-t,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item:hover .wd-list-compact-vk .wd-buttons.wd-pos-r-t,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item:hover .wd-list-compact-vk .wd-buttons.wd-pos-r-t {
  transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-buttons .wd-action-btn > a,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-buttons .wd-action-btn > a,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-buttons .wd-action-btn > a {
  width: 36px !important;
  height: 36px !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 20px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content::after,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content::after,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content::after {
  content: ;
  display: table;
  clear: both;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__main,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__main,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__main {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side {
  display: flex !important;
  flex: 0 0 196px !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 196px !important;
  max-width: 196px !important;
  margin-left: auto !important;
  gap: 8px !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-product-cats,
body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-product-brands-links,
body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .star-rating,
body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .fade-in-block,
body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk [class*="wd-swatches"],
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-product-cats,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-product-brands-links,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .star-rating,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .fade-in-block,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk [class*="wd-swatches"],
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-product-cats,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-product-brands-links,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .star-rating,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .fade-in-block,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk [class*="wd-swatches"] {
  display: none !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-entities-title,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-entities-title,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-entities-title {
  font-size: 16px !important;
  line-height: 1.24 !important;
  font-weight: 700 !important;
  color: #222222 !important;
  margin-bottom: 8px !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-entities-title a,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-entities-title a,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-entities-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-child-loop-specs,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-child-loop-specs,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-child-loop-specs {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2px !important;
  margin-top: 0 !important;
  max-width: 560px !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-child-loop-spec,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-child-loop-spec,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-child-loop-spec {
  font-size: 13px !important;
  line-height: 1.28 !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-child-loop-spec-label,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-child-loop-spec-label,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-child-loop-spec-label {
  display: inline !important;
  margin-right: 4px !important;
  font-weight: 700 !important;
  color: #222222 !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-child-loop-spec-value,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-child-loop-spec-value,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk .wd-child-loop-spec-value {
  display: inline !important;
  font-weight: 400 !important;
  color: #666666 !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wd-product-sku,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wd-product-sku,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wd-product-sku,
body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .stock,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .stock,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .stock,
body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wrap-price,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wrap-price,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wrap-price,
body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wd-add-btn,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wd-add-btn,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wd-add-btn {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .price,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .price,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .price {
  font-size: 17px !important;
  line-height: 1.1 !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wd-add-btn > a,
body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wd-add-btn .add-to-cart-loop span,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wd-add-btn > a,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wd-add-btn .add-to-cart-loop span,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wd-add-btn > a,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side .wd-add-btn .add-to-cart-loop span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
}

@media (max-width: 1024px) {
  body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk,
  body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk,
  body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk {
    gap: 14px !important;
  }

  body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content,
  body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content,
  body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content {
    gap: 14px !important;
  }

  body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side,
  body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side,
  body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side {
    width: 174px !important;
    max-width: 174px !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk,
  body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk,
  body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk,
  body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content,
  body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content,
  body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content {
    display: block !important;
  }

  body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side,
  body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side,
  body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Hide categories in quick view */
.quick-shop-wrapper .wd-product-cats,
.quick-shop-wrapper .posted_in,
.quick-shop-wrapper .product_meta .posted_in {
  display: none !important;
}

/* Hide full category meta row in quick view */
.quick-shop-wrapper .product_meta > span.posted_in,
.quick-shop-wrapper .product_meta .posted_in,
.quick-shop-form .product_meta > span.posted_in,
.quick-shop-form .product_meta .posted_in {
  display: none !important;
}

/* Hard-hide category row in quick view modals */
.quick-shop-wrapper .product_meta .posted_in,
.quick-shop-form .product_meta .posted_in,
.mfp-wrap .quick-shop-wrapper .product_meta .posted_in,
.mfp-wrap .quick-shop-form .product_meta .posted_in,
.mfp-content .product_meta .posted_in,
.wd-popup .product_meta .posted_in {
  display: none !important;
}

.quick-shop-wrapper .product_meta .posted_in ~ br,
.quick-shop-form .product_meta .posted_in ~ br,
.mfp-wrap .quick-shop-wrapper .product_meta .posted_in ~ br,
.mfp-wrap .quick-shop-form .product_meta .posted_in ~ br,
.mfp-content .product_meta .posted_in ~ br,
.wd-popup .product_meta .posted_in ~ br {
  display: none !important;
}

/* List view template cleanup: ignore parent Woodmart list-content assumptions */
body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__content {
  float: none !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__main,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__main,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__main {
  width: auto !important;
}

body.woocommerce-shop .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side,
body.post-type-archive-product .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side,
body.tax-product_cat .wd-products.elements-list .wd-product.product-list-item .wd-list-compact-vk__side {
  float: none !important;
  position: static !important;
}


/* Grid view cleanup: hide categories and restore legacy typography */
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-product-cats,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-product-brands-links,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-product-cats,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-product-brands-links,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-product-cats,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-product-brands-links {
  display: none !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-entities-title,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-entities-title,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-entities-title {
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-entities-title a,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-entities-title a,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-entities-title a {
  color: #222222 !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-child-loop-specs,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-child-loop-specs,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-child-loop-specs {
  grid-template-columns: 1fr !important;
  margin-top: 0 !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec {
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec-label,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec-label,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec-label {
  display: inline !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec-value,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec-value,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec-value {
  display: inline !important;
  font-weight: 400 !important;
}


/* Grid view action buttons: allow tooltips to extend outside the card */
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product {
  overflow: visible !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .product-wrapper,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .product-wrapper,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .product-wrapper {
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-buttons.wd-pos-r-t,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-buttons.wd-pos-r-t,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-buttons.wd-pos-r-t {
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-btn-product-text,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-btn-product-text,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-btn-product-text,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product [class*="tooltip"],
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product [class*="tooltip"],
body.tax-product_cat .wd-products:not(.elements-list) .wd-product [class*="tooltip"] {
  z-index: 60 !important;
}


body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .product-image-link,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .product-image-link,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .product-image-link {
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .product-image-link img,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .product-image-link img,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .product-image-link img {
  width: auto !important;
  max-width: 100% !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-buttons.wd-pos-r-t,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-buttons.wd-pos-r-t,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-buttons.wd-pos-r-t {
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-buttons.wd-pos-r-t .wd-action-btn > a,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-buttons.wd-pos-r-t .wd-action-btn > a,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-buttons.wd-pos-r-t .wd-action-btn > a {
  width: 36px !important;
  height: 36px !important;
}


/* Grid view hover fix: keep purchase meta visible */
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product:hover .wd-product-sku,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product:hover .stock,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product:hover .wrap-price,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product:hover .wd-add-btn,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product:hover .wd-product-sku,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product:hover .stock,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product:hover .wrap-price,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product:hover .wd-add-btn,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product:hover .wd-product-sku,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product:hover .stock,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product:hover .wrap-price,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product:hover .wd-add-btn {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  height: auto !important;
}


/* Grid hover buttons-on-hover: keep SKU, stock and price fixed */

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-buttons-on-hover .wrap-price,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-buttons-on-hover .wd-product-sku,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-buttons-on-hover .stock,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-buttons-on-hover .wrap-price,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-buttons-on-hover .wd-product-sku,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-buttons-on-hover .stock,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-buttons-on-hover .wrap-price,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-buttons-on-hover .wd-product-sku,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-buttons-on-hover .stock {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}


/* Grid hover-info: keep bottom information in normal flow */
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  display: block !important;
  margin-top: 14px !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info:hover .bottom-information,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info:hover .bottom-information,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info:hover .bottom-information {
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .price,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .login-to-prices-msg,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .price,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .login-to-prices-msg,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .price,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .login-to-prices-msg {
  position: static !important;
  bottom: auto !important;
  inset-inline-start: auto !important;
  min-width: 0 !important;
  margin-bottom: 6px !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .wd-product-sku,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .stock,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .wrap-price,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .wd-add-btn,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .wd-product-sku,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .stock,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .wrap-price,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .wd-add-btn,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .wd-product-sku,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .stock,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .wrap-price,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .wd-add-btn {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}


/* Grid hover-info: do not slide/hide bottom product information */
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information {
  transform: none !important;
  top: auto !important;
  bottom: 15px !important;
  inset-inline: 15px !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info:hover .bottom-information,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info:hover .bottom-information,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info:hover .bottom-information {
  transform: none !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .price,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .wd-product-sku,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .stock,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .price,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .wd-product-sku,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .stock,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .price,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .wd-product-sku,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-info .bottom-information .stock {
  opacity: 1 !important;
  visibility: visible !important;
}


/* Grid fw-button hover: disable fade layer that hides lower meta */
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-fw-button.wd-hover-with-fade .fade-in-block,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-fw-button.wd-hover-with-fade .fade-in-block,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-fw-button.wd-hover-with-fade .fade-in-block,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product.wd-hover-fw-button.wd-hover-with-fade .content-product-imagin,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product.wd-hover-fw-button.wd-hover-with-fade .content-product-imagin,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product.wd-hover-fw-button.wd-hover-with-fade .content-product-imagin {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}



/* Grid card image cleanup: one consistent image/layout rule set */
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product {
  overflow: visible !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .product-wrapper,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .product-wrapper,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .product-wrapper {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
  transform: none !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .content-product-imagin,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .fade-in-block,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-product-grid-slider,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-product-grid-pagin,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .content-product-imagin,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .fade-in-block,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-product-grid-slider,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-product-grid-pagin,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .content-product-imagin,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .fade-in-block,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-product-grid-slider,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-product-grid-pagin {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .product-image-link,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .product-image-link,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .product-image-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: calc(100% - 18px) !important;
  min-height: 155px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .product-image-link > img,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .product-image-link > img,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .product-image-link > img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-buttons.wd-pos-r-t,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-buttons.wd-pos-r-t,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-buttons.wd-pos-r-t {
  top: 18px !important;
  right: 14px !important;
  inset-inline-end: 14px !important;
  bottom: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  z-index: 40 !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .product-element-bottom,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .product-element-bottom,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .product-element-bottom,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .bottom-information,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .bottom-information,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .bottom-information {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .product-element-bottom,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .product-element-bottom,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .product-element-bottom {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 0 12px 12px !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-product-cats,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-product-brands-links,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-product-cats,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-product-brands-links,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-product-cats,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-product-brands-links {
  display: none !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-entities-title,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-entities-title,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-entities-title {
  font-size: 16px !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
  color: #222 !important;
  margin-bottom: 10px !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-child-loop-specs,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-child-loop-specs,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-child-loop-specs {
  display: grid !important;
  gap: 4px !important;
  margin-bottom: 12px !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec {
  font-size: 13px !important;
  line-height: 1.36 !important;
  color: #666 !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec-label,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec-label,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec-label {
  font-weight: 700 !important;
  color: #222 !important;
  margin-right: 4px !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec-value,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec-value,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-child-loop-spec-value {
  color: #666 !important;
}

body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-product-sku,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .stock,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wrap-price,
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .wd-add-btn,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-product-sku,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .stock,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wrap-price,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .wd-add-btn,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-product-sku,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .stock,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wrap-price,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .wd-add-btn {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body.woocommerce-shop .wd-products[data-columns="4"]:not(.elements-list) .wd-product .product-image-link,
body.post-type-archive-product .wd-products[data-columns="4"]:not(.elements-list) .wd-product .product-image-link,
body.tax-product_cat .wd-products[data-columns="4"]:not(.elements-list) .wd-product .product-image-link {
  min-height: 135px !important;
}


/* Final FE select-all hover cleanup */
.wpfMainWrapper .wd-wpf-select-all,
.wpfMainWrapper .wd-wpf-select-all:link,
.wpfMainWrapper .wd-wpf-select-all:visited {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--wd-filter-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  text-transform: none !important;
}

.wpfMainWrapper .wd-wpf-select-all:hover,
.wpfMainWrapper .wd-wpf-select-all:focus,
.wpfMainWrapper .wd-wpf-select-all:active {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #1f1a17 !important;
  text-decoration: underline !important;
  outline: none !important;
}



/* Final product card image zoom: compensate for whitespace-heavy source images */
body.woocommerce-shop .wd-products:not(.elements-list) .wd-product .product-image-link,
body.post-type-archive-product .wd-products:not(.elements-list) .wd-product .product-image-link,
body.tax-product_cat .wd-products:not(.elements-list) .wd-product .product-image-link {
  overflow: hidden !important;
}



/* Final-final FE select-all and more-toggle button reset */
.widget_wpc_filters_widget button.wd-fe-select-all,
.widget_wpc_filters_widget button.wd-fe-select-all:link,
.widget_wpc_filters_widget button.wd-fe-select-all:visited,
.widget_wpc_filters_widget button.wd-fe-more-toggle,
.widget_wpc_filters_widget button.wd-fe-more-toggle:link,
.widget_wpc_filters_widget button.wd-fe-more-toggle:visited {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 0 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: var(--wd-filter-muted) !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  text-transform: none !important;
  cursor: pointer !important;
}

.widget_wpc_filters_widget button.wd-fe-select-all:hover,
.widget_wpc_filters_widget button.wd-fe-select-all:focus,
.widget_wpc_filters_widget button.wd-fe-select-all:active,
.widget_wpc_filters_widget button.wd-fe-more-toggle:hover,
.widget_wpc_filters_widget button.wd-fe-more-toggle:focus,
.widget_wpc_filters_widget button.wd-fe-more-toggle:active {
  -webkit-appearance: none !important;
  appearance: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #1f1a17 !important;
  text-decoration: underline !important;
  outline: none !important;
}

/* Keep product short description visible in list view. */
body.woocommerce-shop .wd-product.product-list-item [class*="short-description"],
body.post-type-archive-product .wd-product.product-list-item [class*="short-description"],
body.tax-product_cat .wd-product.product-list-item [class*="short-description"] {
  display: block !important;
}

/* Wishlist page: hide product category line on wishlist cards */
.wd-wishlist-content .wd-product-cats,
.wd-wishlist-content .posted_in,
.wd-wishlist-content .product_meta .posted_in,
.wd-wishlist-content .wd-product-categories {
  display: none !important;
}


/* Wishlist page: stronger category hide and text-row cleanup */
.woocommerce-account .wd-wishlist-content .wd-product-cats,
.woocommerce-account .wd-wishlist-content .wd-product-categories,
.woocommerce-account .wd-wishlist-content .posted_in,
.woocommerce-account .wd-wishlist-content .product_meta .posted_in,
.woocommerce-account .wd-wishlist-content .product-meta,
.woocommerce-account .wd-wishlist-content .product_meta {
  display: none !important;
}


/* Wishlist page: hide category/meta category rows on product cards */
body.woocommerce-account .wd-wishlist-content .wd-product-cats,
body.woocommerce-account .wd-wishlist-content .wd-product-categories,
body.woocommerce-account .wd-wishlist-content .posted_in,
body.woocommerce-account .wd-wishlist-content .product_meta .posted_in,
body.woocommerce-account .wishlist_table .wd-product-cats,
body.woocommerce-account .wishlist_table .wd-product-categories,
body.woocommerce-account .wishlist_table .posted_in,
body.woocommerce-account .wishlist_table .product_meta .posted_in,
body.page .wd-wishlist-content .wd-product-cats,
body.page .wd-wishlist-content .wd-product-categories,
body.page .wd-wishlist-content .posted_in,
body.page .wd-wishlist-content .product_meta .posted_in,
body.page .wishlist_table .wd-product-cats,
body.page .wishlist_table .wd-product-categories,
body.page .wishlist_table .posted_in,
body.page .wishlist_table .product_meta .posted_in {
    display: none !important;
}


/* Hide WPML development banner on frontend to avoid customer-visible English admin text */
.otgs-development-site-front-end,
.wpml-development-site-front-end,
div[class*="development-site-front-end"] {
  display: none !important;
}



/* Final FE sidebar card styling: match clean marketplace filter blocks */
.widget_wpc_filters_widget .wpc-filters-section {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.widget_wpc_filters_widget .wpc-filter-header {
  margin: 0 0 8px !important;
  padding: 0 !important;
}

.widget_wpc_filters_widget .wpc-filters-section .wpc-filter-title {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  background: var(--wd-ap-olive-bg) !important;
  border-radius: 0 !important;
  color: #171717 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.widget_wpc_filters_widget .wpc-filters-section.wd-fe-collapsible .wpc-filter-title {
  padding-right: 40px !important;
}

.widget_wpc_filters_widget .wpc-filters-section.wd-fe-collapsible .wpc-filter-title::after {
  right: 16px !important;
  width: 9px !important;
  height: 9px !important;
  border-right-width: 1.5px !important;
  border-bottom-width: 1.5px !important;
  opacity: 1 !important;
}

.widget_wpc_filters_widget .wpc-filter-content {
  margin: 0 !important;
  padding: 0 !important;
}

.widget_wpc_filters_widget .wd-fe-select-all,
.widget_wpc_filters_widget .wd-fe-more-toggle {
  margin: 0 0 10px !important;
  color: #303030 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
}

.widget_wpc_filters_widget .wd-fe-more-toggle {
  margin-top: 10px !important;
}

.widget_wpc_filters_widget .wpc-filters-ul-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.widget_wpc_filters_widget .wpc-term-item {
  min-height: 0 !important;
  margin: 0 !important;
}

.widget_wpc_filters_widget .wpc-term-item + .wpc-term-item {
  margin-top: 0 !important;
}

.widget_wpc_filters_widget .wpc-term-item-content-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 30px !important;
}

.widget_wpc_filters_widget .wpc-term-item input[type="checkbox"] {
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  accent-color: #7A9B09 !important;
}

.widget_wpc_filters_widget .wpc-term-item label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
  color: #171717 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}

.widget_wpc_filters_widget .wpc-term-item label a,
.widget_wpc_filters_widget .wpc-term-item label .wpc-filter-link {
  color: inherit !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}

.widget_wpc_filters_widget .wpc-term-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 32px !important;
  height: 22px !important;
  padding: 0 7px !important;
  margin-left: auto !important;
  border: 2px solid #7da400 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}



/* Manufacturer filter: pin Apple first reliably */
.widget_wpc_filters_widget .wpc-filters-ul-list > li.wpc-term-id-3860 {
  order: -10 !important;
}

/* FE filter hover states: subtle Verkkokauppa-like interaction */
.widget_wpc_filters_widget .wpc-filters-section .wpc-filter-title,
.widget_wpc_filters_widget .wpc-term-item-content-wrapper,
.widget_wpc_filters_widget .wpc-term-item label,
.widget_wpc_filters_widget .wpc-term-count,
.widget_wpc_filters_widget .wd-fe-select-all,
.widget_wpc_filters_widget .wd-fe-more-toggle,
.widget_wpc_filters_widget .wd-fe-clear-filters {
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.widget_wpc_filters_widget .wpc-filters-section .wpc-filter-title:hover {
  background: var(--wd-ap-olive-pill) !important;
}

.widget_wpc_filters_widget .wpc-term-item-content-wrapper {
  padding: 4px 8px !important;
  border-radius: 8px !important;
}

.widget_wpc_filters_widget .wpc-term-item:hover .wpc-term-item-content-wrapper,
.widget_wpc_filters_widget .wpc-term-item:focus-within .wpc-term-item-content-wrapper {
  background: #f7f7f7 !important;
}

.widget_wpc_filters_widget .wpc-term-item:hover label,
.widget_wpc_filters_widget .wpc-term-item:focus-within label,
.widget_wpc_filters_widget .wpc-term-item:hover label a,
.widget_wpc_filters_widget .wpc-term-item:focus-within label a,
.widget_wpc_filters_widget .wpc-term-item:hover label .wpc-filter-link,
.widget_wpc_filters_widget .wpc-term-item:focus-within label .wpc-filter-link {
  color: #111 !important;
}

.widget_wpc_filters_widget .wpc-term-item:hover .wpc-term-count,
.widget_wpc_filters_widget .wpc-term-item:focus-within .wpc-term-count {
  border-color: #b9a16b !important;
  background: #fff !important;
  color: #2f2310 !important;
}

.widget_wpc_filters_widget .wpc-term-item:hover input[type="checkbox"],
.widget_wpc_filters_widget .wpc-term-item:focus-within input[type="checkbox"] {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04) !important;
}

.widget_wpc_filters_widget .wd-fe-select-all:hover,
.widget_wpc_filters_widget .wd-fe-select-all:focus,
.widget_wpc_filters_widget .wd-fe-more-toggle:hover,
.widget_wpc_filters_widget .wd-fe-more-toggle:focus,
.widget_wpc_filters_widget .wd-fe-clear-filters:hover,
.widget_wpc_filters_widget .wd-fe-clear-filters:focus {
  color: #111 !important;
}

/* Final stable underline for FE action links */
.widget_wpc_filters_widget .wd-fe-select-all,
.widget_wpc_filters_widget .wd-fe-more-toggle,
.widget_wpc_filters_widget .wd-fe-clear-filters,
.widget_wpc_filters_widget button.wd-fe-select-all,
.widget_wpc_filters_widget button.wd-fe-more-toggle,
.widget_wpc_filters_widget a.wd-fe-select-all,
.widget_wpc_filters_widget a.wd-fe-more-toggle,
.widget_wpc_filters_widget a.wd-fe-clear-filters {
  text-decoration: none !important;
  border-bottom: 1px solid transparent !important;
}

.widget_wpc_filters_widget .wd-fe-select-all:hover,
.widget_wpc_filters_widget .wd-fe-select-all:focus,
.widget_wpc_filters_widget .wd-fe-select-all:active,
.widget_wpc_filters_widget .wd-fe-more-toggle:hover,
.widget_wpc_filters_widget .wd-fe-more-toggle:focus,
.widget_wpc_filters_widget .wd-fe-more-toggle:active,
.widget_wpc_filters_widget .wd-fe-clear-filters:hover,
.widget_wpc_filters_widget .wd-fe-clear-filters:focus,
.widget_wpc_filters_widget .wd-fe-clear-filters:active,
.widget_wpc_filters_widget button.wd-fe-select-all:hover,
.widget_wpc_filters_widget button.wd-fe-select-all:focus,
.widget_wpc_filters_widget button.wd-fe-select-all:active,
.widget_wpc_filters_widget button.wd-fe-more-toggle:hover,
.widget_wpc_filters_widget button.wd-fe-more-toggle:focus,
.widget_wpc_filters_widget button.wd-fe-more-toggle:active,
.widget_wpc_filters_widget a.wd-fe-select-all:hover,
.widget_wpc_filters_widget a.wd-fe-select-all:focus,
.widget_wpc_filters_widget a.wd-fe-select-all:active,
.widget_wpc_filters_widget a.wd-fe-more-toggle:hover,
.widget_wpc_filters_widget a.wd-fe-more-toggle:focus,
.widget_wpc_filters_widget a.wd-fe-more-toggle:active,
.widget_wpc_filters_widget a.wd-fe-clear-filters:hover,
.widget_wpc_filters_widget a.wd-fe-clear-filters:focus,
.widget_wpc_filters_widget a.wd-fe-clear-filters:active {
  text-decoration: none !important;
  border-bottom-color: currentColor !important;
}


/* Final header language switcher override: force simple EN / ET / FI tabs. */
.whb-column [class*="wpml-ls-legacy-dropdown"],
.whb-column [class*="wpml-ls-legacy-dropdown-click"] {
  width: auto !important;
  max-width: none !important;
}

.whb-column [class*="wpml-ls-legacy-dropdown"] > ul,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] > ul {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.whb-column [class*="wpml-ls-legacy-dropdown"] .wpml-ls-current-language,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] .wpml-ls-current-language {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.whb-column [class*="wpml-ls-legacy-dropdown"] .wpml-ls-sub-menu,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] .wpml-ls-sub-menu {
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  list-style: none !important;
  z-index: auto !important;
}

.whb-column [class*="wpml-ls-legacy-dropdown"] .wpml-ls-item,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] .wpml-ls-item {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.whb-column [class*="wpml-ls-legacy-dropdown"] a,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 0 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-bottom: 5px solid transparent !important;
  background: transparent !important;
  color: #1b1b1b !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
  font-size: 0 !important;
}

.whb-column [class*="wpml-ls-legacy-dropdown"] a:hover,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] a:hover {
  color: #111 !important;
  background: transparent !important;
  border-bottom-color: #8b8b8b !important;
}

.whb-column [class*="wpml-ls-legacy-dropdown"] a.wpml-ls-item-toggle,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] a.wpml-ls-item-toggle {
  padding-right: 0 !important;
}

.whb-column [class*="wpml-ls-legacy-dropdown"] a.wpml-ls-item-toggle::after,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] a.wpml-ls-item-toggle::after {
  display: none !important;
}

.whb-column [class*="wpml-ls-legacy-dropdown"] .wpml-ls-flag,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] .wpml-ls-flag,
.whb-column [class*="wpml-ls-legacy-dropdown"] .wpml-ls-display,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] .wpml-ls-display,
.whb-column [class*="wpml-ls-legacy-dropdown"] .wpml-ls-native,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] .wpml-ls-native {
  display: none !important;
}

.whb-column [class*="wpml-ls-legacy-dropdown"] a[lang="en"]::before,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] a[lang="en"]::before,
.whb-column [class*="wpml-ls-legacy-dropdown"] a[hreflang="en"]::before,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] a[hreflang="en"]::before {
  content: "EN";
}

.whb-column [class*="wpml-ls-legacy-dropdown"] a[lang="et"]::before,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] a[lang="et"]::before,
.whb-column [class*="wpml-ls-legacy-dropdown"] a[hreflang="et"]::before,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] a[hreflang="et"]::before {
  content: "ET";
}

.whb-column [class*="wpml-ls-legacy-dropdown"] a[lang="fi"]::before,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] a[lang="fi"]::before,
.whb-column [class*="wpml-ls-legacy-dropdown"] a[hreflang="fi"]::before,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] a[hreflang="fi"]::before {
  content: "FI";
}

.whb-column [class*="wpml-ls-legacy-dropdown"] a::before,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] a::before {
  display: inline-block !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: #1b1b1b !important;
}

.whb-column [class*="wpml-ls-legacy-dropdown"] .wpml-ls-current-language > a,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] .wpml-ls-current-language > a {
  border-bottom-color: #4f4f4f !important;
}

.whb-column [class*="wpml-ls-legacy-dropdown"] .wpml-ls-current-language > a::before,
.whb-column [class*="wpml-ls-legacy-dropdown-click"] .wpml-ls-current-language > a::before {
  font-weight: 700 !important;
  color: #111 !important;
}

/* Final language tabs: injected DOM replacement for WPML header widget. */
.wd-header-lang-tabs {
  display: inline-flex !important;
  align-items: center !important;
  gap: 20px !important;
}

.wd-header-lang-tab {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 0 6px !important;
  border-bottom: 5px solid transparent !important;
  color: #1b1b1b !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.wd-header-lang-tab:hover {
  color: #111 !important;
  border-bottom-color: #8b8b8b !important;
}

.wd-header-lang-tab.is-current {
  color: #111 !important;
  font-weight: 700 !important;
  border-bottom-color: #4f4f4f !important;
}


/* Pre-hide original Woodmart language dropdown so flags never flash before JS tabs appear. */
.wd-header-secondary-nav .wd-nav.wd-nav-header.wd-nav-secondary > li.menu-item.menu-item-has-children.wd-event-hover {
  display: none !important;
}


.product-wrapper{
  padding:0 !important;
}
.wd-carousel-item .product-wrapper{
  padding:12px !important;
  border-radius: 8px !important;
}

body.woocommerce-shop .wd-products:not(.elements-list),
body.post-type-archive-product .wd-products:not(.elements-list),
body.tax-product_cat .wd-products:not(.elements-list) {
  --wd-gap: 12px !important;
}

/* Header and shop accents: warm olive direction */
:root {
  --wd-ap-olive-bg: #dde8d3;
  --wd-ap-olive-pill: #c8d99c;
  --wd-ap-olive-primary: #88a94a;
  --wd-ap-olive-primary-hover: #6f8d34;
  --wd-ap-olive-primary-active: #5f782c;
  --wd-ap-olive-text: #263126;
  --wd-ap-olive-muted: #4b5a3c;
}

.whb-header-bottom .whb-general-header-inner,
.whb-header-bottom .whb-row,
.whb-header-bottom .whb-column,
.whb-header-bottom .whb-flex-row {
  background-color: var(--wd-ap-olive-bg) !important;
}

.whb-header-bottom .wd-nav.wd-style-bg {
  --nav-color-hover: var(--wd-ap-olive-primary) !important;
}
.whb-header-bottom {
  background-color: var(--wd-ap-olive-bg) !important;
}
.whb-header-bottom .wd-nav.wd-style-bg > li > a {
  color: var(--wd-ap-olive-text) !important;
}


/* Filter titles: avoid lowercase flicker before JS normalization */
.widget_wpc_filters_widget .wpc-filter-title {
  text-transform: none !important;
}

.widget_wpc_filters_widget .wpc-filter-title::first-letter {
  text-transform: uppercase;
}


.wpc-filters-range-inputs .ui-slider-horizontal .ui-slider-range{
    background-color: var(--wd-ap-olive-primary-hover) !important;
}

.wcps-alt-btn-active{
  background: var(--wd-ap-olive-primary);
  border-color: --var(--wd-ap-olive-text);
}
.wcps-alt-btn:hover{
  background: var(--wd-ap-olive-muted);
  color:#fff;
    border-color: --var(--wd-ap-olive-text);
}

.elementor-widget-container .stock span{
  border-radius: 8px !important;
}

/* Softer typography: use semibold for product list and filter headings. */
.wpfMainWrapper .wpfFilterTitle .wfpTitle,
.widget_wpc_filters_widget .wpc-filter-title,
.widget_wpc_filters_widget .wpc-filters-section .wpc-filter-title,
body.woocommerce-shop .wd-products .wd-product .wd-entities-title,
body.post-type-archive-product .wd-products .wd-product .wd-entities-title,
body.tax-product_cat .wd-products .wd-product .wd-entities-title,
body.woocommerce-shop .wd-products .wd-product .wd-entities-title a,
body.post-type-archive-product .wd-products .wd-product .wd-entities-title a,
body.tax-product_cat .wd-products .wd-product .wd-entities-title a {
  font-weight: 400 !important;
}

.woocommerce-checkout table.shop_table tfoot tr {
  display: flex;
  width: 100% !important;
}

.wd-checkout-steps {
  color: #000 !important;
}

.wd-page-title {
    background-color: #dde8d3 !important;
}
