/* AL YASEEN – mobile side menu; intentionally scoped to the supplied theme. */
@media (max-width: 900px) {
  body.ay-theme .site-header .ay-nav .ay-menu-toggle {
    position: relative !important;
    z-index: 10 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px;
    min-height: 44px;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation;
  }
  body.ay-theme .site-header .header-nav-col {
    z-index: 11;
    overflow: visible !important;
  }
  /* Never show the theme's old dropdown: this plugin owns the off-canvas menu. */
  body.ay-theme .site-header .ay-nav > ul.ay-menu,
  body.ay-theme .site-header .ay-nav.open > ul.ay-menu {
    display: none !important;
  }
  body.ay-theme.aymf-open {
    overflow: hidden !important;
  }
}

body.ay-theme .aymf-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  background: rgba(2, 10, 21, .68);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .26s ease, visibility .26s ease;
}
body.ay-theme .aymf-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 385px);
  max-width: 100%;
  z-index: 2147482001;
  background: #071a2b;
  color: #f4f7f9;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(105%);
  visibility: hidden;
  box-shadow: -12px 0 45px rgba(0, 0, 0, .28);
  transition: transform .30s cubic-bezier(.22,.8,.26,1), visibility .30s ease;
  padding: 0 0 max(25px, env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}
body.ay-theme.aymf-open .aymf-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.ay-theme.aymf-open .aymf-drawer {
  transform: translateX(0);
  visibility: visible;
}
body.ay-theme .aymf-drawer-top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #061522;
  border-bottom: 1px solid rgba(212, 170, 100, .33);
  padding: 20px 19px;
}
body.ay-theme .aymf-drawer-title {
  color: #e8bb70;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.3;
}
body.ay-theme .aymf-drawer-subtitle {
  color: #c3d0d9;
  font-size: 10px;
  letter-spacing: .09em;
  margin-top: 3px;
}
body.ay-theme .aymf-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  font: 400 29px/1 Arial, sans-serif;
  color: #fff;
  background: #122d40;
  border: 1px solid #4e6475;
  border-radius: 7px;
  cursor: pointer;
}
body.ay-theme .aymf-close:hover,
body.ay-theme .aymf-close:focus-visible {
  background: #2b4a5e;
  color: #f2d08d;
}
body.ay-theme .aymf-list,
body.ay-theme .aymf-list .sub-menu {
  list-style: none !important;
  display: block;
  position: static !important;
  background: transparent;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}
body.ay-theme .aymf-list {
  padding: 13px 19px 18px !important;
}
body.ay-theme .aymf-list li {
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin: 0;
}
body.ay-theme .aymf-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.ay-theme .aymf-list a {
  display: block !important;
  color: #e9f0f4 !important;
  font-size: 14px !important;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1.45;
  padding: 16px 10px !important;
  margin: 0 !important;
  text-decoration: none !important;
  white-space: normal !important;
  flex: 1;
}
body.ay-theme .aymf-list a:hover,
body.ay-theme .aymf-list a:focus-visible,
body.ay-theme .aymf-list li.current-menu-item > .aymf-item-row > a {
  color: #f2d08d !important;
}
body.ay-theme .aymf-submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  color: #e8bb70;
  background: transparent;
  font-size: 21px;
  cursor: pointer;
}
body.ay-theme .aymf-list li > .sub-menu {
  display: none !important;
  margin: 0 0 13px 0 !important;
  padding: 2px 0 5px 11px !important;
  border-left: 2px solid #cc9d52 !important;
  background: #0c2a3e !important;
}
body.ay-theme .aymf-list li.aymf-expanded > .sub-menu {
  display: block !important;
}
body.ay-theme .aymf-list .sub-menu li {
  border-color: rgba(255,255,255,.075);
}
body.ay-theme .aymf-list .sub-menu a {
  font-size: 12px !important;
  padding: 12px 9px !important;
}
body.ay-theme .aymf-drawer-footer {
  padding: 8px 29px 22px;
  color: #c3d0d9;
  font-size: 12px;
}
body.ay-theme .aymf-drawer-footer a {
  color: #eac07d;
  text-decoration: none;
}
@media (min-width: 901px) {
  body.ay-theme .aymf-backdrop,
  body.ay-theme .aymf-drawer { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.ay-theme .aymf-backdrop,
  body.ay-theme .aymf-drawer { transition: none !important; }
}
