body.constructor-redesign-preview .favorite-stone-card,
body.constructor-redesign-preview .favorite-stone-card:hover,
body.constructor-redesign-preview .favorite-stone-card:focus-visible,
body.constructor-redesign-preview .favorite-stone-card:active {
  transform: none !important;
  scale: none !important;
  translate: none !important;
  transition: border-color .15s ease, background-color .15s ease !important;
  animation: none !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

body.constructor-redesign-preview .favorite-stone-card:hover {
  border-color: #de91b9 !important;
  background-color: #fff7fb !important;
}

body.constructor-redesign-preview .stones-panel.glass-card {
  overflow-x: clip !important;
  overflow-anchor: none;
}

body.constructor-redesign-preview #stonesList {
  overflow-anchor: none;
  scroll-snap-type: none !important;
}

body.constructor-redesign-preview .stone-order-chip,
body.constructor-redesign-preview .stone-order-chip *,
body.constructor-redesign-preview .stone-order-chip::before,
body.constructor-redesign-preview .stone-order-chip::after {
  transition: none !important;
  animation: none !important;
}

body.constructor-redesign-preview .stone-order-chip,
body.constructor-redesign-preview .stone-order-chip:hover,
body.constructor-redesign-preview .stone-order-chip:focus-visible,
body.constructor-redesign-preview .stone-order-chip.is-active {
  transform: none !important;
}

body.constructor-redesign-preview .stone-order-controls__strip {
  scroll-behavior: auto !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .stone-order-controls__head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 38px !important;
  gap: 8px 12px !important;
  align-items: center !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .stone-order-controls__head::after {
  content: none !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .stone-order-controls__head strong {
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open [data-stone-order-position] {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  justify-self: start !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .constructor-redesign__order-close {
  position: static !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  margin: 0 !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open.is-empty .stone-order-controls__strip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 12px !important;
  scrollbar-gutter: auto !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .stone-order-controls__empty {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  max-width: 420px !important;
  min-width: 0 !important;
  min-height: 74px !important;
  height: auto !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 16px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-align: center !important;
  line-height: 1.5 !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .constructor-redesign__order-status {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 6px !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .stone-order-chip__number {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  text-align: center !important;
  line-height: 1 !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .constructor-redesign__order-sheet {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  gap: 10px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  backdrop-filter: none !important;
  isolation: isolate;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .stone-order-controls__head {
  grid-row: 1 !important;
  margin: 0 !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .stone-order-controls__hint {
  grid-row: 2 !important;
  margin: 0 !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .stone-order-controls__strip {
  grid-row: 3 !important;
  min-height: 0 !important;
  height: 100% !important;
  max-height: none !important;
  box-sizing: border-box !important;
  grid-auto-rows: 64px !important;
  align-content: start !important;
  padding: 14px 14px 28px !important;
  margin: 0 !important;
  overflow-y: auto !important;
  scroll-padding-bottom: 28px;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .constructor-redesign__order-footer {
  grid-row: 4 !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 54px !important;
  height: auto !important;
  box-sizing: border-box !important;
  padding: 8px 0 0 !important;
  margin: 0 !important;
  z-index: 12 !important;
  background: #ffffff !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
}

body.constructor-redesign-preview .stone-order-controls.is-editor-open .constructor-redesign__order-toolbar,
body.constructor-redesign-preview .stone-order-controls.is-editor-open.is-empty .constructor-redesign__order-toolbar {
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 42px !important;
  height: auto !important;
  margin: 0 !important;
  background: #fff8fb !important;
  opacity: 1 !important;
}

@media (max-width: 720px) {
  body.constructor-redesign-preview .stone-catalog-list {
    grid-auto-rows: max-content !important;
    align-items: stretch !important;
    align-content: start !important;
    row-gap: 12px !important;
  }

  body.constructor-redesign-preview .stone-catalog-list > .stone-catalog-card {
    align-self: stretch !important;
    height: auto !important;
    margin-block: 0 !important;
    box-sizing: border-box !important;
  }

  body.constructor-redesign-preview .stone-catalog-list .stone-catalog-card__body {
    flex: 0 0 auto !important;
  }

  body.constructor-redesign-preview .stone-catalog-list .stone-catalog-card__body h3 {
    height: 2.4em !important;
    overflow: hidden !important;
  }

  body.constructor-redesign-preview .stone-catalog-list .stone-catalog-card__size {
    min-height: 4.2em !important;
  }

  body.constructor-redesign-preview .stone-order-controls.is-editor-open .constructor-redesign__order-sheet {
    height: min(620px, calc(100dvh - 24px)) !important;
    max-height: calc(100dvh - 24px) !important;
    grid-template-rows: auto auto minmax(100px, 24dvh) minmax(0, 1fr) auto !important;
  }

  body.constructor-redesign-preview .stone-order-controls.is-editor-open .stone-order-model-preview {
    grid-row: 3 !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
  }

  body.constructor-redesign-preview .stone-order-controls.is-editor-open .stone-order-controls__strip {
    grid-row: 4 !important;
    grid-template-columns: repeat(5, minmax(0, 48px)) !important;
    grid-auto-rows: 58px !important;
    padding: 12px 10px 24px !important;
  }

  body.constructor-redesign-preview .stone-order-controls.is-editor-open .constructor-redesign__order-footer {
    grid-row: 5 !important;
  }

  body.constructor-redesign-preview .stone-catalog-card {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 12px !important;
    gap: 10px !important;
  }

  body.constructor-redesign-preview .stone-catalog-card__image {
    flex: 0 0 auto !important;
    aspect-ratio: 1 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
  }

  body.constructor-redesign-preview .stone-catalog-card__body {
    display: flex !important;
    flex: 1 0 auto !important;
    flex-direction: column !important;
    gap: 6px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.constructor-redesign-preview .stone-catalog-card__body h3 {
    min-height: 2.4em !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  body.constructor-redesign-preview .stone-catalog-card__size {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  body.constructor-redesign-preview .stone-catalog-card__bottom {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.constructor-redesign-preview .stone-catalog-card__bottom button {
    width: 100% !important;
    min-height: 36px !important;
    height: auto !important;
    padding: 8px 6px !important;
    font-size: 12px !important;
  }
}
