/* Positioning for panels the demo styles by class, without Radix's utility classes. */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  border: 0;
  padding: 0;
  background: rgba(6, 7, 9, 0.62);
  cursor: pointer;
}

.sheet-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  overflow: auto;
  border-left: 1px solid #303641;
}

.sheet-close,
.dialog-close {
  position: absolute;
  top: 16px;
  right: 14px;
  z-index: 2;
  color: #d7dbe3;
}

.dialog-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(6, 7, 9, 0.72);
}

.dialog-panel {
  position: relative;
  width: min(570px, 100%);
  border-style: solid;
  border-width: 1px;
  overflow-wrap: anywhere;
}

.checkout-dialog,
.info-dialog {
  overflow-x: hidden;
}

.review-list > div > div > span,
.cart-note,
.cart-filename,
.uploaded-name strong {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.gallery-dialog.dialog-panel {
  width: min(1000px, 100%);
}

.site-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 110;
  transform: translateX(-50%);
  border: 1px solid #383a3d;
  background: #1b1c1f;
  color: #f1f1ef;
  padding: 12px 16px;
  font-size: 13px;
}

.rights-check input {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  accent-color: #ececea;
}

.faq-list [data-slot="accordion-trigger"] {
  width: 100%;
  background: transparent;
  border: 0;
  color: inherit;
}

.faq-list [data-slot="accordion-trigger"] svg {
  margin-left: auto;
  transition: transform 0.2s ease;
}

.faq-list [data-state="open"] > h3 [data-slot="accordion-trigger"] svg {
  transform: rotate(180deg);
}

.preview-top [data-slot="tabs-list"] {
  display: flex;
}

.preview-top [data-slot="tabs-trigger"] {
  background: transparent;
  border: 0;
  cursor: pointer;
}

.comparison-slider {
  margin: 0;
  appearance: none;
  background: transparent;
}

.comparison-slider::-webkit-slider-thumb {
  appearance: none;
  width: 44px;
  height: 44px;
}

.comparison-slider::-moz-range-thumb {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}
