.ph-language-switch {
    --ph-switch-width:76px;
    direction:ltr !important; display:inline-grid; grid-template-columns:1fr 1fr; position:relative;
    align-items:center; justify-items:stretch; flex:none; width:var(--ph-switch-width); height:34px;
    align-self:center; vertical-align:middle; box-sizing:border-box; padding:2px; margin:0; border:1px solid var(--line-strong,#b6cccf);
    border-radius:999px; background:var(--paper-2,#eff5f5); color:var(--ink,#253b44); cursor:pointer;
    touch-action:pan-y; user-select:none; -webkit-user-select:none; -webkit-tap-highlight-color:transparent; isolation:isolate;
}
.ph-language-switch::before {
    content:""; position:absolute; inset:2px auto 2px 2px; width:calc(50% - 2px);
    border-radius:999px; background:#146d71; transform:translateX(var(--ph-language-position,0%)); transition:transform .16s ease;
}
.ph-language-switch[aria-checked="true"]::before { transform:translateX(var(--ph-language-position,100%)); }
.ph-language-switch.ph-language-dragging::before { transition:none; }
.ph-language-switch span { z-index:1; text-align:center; font:600 12px/1.2 system-ui,sans-serif; }
.ph-language-switch[aria-checked="false"] .ph-language-fa,
.ph-language-switch[aria-checked="true"] .ph-language-en { color:#fff; }
.ph-language-switch:focus-visible, .ph-language-status button:focus-visible { outline:3px solid #2788b1;outline-offset:3px; }
.ph-language-top { display:flex; justify-content:flex-end; padding:6px 14px; position:relative; z-index:2; }
.ph-language-status { position:fixed; z-index:1050; bottom:calc(70px + env(safe-area-inset-bottom,0px)); inset-inline-end:12px; max-width:min(310px,calc(100vw - 28px)); background:#fff; color:#183f45; box-shadow:0 3px 12px #12434d28; padding:8px 12px; border:1px solid #a9c7c9; border-radius:8px; font:13px/1.4 system-ui,sans-serif; direction:ltr; }
.ph-language-status button {color:#075b66;background:transparent;border:0;text-decoration:underline;padding:2px 6px;}
.ph-language-status[hidden] { display:none; }
html[data-ph-language="en"] { --ph-digit-font:Arial; direction:ltr; }
html[data-ph-language="en"] body, html[data-ph-language="en"] [dir="rtl"]:not(input):not(textarea):not([contenteditable]) { direction:ltr !important; }
html[data-ph-language="en"] body {text-align:start;}
html[data-ph-language="en"] .text-start {text-align:left !important;}
html[data-ph-language="en"] .text-end {text-align:right !important;}
html[data-ph-language="en"] .ms-auto {margin-left:auto !important;margin-right:0 !important;}
html[data-ph-language="en"] .me-auto {margin-left:0 !important;margin-right:auto !important;}
html[data-ph-language="en"] .p-find__in {text-align:left;}
html[data-ph-language="en"] .ph-home .ph-auto-slide__content, html[data-ph-language="en"] .ph-home .ph-day,
html[data-ph-language="en"] .sh-opt, html[data-ph-language="en"] .pm-opt, html[data-ph-language="en"] .pm-snapp-text {
    direction:ltr; text-align:start;
}
html[data-ph-language="en"] .p-dd__menu, html[data-ph-language="en"] .p-packmenu {text-align:left;}
html[data-ph-language="en"] .dropdown-menu {text-align:left;}
html[data-ph-language="en"] .offcanvas-end {right:0;left:auto;transform:translateX(100%);}
html[data-ph-language="en"] .offcanvas-end.show, html[data-ph-language="en"] .offcanvas-end.showing {transform:none;}
html[data-ph-language="en"] .form-select {background-position:right .65rem center;padding-right:2rem;padding-left:.75rem;}
html[data-ph-language="en"] .product-button { white-space:normal !important; }
@media (max-width:575px) {
    .ph-language-switch {--ph-switch-width:63px;height:32px;}
    .p-head__in:has(.ph-language-switch) {gap:6px;}
    .p-head .p-acts {gap:3px;}
    .p-head .p-logo img {max-width:clamp(62px,18vw,95px);height:auto;}
}
@media (prefers-reduced-motion:reduce){.ph-language-switch::before{transition:none;}}
@media print {.ph-language-top,.ph-language-switch,.ph-language-status{display:none !important;}}
