/* Embed: şəffaf fon, naviqasiya və toolbar gizli */
html,
body.flip-embed {
  margin: 0;
  padding: 0;
  background: transparent !important;
  overflow: hidden;
}

body.flip-embed #bacgradient,
body.flip-embed #bacgradient > div,
body.flip-embed #bacgradient img,
body.flip-embed .backgroundImage,
body.flip-embed #bacgradient .backgroundImage {
  display: none !important;
  visibility: hidden !important;
  background: transparent !important;
  background-image: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.flip-embed #fbToolBar,
body.flip-embed .logoBar,
body.flip-embed #logoBar,
body.flip-embed .phoneTopBar,
body.flip-embed .phoneBottomBar,
body.flip-embed .flip_button_left,
body.flip-embed .flip_button_right,
body.flip-embed .flip_button_first,
body.flip-embed .flip_button_last,
body.flip-embed .qrcodeBox,
body.flip-embed .shortcutItem,
body.flip-embed .guidBar,
body.flip-embed .slideToolbar,
body.flip-embed .catalogBar,
body.flip-embed .catalog_simple_bar,
body.flip-embed .miniFullscreen,
body.flip-embed #miniFullscreen,
body.flip-embed #pageNumberForFlip,
body.flip-embed .clickToRead,
body.flip-embed .printBar,
body.flip-embed .appLargeLogo,
body.flip-embed .flipShotBar,
body.flip-embed .handSwipeHelp,
body.flip-embed .catalog_logo,
body.flip-embed .loading,
body.flip-embed .loader,
body.flip-embed .formToolbar,
body.flip-embed .topToolbar,
body.flip-embed .bottomToolbar,
body.flip-embed .moreBar,
body.flip-embed .extendedBar,
body.flip-embed .PCExtendedBar,
body.flip-embed .phoneGotoPagePanel {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

/* Boş sahə klik/sürüşdürmə flip etməsin — yalnız .book */
body.flip-embed #tmpContainer,
body.flip-embed #bookContainer {
  pointer-events: none;
  background: transparent !important;
}
body.flip-embed .book,
body.flip-embed .book *,
body.flip-embed .mask,
body.flip-embed .single-book-mask,
body.flip-embed .showPage,
body.flip-embed .flip-action {
  pointer-events: auto;
}

body.flip-embed #tmpContainer,
body.flip-embed #bookContainer,
body.flip-embed .book {
  background: transparent !important;
}

@media (max-width: 768px) {
  html,
  body.flip-embed {
    width: 100% !important;
    min-width: 0 !important;
    -webkit-overflow-scrolling: touch;
  }
  body.flip-embed #tmpContainer,
  body.flip-embed #bookContainer {
    overflow: visible !important;
  }
  body.flip-embed .book {
    max-width: 100% !important;
  }
}

body.flip-embed--fullscreen,
body.flip-embed--fullscreen #tmpContainer,
body.flip-embed--fullscreen #bookContainer {
  width: 100% !important;
  height: calc(var(--saloglu-vh, 1vh) * 100) !important;
  min-height: calc(var(--saloglu-vh, 1vh) * 100) !important;
  max-height: calc(var(--saloglu-vh, 1vh) * 100) !important;
  overflow: hidden !important;
}
