/* Translate existing CSS-generated copy, preserving its layout and visibility. */
html[lang^="en"] body.woocommerce-page .wd-product .price::after,
html[lang^="en"] body.single-product .summary-inner .price::after { content:"Available"!important; }
html[lang^="en"] body.woocommerce-page .wd-clear-filters .wd-action-text::after { content:"Clear filters"!important; }
html[lang^="en"] body.woocommerce-cart .wc-block-cart-items thead th:first-child::after { content:"Products"!important; }
html[lang^="en"] .product-grid-item.post-167 .wd-product-cats::after { content:"25 mm · 600 shots · 50 s"!important; }
html[lang^="en"] .product-grid-item.post-201 .wd-product-cats::after { content:"30 mm · 100 shots · 123 s"!important; }
html[lang^="en"] .product-grid-item.post-172 .wd-product-cats::after { content:"50 mm · 39 shots · 400 s"!important; }
html[lang^="en"] .product-grid-item.post-166 .wd-product-cats::after { content:"25 mm · 200 shots · 20 s"!important; }

html[lang^="ru"] body.woocommerce-page .wd-product .price::after,
html[lang^="ru"] body.single-product .summary-inner .price::after { content:"В наличии"!important; }
html[lang^="ru"] body.woocommerce-page .wd-clear-filters .wd-action-text::after { content:"Сбросить фильтры"!important; }
html[lang^="ru"] body.woocommerce-cart .wc-block-cart-items thead th:first-child::after { content:"Товары"!important; }
html[lang^="ru"] .product-grid-item.post-167 .wd-product-cats::after { content:"25 мм · 600 выстрелов · 50 с"!important; }
html[lang^="ru"] .product-grid-item.post-201 .wd-product-cats::after { content:"30 мм · 100 выстрелов · 123 с"!important; }
html[lang^="ru"] .product-grid-item.post-172 .wd-product-cats::after { content:"50 мм · 39 выстрелов · 400 с"!important; }
html[lang^="ru"] .product-grid-item.post-166 .wd-product-cats::after { content:"25 мм · 200 выстрелов · 20 с"!important; }

/* Keep the native language dropdown in the header flow beside the cart. */
body .whb-header .trp-language-switcher.trp-floating-switcher.trp-ls-dropdown.trp-switcher-position-bottom.saluts-language-inline {
  position:relative!important;inset:auto!important;width:40px!important;min-width:40px!important;
  height:40px!important;flex:0 0 40px!important;margin:0 8px 0 4px!important;z-index:10010!important;
  overflow:visible!important;box-sizing:border-box!important;padding:0!important;border:0!important;border-radius:8px!important;
  --switcher-width:40px;--switcher-padding:0;--border-radius:8px;
}
body .saluts-language-inline .trp-language-switcher-inner { position:relative;flex-direction:column!important;width:100%;height:100%; }
body .saluts-language-inline .trp-language-item__current {
  display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:40px;padding:0!important;
  border:1px solid #29445f;border-radius:8px;background:#102b46;
}
body .saluts-language-inline .trp-switcher-dropdown-list { position:absolute!important;left:0!important;top:calc(100% + 4px)!important;bottom:auto!important;width:100%;min-width:40px!important;flex-direction:column!important;border-radius:8px;background:#102b46;box-shadow:0 8px 20px rgba(0,0,0,.3); }
body .saluts-language-inline .trp-switcher-dropdown-list .trp-language-item { display:flex!important;justify-content:center;padding:12px 8px!important; }
@media(min-width:1025px) { html[lang^="en"] #menu-galvena-izvelne { column-gap:12px!important; } }
@media(max-width:1024px) {
  body .whb-header .trp-language-switcher.trp-floating-switcher.trp-ls-dropdown.trp-switcher-position-bottom.saluts-language-inline { width:44px!important;min-width:44px!important;height:50px!important;flex-basis:44px!important;margin-right:8px!important; }
  body .saluts-language-inline .trp-language-item__current { height:50px; }
}
