/* Localization is a full-width extension of the shared Prestige navigation. */
#solari-header .sp-localization{position:static}
#solari-header .sp-localization>summary,#solari-mobile-menu .sp-localization>summary{font-weight:400;gap:10px;min-height:44px;white-space:nowrap}
#solari-header .sp-localization summary b,#solari-mobile-menu .sp-localization summary b{font-size:11px;font-weight:400;letter-spacing:.12em}
#solari-header .sp-localization summary .sp-locale-divider,#solari-mobile-menu .sp-localization summary .sp-locale-divider{font-size:11px;transform:none;border:0;width:auto;height:auto;opacity:.55}
#solari-header .sp-localization summary::before,#solari-header .sp-localization summary::after,#solari-mobile-menu .sp-localization summary::before,#solari-mobile-menu .sp-localization summary::after{display:none!important;content:none!important}
#solari-header .sp-localization .sp-locale-chevron,#solari-mobile-menu .sp-localization .sp-locale-chevron{width:7px;height:7px;border-inline-end:1px solid;border-bottom:1px solid;transform:translateY(-2px) rotate(45deg);margin-inline-start:4px}
#solari-header .sp-localization .sp-flag,#solari-mobile-menu .sp-localization .sp-flag{width:24px;height:16px;display:block;flex-shrink:0;border-radius:1px;box-shadow:0 0 0 1px #24231f12;overflow:hidden;transform:none;border:0}
#solari-header .sp-localization .sp-localization-menu{position:absolute;inset-inline:0;top:100%;width:100%;max-width:none;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);padding:36px 48px 40px;background:#fff;color:#24231f;border:0;border-top:1px solid #24231f26;border-radius:0;box-shadow:0 12px 20px #24231f08;max-height:calc(100dvh - 110px);overflow-y:auto;opacity:0;visibility:hidden;transform:translateY(-8px);pointer-events:none;transition:opacity .2s,transform .32s cubic-bezier(.22,1,.36,1),visibility .32s}
#solari-header .sp-localization[open] .sp-localization-menu{opacity:1;visibility:visible;transform:none;pointer-events:auto}
#solari-header .sp-localization-menu h2,#solari-mobile-menu .sp-localization-menu h2{font-family:inherit;font-size:11px;font-weight:400;line-height:1.5;letter-spacing:.16em;text-transform:uppercase;margin:0 0 19px;color:#24231f}
#solari-header .sp-localization-menu .sp-language-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 28px}
#solari-header .sp-localization-menu .sp-language-grid a,#solari-mobile-menu .sp-localization-menu .sp-language-grid a{display:flex;align-items:center;gap:14px;min-height:44px;padding:10px 8px;font-size:13px;letter-spacing:0;border:0;border-radius:3px;white-space:normal;color:#24231f;background:none;line-height:1.5;text-transform:none}
#solari-header .sp-localization-menu .sp-language-grid a>span:not(.sp-choice-current),#solari-mobile-menu .sp-localization-menu .sp-language-grid a>span:not(.sp-choice-current){flex:1;width:auto;height:auto;border:0;transform:none;font-size:13px}
#solari-header .sp-localization-menu :is(a:hover,a[aria-current],button:hover,button[aria-pressed=true]),#solari-mobile-menu .sp-localization-menu :is(a:hover,a[aria-current],button:hover,button[aria-pressed=true]){background:#f5f3ef}
#solari-header .sp-localization-menu .sp-choice-current,#solari-mobile-menu .sp-localization-menu .sp-choice-current{width:6px;height:6px;border:0;border-radius:50%;background:currentColor;opacity:0;transform:none;flex:0 0 6px}
#solari-header .sp-localization-menu [aria-current] .sp-choice-current,#solari-header .sp-localization-menu [aria-pressed=true] .sp-choice-current,#solari-mobile-menu .sp-localization-menu [aria-current] .sp-choice-current,#solari-mobile-menu .sp-localization-menu [aria-pressed=true] .sp-choice-current{opacity:1}
#solari-mobile-menu .sp-drawer-footer{position:relative}
#solari-mobile-menu .sp-localization{position:static}
#solari-mobile-menu .sp-localization>summary{justify-content:flex-start}
#solari-mobile-menu .sp-localization .sp-localization-menu{position:absolute;inset-inline:0;bottom:100%;top:auto;width:100%;min-width:0;max-height:calc(100dvh - 135px);padding:24px 20px;background:#fff;color:#24231f;border:0;border-top:1px solid #24231f26;border-bottom:1px solid #24231f26;border-radius:0;box-shadow:0 -8px 20px #24231f0c;overflow:auto}
#solari-mobile-menu .sp-localization:not([open]) .sp-localization-menu{display:none}
#solari-mobile-menu .sp-localization-menu .sp-language-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 9px}
#solari-mobile-menu .sp-localization-menu .sp-language-grid a{gap:9px;padding-inline:5px}
.sp-request-price{font:inherit;color:inherit}
@media(min-width:1201px) and (max-width:1390px){#solari-header .sp-localization .sp-localization-menu{padding-inline:32px;gap:48px}}
@media(prefers-reduced-motion:reduce){#solari-header .sp-localization .sp-localization-menu{transition:none}}

#solari-header .sp-localization-menu .sp-language-section{width:100%;max-width:960px;justify-self:center}
.ss-support .sp-support-market{max-width:520px;margin:24px 0 0;border-block:1px solid var(--line,#dedbd4);scroll-margin-block-start:120px}
.ss-support .sp-support-market>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:8px 0;list-style:none;cursor:pointer;color:inherit}
.ss-support .sp-support-market>summary::-webkit-details-marker{display:none}
.ss-support .sp-support-market>summary i{width:7px;height:7px;flex:none;border-inline-end:1px solid;border-bottom:1px solid;transform:rotate(45deg)}
.ss-support .sp-support-market[open]>summary i{transform:rotate(225deg)}
.ss-support .sp-market-form{display:grid;gap:8px;margin:0 0 12px}
.ss-support .sp-market-form select,.ss-support .sp-market-form button{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:8px 12px;border:1px solid #292724;border-radius:0;font:inherit}
.ss-support .sp-market-form select{color:#292724;background:#fff}
.ss-support .sp-market-form button{color:#fff;background:#292724;cursor:pointer}
.ss-support .sp-support-market :is(summary,select,button):focus-visible{outline:2px solid currentColor;outline-offset:3px}

.site-footer .footer-bottom>.sp-footer-localization{grid-column:2;grid-row:1;justify-self:end}
.site-footer .sp-footer-language,.sp-language-dialog .sp-language-heading button{
 display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:48px;min-height:48px;
 padding:0 8px;border:0;background:none;color:#292724;font:inherit;cursor:pointer
}
.site-footer .sp-footer-language{font-size:12px;letter-spacing:.04em}
.sp-footer-language .sp-flag,.sp-language-dialog .sp-flag{display:block;width:24px;height:16px;flex:none}
.sp-footer-language i{width:7px;height:7px;flex:none;border-inline-end:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-2px) rotate(45deg)}
html body #sp-language-dialog{
 position:fixed;inset:auto 0 0;margin:0 auto;box-sizing:border-box;width:min(100%,480px);max-width:none;
 max-height:min(80dvh,620px);padding:0;border:0;background:#fff;color:#292724;overflow:auto;overscroll-behavior:contain;
 font-family:var(--sans,Arial,sans-serif);font-size:14px;text-align:start;line-height:1.5
}
#sp-language-dialog::backdrop{background:#18171365}
html:has(#sp-language-dialog:modal){overflow:hidden}
@media(min-width:1201px),(min-width:768px) and (min-height:501px){
 .site-footer .sp-footer-localization{position:relative}
 html body #sp-language-dialog{
  position:absolute;inset:auto 0 calc(100% + 8px) auto;inset-inline-end:0;inset-inline-start:auto;
  z-index:2;margin:0;width:232px;max-height:calc(100dvh - 32px);overflow-x:hidden;
  border:1px solid #dedbd4;box-shadow:0 8px 24px #1817131a
 }
 #sp-language-dialog .sp-language-heading{display:none}
 #sp-language-dialog .sp-language-grid{gap:2px;padding:8px}
}
@media(min-width:768px) and (max-width:1200px) and (min-height:501px),(min-width:1201px) and (max-height:740px){
 html body #sp-language-dialog{width:352px}
 #sp-language-dialog .sp-language-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
.sp-language-dialog .sp-language-heading{
 position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:16px;
 min-height:64px;padding:8px 20px;background:#fff;border-bottom:1px solid #dedbd4
}
.sp-language-dialog .sp-language-heading h2{margin:0;font:inherit;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.sp-language-dialog .sp-language-heading form{margin:0;display:block}
.sp-language-dialog .sp-language-heading svg{width:20px;height:20px}
.sp-language-dialog .sp-language-grid{display:grid;gap:16px;padding:16px 20px calc(20px + env(safe-area-inset-bottom,0px))}
.site-footer .sp-language-dialog .sp-language-grid a{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 12px;color:#292724;text-decoration:none}
.sp-language-dialog .sp-language-grid a:is([aria-current],:hover){background:#f5f3ef}
.sp-language-dialog .sp-choice-current{width:6px;height:6px;border-radius:50%;background:currentColor;margin-inline-start:auto}
.site-footer .sp-footer-localization :is(button,a):focus-visible{outline:2px solid #66523a;outline-offset:2px}
@media(max-width:767px){
 .site-footer .footer-bottom>.sp-footer-localization{grid-column:1;grid-row:1;justify-self:start}
}

/* Keep the eight languages visible together on phones. */
@media(max-width:767px),(max-width:950px) and (max-height:500px){
 html body #sp-language-dialog{max-height:calc(100dvh - 16px);overflow-x:hidden;scrollbar-width:none}
 #sp-language-dialog::-webkit-scrollbar{display:none}
 .sp-language-dialog .sp-language-heading{border-bottom:0}
 .sp-language-dialog .sp-language-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 16px calc(16px + env(safe-area-inset-bottom,0px))}
 .site-footer .sp-language-dialog .sp-language-grid a{min-width:0;padding-inline:8px;gap:8px}
 .sp-language-dialog .sp-language-grid a>span{overflow-wrap:anywhere}
}
@media(min-width:620px) and (max-width:950px) and (max-height:500px){
 html body #sp-language-dialog{width:min(100%,680px)}
 .sp-language-dialog .sp-language-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
