
/* ============================================
   DERMAKADE MOBILE DESIGN - LIZZE STYLE
   Version: 2.0
   ============================================ */

@media screen and (max-width: 991.98px) {

  /* MOBILE HEADER */
  .header {
    z-index: 1000;
    background: #0C1521;
    box-shadow: 0 3px 9px rgba(0,0,0,.09);
  }

  .dk-lz-mobile-header {
    position: relative;
    background: #0C1521;
    color: #F8FCFF;
  }

  .dk-lz-header-row {
    height: 86px;
    padding: 0 17px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    direction: rtl;
    box-sizing: border-box;
  }

  .dk-lz-header-menu {
    grid-column: 1;
    justify-self: start;
  }

  .dk-lz-header-search-toggle-wrap {
    grid-column: 2;
    justify-self: center;
  }

  .dk-lz-header-logo-wrap {
    grid-column: 3;
    justify-self: end;
  }

  /* CIRCULAR ORIGINAL LOGO */
  .dk-lz-logo-link {
    display: block;
    width: 53px;
    height: 53px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,.24);
  }

  .dk-lz-round-logo {
    width: 53px;
    height: 53px;
    max-width: none;
    display: block;
    object-fit: cover;
    border-radius: 50%;
  }

  /* CENTER SEARCH BUTTON */
  .dk-lz-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 52px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #FFFFFF;
    cursor: pointer;
  }

  .dk-lz-search-toggle:focus-visible,
  .dk-lz-header-menu button:focus-visible {
    outline: 2px solid #EAF4FA;
    outline-offset: 3px;
  }

  /* RIGHT HAMBURGER */
  .dk-lz-header-menu .navbar {
    background: transparent !important;
    padding: 0 !important;
  }

  .dk-lz-header-menu .navbar-toggler.offcanvas-navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 53px;
    margin: 0;
    padding: 0 !important;
    background: #151B21;
    border: 1px solid #5F5560 !important;
    border-radius: 13px;
    color: #F6F9FD !important;
    box-shadow: none !important;
    cursor: pointer;
  }

  .dk-lz-hamburger {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    width: 29px;
    height: 28px;
  }

  .dk-lz-hamburger span {
    display: block;
    height: 2.5px;
    width: 29px;
    background: #E9F1F9;
    border-radius: 9px;
  }

  .dk-lz-hamburger span:nth-child(2) {
    width: 22px;
  }

  .dk-lz-hamburger span:nth-child(3) {
    width: 16px;
  }

  /* OFFCANVAS DRAWER */
  .dk-lz-header-menu .offcanvas-header {
    background: #EAF4FA;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dk-lz-header-menu .offcanvas-sidebar {
    background: #FFFFFF;
    max-width: 350px;
  }

  .dk-lz-header-menu .offcanvas-nav-link {
    color: #12283F;
    font-weight: 600;
    border-bottom: 1px solid #EDF2F7;
  }

  .dk-lz-header-menu .offcanvas-nav-link:hover {
    color: #E60012;
  }

  .dk-lz-drawer-logo {
    width: 54px;
    height: 54px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
  }

  /* EXPANDABLE SEARCH */
  .dk-lz-search-panel {
    display: none;
    position: absolute;
    right: 0;
    left: 0;
    top: 100%;
    z-index: 101;
    padding: 12px 16px 17px;
    background: #0C1521;
    box-shadow: 0 14px 20px rgba(0,0,0,.18);
  }

  .dk-lz-search-panel.dk-lz-search-open {
    display: block;
  }

  .dk-lz-search-panel .header-search {
    height: 47px;
  }

  .dk-lz-search-panel .header-search:before {
    display: none !important;
  }

  .dk-lz-search-panel .header-search-input {
    background: #FFFFFF;
    border: 1px solid #E2EAF1;
    border-radius: 10px;
    height: 47px;
    color: #12283F;
    padding: 9px 15px 9px 54px;
  }

  .dk-lz-search-panel .header-search-input.active {
    border-color: #CDE2F0;
  }

  .dk-lz-search-submit {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 12;
    width: 46px;
    height: 47px;
    border: 0;
    border-radius: 10px 0 0 10px;
    background: #EAF4FA;
    color: #12283F;
    cursor: pointer;
  }

  .dk-lz-search-panel .quicksearch-items {
    top: 44px;
    box-shadow: 0 7px 17px rgba(0,0,0,.2) !important;
    border-radius: 9px;
  }

  .dk-lz-search-panel .quicksearch-items:before {
    display: none;
  }

  /* FIXED BOTTOM NAVIGATION */
  .dk-lz-bottom-nav {
    height: calc(77px + env(safe-area-inset-bottom, 0px));
    padding: 7px 6px env(safe-area-inset-bottom, 0px);
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 995;
    background: #F8F7F4;
    border-top: 1px solid #E0E0DF;
    box-shadow: 0 -3px 12px rgba(0,0,0,.055);
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    align-items: center;
    box-sizing: border-box;
    direction: rtl;
  }

  .dk-lz-bottom-link {
    min-width: 0;
    min-height: 58px;
    padding: 6px 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    text-align: center;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    color: #555B62 !important;
    text-decoration: none !important;
  }

  .dk-lz-bottom-link svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
  }

  .dk-lz-bottom-link span {
    display: block;
    white-space: nowrap;
  }

  .dk-lz-bottom-link.is-active,
  .dk-lz-bottom-link[aria-current="page"] {
    color: #D6081A !important;
    font-weight: 800;
  }

  .dk-lz-bottom-link:focus-visible {
    outline: 2px solid #D6081A;
    outline-offset: -2px;
    border-radius: 9px;
  }

  /* SPACE BELOW CONTENT */
  body.dk-lz-has-mobile-nav {
    padding-bottom: calc(
      84px + env(safe-area-inset-bottom, 0px)
    ) !important;
  }

  .footer-to-top {
    margin-bottom: 12px;
  }

}

/* VERY SMALL MOBILE */
@media screen and (max-width: 360px) {

  .dk-lz-header-row {
    height: 77px;
    padding: 0 11px;
  }

  .dk-lz-logo-link,
  .dk-lz-round-logo {
    width: 47px;
    height: 47px;
  }

  .dk-lz-header-menu .navbar-toggler.offcanvas-navbar-toggler {
    width: 48px;
    height: 48px;
  }

  .dk-lz-bottom-link {
    font-size: 11px;
  }
}

/* DESKTOP: HIDE MOBILE ELEMENTS */
@media screen and (min-width: 992px) {

  .dk-lz-bottom-nav {
    display: none !important;
  }

  .dk-lz-mobile-header {
    display: none !important;
  }

}
