/* all sizes provided in this doc should be calculated taking into account */
/* that this is iframe which is scaled 0.1875 times  so multiply every px with 1920/360=5.3 */
/* that this is iframe which is scaled 0.1875 times  so multiply every px with 1440/360=5.3 */
.elementor-editor-active .elementor-add-section-area-button.elementor-add-twbb-section-generation-button {
  border-radius: 20px;
  padding: 9px 31px 9px 15px;
  background-color: #000000;
  width: 120px;
  color: #ffffff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  font-family: "Open Sans", Sans-serif;
  background-image: url(../images/sg_ai_logo.png);
  background-repeat: no-repeat;
  background-position: center right 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.elementor-editor-active .elementor-add-section-area-button.elementor-add-twbb-section-generation-button:hover {
  border-radius: 20px;
  background-color: #000000;
  color: #ffffff;
  opacity: 80%;
}
.elementor-editor-active .elementor-add-section-area-button.elementor-add-twbb-section-generation-button:disabled {
  background-color: #000000;
  color: #ffffff;
  opacity: 50%;
}

html.twbb:not(.elementor-html) {
  height: 100%;
  overflow: hidden;
}

body.twbb_template_preview_page {
  background-color: #1F2124;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  /* width */
  /* Track */
  /* Handle */
  /* Handle on hover */
}
body.twbb_template_preview_page::-webkit-scrollbar {
  width: 8px;
}
body.twbb_template_preview_page::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #1F2124;
  border-radius: 40px;
}
body.twbb_template_preview_page::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 40px;
}
body.twbb_template_preview_page::-webkit-scrollbar-thumb:hover {
  background: #1F2124;
}
body.twbb_template_preview_page > div.elementor {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
body.twbb_template_preview_page.twbb-some-section-in-process .twbb-sg-each-section:hover:not(.twbb-the-sections-generation-in-process) .twbb-sg-messages .twbb-sg-process-generation {
  display: flex;
  padding: 40px 64px;
  background-color: #000000;
  border-radius: 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 9999;
}
body.twbb_template_preview_page.twbb-some-section-in-process .twbb-sg-each-section:hover:not(.twbb-the-sections-generation-in-process) .twbb-sg-messages .twbb-sg-process-generation .in-process-generation {
  font-size: 40px;
  font-weight: 400;
  line-height: 64px;
  text-align: center;
  color: #ffffff;
}
body.twbb_template_preview_page .twbb-sg-recommended-ecommerce-label {
  display: none;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process) .twbb-sg-each-section.twbb-sg-compatible-ecommerce .twbb-sg-recommended-ecommerce-label {
  display: block;
  position: absolute;
  background-color: #3339F1;
  top: 40px;
  right: 40px;
  padding: 16px 32px 16px 72px;
  background-image: url("../images/basket.svg");
  background-repeat: no-repeat;
  background-position: 24px 50%;
  border-radius: 12px;
  background-size: 32px;
  font-size: 32px;
  line-height: 48px;
  font-weight: 600;
  font-family: "Open Sans", Sans-serif;
  color: #FFFFFF;
  z-index: 999;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process) .twbb-sg-each-section.twbb-sg-compatible-ecommerce:hover .twbb-sg-recommended-ecommerce-label {
  display: none;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process) .twbb-sg-each-section:hover.twbb-sg-hovered:not(.twbb-the-sections-generation-in-process) .twbb-sg-messages .twbb-sg-add-section .twbb-sg-just-add-button {
  display: block;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process) .twbb-sg-each-section:hover:not(.twbb-the-sections-generation-in-process) .twbb-sg-messages .twbb-sg-add-section {
  display: flex;
  justify-content: center;
  gap: 40px;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process) .twbb-sg-each-section:hover:not(.twbb-the-sections-generation-in-process) .twbb-sg-messages .twbb-sg-add-section .twbb-sg-just-add-button {
  display: none;
  font-size: 40px;
  line-height: 64px;
  color: #ffffff;
  background-color: #000000;
  padding: 24px 40px;
  border-radius: 24px;
  text-align: center;
  font-family: "Open Sans", Sans-serif;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process) .twbb-sg-each-section:hover:not(.twbb-the-sections-generation-in-process) .twbb-sg-messages .twbb-sg-add-section .twbb-sg-add-section-button {
  padding: 24px 60px;
  font-size: 40px;
  font-weight: 600;
  line-height: 72px;
  text-align: center;
  border-radius: 24px;
  cursor: pointer;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process) .twbb-sg-each-section:hover:not(.twbb-the-sections-generation-in-process) .twbb-sg-messages .twbb-sg-add-section .twbb-sg-add-with-generated-content__button {
  color: #ffffff;
  background-color: #3339F1;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process) .twbb-sg-each-section:hover:not(.twbb-the-sections-generation-in-process) .twbb-sg-messages .twbb-sg-add-section .twbb-sg-add-with-dummy-content__button {
  color: #000000;
  background-color: #ffffff;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process).twbb-sg-with-description .twbb-sg-each-section:not([id*=ai-generated-sections]) .twbb-sg-not-in-process-generation__one_button {
  display: none !important;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process).twbb-sg-with-description .twbb-sg-each-section[id*=ai-generated-sections]:hover {
  cursor: pointer;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process).twbb-sg-with-description .twbb-sg-each-section[id*=ai-generated-sections] .twbb-sg-not-in-process-generation__two_buttons {
  display: none !important;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process):not(.twbb-sg-with-description) .twbb-sg-each-section:hover {
  cursor: pointer;
}
body.twbb_template_preview_page:not(.twbb-some-section-in-process):not(.twbb-sg-with-description) .twbb-sg-not-in-process-generation__two_buttons {
  display: none !important;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.twbb-sg-loading {
  position: absolute;
  top: calc(50% - 120px);
  left: calc(50% - 348px);
  z-index: 100;
  display: none;
  font-size: 48px;
  font-weight: 400;
  line-height: 72px;
  font-family: "Open Sans", Sans-serif;
  color: #ffffff;
}
.twbb-sg-loading .twbb-sg-loading-spinner {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  background-size: 72px;
  animation: rotation 1s infinite linear;
  background-image: url(../images/loader.svg);
}

.twbb-sg-add {
  position: absolute;
  z-index: 100;
  display: none;
  font-size: 40px;
  line-height: 64px;
  color: #ffffff;
  background-color: #000000;
  padding: 24px 40px;
  border-radius: 24px;
  text-align: center;
  font-family: "Open Sans", Sans-serif;
  /* z-index should be bigger then twbb-sg-overlay */
  z-index: 9999;
}

.twbb-sg-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: block;
  z-index: 9998;
}

.elementor-element.twbb-sg-each-section:not(.twbb-the-sections-generation-in-process):hover .twbb-sg-overlay,
.elementor-element.twbb-sg-each-section.twbb-the-sections-generation-in-process .twbb-sg-overlay {
  background-color: #000000;
  opacity: 40%;
  backdrop-filter: blur(1px);
}

.twbb-sg-messages {
  z-index: 9999;
}
.twbb-sg-messages .twbb-sg-add-section, .twbb-sg-messages .twbb-sg-process-generation, .twbb-sg-messages .twbb-sg-loading {
  display: none;
}

.twbb-sg-preview-overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 999999999;
}

.elementor-element.twbb-sg-each-section {
  border: 4px solid #1F2124;
  border-radius: 24px;
  background: #ffffff;
  gap: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: -1;
  /*
  this code is just for sections preview to make the full view visible in smaller height
   */
}
.elementor-element.twbb-sg-each-section .twbb_full_h {
  min-height: 720px !important;
}
.elementor-element.twbb-sg-each-section .twbb_full_h .swiper-slide {
  max-height: 720px;
}
.elementor-element.twbb-sg-each-section .twbb-category-image-wrapper {
  max-height: 30vh;
}
.elementor-element.twbb-sg-each-section.twbb-visible:hover, .elementor-element.twbb-sg-each-section[id*=ai-generated-sections]:hover {
  border: 4px solid #3339F1;
  position: relative;
}
.elementor-element.twbb-sg-each-section.twbb-visible:hover .twbb-sg-messages, .elementor-element.twbb-sg-each-section[id*=ai-generated-sections]:hover .twbb-sg-messages {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Open Sans", Sans-serif;
}
.elementor-element.twbb-sg-each-section.twbb-the-sections-generation-in-process .twbb-sg-messages .twbb-sg-loading {
  display: flex;
  padding: 40px 64px;
  background-color: #000000;
  border-radius: 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 9999;
}
.elementor-element.twbb-sg-each-section > div.elementor-element[data-element_type=container] {
  border-radius: 20px;
}
.elementor-element.twbb-sg-each-section > div.elementor-element[data-element_type=container].e-con:before {
  border-radius: 20px;
}

/*
sections visibility decision
 */
.elementor-element.twbb-sg-each-section.twbb-sg-compatible-ecommerce.twbb-visible {
  opacity: 1;
  position: relative;
  top: unset;
  z-index: 1;
}

.elementor-element.twbb-sg-each-section.twbb-sg-compatible-basic:not(.twbb-sg-compatible-ecommerce).twbb-visible {
  opacity: 1;
  position: relative;
  top: unset;
  z-index: 1;
}

.twbb_sg_preview-template-default .woocommerce-store-notice.demo_store {
  display: none !important;
}
.twbb_sg_preview-template-default .elementor-element.twbb-sg-each-section[id*=ai-generated-sections] {
  opacity: 1;
  position: relative;
  z-index: 1;
}

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