#quoteBottomSheet {
  visibility: hidden;
  pointer-events: none;
}

#quoteBottomSheet.is-visible {
  visibility: visible;
  pointer-events: auto;
}

#sheetBackdrop {
  opacity: 0;
  transition: opacity 0.4s ease;
}

#quoteBottomSheet.is-open #sheetBackdrop {
  opacity: 1;
}

#sheetPanel {
  min-height: 0;
  max-height: 90vh;
  max-height: 90dvh;
  transform: translate3d(0, 105%, 0);
  transition: transform 0.46s cubic-bezier(0.32, 0.72, 0, 1);
  backface-visibility: hidden;
}

.sheet-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

#quoteBottomSheet.is-open #sheetPanel {
  transform: translate3d(0, 0, 0);
}

#sheetPanel.is-dragging {
  transition: none !important;
}

#sheetDragArea,
#sheetHeader {
  touch-action: none;
}

.sheet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  color: #737373;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sheet-close:hover {
  background: #f4f4f5;
  color: #262626;
}

html.dark .sheet-close {
  color: #d4d4d4;
}

html.dark .sheet-close:hover {
  background: #2a2a2a;
  color: #fff;
}

#sheetBody {
  flex: 1 1 auto;
  min-height: 0;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

#sheetFooter {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #f5f5f5;
}

#sheetFooter .btn-wa--send {
  min-height: 2.65rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

html.dark #sheetFooter {
  border-top-color: rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  #sheetBackdrop {
    transition: opacity 0.28s ease;
  }

  #sheetPanel {
    max-height: 85vh;
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.975);
    transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
  }

  #sheetFooter {
    padding: 1rem 1.5rem 1.5rem;
  }

  #quoteBottomSheet.is-open #sheetPanel {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
