/* Saudi website 7 native Odoo customer surfaces, never global Odoo pages.
 * The old header remains available until JS has mounted our replacement.
 * Native portal auth/rights, orders, invoices and native cart remain untouched.
 */
html.hx-sa-native-ui #wrapwrap > header:not(.hx-sa-native-header){display:none!important}
html.hx-sa-native-ui #wrapwrap > .hx-sa-native-header{position:relative;z-index:1000;width:100%;background:#fff;color:#101518;border-bottom:1px solid #e7eaec;box-shadow:0 8px 24px rgba(15,22,28,.04);font-family:ManropeHX,Arial,sans-serif}
.hx-sa-native-header .hx-sa-native-topbar{min-height:76px;max-width:1600px;padding:8px clamp(20px,5vw,76px);margin:0 auto;display:grid;grid-template-columns:minmax(135px,1fr) auto minmax(135px,1fr);align-items:center;gap:24px}
.hx-sa-native-header .hx-sa-native-brand{display:flex;align-items:center;width:154px;height:58px}
.hx-sa-native-header .hx-sa-native-brand img{display:block;width:100%;height:100%;object-fit:contain;object-position:left center}
.hx-sa-native-header .hx-sa-native-links,.hx-sa-native-header .hx-sa-native-actions{display:flex;align-items:center;gap:clamp(14px,2.2vw,34px)}
.hx-sa-native-header .hx-sa-native-links a,.hx-sa-native-header .hx-sa-native-mobile a{font-size:13px;color:#20282c;text-decoration:none;font-weight:550;white-space:nowrap}
.hx-sa-native-header .hx-sa-native-actions{justify-self:end;gap:12px}
.hx-sa-native-header .hx-sa-native-language{font-size:13px;min-width:25px;text-align:center;color:#20282c;text-decoration:none;font-weight:650}
.hx-sa-native-header .hx-sa-native-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;color:#20282c;border-radius:50%;text-decoration:none}
.hx-sa-native-header svg{display:block;width:22px;height:22px}
.hx-sa-native-header a:hover,.hx-sa-native-header a:focus-visible,.hx-sa-native-header button:focus-visible{text-decoration:none;outline-offset:3px}
.hx-sa-native-header .hx-sa-native-icon:hover{background:#f2f5f6}
.hx-sa-native-header .hx-sa-native-menu-button{display:none;border:0;background:transparent;color:inherit;width:40px;height:40px;align-items:center;justify-content:center}
.hx-sa-native-header .hx-sa-native-mobile[hidden]{display:none!important}
.hx-sa-native-header .hx-sa-native-mobile{display:flex;flex-direction:column;padding:12px 24px 22px;border-top:1px solid #e7eaec;gap:15px;background:#fff}
html.hx-sa-native-ui .o_portal_wrap{font-family:ManropeHX,Arial,sans-serif;background:#f9fafb;color:#101518}
html.hx-sa-native-ui .o_portal_wrap .container{max-width:1360px}
html.hx-sa-native-account-home .o_portal_wrap .o_portal_content.col-lg-8{width:100%;max-width:100%;flex:0 0 100%}
html.hx-sa-native-account-home .o_portal_wrap .d-none.d-lg-flex.justify-content-end.col-lg-4{display:none!important}
html.hx-sa-native-account-home .o_portal_wrap .wrapper>h3.my-3{display:none}
.hx-sa-native-account-intro{padding:30px 4px 36px;max-width:900px}
.hx-sa-native-account-intro .hx-sa-native-eyebrow{margin:0 0 14px;font-size:12px;color:#60727d;letter-spacing:.14em;font-weight:700}
.hx-sa-native-account-intro h1{margin:0;font-size:clamp(37px,5vw,68px);line-height:1.06;font-weight:720;letter-spacing:-.05em;color:#101518}
.hx-sa-native-account-intro>p:not(.hx-sa-native-eyebrow){margin:19px 0 24px;font-size:16px;line-height:1.6;color:#687178}
.hx-sa-native-account-shortcuts{display:flex;gap:12px;flex-wrap:wrap}
.hx-sa-native-account-shortcuts a{border:1px solid #dfe3e5;border-radius:999px;padding:10px 21px;color:#101518;background:#fff;text-decoration:none;font-size:14px;font-weight:650}
.hx-sa-native-account-shortcuts a:first-child{background:#101518;border-color:#101518;color:#fff}
html.hx-sa-native-account-home .o_portal_my_home .o_portal_index_card>a{background:#fff!important;border:1px solid #e7eaec;border-radius:16px!important;color:#101518;min-height:115px}
html.hx-sa-native-account-home .o_portal_my_home .o_portal_index_card>a:hover{border-color:#bcc8ce;box-shadow:0 6px 20px rgba(16,21,24,.06)}
html.hx-sa-native-ui #wrap{background:#f9fafb}
html.hx-sa-native-ui .hx-sa-v2-cart-intro{padding-top:38px}
html.hx-sa-native-ui .hx-sa-v2-cart-body{font-family:ManropeHX,Arial,sans-serif}
html.hx-sa-native-ui .hx-sa-v2-cart-body #cart_products{background:#fff;border:1px solid #dfe3e5;border-radius:18px;padding:clamp(14px,2vw,28px)}
html[lang^=ar].hx-sa-native-ui .o_portal_wrap,html[lang^=ar].hx-sa-native-ui .hx-sa-native-header,html[lang^=ar].hx-sa-native-ui .hx-sa-v2-cart-body{font-family:ArabicHX,Arial,sans-serif}
html[lang^=ar].hx-sa-native-ui .hx-sa-native-account-intro h1{letter-spacing:0;line-height:1.25}
@media(max-width:1030px){
  .hx-sa-native-header .hx-sa-native-links{gap:14px}
  .hx-sa-native-header .hx-sa-native-links a{font-size:12px}
}
@media(max-width:840px){
  .hx-sa-native-header .hx-sa-native-topbar{grid-template-columns:1fr auto;min-height:70px}
  .hx-sa-native-header .hx-sa-native-links{display:none}
  .hx-sa-native-header .hx-sa-native-menu-button{display:flex}
  .hx-sa-native-header .hx-sa-native-actions{gap:3px}
}
@media(max-width:540px){
  .hx-sa-native-header .hx-sa-native-topbar{padding-inline:17px;gap:5px}
  .hx-sa-native-header .hx-sa-native-brand{width:112px;height:48px}
  .hx-sa-native-header .hx-sa-native-icon{width:35px;height:35px}
  .hx-sa-native-header .hx-sa-native-language{font-size:12px}
  .hx-sa-native-account-intro{padding-top:22px}
  .hx-sa-native-account-shortcuts a{padding:9px 15px;font-size:13px}
}

/* Customer shell direct-load fallback, locale and mature portal aesthetics. */
@font-face{font-family:ManropeHX;src:url('/website_harmonyx_sa/static/src/v2/fonts/manrope-latin-variable.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
@font-face{font-family:ArabicHX;src:url('/website_harmonyx_sa/static/src/v2/fonts/ibm-plex-sans-arabic-400.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:ArabicHX;src:url('/website_harmonyx_sa/static/src/v2/fonts/ibm-plex-sans-arabic-600.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
html.hx-sa-native-ui .hx-sa-native-legacy-header,
html.hx-sa-native-ui .hx-sa-native-legacy-footer{display:none!important}
.hx-sa-native-header .hx-sa-native-signout{display:inline-flex;align-items:center;min-height:35px;font-size:12px;font-weight:650;text-decoration:none;color:#20282c;white-space:nowrap}
.hx-sa-native-header .hx-sa-native-signout:hover{text-decoration:underline}
.hx-sa-native-footer{background:#060a0d!important;color:#f6f7f8!important;width:100%;margin-top:0;font-family:ManropeHX,Arial,sans-serif}
.hx-sa-native-footer-inner{max-width:1600px;margin:0 auto;padding:70px clamp(22px,5vw,76px) 32px;display:grid;grid-template-columns:1fr 1fr;column-gap:40px;row-gap:56px}
.hx-sa-native-footer-brand img{width:160px;height:70px;object-fit:contain;object-position:left center}
.hx-sa-native-footer-brand p{margin:8px 0 0;color:#a8b2b8;font-size:14px}
.hx-sa-native-footer-nav{display:flex;flex-wrap:wrap;gap:14px 32px;align-content:start;justify-content:flex-end;padding-top:20px}
.hx-sa-native-footer-nav a{font-size:13px;line-height:1.5;color:#f6f7f8!important;text-decoration:none}
.hx-sa-native-footer-nav a:hover{text-decoration:underline}
.hx-sa-native-footer-bottom{grid-column:1/-1;border-top:1px solid #ffffff22;padding-top:24px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#909ba1}
.hx-sa-native-footer .hx-sa-ar{display:none}
html[lang^="ar"] .hx-sa-native-footer .hx-sa-en{display:none}
html[lang^="ar"] .hx-sa-native-footer .hx-sa-ar{display:inline}
html[lang^="ar"] .hx-sa-native-footer{font-family:ArabicHX,Arial,sans-serif}
html[lang^="ar"] .hx-sa-native-footer-brand img{object-position:right center}
html[lang^="ar"] .hx-sa-native-footer-nav{justify-content:flex-start}
html[lang^="ar"] .hx-sa-native-footer-bottom{direction:rtl}
html.hx-sa-native-ui .o_portal_my_home .o_portal_docs{gap:12px 0}
html.hx-sa-native-ui .o_portal_my_home .o_portal_category{row-gap:14px}
html.hx-sa-native-ui .o_portal_my_home .o_portal_index_card{padding-bottom:4px}
html.hx-sa-native-ui #wrapwrap .o_website_sale_checkout{max-width:1280px;min-height:420px;margin:0 auto;padding:44px clamp(18px,4vw,64px) 70px}
html.hx-sa-native-ui .hx-sa-v2-cart-intro h1{font-size:clamp(48px,6vw,88px);font-weight:760;letter-spacing:-.065em;line-height:1.03}
html.hx-sa-native-ui .hx-sa-v2-cart-intro .hx-sa-v2-cart-description{font-size:16px;line-height:1.6}
html.hx-sa-native-ui .js_cart_lines.alert-info{background:#edf3f5;border:1px solid #dfe7e9;color:#20282c;border-radius:12px;padding:22px}
@media(max-width:840px){.hx-sa-native-header .hx-sa-native-signout{display:none}}
@media(max-width:680px){
 .hx-sa-native-footer-inner{grid-template-columns:1fr;gap:30px;padding:44px 20px 24px}
 .hx-sa-native-footer-nav{justify-content:flex-start;padding:0}
 .hx-sa-native-footer-bottom{grid-column:1}
}
