.main:has(.product-editor-page) {
  padding-top: 0;
}
.product-editor-page,
.product-editor-page * {
  box-sizing: border-box;
}
.product-editor-page {
  width: 100%;
  max-width: 1240px;
  min-width: 0;
  margin: 0 auto;
  color: #171718;
  font-size: 14px;
  line-height: 21px;
  padding-bottom: 16px;
}
.product-editor-page [hidden] {
  display: none !important;
}
.product-editor-page button,
.product-editor-page input,
.product-editor-page select,
.product-editor-page textarea {
  font: inherit;
}
.product-editor-page button {
  cursor: pointer;
}
.product-editor-page button:disabled {
  cursor: default;
  opacity: 0.45;
}
.product-editor-page input,
.product-editor-page select,
.product-editor-page textarea {
  color: inherit;
  background: #fff;
  border: 1px solid #d3d4d5;
  border-radius: 4px;
  min-width: 0;
  min-height: 32px;
  padding: 5px 11px;
  outline: none;
}
/* Source text controls are 32px; a 21px line plus 5px padding made them 33px. */
.product-editor-page input,
.product-editor-page select {
  height: 32px;
  line-height: 22px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.product-editor-page input:focus,
.product-editor-page select:focus,
.product-editor-page textarea:focus,
.pe-description-content:focus {
  border-color: #009995;
  box-shadow: 0 0 0 1px #009995;
}
.product-editor-page input[type="checkbox"],
.product-editor-page input[type="radio"] {
  accent-color: #009995;
  width: 16px;
  height: 16px;
  min-height: 16px;
  flex: none;
  margin: 0;
  padding: 0;
}
.product-editor-page input:disabled,
.product-editor-page select:disabled {
  background: #f5f5f5;
  color: #a0a1a3;
}
.pe-form-fieldset {
  padding: 0;
  border: 0;
  min-width: 0;
  margin: 0;
}
.pe-toolbar {
  position: sticky;
  top: 60px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-width: 0;
  height: 68px;
  padding: 16px 0;
  background: #f5f5f5;
}
.pe-toolbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pe-toolbar > div:first-child {
  flex: 1;
  padding-right: 40px;
}
.pe-toolbar .pe-editor-help {
  flex: none;
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 6px;
  border: 0;
  background: #ececed;
}
.pe-product-status[data-status="live"]::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-radius: 50%;
  background: #349951;
}
.pe-product-status .pe-ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  border-radius: 50%;
  background: #fff0c9;
  color: #9e781b;
  font-size: 12px;
  line-height: 20px;
}
.pe-toolbar h1 {
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 4px 0 0;
  min-width: 0;
}
.pe-button {
  border: 1px solid #d3d4d5;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 4px;
  min-height: 32px;
  padding: 5px 15px;
  color: #171718;
  white-space: nowrap;
}
.product-editor-page .pe-button {
  line-height: 20px;
}
.pe-button:hover {
  background: #f2f3f3;
}
.pe-toolbar .pe-draft {
  width: 116px;
  border-color: transparent;
  background: #ececed;
}
.pe-toolbar .pe-primary {
  min-width: 74px;
}
.pe-button.pe-primary {
  background: #009995;
  border-color: #009995;
  color: #fff;
  font-weight: 500;
}
.pe-button.pe-back {
  border: 0;
  padding: 0;
  min-width: 32px;
  width: 32px;
  height: 32px;
  background: #ececed;
}
.pe-plain {
  background: transparent;
  border: 0;
}
.pe-link {
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 20px;
  font-size: 12px;
  color: #008d89;
}
.pe-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}
.pe-main {
  min-width: 0;
}
.pe-translation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  border: 1px solid #d3d4d5;
  border-radius: 16px;
  background: #fff;
  padding: 15px 23px;
}
.pe-translation > span {
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
}
.pe-translation label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pe-translation select {
  width: 120px;
}
.pe-section-tabs {
  position: sticky;
  top: 128px;
  z-index: 11;
  display: flex;
  gap: 28px;
  min-height: 52px;
  align-items: flex-end;
  margin-bottom: 16px;
  background: #f5f5f5;
  overflow: auto;
}
.pe-section-tabs .pe-button {
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 14px 0 12px;
  position: relative;
}
.pe-section-tabs .selected:after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: 0;
  left: 0;
  right: 0;
  background: #009995;
}
.pe-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.pe-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #d3d4d5;
  border-radius: 16px;
  min-width: 0;
  scroll-margin-top: 196px;
}
.pe-card h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  margin: 0 0 24px;
}
.pe-card h3 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  margin: 0 0 8px;
}
.pe-basic-card > .pe-field {
  margin-top: 24px;
}
.pe-field {
  display: block;
  position: relative;
  min-width: 0;
}
.pe-field > span,
.pe-gallery-field > label,
.pe-description-field > label {
  display: block;
  font-weight: 500;
  line-height: 21px;
  margin-bottom: 8px;
}
.pe-field > input,
.pe-field > textarea {
  width: 100%;
}
.pe-field > small {
  position: absolute;
  right: 12px;
  bottom: 6px;
  font-size: 12px;
  color: #8a8b8d;
  line-height: 20px;
  pointer-events: none;
}
.pe-field:has(small) > input {
  padding-right: 76px;
}
.pe-required {
  color: #f44763;
  font-weight: 400;
  margin-right: 4px;
}
.pe-gallery-field > p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 20px;
  color: #6c6d6f;
}
.pe-gallery-field > label {
  margin-bottom: 4px;
}
.pe-gallery {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.pe-gallery-item,
.pe-image-upload {
  aspect-ratio: 1;
  min-width: 0;
  position: relative;
  border: 1px solid #d3d4d5;
  border-radius: 4px;
  overflow: hidden;
  background: #fafafa;
}
.pe-gallery-item > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}
.pe-gallery-item > div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  display: flex;
  justify-content: space-around;
  opacity: 0;
}
.pe-gallery-item:hover > div,
.pe-gallery-item:focus-within > div {
  opacity: 1;
}
.pe-gallery-item > div .pe-button {
  border: 0;
  padding: 0;
  min-height: 22px;
  min-width: 20px;
  border-radius: 0;
  background: transparent;
}
.pe-cover-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  line-height: 20px;
}
.pe-image-upload {
  border-style: dashed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6c6d6f;
  font-size: 12px;
  cursor: pointer;
}
.pe-description-field {
  margin-top: 24px;
}
.pe-description-box {
  border: 1px solid #d3d4d5;
  border-radius: 4px;
  height: 200px;
  overflow: hidden;
}
.pe-rich-toolbar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-bottom: 1px solid #e7e7e8;
  overflow: auto;
  background: #f5f5f5;
}
.pe-rich-toolbar .pe-button {
  min-height: 28px;
  border: 0;
  background: transparent;
  padding: 2px 8px;
}
.pe-rich-toolbar .pe-button[data-command] {
  flex: none;
  width: 24px;
  min-height: 24px;
  height: 24px;
  padding: 2px 3px;
  margin-right: 4px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}
.pe-rich-toolbar .pe-button[data-command="bold"] {
  font-weight: 700;
}
.pe-rich-toolbar .pe-button[data-command="italic"] {
  font-style: italic;
}
.pe-rich-toolbar .pe-button[data-command="underline"] {
  text-decoration: underline;
}
.pe-description-upload {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  white-space: nowrap;
  cursor: pointer;
}
.pe-description-content {
  height: 158px;
  min-height: 0;
  overflow-y: auto;
  padding: 0 4px 0 12px;
  outline: 0;
  word-break: break-word;
}
.pe-description-content > img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  margin: 0 0 6px;
  object-fit: contain;
}
.pe-description-content :is(p, div, li, blockquote) img {
  max-width: 100%;
  height: auto;
}
.pe-listing-edit-notice {
  margin: 16px 0;
  padding: 12px 16px;
  border: 1px solid #b7e5e1;
  border-radius: 6px;
  background: #effaf9;
  overflow-wrap: anywhere;
}
.pe-listing-edit-notice p {
  margin: 4px 0 0;
}
.pe-editor-unavailable .pe-card p {
  overflow-wrap: anywhere;
}
.pe-description-content p {
  margin: 0;
  white-space: pre-wrap;
}
.pe-keywords {
  margin-top: 24px;
}
.pe-keywords > p {
  font-size: 12px;
  line-height: 18px;
  margin: 4px 0 0;
  color: #6c6d6f;
}
.pe-brand-notice {
  min-height: 21px;
  margin: 0;
  padding-left: 4px;
  color: #bd7b00;
  font-size: 14px;
  line-height: 21px;
}
.pe-brand-notice button,
.pe-keyword-notice button {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
}
.pe-brand-notice button {
  text-decoration: underline;
}
.pe-keywords > .pe-keyword-notice {
  min-height: 22px;
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 20px;
}
.pe-keyword-notice button {
  color: #008480;
}
.pe-keywords:has(.pe-keyword-notice) + .pe-attributes {
  margin-top: 16px;
}
.pe-attributes {
  margin-top: 24px;
  min-height: 0;
}
.pe-attribute-panel {
  padding: 16px;
  background: #f9f9f9;
  border-radius: 8px;
}
.pe-attribute-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.pe-attributes .pe-field {
  min-width: 0;
  min-height: 60px;
}
.pe-attributes .pe-field > span,
.pe-attributes .pe-field > label {
  display: block;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 8px;
}
.pe-attribute-panel > .pe-button {
  display: flex;
  margin: 16px auto 0;
  height: 32px;
  color: #6c6d6f;
}
.pe-attribute-control {
  position: relative;
  min-width: 0;
}
.pe-attribute-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  min-width: 0;
  min-height: 32px;
  padding: 3px 8px;
  border: 1px solid #d3d4d5;
  border-radius: 4px;
  background: #fff;
  text-align: left;
  line-height: 24px;
}
.pe-attribute-trigger:focus-visible,
.pe-attribute-control:focus-within > .pe-attribute-trigger {
  border-color: #009995;
}
.pe-attribute-trigger > svg {
  flex: none;
  color: #6c6d6f;
}
.pe-attribute-control:has(> .pe-attribute-remove:not([hidden]))
  > .pe-attribute-trigger
  > svg {
  margin-left: 18px;
}
.pe-attribute-tags {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
  overflow: hidden;
}
.pe-attribute-tag,
.pe-attribute-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  height: 24px;
  border-radius: 4px;
  background: #f5f5f5;
  padding: 0 4px;
}
.pe-attribute-tag {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pe-attribute-tag > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pe-attribute-more {
  flex: none;
}
.pe-attribute-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 18px;
  height: 24px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6c6d6f;
}
.pe-attribute-control > .pe-attribute-remove {
  position: absolute;
  right: 26px;
  top: 4px;
}
.pe-attribute-popup {
  position: absolute;
  z-index: 24;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  max-height: 320px;
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #e5e5e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 20px rgb(0 0 0 / 12%);
}
.pe-attribute-popup .pe-attribute-search {
  width: 100%;
  margin-bottom: 8px;
}
.pe-attribute-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pe-attribute-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  padding: 6px 4px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  text-align: left;
  overflow-wrap: anywhere;
}
.pe-attribute-option:hover,
.pe-attribute-option:focus-within {
  background: #f5f5f5;
}
.pe-attribute-custom {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e5e5e7;
}
.pe-attribute-custom > input {
  width: 100%;
  min-width: 0;
}
.pe-attribute-custom > button {
  flex: none;
  min-height: 32px;
  padding: 4px 8px;
  border: 0;
  border-radius: 4px;
  background: #f5f5f5;
}
.pe-preview-highlights {
  padding-left: 18px;
  margin: 0;
}
.pe-preview-highlights li {
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.pe-description-content [data-pe-align="left"],
.pe-preview-description [data-pe-align="left"] {
  text-align: left;
}
.pe-description-content [data-pe-align="center"],
.pe-preview-description [data-pe-align="center"] {
  text-align: center;
}
.pe-description-content [data-pe-align="center"] img,
.pe-preview-description [data-pe-align="center"] img {
  margin-left: auto;
  margin-right: auto;
}
.pe-description-content [data-pe-align="right"],
.pe-preview-description [data-pe-align="right"] {
  text-align: right;
}
.pe-description-content [data-pe-align="right"] img,
.pe-preview-description [data-pe-align="right"] img {
  margin-left: auto;
  margin-right: 0;
}
.pe-description-content [data-pe-align="justify"],
.pe-preview-description [data-pe-align="justify"] {
  text-align: justify;
}
.pe-rich-divider {
  flex: none;
  height: 16px;
  border-left: 1px solid #d3d4d5;
  margin: 0 4px;
}
.product-editor-page .pe-rich-toolbar select {
  width: auto;
  max-width: 115px;
  min-width: 0;
  padding: 2px 4px;
  height: 28px;
  min-height: 28px;
  border: 0;
  background: transparent;
}
.pe-description-box.pe-description-fullscreen {
  position: fixed;
  z-index: 60;
  inset: 76px 24px 24px;
  height: auto;
  background: #fff;
  box-shadow: 0 8px 40px rgb(0 0 0 / 16%);
}
.pe-description-fullscreen .pe-description-content {
  height: calc(100% - 40px);
}
.pe-other-basic {
  margin-top: 24px;
}
.pe-other-basic .pe-button,
.pe-other-sales .pe-button {
  font-size: 14px;
  line-height: 20px;
  min-height: 30px;
  padding: 3px 7px;
  margin-right: 8px;
  background: #f5f5f5;
  border: 1px solid #d3d4d5;
}
.pe-other-basic .pe-button span,
.pe-other-sales .pe-button span {
  color: #6c6d6f;
  margin-left: 6px;
}
.pe-sale-format {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 40px;
}
.pe-sale-format > label {
  font-weight: 500;
  flex: none;
}
.pe-radio-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  min-height: 20px;
}
.pe-radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 20px;
}
.pe-variant-toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 32px 0;
  font-weight: 500;
  line-height: 24px;
}
.pe-variant-names {
  padding: 24px;
  background: #f5f5f5;
  border-radius: 4px;
}
.pe-variant-names > .pe-field {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.pe-variant-names > .pe-field > span {
  margin: 0;
  font-weight: 400;
}
.pe-option-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 8px 48px;
}
.pe-option-list > div {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  height: 40px;
}
.pe-option-list > div > span {
  width: 32px;
  height: 32px;
  flex: none;
}
.pe-option-list img {
  width: 32px;
  height: 32px;
  object-fit: cover;
}
.pe-option-list input {
  flex: 1;
}
.pe-option-list .pe-button {
  border: 0;
  background: transparent;
  flex: none;
  padding: 4px;
}
.pe-add-variant {
  margin: 16px 0 35px;
}
.pe-sku-bulk {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  min-width: 0;
}
.pe-sku-bulk > input {
  width: 125px;
}
.pe-sku-bulk > select {
  width: 96px;
}
.pe-bulk-spacer {
  flex: 1;
}
.pe-sku-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #e7e7e8;
  overscroll-behavior-inline: contain;
}
.pe-sku-scroll table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 1255px;
  text-align: left;
  font-size: 14px;
  line-height: 22px;
}
.pe-sku-scroll th {
  height: 46px;
  background: #f5f5f5;
  font-weight: 500;
  border-bottom: 1px solid #e7e7e8;
  padding: 8px 12px;
  vertical-align: middle;
}
.pe-sku-scroll th .pe-link {
  display: inline-flex;
  margin-left: 4px;
}
.pe-sku-scroll th:last-child {
  padding: 0;
}
.pe-sku-scroll td {
  height: 85px;
  padding: 12px;
  border-bottom: 1px solid #e7e7e8;
  vertical-align: middle;
}
.pe-sku-scroll tr:last-child td {
  border-bottom: 0;
}
.pe-sku-scroll td > input {
  width: 100%;
}
/* The source action column is 50px with 12px cell padding, leaving 26px. */
.pe-sku-scroll td:last-child .pe-button {
  width: 24px;
  min-width: 0;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
}
.pe-sku-name {
  display: flex;
  gap: 8px;
  align-items: center;
  word-break: break-word;
}
.pe-sku-name > img,
.pe-sku-name > .pe-image-placeholder {
  width: 60px;
  height: 60px;
  object-fit: cover;
  flex: none;
}
.pe-sku-name > span:last-child {
  min-width: 0;
}
.pe-money-input {
  display: flex;
  align-items: center;
  border: 1px solid #d3d4d5;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.pe-money-input > span {
  padding: 0 8px;
  color: #6c6d6f;
}
.pe-money-input > input {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding-left: 0;
}
.pe-identifier {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 8px;
}
.pe-identifier input {
  width: 100%;
}
.pe-other-sales {
  margin-top: 28px;
}
.pe-single-sale {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.pe-shipping-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pe-shipping-fields .pe-field > div {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.pe-shipping-fields .pe-field > div > input {
  width: 100%;
  min-width: 0;
}
.pe-shipping-fields select {
  width: 120px;
  flex: none;
}
.pe-dimensions input {
  min-width: 0;
}
.pe-dimensions > span {
  flex: none;
  color: #6c6d6f;
}
.pe-shipping-quotes {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 8px;
  color: #6c6d6f;
  font-size: 12px;
  line-height: 18px;
  min-height: 18px;
}
.pe-free-shipping {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-weight: 500;
}
.pe-compliance-field {
  margin-top: 24px;
}
.pe-compliance-field > label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}
.pe-compliance-field .pe-field > span:empty {
  display: none;
}
.pe-compliance-field .pe-field {
  max-width: 418px;
}
.pe-preview {
  position: sticky;
  top: 128px;
  min-width: 0;
  max-height: calc(100vh - 144px);
  overflow-y: auto;
  overscroll-behavior: contain;
  height: 916px;
  padding-bottom: 16px;
}
/* Source sticky wrapper: 916px; its bordered preview frame: 900px. */
.pe-preview > [data-pe-preview] {
  display: flex;
  flex-direction: column;
  height: 900px;
  overflow: hidden;
  overscroll-behavior: contain;
  border: 1px solid #d3d4d5;
  border-radius: 16px;
  background: #fff;
  padding: 0;
}
.pe-preview-tabs {
  display: flex;
  align-items: stretch;
  flex: none;
  gap: 4px;
  height: 34px;
  margin: 16px 16px 12px;
  border-radius: 24px;
  background: #f5f5f5;
  padding: 3px;
}
.pe-preview-tabs > .pe-button {
  font-size: 12px;
  line-height: 18px;
  min-height: 0;
  padding: 2px 4px;
  flex: 1;
  border: 0;
  border-radius: 20px;
  background: transparent;
}
.pe-preview-tabs > .selected {
  background: #fff;
}
.pe-preview-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 0 16px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pe-preview-footer {
  display: grid;
  grid-template-columns: 24px 24px 1fr 1fr;
  gap: 8px;
  align-items: center;
  flex: none;
  height: 58px;
  padding: 10px 14px;
  border-top: 1px solid #e5e5e7;
}
.pe-preview-footer > span {
  height: 36px;
  border-radius: 6px;
  background: #f8f8f8;
}
.pe-preview-footer > span:last-child {
  background: #ffedf0;
}
.pe-preview-image {
  width: 100%;
  aspect-ratio: var(--pe-preview-image-ratio, 1);
  margin-top: 0;
  position: relative;
  background: #f5f5f5;
}
.pe-preview-image > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.pe-preview-image > span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 8px;
  color: #fff;
  font-size: 12px;
}
.pe-preview-image > div {
  position: absolute;
  left: 8px;
  right: 8px;
  top: calc(50% - 16px);
  display: flex;
  justify-content: space-between;
  opacity: 0;
}
.pe-preview-image:hover > div,
.pe-preview-image:focus-within > div {
  opacity: 1;
}
.pe-preview-image .pe-button {
  width: 26px;
  min-height: 28px;
  padding: 0;
  background: rgba(255, 255, 255, 0.8);
  border: 0;
}
.pe-preview-price {
  display: block;
  font-size: 26px;
  line-height: 32px;
  font-weight: 600;
  margin-top: 26px;
}
.pe-preview-content > h3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.pe-preview-variation-label {
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  margin: 16px 0 12px;
}
.pe-preview-skus {
  display: flex;
  gap: 8px;
  overflow: auto;
  overscroll-behavior-inline: contain;
}
.pe-preview-skus .pe-button {
  flex: none;
  display: flex;
  flex-direction: column;
  min-width: 76px;
  width: 76px;
  border: 0;
  padding: 0;
  background: transparent;
  gap: 6px;
}
.pe-preview-skus img,
.pe-preview-skus .pe-image-placeholder {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid #d3d4d5;
  border-radius: 3px;
}
.pe-preview-skus [aria-pressed="true"] img {
  border: 2px solid #171718;
}
.pe-preview-skus .pe-button > span {
  font-size: 12px;
  line-height: 18px;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pe-preview-content h4 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  margin: 32px 0 16px;
}
.pe-preview-content summary {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}
.pe-preview-description {
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.pe-preview-description img {
  display: block;
  width: 100%;
  height: auto;
}
.pe-preview-description p {
  white-space: pre-wrap;
  margin: 0;
}
.pe-preview-live .pe-preview-image {
  border-radius: 6px;
}
.pe-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #b9b9ba;
  max-width: 100%;
  height: 100%;
}
.pe-error {
  border-left: 3px solid #f44763;
  background: #fff1f3;
  color: #b42336;
  padding: 12px;
  margin: 16px 0 0;
  overflow-wrap: anywhere;
}
.pe-upload-status {
  color: #6c6d6f;
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}
.pe-upload-status:empty {
  display: none;
}
.pe-observed .pe-basic-card {
  min-height: 1189.781px;
}
.pe-observed .pe-sales-card {
  min-height: 1415px;
}
.pe-observed .pe-shipping-card {
  min-height: 257px;
}
.pe-observed .pe-compliance-card {
  min-height: 686px;
}
@media (max-width: 1100px) {
  .pe-columns {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .pe-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .pe-attribute-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pe-shipping-fields {
    grid-template-columns: 1fr;
  }
  .pe-observed .pe-basic-card,
  .pe-observed .pe-sales-card,
  .pe-observed .pe-shipping-card,
  .pe-observed .pe-compliance-card {
    min-height: 0;
  }
  .pe-sku-bulk {
    flex-wrap: wrap;
  }
  .pe-translation {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
  }
  .pe-other-basic .pe-button,
  .pe-other-sales .pe-button {
    margin-bottom: 8px;
  }
}
@media (max-width: 768px) {
  .pe-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .pe-preview {
    position: static;
    max-width: 320px;
    width: 100%;
    max-height: 916px;
    margin: 0 auto;
  }
  .pe-toolbar {
    top: 56px;
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding: 12px 0;
  }
  .pe-toolbar > div:first-child {
    flex-basis: 100%;
    padding-right: 0;
  }
  .pe-toolbar h1 {
    font-size: 22px;
    line-height: 30px;
  }
  .pe-toolbar > div:last-child {
    margin-left: auto;
  }
  .pe-section-tabs {
    top: 166px;
    gap: 20px;
  }
  .pe-card {
    padding: 20px;
    scroll-margin-top: 226px;
  }
  .pe-translation {
    padding: 15px 19px;
  }
  .pe-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .pe-gallery-item > div {
    opacity: 1;
  }
  .pe-cover-label {
    bottom: 22px;
  }
  .pe-single-sale {
    grid-template-columns: 1fr;
  }
  .pe-option-list {
    margin-left: 0;
  }
  .pe-shipping-quotes {
    flex-direction: column;
    gap: 4px;
  }
  .pe-variant-names {
    padding: 16px;
  }
}
@media (max-width: 400px) {
  .pe-toolbar > div:last-child:not(:first-child) {
    width: 100%;
  }
  .pe-toolbar > div:last-child:not(:first-child) .pe-button {
    flex: 1;
    width: auto;
    min-width: 0;
    padding-right: 7px;
    padding-left: 7px;
    font-size: 12px;
  }
  .pe-toolbar > div:last-child:not(:first-child) .pe-editor-help {
    flex: none;
    width: 32px;
    margin-right: auto;
  }
  .pe-card {
    padding: 16px;
  }
  .pe-section-tabs .pe-button {
    font-size: 14px;
  }
  .pe-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pe-attribute-grid {
    grid-template-columns: 1fr;
  }
  .pe-translation {
    padding: 15px;
  }
  .pe-translation label {
    flex-wrap: wrap;
  }
  .pe-sale-format {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .pe-variant-names > .pe-field {
    display: block;
  }
  .pe-variant-names > .pe-field > span {
    margin-bottom: 8px;
  }
  .pe-radio-group {
    gap: 16px;
  }
  .pe-shipping-fields .pe-field > div {
    flex-wrap: wrap;
  }
  .pe-shipping-fields .pe-field > .pe-dimensions {
    flex-wrap: nowrap;
  }
  .pe-shipping-fields select {
    width: 100%;
  }
  .pe-shipping-fields .pe-dimensions > input {
    padding-left: 4px;
    padding-right: 4px;
  }
  .pe-sku-bulk {
    gap: 6px;
  }
  .pe-sku-bulk > input {
    width: 92px;
  }
  .pe-sku-bulk > .pe-button {
    padding-left: 9px;
    padding-right: 9px;
  }
  .pe-bulk-spacer {
    display: none;
  }
}

.pe-attributes > h3 {
  line-height: 21px;
  margin-bottom: 16px;
}

.pe-back > svg,
.pe-gallery [data-pe="image-left"] > svg {
  transform: rotate(180deg);
}

.pe-toolbar h1 {
  flex: 1;
  max-width: 860px;
}
.pe-product-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  min-width: 110px;
  padding-left: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
@media (max-width: 768px) {
  .pe-product-status {
    min-width: 56px;
    padding-left: 0;
  }
}
