/* EL-KAYAN mobile-only header layout. */

@media (max-width: 767.98px) {
  #header .header-top .elk-mobile-header-row {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 52px !important;
    height: 52px !important;
    width: calc(100% + 30px) !important;
    max-width: none !important;
    margin-inline: -15px !important;
    padding: 0 !important;
  }

  #header .header-top .elk-mobile-header-row #_mobile_logo {
    --elk-mobile-logo-width: min(185px, calc(100vw - 176px));
    position: absolute !important;
    left: 50vw !important;
    right: auto !important;
    width: var(--elk-mobile-logo-width) !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    transition: none !important;
    animation: none !important;
    z-index: 1 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #header .header-top .elk-mobile-header-row #_mobile_logo > a,
  #header .header-top .elk-mobile-header-row #_mobile_logo > h1,
  #header .header-top .elk-mobile-header-row #_mobile_logo > h1 > a {
    width: var(--elk-mobile-logo-width) !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }

  #header .header-top .elk-mobile-header-row #_mobile_logo img {
    width: var(--elk-mobile-logo-width) !important;
    min-width: var(--elk-mobile-logo-width) !important;
    max-width: var(--elk-mobile-logo-width) !important;
    height: 52px !important;
    max-height: 52px !important;
    object-fit: contain !important;
    flex: 0 0 var(--elk-mobile-logo-width) !important;
    display: block !important;
    margin: 0 !important;
  }

  #header .header-top .elk-mobile-header-row > #menu-icon,
  #header .header-top .elk-mobile-header-row > #_mobile_cart,
  #header .header-top .elk-mobile-header-row > #_mobile_user_info {
    position: absolute !important;
    top: 50% !important;
    width: 40px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #header .header-top .elk-mobile-header-row > #menu-icon {
    inset-inline-start: 16px !important;
  }

  #header .header-top .elk-mobile-header-row > #_mobile_cart {
    inset-inline-end: 16px !important;
  }

  #header .header-top .elk-mobile-header-row > #_mobile_user_info {
    inset-inline-end: 72px !important;
  }

  #header .header-top .elk-mobile-header-row > #_mobile_cart,
  #header .header-top .elk-mobile-header-row > #_mobile_user_info {
    min-width: 44px !important;
    max-width: 44px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    z-index: 2 !important;
  }

  #header .header-top .elk-mobile-header-row > #_mobile_cart > *,
  #header .header-top .elk-mobile-header-row > #_mobile_user_info > * {
    width: 44px !important;
    max-width: 44px !important;
    margin: 0 !important;
  }

  #header .header-top .elk-mobile-header-row #_mobile_cart a,
  #header .header-top .elk-mobile-header-row #_mobile_user_info a {
    width: 44px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  #header .header-top .elk-mobile-header-row #_mobile_user_info .logout,
  #header .header-top .elk-mobile-header-row #_mobile_user_info a > span.hidden-sm-down {
    display: none !important;
  }

  #header .header-top .elk-mobile-header-row > .clearfix {
    display: none !important;
  }
}
