/* ==========================================================================
   Uno type layer v2 — Alexandria for Arabic, Inter for Latin and digits.
   Both faces are self-hosted here, both are SIL Open Font License 1.1.
   Alexandria is a variable font (100-900): one woff2 per unicode subset, so
   headings at 700-800 and body at 400-500 come from the same file.
   Latin and digits resolve to Inter first, Arabic falls through to Alexandria.
   Link this file last, after uno-type.css.
   ========================================================================== */
@font-face{
  font-family:'Uno Inter';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(fonts/inter-var.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Uno Alexandria';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(fonts/alexandria-var-arabic.woff2) format('woff2');
  unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E;
}
@font-face{
  font-family:'Uno Alexandria';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(fonts/alexandria-var-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face{
  font-family:'Uno Alexandria';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(fonts/alexandria-var-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
:root{
  --uno-font:'Uno Inter','Uno Alexandria','Alexandria','IBM Plex Sans Arabic','Segoe UI',Tahoma,system-ui,sans-serif;
  --uno-font-latin:'Uno Inter','Segoe UI',Tahoma,system-ui,sans-serif;
  --uno-font-arabic:'Uno Alexandria','Alexandria','Segoe UI',Tahoma,system-ui,sans-serif;
  --uno-lh-ar:1.7; --uno-lh-en:1.55;
}
html body,html button,html input,html select,html textarea,html .btn,html .ua,html .uerp,html .erp-login,html .ucrm{
  font-family:var(--uno-font)!important;
}
html code,html pre,html kbd,html .mono,html .num-mono{font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace!important}
/* Arabic reads better with room between lines; English stays tight */
html[lang=ar] body{line-height:var(--uno-lh-ar)}
html[lang=en] body{line-height:var(--uno-lh-en)}
html[lang=ar] p,html[lang=ar] li,html[lang=ar] .sub,html[lang=ar] .ua-sub,html[lang=ar] .ua-note{line-height:1.75}
html[lang=ar] table td,html[lang=ar] table th,html[lang=ar] .tbl td,html[lang=ar] .tbl th{line-height:1.5}
/* headings: the design uses 600-800, body 400-500 */
html body h1,html body h2,html body h3{font-weight:700;letter-spacing:-.005em}
html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3{letter-spacing:0;font-weight:700}
html[lang=ar] .ua-card h2,html[lang=ar] .ua-panel h1,html[lang=ar] .u-top h1,html[lang=ar] .u-empty b{font-weight:800}
html body{font-feature-settings:'kern' 1,'liga' 1,'calt' 1;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
/* touch targets: 44px minimum on public screens (footer, social, close, hearts, selects) */
.fcols a{min-height:44px;margin-bottom:0}
.soc,.fl,.totop{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
button.ux{min-width:44px;min-height:44px}
.us-heart{min-width:44px;min-height:44px}
button.ud-x,button.ud-mic{min-width:44px;min-height:44px}
select{min-height:44px}

/* ===== v4: contrast, one focus ring, 44px targets on every public page ===== */
:root{--uno-or-fill:#C24600;--uno-or-fill-h:#A33B00;--uno-ring:#C24600}
html[data-theme=dark]{--uno-ring:#FF9A4D}
/* text-bearing orange fills: brand orange stays on logos and large graphics; text on it uses the darker fill (white on #C24600 = 5.04:1) */
.btn:not(.alt):not(.ghost){background:var(--uno-or-fill)}
.btn:not(.alt):not(.ghost):hover{background:var(--uno-or-fill-h)}
.us-pg button[aria-current=page]{background:var(--uno-or-fill);border-color:var(--uno-or-fill)}
html:not([data-theme=dark]) .btn.alt,
html:not([data-theme=dark]) .cta .btn,
html:not([data-theme=dark]) nav a.act,
html:not([data-theme=dark]) .us-links a{color:var(--uno-or-fill)}
html:not([data-theme=dark]) .btn.alt{border-color:var(--uno-or-fill)}
/* one focus ring everywhere */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible,[role=button]:focus-visible{
  outline:3px solid var(--uno-ring)!important;outline-offset:2px!important;box-shadow:0 0 0 2px #fff!important;border-radius:inherit}
html[data-theme=dark] a:focus-visible,html[data-theme=dark] button:focus-visible{box-shadow:0 0 0 2px #14181d!important}
/* 44px targets */
nav a{display:inline-flex;align-items:center;min-height:44px}
footer.ft a,.fcols a{min-height:44px!important;display:flex;align-items:center}
.soc,.fl{min-height:44px!important;display:inline-flex;align-items:center;justify-content:center}
.icb{width:44px;height:44px}
.hs-n{width:44px;height:44px}
.chip{min-height:44px}
.hs-d button{width:44px!important;height:44px!important}
.hs-d button.on{width:52px!important}
.hcta{min-height:44px}
label:has(>input[type=checkbox]),label:has(>input[type=radio]){min-height:44px;display:flex;align-items:center;gap:8px}
a:has(>img[src*="banner-"]){display:inline-block;min-height:44px}

/* floating assistant bubble: sits over the picture side of cards on phones, never over the copy.
   Arabic: text is on the right, so the bubble goes left. English: text is on the left, so it goes right. */
@media(max-width:820px){
  #chat-fab{inset-inline-start:auto!important;inset-inline-end:12px;width:56px;height:56px}
  #top-btn{inset-inline-end:auto!important;inset-inline-start:12px}
}

/* v6: checkout header targets, secure chip contrast, store filter checkboxes with a real 44px hit area */
.uo-brand,.uo-head__support,.uo-back{min-height:44px;display:inline-flex;align-items:center}
html:not([data-theme=dark]) .uo-chip--sec,html:not([data-theme=dark]) .uo-chip--secure{color:#15803D}
main.us input[type=checkbox]{-webkit-appearance:none;appearance:none;width:44px;height:44px;margin:0 -8px;display:inline-grid;place-items:center;background:transparent;border:0;cursor:pointer;flex:none}
main.us input[type=checkbox]::before{content:"";width:22px;height:22px;border-radius:6px;border:2px solid #8a8f98;background:var(--bg,#fff);box-sizing:border-box;transition:background .15s,border-color .15s}
main.us input[type=checkbox]:checked::before{background:#C24600 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;border-color:#C24600}
.uo-sugg__card em{background:#191A1E}

/* v7: bare "Alexandria" alias (checkout headings fell back to DejaVu), dark-theme fills, narrow nav targets, band button */
@font-face{font-family:'Alexandria';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/alexandria-var-arabic.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'Alexandria';font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/alexandria-var-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212}
html[data-theme=dark] .hcta,html[data-theme=dark] .steps .n{background:#C24600;color:#fff}
.fcta .btn:not(.ghost),.fcta .btn:not(.ghost) *{background:#fff;color:#B03F00!important}
.fcta .btn:not(.ghost) *{background:transparent}
nav a{min-width:44px;justify-content:center}
.us-tbtn{min-height:44px!important}
/* v8: contrast on blog kicker and account buttons */
.sth-k,html:not([data-theme=dark]) .sth-k{background:#C24600!important}
.acc .go,.acc button.go{background:#C24600;color:#fff}
.acc .go *{color:#fff}
.acc .go.alt,.acc button.go.alt{background:transparent;color:#B03F00;border-color:#B03F00}
.acc .go.alt *{color:#B03F00}
html[data-theme=dark] .acc .go.alt,html[data-theme=dark] .acc .go.alt *{color:#FF9E4A;border-color:#FF9E4A}
/* v9: blog article back link, share buttons, alt button */
html:not([data-theme=dark]) .wrap.art a.back,html:not([data-theme=dark]) .wrap.art a.back *{color:#B03F00}
.wrap.art a.back{display:inline-flex;align-items:center;min-height:44px}
.wrap.art .shr,.wrap.art button.shr{min-height:44px;display:inline-flex;align-items:center}
html:not([data-theme=dark]) .wrap.art .acta .btn.alt,html:not([data-theme=dark]) .wrap.art .acta .btn.alt *{color:#B03F00}
/* v10: article table of contents contrast and tap size */
.toc button{color:#B03F00!important;min-height:44px;display:flex!important;align-items:center;box-sizing:border-box}
html[data-theme=dark] .toc button{color:#FF9E4A!important}
