/* ArzDigital responsive navigation — step 02 */
:root {
  --arz-nav-accent: #6858e8;
  --arz-nav-accent-soft: rgba(104, 88, 232, .12);
  --arz-nav-border: rgba(148, 163, 184, .22);
  --arz-nav-surface: rgba(255, 255, 255, .96);
  --arz-nav-text-muted: #718096;
  --arz-nav-ease: cubic-bezier(.2, .75, .25, 1);
}
.dark {
  --arz-nav-accent: #a69bff;
  --arz-nav-accent-soft: rgba(166, 155, 255, .16);
  --arz-nav-border: rgba(148, 163, 184, .16);
  --arz-nav-surface: rgba(15, 23, 37, .97);
  --arz-nav-text-muted: #9aa8bc;
}

@media (max-width: 1279.98px) {
  .arz-mobile-appbar {
    min-height: 54px;
    padding-inline: clamp(5px, 1.6vw, 12px) !important;
    background: var(--arz-nav-surface) !important;
    border-bottom: 1px solid var(--arz-nav-border);
    box-shadow: 0 5px 18px rgba(15, 23, 42, .045);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  .arz-mobile-appbar > div {
    min-height: 54px;
    height: 54px !important;
  }
  .arz-mobile-menu-trigger,
  .arz-mobile-theme-toggle,
  .arz-mobile-drawer-close {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid var(--arz-nav-border);
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: inherit;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
  }
  .arz-mobile-menu-trigger:hover,
  .arz-mobile-theme-toggle:hover,
  .arz-mobile-drawer-close:hover { background: var(--arz-nav-accent-soft); border-color: rgba(104, 88, 232, .32); }
  .arz-mobile-menu-trigger:active,
  .arz-mobile-theme-toggle:active,
  .arz-mobile-drawer-close:active { transform: scale(.96); }
  .arz-mobile-menu-trigger:focus-visible,
  .arz-mobile-theme-toggle:focus-visible,
  .arz-mobile-drawer-close:focus-visible { outline: 2px solid var(--arz-nav-accent); outline-offset: 2px; }

  .arz-bottom-nav-shell {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 9900;
    width: 100%;
    padding: 0;
    background: var(--arz-nav-surface);
    border-top: 1px solid var(--arz-nav-border);
    box-shadow: 0 -8px 30px rgba(15, 23, 42, .075);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  .dark .arz-bottom-nav-shell { box-shadow: 0 -8px 28px rgba(0, 0, 0, .24); }
  .arz-bottom-nav {
    display: block;
    width: 100%;
    margin: 0;
    padding: 4px 2px calc(4px + env(safe-area-inset-bottom, 0px));
    background: transparent;
    direction: rtl;
  }
  .arz-bottom-nav__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    max-width: none;
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    direction: rtl;
  }
  .arz-bottom-nav__cell { display: block; min-width: 0; margin: 0; padding: 0; }
  .arz-bottom-nav__item {
    position: relative;
    display: flex;
    font: inherit;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 56px;
    width: 100%;
    margin: 0;
    padding: 4px 1px 3px;
    border: 0;
    border-radius: 13px;
    color: var(--arz-nav-text-muted);
    background: transparent;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color .16s ease, background-color .16s ease;
  }
  .arz-bottom-nav__item:hover { color: var(--arz-nav-accent); background: var(--arz-nav-accent-soft); }
  .arz-bottom-nav__item:focus-visible { outline: 2px solid var(--arz-nav-accent); outline-offset: -2px; }
  .arz-bottom-nav__icon-wrap {
    display: grid;
    place-items: center;
    width: 31px;
    height: 29px;
    flex: 0 0 auto;
    color: currentColor;
    border-radius: 10px;
  }
  .arz-bottom-nav__icon-wrap svg { display: block; width: 23px; height: 23px; }
  .arz-bottom-nav__label {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .arz-bottom-nav__item.is-active { color: var(--arz-nav-accent); background: var(--arz-nav-accent-soft); }
  .arz-bottom-nav__item.is-active .arz-bottom-nav__icon-wrap { background: rgba(104, 88, 232, .13); }
  .dark .arz-bottom-nav__item.is-active .arz-bottom-nav__icon-wrap { background: rgba(166, 155, 255, .19); }
  .arz-bottom-nav__item.is-active::after {
    position: absolute;
    top: 2px;
    inset-inline: 36%;
    height: 2px;
    border-radius: 999px;
    background: var(--arz-nav-accent);
    content: "";
  }

  /* Keep document content and fixed controls clear of the bottom navigation. */
  .arz-main-with-bottom-nav {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.arz-has-bottom-provider-ad .arz-main-with-bottom-nav {
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .arz-bottom-provider-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    width: 100%;
    padding: 4px 8px;
    overflow: hidden;
    background: linear-gradient(100deg, rgba(20, 184, 166, .13), rgba(104, 88, 232, .09));
    border-bottom: 1px solid var(--arz-nav-border);
  }
  .arz-bottom-provider-banner__image { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; object-fit: cover; }
  .arz-bottom-provider-banner__description { min-width: 0; flex: 1 1 auto; margin: 0; overflow: hidden; color: inherit; font-size: 10px; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
  .arz-bottom-provider-banner__cta { flex: 0 0 auto; max-width: 25%; padding: 5px 9px; border-radius: 999px; color: #fff; background: #0f9f90; font-size: 9px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
  .arz-bottom-provider-banner__close { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: #b91c1c; cursor: pointer; }
  .arz-bottom-provider-banner__close:focus-visible { outline: 2px solid var(--arz-nav-accent); outline-offset: 1px; }
  .arz-bottom-provider-banner.ad-banner-closed { display: none !important; }

  /* Android-like drawer: stable viewport, RTL edge, focusable panel and subtle motion. */
  .arz-mobile-drawer-root.hidden { display: none; }
  .arz-mobile-drawer-root {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--arz-nav-ease), visibility .2s ease;
  }
  .arz-mobile-drawer-root.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  .arz-mobile-drawer-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
    background: rgba(7, 13, 27, .52) !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity .22s ease;
  }
  .arz-mobile-drawer-root.is-open .arz-mobile-drawer-overlay { opacity: 1; }
  .arz-mobile-drawer-panel {
    position: absolute !important;
    inset-block: 0 !important;
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
    width: min(88vw, 360px) !important;
    max-width: 100vw;
    height: 100vh !important;
    height: 100dvh !important;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    background: var(--arz-nav-surface) !important;
    border-inline-end: 1px solid var(--arz-nav-border);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .24) !important;
    -webkit-overflow-scrolling: touch;
    z-index: 1 !important;
    transition: transform .22s var(--arz-nav-ease);
    will-change: transform;
  }
  [dir="rtl"] .arz-mobile-drawer-panel { transform: translateX(105%); }
  [dir="ltr"] .arz-mobile-drawer-panel { transform: translateX(-105%); }
  .arz-mobile-drawer-root.is-open .arz-mobile-drawer-panel { transform: translateX(0); }
  .arz-mobile-drawer-header {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 68px;
    background: var(--arz-nav-surface);
    border-color: var(--arz-nav-border) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .arz-mobile-drawer-close { color: inherit; }
  .arz-mobile-drawer-panel :is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--arz-nav-accent); outline-offset: 2px; }
}

@media (max-width: 359.98px) {
  .arz-bottom-nav { padding-inline: 1px; }
  .arz-bottom-nav__inner { gap: 0; }
  .arz-bottom-nav__item { min-height: 53px; gap: 2px; padding-inline: 0; border-radius: 10px; }
  .arz-bottom-nav__icon-wrap { width: 28px; height: 27px; }
  .arz-bottom-nav__icon-wrap svg { width: 21px; height: 21px; }
  .arz-bottom-nav__label { font-size: 9px; letter-spacing: -.1px; }
  .arz-mobile-appbar { padding-inline: 4px !important; }
  .arz-mobile-menu-trigger { width: 38px; height: 38px; }
}

@media (min-width: 1280px) {
  .arz-bottom-nav-shell,
  .arz-mobile-drawer-root,
  .arz-mobile-menu-trigger,
  .arz-mobile-appbar { display: none !important; }
  .arz-main-with-bottom-nav { padding-bottom: initial !important; }
}


/* Final163 Section 02 — responsive visibility aligned with navigation breakpoints.
   Keep the public footer visible on every viewport; only mobile app navigation
   controls are hidden on desktop. */
.arz-home-hero-copy { display: block; }
.arz-responsive-footer-shell { display: block; }
.arz-app-download-actions,
.arz-app-download-qr { display: flex; }

@media (max-width: 1279.98px) {
  .arz-home-hero-copy,
  .arz-app-download-actions,
  .arz-app-download-qr { display: none !important; }
}

/* Do not hide .arz-responsive-footer-shell on desktop: it is the shared site footer. */

@media (prefers-reduced-motion: reduce) {
  .arz-mobile-menu-trigger,
  .arz-mobile-theme-toggle,
  .arz-mobile-drawer-root,
  .arz-mobile-drawer-overlay,
  .arz-mobile-drawer-panel,
  .arz-bottom-nav__item { transition: none !important; scroll-behavior: auto !important; }
}


/* Final224 — keep the account card at the top of the drawer and use a compact bell action. */
@media (max-width:1279.98px) {
  .arz-mobile-appbar-account-avatar { display:none!important; }
  .arz-mobile-drawer-account {
    min-height:72px;
    border-color:rgba(13,148,136,.2)!important;
    background:linear-gradient(135deg,#ffffff 0%,#f0fdfa 100%)!important;
    box-shadow:0 9px 24px rgba(15,23,42,.065)!important;
  }
  .dark .arz-mobile-drawer-account {
    background:linear-gradient(135deg,#172b30 0%,#111c2a 100%)!important;
    border-color:rgba(45,212,191,.2)!important;
  }
  .arz-mobile-drawer-account>a:first-child { min-width:0;text-decoration:none!important; }
  .arz-mobile-drawer-account img { border:2px solid rgba(13,148,136,.12); }
  .arz-mobile-drawer-notification-button {
    position:relative;
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    flex:0 0 44px;
    border:1px solid rgba(13,148,136,.18);
    border-radius:14px;
    color:#087d6e;
    background:#e6fffa;
    font-size:19px;
    text-decoration:none!important;
    transition:transform .16s ease,background-color .16s ease;
  }
  .arz-mobile-drawer-notification-button:active { transform:scale(.94); }
  .dark .arz-mobile-drawer-notification-button { color:#99f6e4;background:#123b37;border-color:rgba(45,212,191,.22); }
  .arz-mobile-drawer-notification-count {
    position:absolute;
    top:-5px;
    inset-inline-end:-5px;
    display:grid;
    place-items:center;
    min-width:18px;
    height:18px;
    padding:0 4px;
    border:2px solid #fff;
    border-radius:999px;
    color:#fff;
    background:#0f9488;
    font-size:9px;
    font-weight:900;
    line-height:1;
  }
  .dark .arz-mobile-drawer-notification-count { border-color:#172b30; }
  .arz-mobile-drawer-panel .mobile-menu-item {
    border-radius:16px;
    box-shadow:0 2px 8px rgba(15,23,42,.025);
    transition:border-color .18s ease,box-shadow .18s ease;
  }
  .arz-mobile-drawer-panel .mobile-menu-item:has(.mobile-menu-btn[aria-expanded="true"]) {
    border-color:rgba(13,148,136,.32);
    box-shadow:0 7px 18px rgba(13,148,136,.07);
  }
  .arz-mobile-drawer-panel .mobile-menu-btn[aria-expanded="true"] .fa-chevron-down { transform:rotate(180deg); }
  .arz-bottom-provider-banner--campaign { text-decoration:none!important; }
  .arz-bottom-provider-banner--campaign .arz-bottom-provider-banner__description { color:inherit; }
}


/* Final225 — compact drawer utility bar, language picker and premium app CTA. */
@media (max-width:1279.98px) {
  .arz-mobile-drawer-header {gap:8px;padding:12px 14px!important;}
  .arz-mobile-drawer-tools {display:flex;align-items:center;gap:6px;flex:0 0 auto;}
  .arz-mobile-drawer-tools :is(.arz-mobile-theme-toggle,.arz-mobile-header-notification,.arz-mobile-drawer-close) {
    position:relative;display:grid;place-items:center;width:36px;height:36px;min-width:36px;
    border:1px solid var(--arz-nav-border,#e2e8f0);border-radius:12px;
    background:var(--arz-nav-soft,#f8fafc);color:var(--arz-nav-text,#334155);
    font-size:16px;text-decoration:none;transition:background .16s ease,border-color .16s ease,transform .16s ease;
  }
  .arz-mobile-drawer-tools :is(.arz-mobile-theme-toggle,.arz-mobile-header-notification,.arz-mobile-drawer-close):active {transform:scale(.94);}
  .dark .arz-mobile-drawer-tools :is(.arz-mobile-theme-toggle,.arz-mobile-header-notification,.arz-mobile-drawer-close) {
    background:#1e293b;color:#e2e8f0;border-color:#334155;
  }
  .arz-mobile-header-notification span {
    position:absolute;top:-5px;inset-inline-end:-5px;display:grid;place-items:center;min-width:17px;height:17px;
    padding:0 3px;border:2px solid var(--arz-nav-surface,#fff);border-radius:99px;background:#0f9488;color:#fff;
    font-size:9px;font-weight:900;line-height:1;
  }
  .arz-mobile-language-menu {position:relative;z-index:8;}
  .arz-mobile-language-menu>summary {
    display:flex;align-items:center;gap:4px;height:36px;padding:0 8px;border:1px solid var(--arz-nav-border,#e2e8f0);
    border-radius:12px;background:var(--arz-nav-soft,#f8fafc);color:var(--arz-nav-text,#334155);
    font-size:11px;font-weight:800;list-style:none;cursor:pointer;white-space:nowrap;
  }
  .arz-mobile-language-menu>summary::-webkit-details-marker {display:none;}
  .dark .arz-mobile-language-menu>summary {background:#1e293b;color:#e2e8f0;border-color:#334155;}
  .arz-mobile-language-chevron {font-size:9px;opacity:.65;}
  .arz-mobile-language-options {
    position:absolute;top:calc(100% + 9px);inset-inline-end:0;display:grid;gap:3px;min-width:142px;padding:6px;
    border:1px solid var(--arz-nav-border,#e2e8f0);border-radius:14px;background:var(--arz-nav-surface,#fff);
    box-shadow:0 16px 40px rgba(15,23,42,.18);
  }
  .arz-mobile-language-options a {
    display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:9px;
    color:var(--arz-nav-text,#334155);font-size:12px;font-weight:650;text-decoration:none;
  }
  .arz-mobile-language-options a:hover,.arz-mobile-language-options a[aria-current="true"] {background:var(--arz-nav-soft,#f0fdfa);color:#0f9488;}
  .dark .arz-mobile-language-options a {color:#e2e8f0;}
  .dark .arz-mobile-language-options a:hover,.dark .arz-mobile-language-options a[aria-current="true"] {background:#153b37;color:#5eead4;}
  .arz-mobile-app-promo-wrap {padding:14px 16px 4px;}
  .arz-mobile-app-promo {
    position:relative;isolation:isolate;display:flex;align-items:center;gap:11px;min-height:92px;overflow:hidden;
    padding:13px;border:1px solid rgba(45,212,191,.28);border-radius:18px;
    background:linear-gradient(118deg,#073b3a 0%,#0f766e 56%,#115e75 100%);
    color:#fff;text-decoration:none!important;box-shadow:0 10px 24px rgba(15,118,110,.18);
    transition:transform .18s ease,box-shadow .18s ease;
  }
  .arz-mobile-app-promo:active {transform:scale(.985);}
  .arz-mobile-app-promo-glow {position:absolute;z-index:-1;width:150px;height:150px;inset-inline-end:-65px;top:-80px;border-radius:50%;background:rgba(153,246,228,.18);filter:blur(2px);}
  .arz-mobile-app-promo-icon {display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:rgba(255,255,255,.13);font-size:22px;color:#ccfbf1;}
  .arz-mobile-app-promo-copy {display:grid;min-width:0;flex:1;gap:3px;}
  .arz-mobile-app-promo-eyebrow {font-size:8px;font-weight:850;letter-spacing:.12em;color:#99f6e4;opacity:.95;}
  .arz-mobile-app-promo-copy strong {font-size:13px;font-weight:850;line-height:1.35;color:#fff;}
  .arz-mobile-app-promo-copy small {font-size:10px;line-height:1.6;color:rgba(236,253,250,.82);}
  .arz-mobile-app-promo-action {display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:10px;background:rgba(255,255,255,.14);color:#fff;font-size:14px;}
}
@media (max-width:380px) {
  .arz-mobile-drawer-tools {gap:4px;}
  .arz-mobile-drawer-tools :is(.arz-mobile-theme-toggle,.arz-mobile-header-notification,.arz-mobile-drawer-close) {width:32px;height:32px;min-width:32px;}
  .arz-mobile-language-menu>summary {height:32px;padding-inline:6px;}
}

