.mobile-sheet-grip {
  display: none;
}

@media (max-width: 760px) {
  .mobile-sheet-active {
    --mobile-sheet-drag-y: 0px;
    --mobile-sheet-backdrop-opacity: 1;
  }

  .mobile-sheet-active > .mobile-sheet-grip {
    position: absolute;
    z-index: 100;
    top: 0;
    right: 64px;
    left: 64px;
    height: 34px;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
  }

  .mobile-sheet-active > .mobile-sheet-grip::before {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    content: "";
    transform: translateX(-50%);
    background: var(--mobile-sheet-handle-color, rgb(11 28 36 / 24%));
    box-shadow: 0 1px 0 rgb(255 255 255 / 28%);
  }

  .mobile-sheet-active > .mobile-sheet-grip:active {
    cursor: grabbing;
  }

  .mobile-sheet-active:is(.is-mobile-sheet-dragging, .is-mobile-sheet-settling, .is-mobile-sheet-dismissing) {
    transform: translate3d(0, var(--mobile-sheet-drag-y), 0) !important;
    will-change: transform;
  }

  .mobile-sheet-active.is-mobile-sheet-dragging {
    transition: none !important;
  }

  .mobile-sheet-active.is-mobile-sheet-settling {
    transition: transform 240ms cubic-bezier(.22, 1, .36, 1) !important;
  }

  .mobile-sheet-active.is-mobile-sheet-dismissing {
    pointer-events: none;
    transition: transform 190ms cubic-bezier(.4, 0, 1, 1) !important;
  }

  dialog.mobile-sheet-active:is(.is-mobile-sheet-dragging, .is-mobile-sheet-settling, .is-mobile-sheet-dismissing)::backdrop {
    opacity: var(--mobile-sheet-backdrop-opacity);
  }

  /* Старые локальные полоски заменяет один общий хэндл. */
  .mobile-sheet-active.quick-panel::before,
  .mobile-sheet-active.product-card__info-popover::before,
  .mobile-sheet-active .product-family-availability__heading::before {
    content: none !important;
  }

  .mobile-sheet-active .catalog-mobile-sheet__handle {
    display: none !important;
  }

  .mobile-sheet-active.quick-panel-order {
    --mobile-sheet-handle-color: var(--cyan, #07d5d1);
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .mobile-sheet-active:is(.is-mobile-sheet-settling, .is-mobile-sheet-dismissing) {
    transition-duration: 1ms !important;
  }
}
