/* Shared customer navigation. */
.mobile-nav,.mobile-nav-clearance {display:none;}
@media(max-width:899px) {
  .mobile-nav {
    --text-main:#28323c;--accent:#ffcc00;--border-color:#dde1e5;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    padding: 8px 4px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 50;
    box-shadow: none;
    font-family:Cairo,sans-serif;
    direction:inherit;
  }
  #siteMobileNav[data-keyboard-open] {display:none;}
  #view-customization[data-keyboard-open] :is(.account-save-bar,.account-save-confirmation) {
    bottom:calc(var(--account-keyboard-inset,0px) + 12px);
  }
  .mobile-nav-clearance:not([hidden]) {display:block;height:calc(92px + env(safe-area-inset-bottom));flex-shrink:0;}
  .mobile-nav-btn {
    flex: 1;
    min-width:0;
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    height: 52px;
    min-height:48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: none;
    background: transparent;
    color: #697789;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    padding: 4px 0;
    border-radius: 12px;
    cursor: pointer;
    text-decoration:none;
    text-align:center;
    transition: color .16s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-nav-btn>svg {flex-shrink:0;}
  .mobile-nav-btn.active {
    color: var(--text-main);
    font-weight: 700;
    background: transparent;
    padding: 4px 0;
    box-shadow: none;
  }
  .mobile-nav-btn.active svg {color:inherit;}
  .mobile-nav-btn:not(.center-btn)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e9edf2;
    opacity: 0;
    transform: translateX(-50%) scale(.9);
    transition: opacity .12s ease, transform .12s ease;
    pointer-events: none;
    z-index: -1;
  }
  .mobile-nav-btn:not(.center-btn)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity .16s ease;
    pointer-events: none;
  }
  .mobile-nav-btn:not(.center-btn).active::after {opacity:1;}
  .mobile-nav-btn:not(.center-btn)>svg {transition:transform .12s ease;}
  .mobile-nav-btn:not(.center-btn):active::before {opacity:1;transform:translateX(-50%) scale(1);}
  .mobile-nav-btn:not(.center-btn):active>svg {transform:scale(.94);}
  .mobile-nav-btn:focus-visible {outline:2px solid var(--text-main);outline-offset:0;}
  @media(hover:hover) and (pointer:fine) {
    .mobile-nav-btn:not(.center-btn):hover:not(:active)::before {opacity:.65;transform:translateX(-50%) scale(1);}
  }
  html[data-account-theme="dark"] .mobile-nav {--text-main:#e4eaf1;--border-color:#3b4653;background:#222831;}
  html[data-account-theme="dark"] .mobile-nav-btn {color:#a5b1c1;}
  html[data-account-theme="dark"] .mobile-nav-btn.active {color:#e4eaf1;}
  html[data-account-theme="dark"] .mobile-nav-btn:not(.center-btn)::before {background:#35404e;}
  .center-btn {position:relative;justify-content:flex-end;}
  .mobile-nav-btn.center-btn,
  .mobile-nav-btn.center-btn.active {
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  .mobile-new-order-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .center-btn-icon {
    --center-btn-fill: var(--accent);
    position: absolute;
    top: -24px;
    width: 56px;
    height: 56px;
    color: #293b50;
    border-radius: 50%;
    transition: transform .12s ease, color .16s ease;
  }
  .center-btn-icon svg {display:block;width:100%;height:100%;}
  .center-btn-disc {
    fill: var(--center-btn-fill);
    stroke: var(--accent);
    transition: fill .16s ease;
  }
  .center-btn.active .center-btn-icon {
    --center-btn-fill: #293b50;
    color: var(--accent);
  }
  @media(hover:hover) and (pointer:fine) {
    .center-btn:active .center-btn-icon {transform:scale(.96);}
  }
  .mobile-nav-btn.center-btn:focus-visible {outline:none;}
  .center-btn:focus-visible .center-btn-icon {outline:2px solid var(--text-main);outline-offset:3px;}
  html:not([lang="en"]) .mobile-nav [data-mobile-lang="en"],html[lang="en"] .mobile-nav [data-mobile-lang="ar"] {display:none;}
  html[data-account-input="pointer"] .mobile-nav :focus {outline:none!important;box-shadow:none!important;}
  html[data-account-input="pointer"] .mobile-nav :focus .center-btn-icon {outline:none!important;}
  @media(prefers-reduced-motion:reduce) {
    .mobile-nav-btn,.mobile-nav-btn::before,.mobile-nav-btn::after,.center-btn-icon,.center-btn-disc {transition:none!important;}
    .mobile-nav-btn:not(.center-btn):active>svg,.center-btn:active .center-btn-icon {transform:none;}
  }
}
