@charset "UTF-8";
* {
  box-sizing: border-box;
}

.bpp-row {
  display: flex;
  flex-wrap: wrap;
  padding: 12px 0;
  margin-left: -8px;
  margin-right: -8px;
}
.bpp-row .bpp-col-1 {
  margin: 12px 8px;
  width: calc(100% / 12 * 1 - 24px);
}
.bpp-row .bpp-col-2 {
  margin: 12px 8px;
  width: calc(100% / 12 * 2 - 24px);
}
.bpp-row .bpp-col-3 {
  margin: 12px 8px;
  width: calc(100% / 12 * 3 - 24px);
}
.bpp-row .bpp-col-4 {
  margin: 12px 8px;
  width: calc(100% / 12 * 4 - 24px);
}
.bpp-row .bpp-col-5 {
  margin: 12px 8px;
  width: calc(100% / 12 * 5 - 24px);
}
.bpp-row .bpp-col-6 {
  margin: 12px 8px;
  width: calc(100% / 12 * 6 - 24px);
}
.bpp-row .bpp-col-7 {
  margin: 12px 8px;
  width: calc(100% / 12 * 7 - 24px);
}
.bpp-row .bpp-col-8 {
  margin: 12px 8px;
  width: calc(100% / 12 * 8 - 24px);
}
.bpp-row .bpp-col-9 {
  margin: 12px 8px;
  width: calc(100% / 12 * 9 - 24px);
}
.bpp-row .bpp-col-10 {
  margin: 12px 8px;
  width: calc(100% / 12 * 10 - 24px);
}
.bpp-row .bpp-col-11 {
  margin: 12px 8px;
  width: calc(100% / 12 * 11 - 24px);
}
.bpp-row .bpp-col-12 {
  margin: 12px 8px;
  width: calc(100% / 12 * 12 - 24px);
}

.bpp-box {
  background-color: #FFF;
  border: 1px solid #c3c4c7;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  border-radius: 2px;
  padding: 12px 12px;
  margin-bottom: 12px;
}
.bpp-box .bpp-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -12px;
  margin-left: -12px;
  margin-right: -12px;
  padding: 8px 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #c3c4c7;
  font-weight: bold;
}

.bpp-customizer-view-container {
  border: 1px solid #c3c4c7;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  background: #e6e6e6;
  display: inline-block;
  width: 100%;
}

.input-uploader {
  margin-bottom: 12px;
}
.input-uploader label {
  cursor: pointer;
  margin-bottom: 8px;
  font-family: "Slabo";
  font-weight: bold;
}
.input-uploader label span {
  margin-top: 3px;
  margin-bottom: 7px;
  font-family: "Slabo";
}
.input-uploader label.p-font {
  font-family: "Open sans", sans-serif;
}
.input-uploader .pip {
  display: none;
}

#customizer-area {
  /*
  --pdf-width: 592px;
  --pdf-height: 840px;
  */
  /*
  * 30x40 cm
  * 30 cm x 40 cm = 850 x 1134 pixels at 72 PPI.
  */
  --pdf-width: 510px;
  --pdf-height: 680px;
  position: relative;
  width: 100%;
  height: auto;
  margin: 30px auto;
  /*
  * Elements
  */
  /*
  * Sizes, based on class
  */
}
#customizer-area img {
  max-width: 100%;
  height: 100%;
}
#customizer-area .customizer-content {
  position: relative;
  width: var(--pdf-width, 565px);
  height: var(--pdf-height, 799px);
  margin: 0px auto;
  background-color: #939698;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  /*&.landscape {
    width: 799px;
    height: 565px;
  }*/
}
#customizer-area .customizer-page-content {
  width: 100%;
  height: 100%;
}
#customizer-area .bpp-drag-element-image {
  width: 200px;
  height: 200px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
#customizer-area .bpp-drag-element-image img {
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  display: block;
  height: 100%;
}
#customizer-area .bpp-drag-element-layer {
  width: 100%;
  height: 100%;
  background-size: cover;
}
#customizer-area .bpp-drag-element-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#customizer-area .bpp-drag-element-text {
  color: black;
  font-size: 32px;
}
#customizer-area .bpp-drag-element-text.fixed-max-width {
  width: 100%;
}
#customizer-area .bpp-drag-element-text.bpp-text-field-align-horizontal-center {
  left: 0 !important;
  right: 0 !important;
  margin: auto;
  width: 100%;
}
#customizer-area .bpp-drag-element {
  cursor: grabbing;
  top: 0px;
  line-height: 1;
  position: absolute !important;
  left: 0px;
  border: 1px dotted rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
#customizer-area .bpp-drag-element.overflow-visible {
  overflow: visible;
}
#customizer-area .bpp-drag-element.no-drag {
  cursor: default;
  border: none;
}

.product-customizer-preview #customizer-area .bpp-drag-element {
  cursor: grabbing;
  border: 1px dotted rgba(0, 0, 0, 0.3);
}

.textFitted {
  display: block !important;
}

body.single-product.customize-product .summary {
  /*
  * Add to cart
  */
  /*.bppbutton {
    display: block;
    width: 100%;
    padding: 14px 22px;
    text-align: center;
    font-size: 16px;
    font-family: "OpenSans", sans-serif;
    font-weight: normal;
    margin-bottom: 5px;
    border-radius: 4px;
    border: none;
    text-transform: uppercase;

    &.green {
      background-color: #1bb67a;
      color: white;

      &:hover {
        background-color: darken(#1bb67a, 5%);
      }
    }
    &.white {
      border: 1px solid #e1e1e8;
      background-color: white;
      color: #111;

      &:hover {
        background-color: #f5f5f5;
      }
    }
  }

  .bppbutton {
    .woocommerce-variation.single_variation {
      font-size: 16px;
      font-family: "OpenSans", sans-serif;
      font-weight: normal;
      display: inline-block;
      height: auto;
      margin: 0px;
      vertical-align: middle;
      margin-left: 12px;

      .woocommerce-variation-price {
        font-size: 16px;
        font-family: "OpenSans", sans-serif;
        font-weight: normal;
        display: inline-block;
        height: auto;
        margin: 0px;
        .price {
          font-size: 16px;
          font-family: "OpenSans", sans-serif;
          font-weight: normal;
          display: inline-block;
          height: auto;
          margin: 0px;
          bdi::before {
            display: inline-block;
            content: " ";
          }
        }
      }
    }
  }
  */
}
@media (max-width: 777px) {
  body.single-product.customize-product .summary {
    text-align: left;
  }
}
body.single-product.customize-product .summary button.single_add_to_cart_button {
  display: none !important;
}
body.single-product.customize-product .summary .add_to_cart_button {
  display: flex;
  align-items: center;
}
body.single-product.customize-product .summary .add_to_cart_button .loading {
  display: none;
}
body.single-product.customize-product .summary .add_to_cart_button.generating {
  background-color: #777777;
  cursor: crosshair;
  pointer-events: none;
}
body.single-product.customize-product .summary .add_to_cart_button.generating .svg-add-to-cart {
  display: none;
}
body.single-product.customize-product .summary .add_to_cart_button.generating .loading {
  display: block;
}
body.single-product.customize-product .summary .product_title {
  margin-top: 24px;
  margin-bottom: 0;
  font-size: 28px;
}
body.single-product.customize-product .summary .price {
  font-size: 18px;
}
body.single-product.customize-product .summary table.variations .variation-radios {
  display: flex;
  margin: 8px 0 12px 0;
}
body.single-product.customize-product .summary table.variations .variation-radios .radio {
  margin: 0;
}
body.single-product.customize-product .summary table.variations .variation-radios .radio label {
  display: block;
  text-align: center;
}
body.single-product.customize-product .summary table.variations .variation-radios .radio label:hover {
  background-color: rgba(253, 244, 237, 0.6);
  border: 1px solid rgba(189, 152, 145, 0.6);
}
/*
 * Pin fixed overlays to the visual viewport. JS updates these when the
 * mobile keyboard opens or iOS changes zoom; fallbacks keep desktop unchanged.
 */
:root {
  --bpp-vv-top: 0px;
  --bpp-vv-left: 0px;
  --bpp-vv-height: 100%;
  --bpp-vv-width: 100%;
}

.customizer-p-input {
  margin-bottom: 12px;
  /*
  * if error
  */
}
.customizer-p-input-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.customizer-p-input-label {
  display: block;
  line-height: 1.22;
  margin: 0;
  margin-right: auto;
  font-weight: normal;
  /*&-description {
  }*/
}
.customizer-p-input-error, .customizer-p-input.bpp-input {
  background: #fee7e6 !important;
  border-color: #f37178 !important;
}

.customizer-p-input-image .has-edited .cropper-container,
.customizer-p-input-image .has-edited button.toggle-rotate {
  display: none;
}
.customizer-p-input-image .has-edited .toggle-crop .save {
  display: none;
}
.customizer-p-input-image .has-edited .toggle-crop .edit {
  display: block;
}
.customizer-p-input-image .bpp-fileinput {
  margin-bottom: 12px;
  -webkit-appearance: none;
  outline: none;
  border: 1px solid #e1e1e8;
  border-radius: 4px;
  height: 48px;
  display: block;
  width: 100%;
  box-sizing: border-box;
  color: rgb(14, 14, 14);
}
.customizer-p-input-image .bpp-fileinput .button {
  background-color: rgb(244, 244, 244);
  padding: 10px 20px;
  height: 38px;
  margin: 4px;
  border-radius: 4px;
  border: none;
  transition: background-color 0.2s;
}
.customizer-p-input-image .bpp-fileinput label span {
  margin-top: 3px;
  margin-bottom: 7px;
  font-family: "Slabo";
}
.customizer-p-input-image-mobile-toggle {
  background-color: rgba(225, 225, 232, 0.5);
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
}
.customizer-p-input-image-mobile-toggle svg {
  height: 20px;
}
.customizer-p-input-image-mobile-toggle-text {
  font-size: 14px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}
.customizer-p-input-image-mobile-toggle .bpp-image-croppper-preview {
  display: none;
}
.customizer-p-input-image-mobile-toggle.has-selected-image {
  height: 150px;
  background-color: white;
}
.customizer-p-input-image-mobile-toggle.has-selected-image .bpp-image-croppper-preview {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 80%;
  z-index: 1;
}
.customizer-p-input-image-buttons {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}
.customizer-p-input-image-buttons button {
  fill: transparent;
  border: 0px solid transparent;
  width: 50%;
  height: 52px;
  transition: all 0.2s ease-in-out;
}
.customizer-p-input-image-buttons button .edit {
  display: none;
}
.customizer-p-input-image-buttons button:hover {
  opacity: 80%;
}
.customizer-p-input-image .min-image-size-error {
  font-size: 12px;
  font-style: italic;
  color: #f37178;
  margin-bottom: 10px;
  display: none;
}

.customizer-p-input {
  /*
  * Mobile toggle
  */
  /*;
  * Layer / Ceckbox
  */
}
.customizer-p-input-checkbox label {
  border: 0px solid #efeff4;
  margin-bottom: 2px !important;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}
.customizer-p-input-checkbox label:hover {
  background: #f6f6f6;
}
.customizer-p-input-layer-mobile {
  /*
  * icons
  */
}
.customizer-p-input-layer-mobile-toggle {
  background-color: rgba(225, 225, 232, 0.5);
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.customizer-p-input-layer-mobile-toggle svg {
  height: 20px;
}
.customizer-p-input-layer-mobile-toggle-placeholder {
  font-size: 14px;
}
.customizer-p-input-layer-mobile-checked {
  list-style: none;
  padding-left: 0px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.customizer-p-input-layer-mobile-checked.has-lis {
  margin: 10px 0;
}
.customizer-p-input-layer-mobile-checked li {
  display: flex;
  align-items: center;
  gap: 4px;
}
.customizer-p-input-layer-mobile-checked li::before {
  content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="%23f5c7a3" class="size-6"><path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5" /></svg>');
  height: 22px;
  width: 22px;
  display: block;
}
.customizer-p-input-checkbox label.grey-border-box {
  padding: 10px 8px;
}
.customizer-p-input-checkbox .check {
  border: 2px solid #e1e1e8;
}
.customizer-p-input-checkbox .check:before {
  content: "";
  display: block;
  position: absolute;
  left: 5px;
  top: 1px;
  height: 9px;
  width: 3px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  opacity: 0%;
  transition: all 0.2s ease-in-out;
}
.customizer-p-input-checkbox input:checked + label .check {
  background-color: #f5c7a3;
  border-color: #f5c7a3;
}
.customizer-p-input-checkbox input:checked + label .check:before {
  opacity: 100%;
}

.customizer-p-input {
  /*
    * Font family select
    .customizer-p-input-font-select
    */
}
.customizer-p-input .bpp-input {
  background-color: #fff;
}
.customizer-p-input-font-select .ui-button {
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 16px;
  height: 45px;
  line-height: 34px;
  background-color: #fff;
  border: 1px solid #e1e1e8;
}
.customizer-p-input-font-select .ui-button:hover .ui-icon,
.customizer-p-input-font-select .ui-button .ui-icon {
  background-image: none;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"><path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" /></svg>');
}
.customizer-p-input-font-select .ui-selectmenu-icon.ui-icon {
  margin-top: 12px;
}
.customizer-p-input .product_text_show {
  display: none;
}

/*
    * Up, Down, Big, Smaller
    */
.customizer-input-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 0;
}
.customizer-input-buttons .icon {
  margin: 0;
  height: 28px;
  width: 28px;
  border-radius: 4px;
  background-color: #fbf4ee;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.customizer-input-buttons .icon:hover {
  opacity: 70%;
}
.customizer-input-buttons .icon svg {
  height: 14px;
  fill: black;
}
.customizer-input-buttons .icon svg.stroke {
  fill: #fbf4ee;
}
.customizer-input-buttons .icon.disabled {
  opacity: 50%;
  cursor: not-allowed;
}
.customizer-input-buttons .icon.hide {
  display: none;
}

/*.bpp-mobile-modal-inputs .checkbox {
  margin-bottom: 5px;
}*/
.bpp-pa-icon {
  height: 40px;
  margin-bottom: -10px;
  margin-top: -10px;
  margin-right: 6px;
}

.bpp-page-thumbnail {
  /*
  * @ Bottom
  */
}
.bpp-page-thumbnail-container {
  display: flex;
  gap: 24px;
}
@media (max-width: 777px) {
  .bpp-page-thumbnail-container {
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.3);
    transition: opacity 0.3s;
    padding: 12px 0px 34px 0px;
  }
}
@media (min-width: 777px) {
  .bpp-page-thumbnail-container {
    margin-top: -28px;
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: fit-content;
    z-index: 2;
    background-color: #efebeb;
    padding: 12px 12px 34px 12px;
    margin-left: auto;
    border-radius: 4px;
    margin-right: auto;
    box-sizing: border-box;
  }
}
.bpp-page-thumbnail-container .bpp-page-thumbnail {
  cursor: pointer;
  position: relative;
  width: 50px;
  height: 70.7px;
  background-color: #aaa;
  flex-shrink: 0;
  overflow: visible;
  opacity: 60%;
  transition: opacity 0.2s ease-in-out;
  cursor: pointer;
}
.bpp-page-thumbnail-container .bpp-page-thumbnail:hover {
  opacity: 70%;
}
.bpp-page-thumbnail-container .bpp-page-thumbnail.active {
  opacity: 90%;
  border: 1px solid #777;
}
.bpp-page-thumbnail-container .bpp-page-thumbnail .bpp-page-info {
  position: absolute;
  width: calc(100% + 20px);
  left: -10px;
  text-align: center;
  font-size: 12px;
  padding: 6px;
  line-height: 1;
  color: #000;
  background-color: white;
  bottom: -28px;
  border-radius: 16px;
}

.customizer-content:hover .bpp-page-thumbnail-container {
  opacity: 1;
}

#customizer-area {
  position: sticky;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0px auto;
  top: 75px;
}
#customizer-area img {
  max-width: 100%;
  height: 100%;
}
#customizer-area .customizer-content {
  position: relative;
  overflow: hidden;
  /*
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  */
  transform: scale(0.95);
  transform-origin: left top;
}
#customizer-area .customizer-page-content {
  width: 100%;
  height: 100%;
}
#customizer-area .bpp-drag-element {
  cursor: default;
  border: none;
}

.bpp-accept-img-select:hover {
  opacity: 1 !important;
}

/*
Todo can't use this logic
.customizer-content.working_div.foldable {
  .bpp-page-thumbnail:nth-child(1),
  .bpp-page-thumbnail:nth-child(3) {
    display: none;
  }
}
*/
#customizer-area .customizer-content .customizer-page-content.active {
  display: block;
}

body.customize-product table.variations .input {
  margin: 0;
}
body.customize-product table.variations h3 {
  font-size: 24px;
  color: #555;
}
body.customize-product table.variations td.value.block {
  margin-bottom: 0;
  background-color: #efebeb;
  padding: 12px;
  border-radius: 4px;
}
body.customize-product table.variations td.value.block > p {
  margin: 0 0 4px 0;
  font-family: "Slabo";
  color: #777;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 700;
}
body.customize-product table.variations .bpp-variation-popup-button {
  margin-bottom: 0;
}

.bpp-variation-popup {
  /*
    * Container
    */
}
.bpp-variation-popup-container {
  position: fixed;
  left: 0;
  top: var(--bpp-vv-top, 0px);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  width: 100%;
  max-width: 100%;
  height: var(--bpp-vv-height, 100%);
  display: none;
  overflow: hidden;
  box-sizing: border-box;
}
.bpp-variation-popup-container.active {
  display: block;
}
.bpp-variation-popup-container .price {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  height: fit-content;
}
.bpp-variation-popup-container .price del {
  color: white !important;
  opacity: 75%;
  font-size: 90%;
}
.bpp-variation-popup-container .price ins {
  order: -1;
}
.bpp-variation-popup-modal {
  /*

  * innner
  */
  display: flex;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 16px;
  padding: 56px;
  width: 850px;
  max-width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
}
@media (max-width: 777px) {
  .bpp-variation-popup-modal {
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    transform: none;
    border-radius: 0px;
    padding: 50px 10px;
    width: 100%;
    max-height: 100%;
    max-width: 100%;
    height: 100%;
  }
}
.bpp-variation-popup-modal-content {
  width: 100%;
}
.bpp-variation-popup-modal .variation-radios {
  display: flex;
  gap: 8px;
}
.bpp-variation-popup-modal .radio {
  width: 50%;
  margin: 10px;
}
.bpp-variation-popup-modal .radio label {
  width: 100%;
  font-weight: normal;
  font-family: "OpenSans", sans-serif;
  font-size: 14px;
  color: #111;
  border-radius: 4px;
  padding: 16px;
  border: 1px solid #e1e1e8;
  margin-bottom: 0px;
}
.bpp-variation-popup-modal .radio input[type=radio]:checked + label {
  background-color: #fdf4ed;
  border: 1px solid #bd9891;
}
.bpp-variation-popup-modal .btn.confirm {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.bpp-variation-popup-modal .btn.confirm .woocommerce-variation.single_variation {
  order: inherit;
  padding: 0;
  margin: 0;
  font-size: inherit;
}
.bpp-variation-popup-modal .btn.confirm .woocommerce-variation.single_variation .woocommerce-variation-price {
  margin: 0;
  font-size: 16px;
  font-family: "Slabo";
}
.bpp-variation-popup-modal .btn.confirm:hover {
  opacity: 80%;
}
.bpp-variation-popup-modal .btn.confirm.disabled {
  cursor: not-allowed;
  pointer-events: none;
  background: #e1e1e8;
  color: black;
}
.bpp-variation-popup-modal .btn.cancel {
  width: 100%;
}
.bpp-variation-popup-modal .btn.cancel:hover {
  background: #e1e1e8;
}
.bpp-variation-popup-modal-left {
  width: 60%;
  box-sizing: border-box;
  padding: 20px 65px 20px 20px;
  display: flex;
  justify-content: center;
}
.bpp-variation-popup-modal-right {
  width: 40%;
  padding: 20px 0px;
  box-sizing: border-box;
}
@media (max-width: 777px) {
  .bpp-variation-popup-modal-right {
    width: 100%;
    padding: 0;
  }
  .bpp-variation-popup-modal-left {
    width: 100%;
    padding: 40px;
    margin-bottom: 8px;
  }
}
.bpp-variation-popup-modal-close {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 40px;
  height: 40px;
  border: solid 1px #efeff4;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
  cursor: pointer;
  margin: 0px;
}
.bpp-variation-popup-modal-close span {
  margin: 0px !important;
}
@media (max-width: 777px) {
  .bpp-variation-popup-modal-close {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 44px;
    height: 44px;
    background-color: #fbf4ee;
    border-radius: 100%;
  }
}
.bpp-variation-popup-button {
  font-family: sans-serif;
  font-weight: normal;
  cursor: pointer;
  position: relative;
  margin-bottom: 12px;
  -webkit-appearance: none;
  outline: none;
  border: 1px solid #e1e1e8;
  border-radius: 4px;
  height: 48px;
  display: block;
  width: 100%;
  text-indent: 0px;
  font-size: 14px;
  padding: 14px;
  border-color: #e1e1e8;
  background-color: #fff;
  text-align: left;
  color: #111;
}
.bpp-variation-popup-button:active {
  color: #111;
}
.bpp-variation-popup-button:before {
  content: "";
  position: absolute;
  right: 20px;
  top: 20px;
  display: block;
  width: 6px;
  height: 6px;
  background: transparent;
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.bpp-variation-popup-button-checkbox:checked + .bpp-variation-popup-container {
  display: block;
}

.bpp-accept-design-checkbox:checked + .bpp-variation-popup-container {
  display: block;
}

.bpp-variation-popup-modal-design-preview {
  height: 100%;
  position: relative;
  /*

  &:before {
    display: none;
    content: "Eksempel";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    text-transform: uppercase;
    z-index: 20;
    font-weight: bold;
    font-size: 22px;
    text-shadow: 0px 0px 1px black;
    color: white;
    opacity: 0.7;
  }
  .pa_bpp_format-page0,
  .pa_bpp_format-page1,
  .bpp-pa_bpp_size-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 250px;
    width: calc(250px / 1.5);
    //transition: transform 0.3s;
    //transition: none;
  }
  */
  /*.pa_bpp_format-page0 {
    z-index: 10;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.5);
    perspective-origin: center;
    perspective: 100px;
    transform: translate(-50%, -50%) perspective(800px) rotateX(-20deg);
    transform-origin: center left;
  }

  .pa_bpp_format-page1 {
    display: none;
    z-index: 5;
  }

  .pa_bpp_format-page0.folded {
    perspective-origin: center;
    perspective: 100px;
    transform: translate(-50%, -50%) perspective(800px) rotateX(-20deg)
      rotate3d(0, 1, 0, -40deg);
    transform-origin: center left;
    box-shadow: 8px 3px 25px 0px rgba(0, 0, 0, 0.5);
    animation: fold 5s infinite;
    animation-delay: 0.3s;
  }
  .pa_bpp_format-page1.folded {
    display: block;
    transform: translate(-50%, -50%) perspective(800px) rotateX(-20deg);
    transform-origin: center left;
    perspective-origin: center;
  }*/
}
.bpp-variation-popup-modal-design-preview .bpp-pa_bpp_size-inner {
  position: relative;
  width: 100%;
}
.bpp-variation-popup-modal-design-preview .img-pa_bpp_size {
  width: 100%;
}
.bpp-variation-popup-modal-design-preview .bpp-pa_bpp_size-inner {
  /*
  * Size indicators
  */
}
.bpp-variation-popup-modal-design-preview .bpp-pa_bpp_size-inner-bottom, .bpp-variation-popup-modal-design-preview .bpp-pa_bpp_size-inner-right {
  position: absolute;
  font-size: 12px;
  padding: 6px;
}
.bpp-variation-popup-modal-design-preview .bpp-pa_bpp_size-inner-bottom {
  width: 100%;
  border-top: 1px solid #bd9891;
  bottom: -10px;
  transform: translateY(100%);
  text-align: center;
}
.bpp-variation-popup-modal-design-preview .bpp-pa_bpp_size-inner-right {
  height: 95%;
  border-left: 1px solid #bd9891;
  right: -10px;
  transform: translateX(100%);
  display: flex;
  align-items: center;
}
@media (max-width: 777px) {
  .bpp-variation-popup-modal-design-preview .bpp-pa_bpp_size-inner-right {
    right: -10px;
    max-width: 35px;
    text-align: center;
  }
}

/*
.bpp-variation-popup-modal-design-preview {
  height: 100%;
  position: relative;
  padding-bottom: 40px;

  @media (max-width: 777px) {
    height: 50vh;
  }

  .pa_bpp_format-page0,
  .pa_bpp_format-page1,
  .bpp-pa_bpp_size-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    height: 350px;
    object-fit: contain;
    width: calc(350px / 1.5);
    //transition: transform 0.3s;
    //transition: none;
  }

  .bpp-pa_bpp_size-inner {
    position: relative;
    width: 100%;
    max-height: 100%;
    box-sizing: border-box;
  }

  .img-pa_bpp_size {
    width: 100%;
  }

  .bpp-pa_bpp_size-inner-bottom,
  .bpp-pa_bpp_size-inner-right {
    position: absolute;
    font-size: 13px;
    padding: 6px;
  }

  .bpp-pa_bpp_size-inner-bottom {
    width: 100%;
    border-top: 1px solid #bd9891;
    bottom: -20px;
    transform: translateY(100%);
    text-align: center;
  }

  .bpp-pa_bpp_size-inner-right {
    height: 95%;
    border-left: 1px solid #bd9891;
    right: -15px;
    transform: translateX(100%);
    display: flex;
    align-items: center;
  }

  .pa_bpp_format-page0 {
    z-index: 10;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.5);
    perspective-origin: center;
    perspective: 100px;
    transform: translate(-50%, -50%) perspective(800px) rotateX(-20deg);
    transform-origin: center left;
  }

  .pa_bpp_format-page1 {
    display: none;
    z-index: 5;
  }

  .pa_bpp_format-page0.folded {
    perspective-origin: center;
    perspective: 100px;
    transform: translate(-50%, -50%) perspective(800px) rotateX(-20deg)
      rotate3d(0, 1, 0, -40deg);
    transform-origin: center left;
    box-shadow: 8px 3px 25px 0px rgba(0, 0, 0, 0.5);
    animation: fold 5s infinite;
    animation-delay: 0.3s;
  }
  .pa_bpp_format-page1.folded {
    display: block;
    transform: translate(-50%, -50%) perspective(800px) rotateX(-20deg);
    transform-origin: center left;
    perspective-origin: center;
  }
}
*/
table.variations,
.product-addons.product-addons-for-customizer {
  color: rgb(14, 14, 14);
}
table.variations h3,
.product-addons.product-addons-for-customizer h3 {
  color: rgb(14, 14, 14);
}
table.variations .ui-selectmenu-text,
.product-addons.product-addons-for-customizer .ui-selectmenu-text {
  font-size: 20px;
}
table.variations .product-addon .bpp-fileinput,
.product-addons.product-addons-for-customizer .product-addon .bpp-fileinput {
  margin-bottom: 12px;
  -webkit-appearance: none;
  outline: none;
  border: 1px solid #e1e1e8;
  border-radius: 4px;
  height: 48px;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
table.variations .product-addon .bpp-fileinput .button,
.product-addons.product-addons-for-customizer .product-addon .bpp-fileinput .button {
  background-color: rgb(244, 244, 244);
  padding: 10px 20px;
  height: 38px;
  margin: 4px;
  border-radius: 4px;
  border: none;
  transition: background-color 0.2s;
}
table.variations .product-addon .bpp-fileinput.selected,
.product-addons.product-addons-for-customizer .product-addon .bpp-fileinput.selected {
  background-color: rgb(222, 222, 222);
}
table.variations .product-addon .bpp-fileinput:hover .button,
.product-addons.product-addons-for-customizer .product-addon .bpp-fileinput:hover .button {
  background-color: rgb(222, 222, 222);
}

#bpp-image-croppper-controls-right .btn.white,
#bpp-image-croppper-controls-right .btn.green {
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
}
#bpp-image-croppper-controls-right .btn.green {
  border: none;
}
#bpp-image-croppper-controls-right .btn.white {
  background-color: white;
  border: 1px solid #eee;
}

.bpp-mocked-input {
  -webkit-appearance: none;
  outline: none;
  border: 1px solid #e1e1e8;
  background-color: white;
  border-radius: 4px;
  height: 48px;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-indent: 0px;
  padding: 14px;
  overflow: hidden;
  white-space: nowrap;
}

.bpp-mocked-input.multiline {
  white-space: break-spaces;
  height: 125px;
  overflow: scroll;
}

.bpp-mobile-modal-close,
.bpp-desktop-only {
  display: none;
}

.bpp-mobile-modal-buttons,
.bpp-mobile-modal-header,
.bpp-mobile-modal-hide-desktop {
  display: none;
}

.input h3 {
  text-align: left !important;
}

.swal-text:first-child {
  margin-top: 20px !important;
  font-size: 24px;
  color: #111;
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slideOutDown {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, 100%, 0);
  }
}
@media (max-width: 777px) {
  body.customize-product {
    overflow-x: hidden;
  }
  .bpp-mobile-modal {
    /*
    * Unner block
    */
    /*
    * Close
    */
  }
  .bpp-mobile-modal-header.h3 {
    margin-top: 24px;
    text-align: center !important;
  }
  .bpp-mobile-modal-customizer-container {
    flex: 1 1 auto;
    min-height: 120px;
    transition: transform 0.3s ease, transform-origin 0.3s ease;
    /*
    * Andreas todo
    */
    overflow: hidden;
    padding: 1px;
    box-sizing: border-box;
    max-height: none;
    /*
    .zoomed-in {
      transform: scale(2); 
      transition: transform 0.3s ease-in-out;
    }
    */
    /*
    * If multiple only show the active one
    */
    /*
    &.zoom {
      position: absolute;
      overflow: hidden;
      top: var(--media-object, 50%);
      bottom: var(--media-object, 50%);
    }
    */
  }
  .bpp-mobile-modal-customizer-container .btn.svg svg {
    fill: transparent;
  }
  .bpp-mobile-modal-customizer-container #customizer-area {
    transition: transform 0.3s ease-in-out;
  }
  .bpp-mobile-modal-customizer-container.is-zoomed-to-field {
    background-color: #efebeb;
    border: 1px solid #e1e1e8;
    border-radius: 8px;
  }
  .bpp-mobile-modal-customizer-container.is-zoomed-to-field #working_div,
.bpp-mobile-modal-customizer-container.is-zoomed-to-field .customizer-content {
    box-shadow: none;
  }
  .bpp-mobile-modal-customizer-container.is-zoomed-to-field .bpp-drag-element.is-focused-field {
    border: 1px solid #bd9891 !important;
    box-shadow: 0 0 0 3px rgba(189, 152, 145, 0.35);
    overflow: visible;
  }
  .bpp-mobile-modal-customizer-container .bpp-page-thumbnail-container {
    display: none;
  }
  .bpp-mobile-modal-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 50px;
    background-color: #fff;
    position: absolute;
    padding: 12px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    max-height: 100%;
    height: 100%;
    opacity: 0%;
    top: 100px;
    transition: opacity, top 0.4s;
    overflow: auto;
    overscroll-behavior: contain;
    /*
          .bpp-mobile-modal-header,
          .bpp-mobile-modal-customizer-container,
          .bpp-mobile-modal-inputs {
            //width: 100%;
          }

          .bpp-mobile-modal-customizer-container {
            //flex: 1;
          }
    */
    /*.bpp-customizer-modal-inner-content {
      background-color: red;
      height: 100%;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      h1 {
        font-weight: normal;
      }
    }

    .btn {
      width: 100%;
      padding: 16px;
      font-size: 14px;
      margin-top: 8px;
      height: 50px;
      text-transform: uppercase;

      &.green {
        border: none;
      }

      &.white {
        background: #fff;
        color: #333;
        border: 1px solid #ccc;
      }
    }
    */
  }
  .bpp-mobile-modal-inner.is-editing-field {
    padding-bottom: 8px;
  }
  .bpp-mobile-modal-buttons {
    /*
    * Submit
    */
  }
  .bpp-mobile-modal-buttons .btn {
    width: 100%;
    padding: 16px;
    border: 0px solid transparent;
    border-radius: 4px;
    /*
    font-size: 14px;
    margin-top: 8px;
    height: 50px;
    text-transform: uppercase;
    */
  }
  .bpp-mobile-modal-buttons .btn.edit-image {
    background: #fbf4ee;
    color: black;
    padding: 10px;
    height: inherit;
    width: inherit;
    font-weight: bold;
    font-size: 14px;
  }
  .bpp-mobile-modal-buttons .btn.green {
    text-transform: uppercase;
  }
  .bpp-mobile-modal-close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    background-color: #fbf4ee;
    border-radius: 100%;
    color: #555;
    font-size: 18px;
    transition: background-color 0.2s;
    cursor: pointer;
  }
  .bpp-mobile-modal-close svg {
    height: 24px;
  }
  .bpp-mobile-modal-close:hover {
    background-color: #eee;
  }
  .bpp-mobile-modal-inputs .p-16 {
    padding-top: 6px;
  }
  .bpp-mobile-modal-inputs-flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: -3px;
    margin-right: -3px;
  }
  .bpp-mobile-modal-inputs-flex-container .checkbox {
    width: calc(50% - 6px);
    margin-left: 3px;
    margin-right: 3px;
  }
  .swal-overlay--show-modal .swal-modal {
    animation: slideInUp;
  }
  .swal-button--confirm,
.swal-button--cancel {
    width: 100%;
  }
  .swal-footer {
    display: flex;
    flex-direction: column-reverse;
  }
  .swal-modal {
    border-radius: 0px;
    position: absolute;
    margin: 0px;
    left: 0px;
    bottom: 0px;
    width: 100% !important;
  }
  #bpp-image-croppper-controls-right {
    display: none;
  }
  .bpp-mobile-modal-buttons,
.bpp-mobile-modal-header,
.bpp-mobile-modal-hide-desktop {
    display: block;
    flex-shrink: 0;
  }
  .bpp-mobile-modal-inputs {
    flex-shrink: 0;
  }
  .bpp-mobile-modal-buttons {
    margin-top: 16px;
  }
  .ui-selectmenu-menu {
    z-index: 10000;
  }
  .bpp-hide-on-mobile {
    display: none;
  }
  .bpp-desktop-only {
    display: block;
  }
  #customizer-area {
    position: relative !important;
    top: 0px;
  }
  .bpp-mobile-modal-header {
    text-align: center;
    min-height: 44px;
  }
  .bpp-mobile-modal-header h3 {
    font-size: 24px;
    margin: 4px auto 0 auto;
    max-width: 80%;
  }
  .bpp-mobile-modal-wrapper {
    position: fixed;
    left: 0;
    top: var(--bpp-vv-top, 0px);
    bottom: auto;
    width: 100%;
    max-width: 100%;
    height: var(--bpp-vv-height, 100%);
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 9999;
    max-height: 0px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s;
    box-sizing: border-box;
  }
  .bpp-mobile-modal-wrapper.show {
    max-height: var(--bpp-vv-height, 100%);
    height: var(--bpp-vv-height, 100%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .bpp-mobile-modal-wrapper .bpp-mobile-modal-inner.show {
    opacity: 100%;
    top: 0;
  }
  /*
   * iOS Safari zooms the page when a focused control is smaller than 16px.
   * That zoom plus the keyboard is what knocks popups off-center.
   */
  .bpp-mobile-modal-inner input,
.bpp-mobile-modal-inner textarea,
.bpp-mobile-modal-inner select,
.bpp-variation-popup-modal input,
.bpp-variation-popup-modal textarea,
.bpp-variation-popup-modal select {
    font-size: 16px !important;
  }
}
#working_div {
  transition: opacity 0.5s;
}

.swal-button--confirm,
.swal-button--cancel {
  padding: 17px;
  text-transform: uppercase;
  border-radius: 4px;
  color: #111;
  outline: none !important;
}

.swal-button--confirm {
  background-color: #1bb67a;
  color: white;
}
.swal-button--confirm:hover {
  background-color: #18a06b !important;
}

.swal-button--cancel {
  background-color: white;
  border: 1px solid #e1e1e8;
}
.swal-button--cancel:hover {
  background-color: #f2f2f2 !important;
}

html.bpp-scroll-locked,
html.bpp-scroll-locked body {
  overflow: hidden;
  overscroll-behavior: none;
}

body.body-overflow-hidden {
  overflow: hidden;
}

html.bpp-scroll-locked body.body-overflow-hidden {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.circled .cropper-view-box,
.circled .cropper-face {
  border-radius: 50%;
}

.bpp-variation-popup-container.preview {
  /*
  * Design preview
  */
  /*
  * Foldable design (preview popup)
  */
  /*
   * Foldable card preview (approve-design popup only).
   * 3D page-turn — independent of turn.js.
   */
  /* Closed: front cover centered in the double-page stage */
  /* Opening: book spread */
  /* Fully open: center back cover */
  /*
  * Flat design with 2 pages
  */
  /*
  * Modal shell: fixed chrome (title + actions), preview fits viewport
  */
}
.bpp-variation-popup-container.preview .invitation.foldable {
  /* Defaults match A5; JS overrides via --bpp-fold-* from captured page size */
  --bpp-fold-height: 420px;
  --bpp-fold-page-width: 296px;
  position: relative;
  margin: 0 auto 64px;
  width: calc(var(--bpp-fold-page-width) * 2);
  max-width: 100%;
  height: var(--bpp-fold-height);
  perspective: 2000px;
}
@media (max-width: 777px) {
  .bpp-variation-popup-container.preview .invitation.foldable {
    margin-bottom: 56px;
  }
}
.bpp-variation-popup-container.preview .bpp-fold-card {
  position: relative;
  width: 100%;
  height: 100%;
}
.bpp-variation-popup-container.preview .bpp-fold-stage {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.bpp-variation-popup-container.preview .bpp-fold-leaf {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  transform-style: preserve-3d;
  transform-origin: left center;
  transition: transform 0.7s ease-in-out, left 0.7s ease-in-out;
  left: 25%;
  z-index: 1;
}
.bpp-variation-popup-container.preview .bpp-fold-card.is-closed .bpp-fold-leaf {
  left: 25%;
}
.bpp-variation-popup-container.preview .bpp-fold-card.is-open .bpp-fold-leaf {
  left: 50%;
}
.bpp-variation-popup-container.preview .bpp-fold-card.is-fully-open .bpp-fold-leaf {
  left: 75%;
}
.bpp-variation-popup-container.preview .bpp-fold-leaf.is-flipped {
  transform: rotateY(-180deg);
}
.bpp-variation-popup-container.preview .bpp-fold-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: fill;
  object-position: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background-color: #fff;
  overflow: hidden;
}
.bpp-variation-popup-container.preview .bpp-fold-face.front {
  border-radius: 0;
  box-shadow: 2px 2px 15px -2px rgba(0, 0, 0, 0.2);
}
.bpp-variation-popup-container.preview .bpp-fold-face.back {
  border-radius: 0;
  box-shadow: -2px 2px 15px -2px rgba(0, 0, 0, 0.2);
  transform: rotateY(180deg);
}
.bpp-variation-popup-container.preview .bpp-fold-card.is-closed .bpp-fold-face.front,
.bpp-variation-popup-container.preview .bpp-fold-card.is-fully-open .bpp-fold-face.back {
  border-radius: 0;
}
.bpp-variation-popup-container.preview .bpp-fold-face--blank {
  background: #fff;
}
.bpp-variation-popup-container.preview .bpp-fold-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -52px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: none;
  transform-style: flat;
}
.bpp-variation-popup-container.preview .bpp-fold-nav__btn {
  padding: 4px 8px;
  border-radius: 4px;
  border: 0;
  background-color: #f5c7a3;
  font-family: "Slabo", serif;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}
.bpp-variation-popup-container.preview .bpp-fold-nav__btn:hover:not(:disabled):not(.disabled) {
  opacity: 0.8;
}
.bpp-variation-popup-container.preview .bpp-fold-nav__btn.disabled, .bpp-variation-popup-container.preview .bpp-fold-nav__btn:disabled {
  cursor: not-allowed;
  background: grey;
  opacity: 0.6;
}
.bpp-variation-popup-container.preview .flip-container {
  /* Sized from JS via --bpp-preview-max-height / --bpp-preview-max-width */
  --height: var(--bpp-preview-max-height, 45vh);
  margin: 0 auto;
  display: block;
  text-align: center;
  max-width: 100%;
  line-height: 0;
}
.bpp-variation-popup-container.preview .flip-container-flipper {
  /* Explicit size from JS — avoid height+aspect-ratio fighting max-width */
  width: var(--bpp-preview-max-width, auto);
  height: var(--bpp-preview-max-height, 45vh);
  max-width: 100%;
  max-height: var(--bpp-preview-max-height, 45vh);
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;
  margin: 0 auto;
  line-height: normal;
}
.bpp-variation-popup-container.preview .flip-container-flipper-front, .bpp-variation-popup-container.preview .flip-container-flipper-back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.bpp-variation-popup-container.preview .flip-container-flipper-back {
  transform: rotateY(180deg);
}
.bpp-variation-popup-container.preview .flip-container.hover .flip-container-flipper {
  transform: rotateY(180deg);
}
.bpp-variation-popup-container.preview .flip-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  box-shadow: 4px 8px 32px rgba(0, 0, 0, 0.18);
}
.bpp-variation-popup-container.preview button#flipper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 8px auto 0;
  background: brown;
  color: white;
  border: 0px solid transparent;
  padding: 8px 12px;
  line-height: normal;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.bpp-variation-popup-container.preview button#flipper svg {
  height: 18px;
  width: 18px;
  fill: white;
}
.bpp-variation-popup-container.preview button#flipper:hover {
  opacity: 80%;
}
.bpp-variation-popup-container.preview .tip-helper {
  text-align: center;
  opacity: 80%;
}
.bpp-variation-popup-container.preview .bpp-variation-popup-modal {
  display: flex;
  flex-direction: column;
  padding: 24px;
  width: fit-content;
  max-width: min(850px, 96vw);
  min-width: 500px;
  max-height: 90vh;
  max-height: 90dvh;
  height: auto;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}
.bpp-variation-popup-container.preview .bpp-variation-popup-modal-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  width: 100%;
}
.bpp-variation-popup-container.preview .bpp-variation-popup-modal-content > h2 {
  flex-shrink: 0;
  margin-top: 0;
  margin-bottom: 12px;
}
.bpp-variation-popup-container.preview #preview-design {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  /* Avoid always-visible gutter when content fits */
  scrollbar-gutter: auto;
  /*
   * Single / multi-page posters — fit image into available viewport space.
   * --bpp-preview-max-height / --bpp-preview-max-width set from JS per size.
   */
}
.bpp-variation-popup-container.preview #preview-design .images {
  max-height: var(--bpp-preview-max-height, 60vh);
  margin-bottom: 16px;
  line-height: 0;
}
.bpp-variation-popup-container.preview #preview-design .images img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-height: var(--bpp-preview-max-height, 60vh);
  max-width: min(100%, var(--bpp-preview-max-width, 70vw));
  object-fit: contain;
  box-shadow: 4px 8px 32px rgba(0, 0, 0, 0.18);
}
.bpp-variation-popup-container.preview #preview-design .order_cart_preview.poster_with_pages {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
}
.bpp-variation-popup-container.preview #preview-design .order_cart_preview.poster_with_pages .images {
  flex: 0 1 auto;
  margin-bottom: 0;
  min-width: 0;
}
.bpp-variation-popup-container.preview #preview-design .order_cart_preview.poster_with_pages .thumbnail_buttons_group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  align-self: flex-start;
  margin: 0;
  padding-top: 4px;
}
.bpp-variation-popup-container.preview #preview-design .order_cart_preview.poster_with_pages .thumbnail_buttons_group .cart_preview_thumb,
.bpp-variation-popup-container.preview #preview-design .order_cart_preview.poster_with_pages .thumbnail_buttons_group div {
  width: 52px;
  height: auto;
  aspect-ratio: var(--bpp-preview-aspect, 10/21);
  max-height: 110px;
  margin: 0;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  border: 1px solid #d0d0d0;
  box-sizing: border-box;
}
.bpp-variation-popup-container.preview #preview-design .order_cart_preview.invitation.foldable {
  margin-left: auto;
  margin-right: auto;
}
.bpp-variation-popup-container.preview #preview-design .order_cart_preview.invitation.flat {
  width: 100%;
  max-height: 100%;
}
.bpp-variation-popup-container.preview .btn.green {
  border: 0px solid transparent;
}
.bpp-variation-popup-container.preview .bpp-variation-popup-modal-buttons {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  margin-top: 16px;
  width: 100%;
}
@media (max-width: 777px) {
  .bpp-variation-popup-container.preview .bpp-variation-popup-modal {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-width: auto;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
  .bpp-variation-popup-container.preview #preview-design .images img {
    max-width: min(100%, var(--bpp-preview-max-width, 92vw));
  }
  .bpp-variation-popup-container.preview #preview-design .order_cart_preview.poster_with_pages .thumbnail_buttons_group .cart_preview_thumb,
.bpp-variation-popup-container.preview #preview-design .order_cart_preview.poster_with_pages .thumbnail_buttons_group div {
    width: 44px;
    max-height: 96px;
  }
}

.bpp-variation-popup-container.sizes {
  /*
    *
    */
  /*
  * Left preview section
  */
}
.bpp-variation-popup-container.sizes .bpp-variation-popup-modal-design-preview .bpp-pa_bpp_size-inner > img {
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.5);
}
.bpp-variation-popup-container.sizes .flat-folded-preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*
  &-page-0,
  &-page-1 {
  }
  */
  /*&-page-0 {
    z-index: 10;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.5);
    perspective-origin: center;
    perspective: 100px;
    transform: translate(-50%, -50%) perspective(800px) rotateX(-20deg);
    transform-origin: center left;
  }*/
  /*
  * Foldabe
  */
}
.bpp-variation-popup-container.sizes .flat-folded-preview > img {
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.5);
}
.bpp-variation-popup-container.sizes .flat-folded-preview-page-1 {
  display: none;
  z-index: 5;
}
.bpp-variation-popup-container.sizes .flat-folded-preview.foldable .flat-folded-preview-page-0, .bpp-variation-popup-container.sizes .flat-folded-preview.foldable .flat-folded-preview-page-1 {
  position: absolute;
  top: 0;
}
.bpp-variation-popup-container.sizes .flat-folded-preview.foldable .flat-folded-preview-page-0 {
  transform: rotate3d(0, 1, 0, -40deg);
  transform-origin: center left;
  box-shadow: 8px 3px 25px 0px rgba(0, 0, 0, 0.2);
  animation: fold 5s infinite;
  animation-delay: 0.3s;
  z-index: 2;
}
.bpp-variation-popup-container.sizes .flat-folded-preview.foldable .flat-folded-preview-page-1 {
  display: block;
  z-index: 1;
}
.bpp-variation-popup-container.sizes .info-tip {
  color: #777;
  font-size: 14px;
  font-family: sans-serif;
  width: 100%;
  padding-bottom: 8px;
  display: block;
}
@keyframes fold {
  0% {
    transform: rotate3d(0, 1, 0, -40deg);
  }
  50% {
    transform: rotate3d(0, 1, 0, -50deg);
  }
  100% {
    transform: rotate3d(0, 1, 0, -40deg);
  }
}
/*
* Move around on Sizes

body.customize-product {
  .variations_form.cart {
    flex-direction: column;

    table.variations {
      order: -1;
    }
  }
  .ui-selectmenu-text {
    text-indent: 3px;
    line-height: 1.2;
    font-size: 18px;
  }
}
*/
/*.bpp-image-croppper-controls {
  .range-control,
  .grey-tone {
    display: none;
  }
}*/
.hidden {
  display: none;
}

.product-addons-for-customizer_container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
}
.product-addons-for-customizer_container > .product-addons-for-customizer {
  margin-top: 12px;
}
.product-addons-for-customizer_container > .product-addons-for-customizer:first-of-type {
  margin-top: 0;
}
.product-addons-for-customizer_container .pppp-addon > .block {
  padding: 12px;
  background-color: #efebeb;
  margin-bottom: 12px;
  border-radius: 4px;
}

.bpp-print-backside-toggle {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  margin: 0 0 4px;
  border: 1px solid #d8cfc7;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-family: inherit;
  color: inherit;
  line-height: 1.4;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.bpp-print-backside-toggle:hover {
  border-color: #b2a092;
}
.bpp-print-backside-toggle.is-selected {
  background: #efebeb;
  border-color: #8a7566;
  box-shadow: inset 0 0 0 1px #8a7566;
}
.bpp-print-backside-toggle .bpp-print-backside-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #c4b8ae;
  border-radius: 50%;
  background: #fff;
  position: relative;
}
.bpp-print-backside-toggle.is-selected .bpp-print-backside-check {
  background: #8a7566;
  border-color: #8a7566;
}
.bpp-print-backside-toggle.is-selected .bpp-print-backside-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.bpp-print-backside-toggle .bpp-print-backside-toggle-text .woocommerce-Price-amount {
  font-weight: 600;
}

.bpp-extra-price-fields[hidden] {
  display: none !important;
}

.bpp-backside-price-note {
  display: none;
  margin: 6px 0 0;
  font-size: 14px;
  color: #5c5148;
}
.bpp-backside-price-note.is-visible {
  display: block;
}

button#preview-design-accept.disabled {
  background: gray;
  pointer-events: none;
  cursor: not-allowed;
}

#preview-design-accept img {
  width: 22px;
  height: 22px;
  vertical-align: text-top;
  margin-right: 6px;
  display: none;
  background: white;
  padding: 4px;
  border-radius: 4px;
}

/* Poster-with-pages / preview image sizing lives in _preview-popup.scss */

/*# sourceMappingURL=public.css.map */
