/* Fokus Mobile Shop Tools 1.1.1 */

.fokus-mobile-filter-toggle,
.fokus-mobile-cart-button,
.fokus-mobile-filter-drawer,
.fokus-mobile-filter-backdrop {
  display: none;
}

@media (max-width: 768px) {
  .fokus-mobile-cart-button {
    position: fixed;
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 999989;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    box-sizing: border-box;
    border: 1px solid rgba(20,20,20,.18);
    border-radius: 50%;
    background: #fff;
    color: #151515;
    text-decoration: none !important;
    box-shadow: 0 9px 24px rgba(0,0,0,.16);
  }

  .fokus-mobile-cart-button.fokus-cart-on-archive {
    bottom: calc(130px + env(safe-area-inset-bottom, 0px));
  }

  .fokus-mobile-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
  }

  .fokus-mobile-cart-icon svg {
    display: block;
    width: 27px;
    height: 27px;
    fill: none;
    stroke: #151515;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .fokus-mobile-cart-count {
    position: absolute;
    top: -4px;
    right: -3px;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #a51f2d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
  }

  .fokus-mobile-filter-toggle {
    position: fixed;
    right: 16px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 999990;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 58px;
    padding: 0 27px;
    border: 0;
    border-radius: 999px;
    background: #000;
    color: #fff;
    font: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,.22);
  }

  .fokus-mobile-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999994;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
  }

  .fokus-mobile-filter-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999995;
    display: flex;
    flex-direction: column;
    width: min(88vw,390px);
    max-width: 100%;
    background: #fff;
    color: #111;
    box-shadow: -14px 0 35px rgba(0,0,0,.18);
    transform: translate3d(105%,0,0);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease;
  }

  .fokus-mobile-filter-head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0,0,0,.10);
  }

  .fokus-mobile-filter-title {
    font-size: 22px;
    font-weight: 700;
  }

  .fokus-mobile-filter-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 38px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
  }

  .fokus-mobile-filter-content {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 22px 20px 34px;
  }

  .fokus-mobile-filter-drawer #sidebar,
  .fokus-mobile-filter-drawer .ct-sidebar {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.fokus-filters-open {
    overflow: hidden !important;
  }

  body.fokus-filters-open .fokus-mobile-filter-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.fokus-filters-open .fokus-mobile-filter-drawer {
    transform: translate3d(0,0,0);
    visibility: visible;
  }

  body.fokus-filters-open .fokus-mobile-filter-toggle,
  body.fokus-filters-open .fokus-mobile-cart-button {
    opacity: 0;
    pointer-events: none;
  }
}
