/* Shared language controls and direction rules, loaded after page styles. */
.oms-language-control { display: inline-flex; align-items: center; margin: 0; }
.oms-language-control > .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.oms-language-select { cursor: pointer; color: #fff; background: #142036; border: 1px solid #64748b; border-radius: 6px; padding: 6px 10px; max-width: 130px; font: inherit; }
.oms-language-select option { background: #fff; color: #142036; }
.oms-language-select:focus-visible { outline: 3px solid #fab803; outline-offset: 2px; }
.oms-language-mobile { margin-inline-start: auto; margin-inline-end: 16px; }
.o_force_ltr, a[href^="tel:"], a[href^="mailto:"], input[type="tel"], input[type="email"], .technical-code { direction: ltr; unicode-bidi: isolate; }
.slider-container { direction: ltr; }
html[dir="rtl"] .slider-container { margin-left: 0 !important; margin-right: calc(-50vw + 50%) !important; }
.group-card[role="button"]:focus-visible, .product-sub-card[role="button"]:focus-visible { outline: 3px solid #fab803; outline-offset: 3px; }
.group-card[role="button"], .product-sub-card[role="button"] { cursor: pointer; }
.group-card > .catalog-group-image { height: 220px !important; background: #fff !important; display: flex; align-items: center; justify-content: center; overflow: hidden; }
#view-1-grouplist .group-card > .catalog-group-image > img:only-child { display: block !important; width: 100%; height: 100%; object-fit: contain; }
.catalog-count { margin-top: 6px; }
html[dir="rtl"] body { direction: rtl; font-family: Tahoma, Arial, sans-serif; text-align: right; }
html[dir="rtl"] p, html[dir="rtl"] li { line-height: 1.8; }
html[dir="rtl"] .text-start { text-align: right !important; }
html[dir="rtl"] .text-end { text-align: left !important; }
html[dir="rtl"] .me-1 { margin-right: 0 !important; margin-left: .25rem !important; }
html[dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: .5rem !important; }
html[dir="rtl"] .me-3 { margin-right: 0 !important; margin-left: 1rem !important; }
html[dir="rtl"] .me-4 { margin-right: 0 !important; margin-left: 1.5rem !important; }
html[dir="rtl"] .me-auto { margin-right: 0 !important; margin-left: auto !important; }
html[dir="rtl"] .ms-auto { margin-left: 0 !important; margin-right: auto !important; }
html[dir="rtl"] .ps-3 { padding-left: 0 !important; padding-right: 1rem !important; }
html[dir="rtl"] .dropdown-menu { text-align: right; }
html[dir="rtl"] .dropdown-menu-end { right: auto; left: 0; }
html[dir="rtl"] .dropdown-toggle::after { margin-left: 0; margin-right: .255em; }
html[dir="rtl"] .form-control:not([type="tel"]):not([type="email"]) { text-align: right; }
html[dir="rtl"] .s_website_form_label { width: auto !important; max-width: 100%; }
html[dir="rtl"] .s_website_form_rows { text-align: right; }
html[dir="rtl"] .cookie-banner { left: auto; right: 20px; }
html[dir="rtl"] .fa-arrow-left, html[dir="rtl"] .fa-arrow-right { transform: scaleX(-1); }
html[dir="rtl"] .oms-link-text span { display: inline-block; transform: scaleX(-1); }
html[dir="rtl"] .custom-testimonial-section [style*="text-align: left"] { text-align: right !important; }
html[dir="rtl"] .oms-title, html[dir="rtl"] .oms-desc, html[dir="rtl"] .card-title, html[dir="rtl"] .sub-card-title { letter-spacing: normal !important; overflow-wrap: anywhere; }
html[dir="rtl"] #top_menu, html[dir="rtl"] .navbar-nav { padding-inline-start: 0; }
@media (min-width: 768px) {
    html[dir="rtl"] .text-md-start { text-align: right !important; }
    html[dir="rtl"] .text-md-end { text-align: left !important; }
}
@media (min-width: 992px) {
    html[dir="rtl"] .offset-lg-1 { margin-left: 0; margin-right: 8.33333333%; }
    html[dir="rtl"] .o_grid_mode { direction: ltr; }
    html[dir="rtl"] .o_grid_mode > * { direction: rtl; }
}
@media (max-width: 991px) {
    #top .oms-language-mobile + #oms-mobile-menu-btn { margin-inline-start: 0 !important; }
    .oms-language-select { max-width: 112px; font-size: 14px; }
}
/* Long translations need the mobile navigation earlier than the original layout. */
@media (min-width: 992px) and (max-width: 1199px) {
    #top > .navbar.d-lg-block { display: none !important; }
    #top > .o_header_mobile { display: block !important; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    #o_main_nav > .navbar-nav:last-child > li:nth-child(-n+2) { display: none; }
}
@media (max-width: 575px) {
    html[dir="rtl"] .cookie-banner { left: 10px; right: 10px; }
    .list-group-item.d-flex { gap: 12px; flex-wrap: wrap; }
    .s_website_form_label { max-width: 100%; }
    .view-2-header { flex-wrap: wrap; gap: 16px; }
    .view-2-header h2 { flex-basis: 100%; text-align: start; }
}
