/* Sway brand layer — Brand Guidelines v2.0
   Off-White #F5F0EB · Warm Cream #EDE6DF · Walnut #89644B · Camel #B89177 · Charcoal #3D3530
   Display: Josefin Sans · Body: Geist · Arabic: IBM Plex Sans Arabic */
:root{
  --canvas:#F5F0EB; --surface:#EDE6DF; --walnut:#89644B; --walnut-dk:#74543F; --camel:#B89177; --ink:#3D3530; --muted:#5E544D; --line:#DDD3C9;
  --display:"Josefin Sans","Futura","Century Gothic",sans-serif;
  --body:"Geist","Helvetica Neue",Arial,sans-serif;
  --arabic:"IBM Plex Sans Arabic","Geeza Pro","Segoe UI",sans-serif;
  color-scheme: light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;background:var(--canvas);color:var(--ink)}
body{font-family:var(--body);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit}
img{max-width:100%;display:block}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--walnut);outline-offset:3px}
[lang="ar"]{font-family:var(--arabic)}
.wrap{max-width:1280px;margin:0 auto;padding-left:max(24px,env(safe-area-inset-left,0px));padding-right:max(24px,env(safe-area-inset-right,0px))}

/* top navigation, shared by every tab */
.nav{position:sticky;top:0;z-index:40;background:rgba(245,240,235,.92);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid var(--surface)}
.nav.over{position:fixed;inset:0 0 auto;background:linear-gradient(to bottom,rgba(245,240,235,.9),rgba(245,240,235,0));border-bottom:0;backdrop-filter:none;-webkit-backdrop-filter:none}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:14px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-height:44px;min-width:44px}
.brand img{width:36px;height:35px}
.brand span{font-family:var(--display);font-size:26px;line-height:1;padding-top:5px}
.tabs{display:flex;align-items:center;gap:4px;font-size:15px}
.tabs a{text-decoration:none;padding:10px 14px;border-radius:999px;min-height:44px;display:inline-flex;align-items:center}
.tabs a:hover{background:var(--surface)}
.tabs a[aria-current="page"]{background:var(--ink);color:var(--canvas)}
.tabs .short{display:none}
@media (max-width:640px){.tabs{gap:0;font-size:14px}.tabs a{padding:10px 9px}.brand span{display:none}}
@media (max-width:360px){.tabs a{padding:10px 6px;font-size:13px}}

.eyebrow{margin:0 0 14px;font-size:12px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--walnut)}
.h1{margin:0;font-family:var(--display);font-weight:300;font-size:clamp(40px,6vw,76px);line-height:1.04;text-wrap:balance}
.h2{margin:0;font-family:var(--display);font-weight:300;font-size:clamp(30px,4vw,48px);line-height:1.1;text-wrap:balance}
.lead{margin:18px 0 0;font-size:18px;color:var(--muted);max-width:56ch}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:999px;font:500 15px var(--body);text-decoration:none;cursor:pointer;border:1px solid transparent}
.btn-solid{background:var(--walnut);color:var(--canvas)}
.btn-solid:hover{background:var(--walnut-dk)}
.btn-line{border-color:var(--ink);color:var(--ink);background:transparent}
.btn-line:hover{background:var(--surface)}

.concept{position:absolute;left:12px;top:12px;background:rgba(245,240,235,.92);color:var(--muted);font-size:11px;letter-spacing:.1em;text-transform:uppercase;padding:4px 10px;border-radius:999px}

.foot{background:var(--ink);color:var(--canvas)}
.foot .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px;padding-block:44px}
.foot .fb{display:flex;align-items:center;gap:12px}
.foot .fb img{width:36px;height:35px}
.foot .fb span{font-family:var(--display);font-size:22px}
.foot p{margin:0;font-size:14px;color:#E3DBD3}
.foot .fine{flex-basis:100%;border-top:1px solid #5A504A;padding-top:18px;font-size:13px;color:#CFC6BD;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px}

/* WhatsApp chat button, fixed on every tab */
.wa-fab{position:fixed;z-index:60;right:max(20px,env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:0 20px 0 16px;border-radius:999px;overflow:hidden;isolation:isolate;
  background:linear-gradient(180deg,#3CC97A 0%,#24A35A 48%,#1A8146 100%);border:1px solid rgba(255,255,255,.28);color:#fff;text-decoration:none;font:500 15px var(--body);text-shadow:0 1px 1px rgba(0,0,0,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -6px 12px rgba(0,60,25,.25),0 10px 30px rgba(31,40,30,.30);transition:transform .2s ease, box-shadow .2s ease, filter .2s ease}
.wa-fab::before{content:"";position:absolute;z-index:-1;left:8%;right:8%;top:2px;height:48%;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,255,255,.08));pointer-events:none}
.wa-fab::after{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);animation:wa-shine 4.5s ease-in-out infinite;pointer-events:none}
@keyframes wa-shine{0%,70%{left:-60%}100%{left:130%}}
.wa-fab:hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -6px 12px rgba(0,60,25,.25),0 14px 36px rgba(31,40,30,.36)}
.wa-fab svg{filter:drop-shadow(0 1px 1px rgba(0,0,0,.2))}
.wa-fab svg{width:26px;height:26px;flex:none}
@media (max-width:640px){.wa-fab{padding:0;width:56px;justify-content:center}.wa-fab span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
@media (prefers-reduced-motion:reduce){.wa-fab{transition:none}.wa-fab::after{animation:none;display:none}}
[id]{scroll-margin-top:80px}

/* social links */
.social{display:flex;gap:8px;align-items:center}
.social a{width:44px;height:44px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #5A504A;color:var(--canvas);transition:background .2s,border-color .2s}
.social a:hover{background:var(--walnut);border-color:var(--walnut)}
.social svg{width:20px;height:20px}
.social-ink a{border-color:var(--line);color:var(--ink)}
.social-ink a:hover{color:var(--canvas)}
.nav-social{margin-left:4px}
.nav-social a{width:40px;height:40px}
@media (max-width:899px){.nav-social{display:none}}

/* language switch + Arabic (right-to-left) */
.lang-btn{flex:none;min-width:44px;height:44px;border-radius:999px;border:1px solid var(--line);background:transparent;color:inherit;font:500 16px var(--arabic);cursor:pointer;padding:0 10px}
.lang-btn:hover{background:var(--surface)}
html[lang="ar"]{--display:var(--arabic);--body:var(--arabic)}
html[lang="ar"] body, html[lang="ar"] *{letter-spacing:0 !important}
html[lang="ar"] .lang-btn{font-family:var(--body)}
html[lang="ar"] .h1, html[lang="ar"] .h2, html[lang="ar"] h1, html[lang="ar"] h2{font-weight:500;line-height:1.3}
html[lang="ar"] .eyebrow{text-transform:none;font-size:13px}
@media (max-width:640px){.nav .wrap{gap:6px}.lang-btn{min-width:40px;padding:0 8px}}
@media (max-width:380px){.tabs a{padding:10px 6px;font-size:13px}}
.lang-btn{order:9}
html[lang="ar"] .specs b{direction:ltr;text-align:right}
/* phones and small tablets: brand and language on the first line, the menu on its own line below (5 tabs fit without cutting) */
.tabs a{white-space:nowrap}
@media (max-width:720px){
  .nav .wrap{flex-wrap:wrap;row-gap:2px;padding-block:8px 6px}
  .brand span{display:inline;font-size:22px}
  .nav .lang-btn{margin-inline-start:auto}
  .tabs{order:10;flex:1 0 100%;justify-content:space-between;overflow-x:auto;white-space:nowrap;scrollbar-width:none;margin-inline:-6px}
  .tabs::-webkit-scrollbar{display:none}
  .tabs a{flex:none;padding:8px 9px;min-height:40px;font-size:14px}
}
@media (max-width:360px){.tabs a{padding:8px 4px;font-size:13px}}

/* ---------- Glossy buttons (same look as the WhatsApp button) ---------- */
:root{
  --gloss-hi:linear-gradient(180deg,rgba(255,255,255,.42) 0%,rgba(255,255,255,.12) 48%,rgba(255,255,255,0) 52%);
  --gloss-walnut:linear-gradient(180deg,#B08466 0%,#89644B 55%,#6A4C39 100%);
  --gloss-ink:linear-gradient(180deg,#64574F 0%,#3D3530 55%,#2A241F 100%);
  --gloss-light:linear-gradient(180deg,#FFFFFF 0%,#F6F1EC 55%,#E9E0D7 100%);
  --gloss-sh-dark:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -5px 10px rgba(0,0,0,.18),0 6px 16px rgba(61,53,48,.22);
  --gloss-sh-light:inset 0 1px 0 #fff,inset 0 -4px 8px rgba(137,100,75,.12),0 4px 12px rgba(61,53,48,.12);
}
html body .btn,html body .lang-btn,html body .chips button,html body .seg button[aria-selected="true"],
html body .tabs a[aria-current="page"],html body .social a,html body .close,html body .more,html body .tabsbar button{
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease,background .18s ease}
/* dark / walnut buttons */
html body .btn-solid{background:var(--gloss-hi),var(--gloss-walnut);border:1px solid rgba(255,255,255,.22);color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.2);box-shadow:var(--gloss-sh-dark)}
html body .btn-solid:hover{background:var(--gloss-hi),var(--gloss-walnut);filter:brightness(1.07);transform:translateY(-1px)}
html body .seg button[aria-selected="true"],html body .chips button[aria-pressed="true"],html body .tabs a[aria-current="page"],
html body .tabsbar button[aria-selected="true"]{
  background:var(--gloss-hi),var(--gloss-ink);border-color:rgba(255,255,255,.18);color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.25);box-shadow:var(--gloss-sh-dark)}
/* light buttons */
html body .btn-line,html body .lang-btn,html body .chips button[aria-pressed="false"],html body .close,html body .more,
html body .social-ink a,html body .tabsbar button[aria-selected="false"]{
  background:var(--gloss-hi),var(--gloss-light);border:1px solid #D9CEC4;color:var(--ink);box-shadow:var(--gloss-sh-light)}
html body .btn-line:hover,html body .lang-btn:hover,html body .chips button[aria-pressed="false"]:hover,html body .close:hover,
html body .more:hover,html body .social-ink a:hover,html body .tabsbar button[aria-selected="false"]:hover{
  background:var(--gloss-hi),var(--gloss-light);filter:brightness(1.03);transform:translateY(-1px);box-shadow:inset 0 1px 0 #fff,inset 0 -4px 8px rgba(137,100,75,.14),0 7px 16px rgba(61,53,48,.16)}
/* "View details" becomes a small pill */
html body .more{text-decoration:none;padding:0 18px;border-radius:999px;min-height:40px;margin-top:4px;display:inline-flex;align-items:center;justify-content:center;line-height:1;align-self:flex-start}
/* footer social circles on the dark footer */
html body .foot .social a{background:var(--gloss-hi),var(--gloss-ink);border:1px solid rgba(255,255,255,.2);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 4px 12px rgba(0,0,0,.25)}
html body .foot .social a:hover{background:var(--gloss-hi),var(--gloss-walnut);transform:translateY(-1px)}
/* danger buttons in the dashboard keep their red text */
html body .btn-danger{background:var(--gloss-hi),var(--gloss-light);color:#9B2C1F;border:1px solid #C9A49D;box-shadow:var(--gloss-sh-light)}
html body .btn[disabled],html body .btn:disabled{filter:grayscale(.3) brightness(.95);transform:none;cursor:default}
html body .btn:active,html body .more:active,html body .chips button:active,html body .seg button:active{transform:translateY(1px)}
@media (prefers-reduced-motion:reduce){html body .btn,html body .more,html body .chips button,html body .social a,html body .lang-btn{transition:none;transform:none!important}}
/* Home hero buttons (on the dark scene) */
html body .cta{background:var(--gloss-hi),var(--gloss-light);border:1px solid #D9CEC4;color:var(--ink);box-shadow:var(--gloss-sh-light);transition:transform .18s ease,filter .18s ease}
html body .cta[style]{background:linear-gradient(180deg,rgba(255,255,255,.26) 0%,rgba(255,255,255,.08) 50%,rgba(255,255,255,.03) 100%)!important;border:1px solid rgba(245,240,235,.7)!important;color:#F5F0EB!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 16px rgba(0,0,0,.25)}
html body .cta:hover{filter:brightness(1.05);transform:translateY(-1px)}
/* Only the WhatsApp button keeps the moving shine */
@media (prefers-reduced-motion:reduce){html body .cta{transition:none;transform:none!important}}

/* Arabic: WhatsApp button sits bottom-left so it does not cover the first item of each row (rows start on the right) */
html[dir="rtl"] .wa-fab{right:auto;left:max(20px,env(safe-area-inset-left,0px))}
/* leave room at the very bottom of each page for the floating WhatsApp button */
.foot{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}

/* ---------- favourites ---------- */
.fav-btn{position:relative;flex:none;width:44px;height:44px;border-radius:999px;border:1px solid #D9CEC4;background:var(--gloss-hi),var(--gloss-light);box-shadow:var(--gloss-sh-light);color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;order:8}
.fav-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
.fav-n{position:absolute;top:-4px;inset-inline-end:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--walnut);color:#fff;font:600 11px/20px var(--body);text-align:center}
.fav-n[hidden]{display:none}
@media (max-width:720px){.nav .fav-btn{margin-inline-start:auto;width:40px;height:40px}.nav .fav-btn ~ .lang-btn{margin-inline-start:6px}}
.heart{width:44px;height:44px;border-radius:999px;border:1px solid #D9CEC4;background:rgba(255,255,255,.92);color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(61,53,48,.12);transition:transform .15s ease}
.heart svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;transition:fill .15s}
.heart[aria-pressed="true"]{color:#B4472E;border-color:#E3B9AE}
.heart[aria-pressed="true"] svg{fill:currentColor}
.heart:active{transform:scale(.92)}
.card figure .heart{position:absolute;top:10px;right:10px;z-index:2}
.fav-dlg{border:0;padding:0;border-radius:18px;width:min(520px,calc(100vw - 24px));max-height:min(86vh,760px);background:var(--canvas);color:var(--ink);box-shadow:0 30px 80px rgba(40,30,20,.3)}
.fav-dlg::backdrop{background:rgba(46,39,35,.55)}
.fav-in{padding:22px;display:flex;flex-direction:column;gap:14px}
.fav-h{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fav-h h2{margin:0;font-family:var(--display);font-weight:400;font-size:26px}
.fav-x{width:44px;height:44px;border-radius:999px;border:1px solid #D9CEC4;background:#fff;font-size:22px;cursor:pointer;color:var(--ink)}
.fav-help,.fav-empty{margin:0;color:var(--muted);font-size:14px}
.fav-list{display:flex;flex-direction:column;gap:10px}
.fav-item{display:grid;grid-template-columns:72px 1fr 44px;align-items:center;gap:12px;background:#fff;border-radius:12px;padding:8px}
.fav-img img{width:72px;height:56px;object-fit:contain;border-radius:8px;background:#fff;display:block}
.fav-name{display:flex;flex-direction:column;gap:2px;text-decoration:none;color:var(--ink);font-size:15px}
.fav-name [lang="ar"]{font-family:var(--arabic)}
.fav-code{font-size:11px;letter-spacing:.1em;color:var(--muted)}
.fav-rm{width:40px;height:40px;border-radius:999px;border:0;background:var(--surface);font-size:20px;cursor:pointer;color:var(--ink)}
.fav-acts{display:flex;flex-wrap:wrap;gap:10px}
.fav-acts [hidden]{display:none}
/* price line on cards and pages */
.price{margin:0;font-weight:500;font-size:15px;color:var(--walnut);font-variant-numeric:tabular-nums}

/* footer quick links */
.foot .flinks{display:flex;flex-wrap:wrap;gap:6px 18px;margin:6px 0 4px}
.foot .flinks a{color:#E3DBD3;text-decoration:none;font-size:14px;min-height:40px;display:inline-flex;align-items:center}
.foot .flinks a:hover{color:#fff;text-decoration:underline}
/* WhatsApp button shrinks to an icon once the visitor scrolls, so it covers less */
@media (min-width:641px){.wa-fab.mini{padding:0;width:56px;justify-content:center}.wa-fab.mini span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}

/* animated menu logo (blends into the cream menu) */
.brand img.brand-anim{object-fit:contain}
