.elecno-language-switch { position: relative; z-index: 115; font-size: 14px; text-transform: none; }
.elecno-language-switch summary { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; list-style: none; font-weight: 600; }
.elecno-language-switch summary::-webkit-details-marker { display: none; }
.elecno-language-switch summary:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.elecno-language-switch > ul { position: absolute; inset-inline-end: 0; top: 100%; min-width: 160px; margin: 0; padding: 8px; list-style: none; border: 1px solid #e2e8e5; border-radius: 12px; background: #fff; color: #182b21; box-shadow: 0 10px 28px #153d2520; }
.elecno-language-switch a { display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap; text-align: start; }
.elecno-language-switch a:hover, .elecno-language-switch a[aria-current] { color: #087e43; background: #edf8f1; }
html[lang] .button, html[lang] [class*="-button"], html[lang] .inquiry-submit { white-space: normal; line-height: 1.35; height: auto; text-align: center; }
html[lang] .site-container > *, html[lang] .footer-grid > *, html[lang] .product-overview__grid > *, html[lang] .news-card-body { min-width: 0; }
html[lang] h1, html[lang] h2, html[lang] h3, html[lang] .product-lead, html[lang] .entry-content { overflow-wrap: break-word; }
html[lang] .hero-copy h1 { line-height: 1.2; }
html[lang] .submenu { max-width: min(560px, calc(100vw - 48px)); }
html[lang] .submenu a { white-space: normal; }
html[lang] .nav-list { gap: clamp(14px, 1.6vw, 30px); }
html[lang] .nav-list > li > a, html[lang] .nav-list > li > button { font-size: 15px; }
html[lang] .news-card, html[lang] .resource-card, html[lang] .featured-product { height: auto; }
html[lang] .news-card-link, html[lang] .resource-card { min-width: 0; }
html[lang] .product-button, html[lang] .detail-button { min-width: 0; padding-inline: 18px; }
html[lang] .residential-filters, html[lang] .inverter-filters { max-width: 100%; }
html[lang] .product-table-wrap { max-width: 100%; overflow-x: auto; }
html[lang] .entry-content .wp-block-table { max-width: 100%; overflow-x: auto; }
html[lang] .elecno-contact-dock__item { font-family: inherit; }
html[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; line-height: 1.7; }
html[dir="rtl"] .primary-navigation { margin-left: 0; margin-right: 12px; }
html[dir="rtl"] .submenu { left: auto; right: 0; }
html[dir="rtl"] .header-actions { margin-left: 0; margin-inline-start: auto; }
html[dir="rtl"] .footer-grid, html[dir="rtl"] .footer-contact-list, html[dir="rtl"] .entry-content, html[dir="rtl"] .product-overview__content, html[dir="rtl"] .product-information, html[dir="rtl"] .news-card-body, html[dir="rtl"] .resource-card { text-align: start; }
html[dir="rtl"] .hero-copy, html[dir="rtl"] .hero-content { text-align: start; }
html[dir="rtl"] .footer-contact-list a, html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] a[href^="mailto:"], html[dir="rtl"] input[type="email"], html[dir="rtl"] input[type="tel"] { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .entry-content ul, html[dir="rtl"] .entry-content ol { padding-left: 0; padding-right: 1.6em; }
html[dir="rtl"] .product-table-wrap th, html[dir="rtl"] .product-table-wrap td { text-align: start; }
html[dir="rtl"] .product-gallery__controls, html[dir="rtl"] .product-gallery__thumbs, html[dir="rtl"] [data-drag-gallery] { direction: ltr; }
html[dir="rtl"] .product-detail-breadcrumb [aria-hidden], html[dir="rtl"] .project-breadcrumb [aria-hidden], html[dir="rtl"] .detail-heading > span[aria-hidden] { display: inline-block; transform: scaleX(-1); }
html[dir="rtl"] .inquiry-form, html[dir="rtl"] .wpcf7-form { direction: rtl; text-align: start; }
html[dir="rtl"] .inquiry-field { text-align: start; }
html[dir="rtl"] .inquiry-field input:not([type="email"]):not([type="tel"]), html[dir="rtl"] .inquiry-field textarea { text-align: start; direction: rtl; }
@media (min-width: 1161px) {
  html[dir="rtl"] .hero-content { padding-inline-start: 92px; }
}
@media (min-width: 1161px) and (max-width: 1440px) {
  html[lang] .header-inner { gap: 20px; }
  html[lang] .nav-list { gap: 15px; }
  html[lang] .nav-list > li > a, html[lang] .nav-list > li > button { font-size: 14px; }
}
@media (max-width: 1160px) {
  html[lang] .primary-navigation { margin-inline: 0; }
  html[lang] .primary-navigation:not(.is-open), html[lang] .primary-navigation:not(.is-open) * { visibility: hidden; pointer-events: none; }
  html[lang] .primary-navigation.is-open { visibility: visible; pointer-events: auto; }
  html[dir="rtl"] .menu-toggle { margin-left: 0; margin-inline-start: auto; }
  html[lang] .nav-list > li > a, html[lang] .nav-list > li > button { font-size: 16px; text-align: start; }
  html[lang] .submenu { max-width: 100%; }
  html[lang] .mobile-utility-actions { flex-wrap: wrap; overflow: visible; }
  html[lang] .elecno-language-switch > ul { max-height: 260px; overflow-y: auto; }
}
@media (max-width: 767px) {
  html[lang] .hero h1 { font-size: 30px; line-height: 1.25; }
  html[lang] .button { max-width: 100%; }
  html[lang] .footer-grid > div { min-width: 0; }
  html[lang] .product-overview__actions { flex-wrap: wrap; }
  html[lang] .product-button { font-size: 13px; padding-inline: 10px; }
  html[dir="rtl"] .elecno-contact-dock__item + .elecno-contact-dock__item { border-left: 0; border-right: 1px solid #737b76; }
}
