/**
 * Admin Preview
 * Product Labels
 *
 */
.merchant-flexible-content .layout .merchant-upload-wrapper {
  margin-bottom: 0;
}

.merchant-module-page-preview-browser-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
      -ms-flex-positive: 0;
          flex-grow: 0;
  max-width: 300px;
  width: 100%;
  margin: auto;
  padding: 50px 25px;
}

.merchant-product-labels-preview {
  width: 100%;
}
.merchant-product-labels-preview .image-wrapper {
  overflow: hidden;
  position: relative;
  height: 11vw;
  max-height: 220px;
  background-color: #f5f5f5;
}
.merchant-product-labels-preview .merchant-product-labels {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.merchant-flexible-content-control.product-labels-style .layout {
  border-left: 3px solid #838383;
  -webkit-transition: 300ms;
  transition: 300ms;
}
.merchant-flexible-content-control.product-labels-style .layout.active {
  border-left: 3px solid #3858e9;
}
.merchant-flexible-content-control.product-labels-style .layout-body {
  grid-gap: unset;
}
.merchant-flexible-content-control.product-labels-style .layout-body .merchant-module-page-setting-field {
  margin-bottom: 20px;
}

.merchant-choices-label_text_shape label figure,
.merchant-choices-label_image_shape label figure {
  border-color: #E8E8E8;
}

.merchant-module-page-setting-field-choices .merchant-choices-label_text_shape {
  gap: 5px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media (min-width: 1400px) {
  .merchant-module-page-setting-field-choices .merchant-choices-label_text_shape label {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 calc(12.5% - 10px);
            flex: 1 0 calc(12.5% - 10px);
    max-width: calc(12.5% + 10px);
  }
}
.merchant-module-page-setting-field-choices .merchant-choices-label_image_shape {
  gap: 5px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.merchant-module-page-setting-field-choices .merchant-choices-label_image_shape label {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 calc(12.5% - 10px);
          flex: 1 0 calc(12.5% - 10px);
  max-width: calc(12.5% + 10px);
}
@media (max-width: 1199px) {
  .merchant-module-page-setting-field-choices .merchant-choices-label_image_shape label {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 calc(16.66% - 10px);
            flex: 1 0 calc(16.66% - 10px);
    max-width: calc(16.66% + 10px);
  }
}
@media (max-width: 991px) {
  .merchant-module-page-setting-field-choices .merchant-choices-label_image_shape label {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 calc(25% - 10px);
            flex: 1 0 calc(25% - 10px);
    max-width: calc(25% + 10px);
  }
}
@media (max-width: 767px) {
  .merchant-module-page-setting-field-choices .merchant-choices-label_image_shape label {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 calc(25% - 10px);
            flex: 1 0 calc(25% - 10px);
    max-width: calc(25% + 10px);
  }
}
.merchant-module-page-setting-field-choices .merchant-choices-label_image_shape figure {
  width: 100%;
  padding: 10px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.merchant-module-page-setting-field-choices figure img {
  width: 100%;
}