/* Keep the two language labels in the same order in both page directions. */
.damiettaLanguageToggle {width:78px;height:40px}
.damiettaLanguageToggle[data-damietta-language-toggle] {
  box-sizing:border-box;
  display:inline-grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:minmax(0,1fr);
  flex:0 0 auto;
  padding:3px;
  border:1px solid #a98251;
  border-radius:12px;
  background:#2c1e16;
  box-shadow:inset 0 1px 4px #140c08a0;
  direction:ltr;
  isolation:isolate;
}
.damiettaLanguageToggle::before {
  content:"";
  grid-area:1 / 1;
  border-radius:8px;
  background:linear-gradient(155deg,#e1c08b,#b48956);
  box-shadow:inset 0 1px #fff4d766,0 1px 4px #1b110b80;
  transform:translateX(100%);
  transition:transform 300ms cubic-bezier(.2,.75,.25,1);
  pointer-events:none;
}
html[lang=en] .damiettaLanguageToggle::before {transform:translateX(0)}
.damiettaLanguageToggle > button[data-language] {
  display:grid;
  place-items:center;
  justify-self:center;
  align-self:center;
  grid-row:1;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  padding:0;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#e1c8a5;
  font:800 15px/1 Tahoma,Arial,sans-serif;
  cursor:pointer;
  z-index:1;
  transition:color 300ms ease;
}
.damiettaLanguageToggle > [data-language=en] {grid-column:1}
.damiettaLanguageToggle > [data-language=ar] {grid-column:2}
.damiettaLanguageToggle > button[data-language]:hover {color:#fff3df}
.damiettaLanguageToggle > button[data-language][aria-pressed=true] {
  background:transparent;
  box-shadow:none;
  color:#291b12;
}
.damiettaLanguageToggle > button[data-language]:focus-visible {
  outline:2px solid #fff1d4;
  outline-offset:-2px;
  z-index:2;
}
@media(prefers-reduced-motion:reduce) {
  .damiettaLanguageToggle::before,.damiettaLanguageToggle > button[data-language] {transition:none}
}
.damiettaLanguageDock{position:fixed;inset-block-start:calc(12px + env(safe-area-inset-top,0px));inset-inline-end:84px;z-index:950}
html[lang=en] :is(.siteDrawerLink,.flowCheckoutContact,.flowSummaryItem,.flowProductMini,.flowSuccessPanel,.damiettaFooter,.productPageMain,.referenceInlineAr,.damArInfo,.damArStage){text-align:start;direction:ltr}
html[lang=en] .productSceneCopy{margin-inline-start:0!important;margin-inline-end:auto!important;text-align:start!important}
html[lang=en] .referenceInlineAr .damArInfo{direction:ltr!important}
html[lang=en] .damiettaFooterLinks a:hover{transform:translateX(3px)}
html[lang=en] :is(.brand,.siteDrawerLink strong){white-space:normal}
html[lang=en] input[dir=ltr]{direction:ltr}
/* The storefront mobile header has one row in both languages. */
@media(max-width:750px){
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle){display:grid!important;grid-template-columns:36px minmax(0,1fr) 77px 62px!important;grid-template-areas:"menu brand actions language"!important;align-items:center!important;gap:6px!important;position:sticky!important;top:0!important;width:100%!important;max-width:100%!important;height:66px!important;min-height:66px!important;padding:9px 10px!important;background:#291b12f7!important;border-bottom:1px solid #a7814f66!important;color:#f1dfc3!important;overflow:visible!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle)>.damiettaLanguageToggle{grid-area:language!important;justify-self:start!important;align-self:center!important;width:62px!important;height:36px!important;margin:0!important;gap:0!important;padding:3px!important;border-radius:10px!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .damiettaLanguageToggle button{font-size:13px!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) #siteMenuToggle{grid-area:menu!important;position:static!important;inset:auto!important;transform:none!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:38px!important;min-height:38px!important;padding:7px!important;margin:0!important;background:#382719!important;border:1px solid #a7814f77!important;border-radius:10px!important;color:#edd3aa!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .brand{grid-area:brand!important;display:flex!important;position:static!important;transform:none!important;inset:auto!important;justify-content:center!important;justify-self:stretch!important;align-items:center!important;gap:6px!important;min-width:0!important;width:auto!important;margin:0!important;overflow:hidden!important;color:#f1dfc3!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .brand b{font-size:clamp(11px,3vw,14px)!important;line-height:1.35!important;color:#f1dfc3!important;white-space:nowrap!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .brand small{display:block!important;font-size:8px!important;line-height:1.4!important;color:#cbb08a!important;white-space:nowrap!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .brand .logo{width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;flex:0 0 34px!important;border-radius:9px!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .act{grid-area:actions!important;position:static!important;inset:auto!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;width:77px!important;min-width:0!important;margin:0!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .act>.hb{position:relative!important;inset:auto!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:38px!important;min-height:38px!important;padding:7px!important;border:1px solid #a7814f77!important;border-radius:10px!important;background:#382719!important;color:#efd8b4!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .act>.hb>span{display:none!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .act>.hb svg{width:21px!important;height:21px!important;stroke:#efd8b4!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) #cartCount{position:absolute!important;top:-6px!important;left:-4px!important;width:17px!important;min-width:17px!important;height:17px!important;font-size:9px!important;background:#b38a51!important;color:#fff6e4!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .account-avatar{width:23px!important;height:23px!important}
 html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle)>.trialContact{display:none!important}
 html[lang=en] body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .brand b{font-size:10px!important;white-space:normal!important;line-height:1.2!important}
 html[lang=en] body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .brand small{font-size:7px!important;white-space:normal!important}
}
@media(max-width:360px){html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle){gap:4px!important;padding-inline:6px!important}html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .brand .logo{width:27px!important;height:27px!important;min-width:27px!important;flex-basis:27px!important}html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle) .brand small{font-size:6.5px!important}}

/* Keep the four header groups together on wide screens, in both languages. */
@media(min-width:751px){
 html body:is(.productPage,.homeLaunchPolish)>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle){box-sizing:border-box;display:grid!important;grid-template-columns:48px minmax(220px,1fr) auto 78px!important;grid-template-areas:"menu brand actions language"!important;align-items:center!important;column-gap:16px!important;min-height:82px!important;padding:12px max(24px,calc((100vw - 1280px)/2))!important}
 html body:is(.productPage,.homeLaunchPolish)>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle)>.damiettaLanguageToggle{grid-area:language!important;margin:0!important;justify-self:start}
 html body:is(.productPage,.homeLaunchPolish)>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle)>#siteMenuToggle{grid-area:menu!important;margin:0!important;position:static!important;inset:auto!important;transform:none!important}
 html body:is(.productPage,.homeLaunchPolish)>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle)>.brand{grid-area:brand!important;justify-self:center!important;margin:0!important;min-width:0}
 html body:is(.productPage,.homeLaunchPolish)>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle)>.act{grid-area:actions!important;width:auto!important;margin:0!important;display:flex!important;gap:10px!important;align-items:center!important}
}


/* Explicit positioning prevents old hero/header rules from stacking the controls. */
html body>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle)>.damiettaLanguageToggle{position:static!important;inset:auto!important;transform:none!important;float:none!important;order:initial!important;z-index:auto!important}
@media(min-width:751px){html body:is(.productPage,.homeLaunchPolish)>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle)>.brand{position:static!important;inset:auto!important;transform:none!important;width:auto!important;max-width:none!important}html body:is(.productPage,.homeLaunchPolish)>:is(header,header#officeHeader):has(.brand):has(.act):has(.siteMenuToggle)>#siteMenuToggle{width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;align-self:center!important}}

/* Order tracking keeps one reserved header cell in both languages. */
html body>:is(header,header#officeHeader).headerWithStatus[data-order-status="ready"]:has(.brand):has(.act):has(.siteMenuToggle){grid-template-columns:48px max-content minmax(160px,1fr) auto 78px!important;grid-template-areas:"menu status brand actions language"!important}
html body>header[data-order-status="ready"] .headerStatusAction{grid-area:status!important;position:relative!important;inset:auto!important;transform:none!important;margin:0!important;display:inline-flex!important;align-items:center;justify-content:center;align-self:center!important;justify-self:center!important;width:auto!important;min-height:44px!important;height:auto!important;padding:8px 12px!important;border:1px solid #ba945f;border-radius:12px;background:#392719!important;color:#f5dfbd!important;text-decoration:none;white-space:nowrap;font-size:12px;line-height:1.2}
html body>header[data-order-status="ready"] .headerStatusAction:after{display:none!important}
@media(max-width:750px){html body>:is(header,header#officeHeader).headerWithStatus[data-order-status="ready"]:has(.brand):has(.act):has(.siteMenuToggle){grid-template-columns:36px max-content minmax(0,1fr) 77px 62px!important;gap:4px!important;padding-inline:8px!important}html body>header[data-order-status="ready"] .headerStatusAction{font-size:10px!important;padding:6px!important;min-height:40px!important}html body>header[data-order-status="ready"] .brand{min-width:0!important;gap:4px!important}html body>header[data-order-status="ready"] .brand b{font-size:10px!important;white-space:normal!important}html body>header[data-order-status="ready"] .brand small{font-size:6px!important}html body>header[data-order-status="ready"] .brand .logo{width:28px!important;height:28px!important;flex:none!important}}
