@media screen and (min-width: 768px) {
  .custom-t4s-drawer {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 469;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1),
      visibility 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    background: var(--t4s-light-color);
    box-shadow: none;
    touch-action: manipulation;
    pointer-events: none;
    display: none ;
    flex-direction: column;
    overflow: auto;
    -webkit-transform: none ;
    transform: none;
    max-width: 580px ;
    box-shadow: 0 12px 25px rgb(0 0 0 / 15%) ;
    height: auto;
    margin: 60px auto 60px;
  }
  .custom-t4s-drawer__right {
    right: 0 ;
    left: 0 ;
    -webkit-transform: none;
    transform: none;
  }
  .rtl_true .custom-t4s-drawer {
    right: 0;
    left: 0;
    -webkit-transform: translate3d(104%, 0, 0);
    transform: translate3d(104%, 0, 0);
  }
  .rtl_true .custom-t4s-drawer__right {
    right: 0;
    left: 0;
    -webkit-transform: translate3d(-104%, 0, 0);
    transform: translate3d(-104%, 0, 0);
  }
  .custom-t4s-drawer[aria-hidden="false"] {
    display: flex ;
    pointer-events: auto;
    visibility: visible;
    transform: none;
    -webkit-transform: none;
    opacity: 1;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1),
    visibility 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) ;
  }

  button.custom-t4s-drawer__close {
    padding: 0;
    background-color: transparent;
    color: var(--t4s-dark-color);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  button.custom-t4s-drawer__close:hover {
    background-color: #f5f5f5;
    color: var(--t4s-dark-color);
  }
  .custom-t4s-drawer__wrap {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: auto;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .custom-t4s-drawer__main {
    position: relative;
    flex: 1 1 auto;
    height: auto;
  }
  .custom-t4s-drawer__main .custom-t4s-drawer__scroll {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 100%;
    height: auto ;
  }
  .custom-t4s-current-scrollbar {
    max-height: 600px;
  }
  .custom-t4s-drawer__bottom {
    flex: 0 0 auto;
    padding-bottom: 15px;
    opacity: 0;
    -webkit-transform: translateY(45px);
    transform: translateY(45px);
    -webkit-transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      -webkit-transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      -webkit-transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .custom-t4s-drawer[aria-hidden="false"] .custom-t4s-drawer__bottom {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.45s,
      -webkit-transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.45s;
    transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s,
      transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s,
      -webkit-transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s;
  }
  .custom-t4s-drawer {
    opacity: 1;
  }
  .custom-t4s-drawer__bottom-to-top,
  .custom-t4s-drawer__top-to-bottom {
    opacity: 0;
  }
  .custom-t4s-drawer__bottom-to-top-lg[aria-hidden="false"],
  .custom-t4s-drawer__bottom-to-top[aria-hidden="false"],
  .custom-t4s-drawer__top-to-bottom-lg[aria-hidden="false"],
  .custom-t4s-drawer__top-to-bottom[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
  }
  @media screen and (min-width: 641px) {
    .custom-t4s-drawer {
      width: auto ;
    }
  }
  @media screen and (min-width: 1025px) {
    .custom-t4s-drawer__bottom-to-top-lg,
    .custom-t4s-drawer__top-to-bottom-lg {
      opacity: 0;
      visibility: hidden;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      perspective: 800px;
      -webkit-perspective: 800px;
      transform: translateY(104%) translateZ(0);
      -webkit-transform: translateY(104%) translateZ(0);
      -webkit-transition: transform 0.4s, opacity 0.4s, visibility 0.4s;
      transition: transform 0.4s, opacity 0.4s, visibility 0.4s;
    }
    .custom-t4s-drawer__top-to-bottom-lg {
      transform: translateY(-104%) translateZ(0);
      -webkit-transform: translateY(-104%) translateZ(0);
    }
  }
  .t4s-section-sidebar {
    display: block;
  }
}


.t4s-product-form__buttons .t4s-quantity-wrapper  {
  border: none;
}