:root {
  --herlan-bottom-nav-height: 0px;
  --herlan-bottom-stack-height: 0px;
  --herlan-bottom-total-height: 0px;
  --herlan-bottom-page-space: calc(var(--herlan-bottom-total-height, 0px) + env(safe-area-inset-bottom, 0px));
  --herlan-viewport-height: 100vh;
}
@supports (height: 100dvh) {
  :root {
    --herlan-viewport-height: 100dvh;
  }
}
@media (max-width: 991px) {
  body.has-herlan-bottom-fixed-ui {
    padding-bottom: var(--herlan-bottom-page-space);
  }
  .herlan_web_mobile_view footer.copyright {
    margin-bottom: 0;
  }
}
.herlan_web_mobile_view.woocommerce-cart footer.copyright, .herlan_web_mobile_view.woocommerce-checkout footer.copyright {
  margin-bottom: 0;
}
.herlan_web_mobile_view.woocommerce-cart .herlan_mobile_drawer_container, .herlan_web_mobile_view.woocommerce-checkout .herlan_mobile_drawer_container {
  display: none !important;
}
.herlan_mobile_drawer_container {
  position: fixed;
  bottom: 0;
  z-index: 99;
  width: 100%;
  padding: 0;
  background-color: #fff;
  font-family: inherit;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
}
.herlan_mobile_drawer_container ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 68px;
  margin: 0;
  list-style: none;
}
.herlan_mobile_drawer_container ul.has-filter-item {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.herlan_mobile_drawer_container ul li {
  text-align: center;
}
.herlan_mobile_drawer_container ul li a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 68px;
  padding: 8px 6px 10px;
  color: #222;
  text-decoration: none;
}
.herlan_mobile_drawer_container ul li a .drawer-cart-count {
  position: absolute;
  top: 8px;
  left: 50%;
  height: 16px;
  min-width: 16px;
  padding: 0 4px;
  background-color: #f2b400;
  color: #222;
  font-size: var(--herlan-font-xs, 0.625rem);
  font-weight: 600;
  line-height: 16px;
  border-radius: 50%;
  transform: translateX(10px);
}
.herlan_mobile_drawer_container ul li a .svg-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  margin-bottom: 0;
}
.herlan_mobile_drawer_container ul li a .svg-wrapper svg {
  width: 20px;
  height: 20px;
}
.herlan_mobile_drawer_container ul li a.link-active .svg-wrapper svg path {
  stroke: #ED1C24;
}
.herlan_mobile_drawer_container ul li a p {
  margin-bottom: 0;
  color: #222;
  font-family: var(--herlan-font-family-global, inherit);
  font-size: var(--herlan-font-md, 0.75rem);
  font-weight: inherit;
  line-height: 1;
}
body.single-product .herlan_mobile_drawer_container {
  box-shadow: none;
}
@media (max-width: 991px) {
  .heading-style-cat-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.07) 0 0 6px;
  }
  .heading-style-cat-menu a {
    display: block;
    padding: 15px;
    color: #24262b;
  }
  .heading-style-cat-menu a svg {
    display: block;
    width: 22px;
    height: 22px;
  }
  body.mobile-category-drawer-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 10004;
    background: rgba(0, 0, 0, 0.62);
  }
  body.mobile-category-drawer-open .mobile-category-menu {
    z-index: 10005;
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }
  .mobile-category-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10005;
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-height: 80vh;
    overflow: hidden;
    background-color: #f6f6f6;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 100%, 0);
    transition: transform 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
  }
  .mobile-category-menu > div:last-child {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-category-menu .nav-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(10px, 1fr));
    gap: 10px;
  }
  .mobile-category-menu .nav-items .nav-item {
    height: 110px;
    background-color: #fff;
    border-radius: 5px;
  }
  .mobile-category-menu .nav-items .nav-item .root-element-click-link {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 15px;
  }
  .mobile-category-menu .nav-items .nav-item .root-element-click-link h5 {
    margin-bottom: 0;
    font-size: var(--herlan-font-lg, 0.8rem);
    font-weight: 600;
    text-align: center;
  }
  .mobile-category-menu .nav-items .nav-item .root-element-click-link img {
    max-width: 40px;
  }
  .mobile-category-menu .nav-items .nav-item .nav-expand-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding-bottom: 76px;
    overflow-y: auto;
    background-color: #fff;
    border-radius: 18px 18px 0 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease-in, visibility 0.3s ease-in;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-category-menu .nav-items .nav-item .nav-expand-content.active {
    visibility: visible;
    transform: none;
  }
  .mobile-category-menu .nav-items .nav-item .nav-expand-content .nav-expand-content-heading h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
  }
  .mobile-category-menu .nav-items .nav-item .nav-expand-content .mobile-brands-grid-wrapper {
    padding: 10px 10px 88px;
    background-color: #f5f5f5;
  }
  .mobile-category-menu .nav-items .nav-item .nav-expand-content .mobile-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .mobile-category-menu .nav-items .nav-item .nav-expand-content .mobile-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    padding: 4px 0;
    background-color: #fff;
    border-radius: 8px;
  }
  .mobile-category-menu .nav-items .nav-item .nav-expand-content .mobile-brand-logo {
    display: block;
    width: 100%;
    height: 76px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
  }
  .mobile-category-menu .fas {
    color: #000;
  }
}
