/* =========================================================
   Netmarket Volantini - Frontend + Viewer con turn.js
   ========================================================= */

/* -----------------------------
   Shortcode frontend
------------------------------ */

.nm-flyer-list {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--nm-cover-gap, 24px);
  flex-wrap: wrap;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.nm-flyer-cover-link {
  display: inline-block;
  width: auto;
  max-width: min(var(--nm-cover-max, 220px), 100%);
  line-height: 0;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  vertical-align: top;
  outline: 0 !important;
}

.nm-flyer-cover-link:hover,
.nm-flyer-cover-link:focus,
.nm-flyer-cover-link:active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  text-decoration: none !important;
}

.nm-flyer-cover {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  transition: transform 180ms ease, filter 180ms ease;
}

.nm-flyer-cover-link:hover .nm-flyer-cover {
  transform: translateY(-2px);
  filter: brightness(0.985);
}

.nm-flyer-empty {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 12px 0 !important;
}

.nmv-clean-cover,
.nmv-clean-cover img,
.nmv-flyer-list,
.nmv-empty {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* -----------------------------
   Viewer reset
------------------------------ */

html:has(body.nm-viewer-body),
body.nm-viewer-body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background: var(--nm-viewer-bg-color, #f7f7f7);
  color: #111;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.nm-viewer-body * {
  box-sizing: border-box;
}

body.nm-viewer-body a {
  color: inherit;
}

/* -----------------------------
   Viewer layout
------------------------------ */

.nm-reader {
  --nm-primary: var(--nm-viewer-primary, #0000ff);
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--nm-viewer-bg-color, #f7f7f7);
  overflow: hidden;
}

.nm-reader::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--nm-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  z-index: -2;
  pointer-events: none;
}

.nm-reader::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 15%, rgba(0, 0, 255, 0.055), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.92));
  z-index: -1;
  pointer-events: none;
}

/* -----------------------------
   Header
------------------------------ */

.nm-reader-top {
  position: relative;
  z-index: 10;
  min-height: 62px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 180px;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(14px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nm-reader-brand,
.nm-reader-title,
.nm-reader-close {
  font-size: 14px;
  line-height: 1.2;
  color: #111;
}

.nm-reader-brand,
.nm-reader-title {
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nm-reader-title {
  text-align: center;
}

.nm-reader-close {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none !important;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nm-reader-close:hover {
  background: var(--nm-primary);
  color: #fff;
  border-color: var(--nm-primary);
}

/* -----------------------------
   Stage
------------------------------ */

.nm-stage-wrap {
  position: relative;
  z-index: 2;
  min-height: 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  padding: 16px clamp(8px, 2vw, 28px);
  overflow: hidden;
}

.nm-book-shell {
  position: relative;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.nm-book {
  position: relative;
  margin: 0 auto;
  background: transparent;
  filter: drop-shadow(0 24px 45px rgba(0, 0, 0, 0.18));
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

/* -----------------------------
   turn.js pages
------------------------------ */

.nm-turn-page,
.turn-page,
.turn-page-wrapper {
  background: #fff !important;
}

.nm-turn-page {
  position: relative;
  overflow: hidden;
}

.nm-turn-page canvas,
.nm-pdf-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
}

.nm-turn-page:not(.is-rendered)::after {
  content: "Caricamento…";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #777;
  background: #fff;
}

.turn-page-wrapper {
  overflow: hidden !important;
}

.turn-page {
  overflow: hidden !important;
}

/* piega/ombra centrale */
.nm-book::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 34px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.1),
    rgba(255, 255, 255, 0.25),
    rgba(0, 0, 0, 0)
  );
  opacity: 0.42;
  pointer-events: none;
  z-index: 30;
}

@media (max-width: 820px) {
  .nm-book::after {
    display: none;
  }
}

/* -----------------------------
   Side arrows
------------------------------ */

.nm-side {
  justify-self: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #111;
  font-size: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.nm-side:hover {
  background: var(--nm-primary);
  color: #fff;
  border-color: var(--nm-primary);
  transform: scale(1.04);
}

/* -----------------------------
   Loader
------------------------------ */

.nm-loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 30;
  transform: translate(-50%, -50%);
  min-width: 130px;
  text-align: center;
  font-size: 14px;
  color: #444;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.11);
}

.nm-loader.is-hidden,
.nm-loader.hidden {
  display: none !important;
}

/* -----------------------------
   Toolbar
------------------------------ */

.nm-toolbar {
  position: relative;
  z-index: 10;
  min-height: 58px;
  max-width: min(800px, calc(100vw - 24px));
  margin: 0 auto 14px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nm-tool,
.nm-icon,
.nm-print,
.nm-download {
  appearance: none;
  -webkit-appearance: none;
  height: 40px;
  min-width: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: #f4f4f7;
  color: #111;
  font: inherit;
  font-size: 14px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
  transition: background 170ms ease, color 170ms ease, border-color 170ms ease, filter 170ms ease, opacity 170ms ease;
}

.nm-tool {
  min-width: 46px;
  background: var(--nm-primary);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.nm-print,
.nm-download {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.nm-icon:hover,
.nm-print:hover,
.nm-download:hover {
  background: #ececf2;
}

.nm-tool:hover {
  filter: brightness(0.92);
}

.nm-icon.is-off {
  opacity: 0.58;
}

.nm-page-label {
  min-width: 82px;
  text-align: center;
  font-size: 15px;
  font-weight: 650;
  color: #111;
}

.nm-reader[data-download="0"] .nm-download,
.nm-reader[data-print="0"] .nm-print {
  display: none !important;
}

/* -----------------------------
   Mobile
------------------------------ */

@media (max-width: 820px) {
  .nm-reader-top {
    min-height: 56px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 0 14px;
  }

  .nm-reader-brand {
    display: none;
  }

  .nm-reader-title {
    text-align: left;
    font-size: 14px;
  }

  .nm-reader-close {
    min-height: 36px;
    padding: 0 13px;
    font-size: 13px;
  }

  .nm-stage-wrap {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px 0;
    position: relative;
  }

  .nm-side {
    display: flex;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    width: 42px;
    height: 42px;
    font-size: 30px;
    background: rgba(255, 255, 255, 0.82);
  }

  .nm-side-prev {
    left: 10px;
  }

  .nm-side-next {
    right: 10px;
  }

  .nm-book {
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.16));
  }

  .nm-toolbar {
    max-width: calc(100vw - 12px);
    min-height: 54px;
    margin-bottom: 8px;
    padding: 7px;
    border-radius: 18px;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .nm-toolbar::-webkit-scrollbar {
    display: none;
  }

  .nm-page-label {
    min-width: 62px;
    font-size: 14px;
  }

  .nm-tool,
  .nm-icon,
  .nm-print,
  .nm-download {
    height: 38px;
    font-size: 13px;
    padding: 0 12px;
  }
}

@media (max-width: 520px) {
  .nm-reader::after {
    background: rgba(255, 255, 255, 0.78);
  }

  .nm-reader-top {
    min-height: 52px;
    padding: 0 10px;
  }

  .nm-reader-title {
    font-size: 13px;
  }

  .nm-reader-close {
    display: none;
  }

  .nm-stage-wrap {
    padding: 4px 0;
  }

  .nm-toolbar {
    max-width: calc(100vw - 10px);
    min-height: 50px;
    margin-bottom: 5px;
    padding: 6px;
  }

  .nm-icon {
    display: none;
  }

  #nmSound {
    display: inline-flex;
  }

  .nm-print,
  .nm-download {
    height: 37px;
    padding: 0 11px;
  }
}

/* -----------------------------
   Reduced motion
------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .nm-flyer-cover,
  .nm-reader-close,
  .nm-side,
  .nm-tool,
  .nm-icon,
  .nm-print,
  .nm-download {
    transition: none !important;
  }
}




/* =========================================================
   Netmarket DFlip Viewer override
   ========================================================= */

body.nm-dflip-viewer-body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--nm-viewer-bg-color, #f7f7f7);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.nm-dflip-viewer-body * {
  box-sizing: border-box;
}

.nm-dflip-reader {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100dvh;
  display: grid;
  grid-template-rows: 68px minmax(0, 1fr);
  overflow: hidden;
  background: var(--nm-viewer-bg-color, #f7f7f7);
}

.nm-dflip-reader::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--nm-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.42;
  z-index: -2;
}

.nm-dflip-reader::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(0, 0, 255, 0.035), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.52));
  z-index: -1;
  pointer-events: none;
}

.nm-dflip-header {
  position: relative;
  z-index: 20;
  min-height: 68px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(16px, 3vw, 34px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(0,0,0,.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nm-dflip-brand {
  font-size: 13px;
  font-weight: 700;
  color: var(--nm-viewer-primary, #0000ff);
  letter-spacing: -0.02em;
}

.nm-dflip-title {
  text-align: center;
  font-size: 15px;
  font-weight: 650;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nm-dflip-close {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--nm-viewer-primary, #0000ff);
  color: #fff !important;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none !important;
}

.nm-dflip-stage {
  position: relative;
  min-height: 0;
  width: 100%;
  height: calc(100dvh - 68px);
  overflow: hidden;
  padding: 0;
}

.nmv-dflip-book,
.nmv-dflip-book.df-app,
.nmv-dflip-book .df-app,
.nm-dflip-stage .df-app {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  background: transparent !important;
}

/* Riduce l'effetto "plugin standard" */
.nm-dflip-stage .df-container {
  background: transparent !important;
}

.nm-dflip-stage .df-ui {
  bottom: 18px !important;
  border-radius: 999px !important;
  overflow: hidden;
  background: rgba(255,255,255,.9) !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.12) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nm-dflip-stage .df-ui-btn {
  background: transparent !important;
  color: #171717 !important;
  border: 0 !important;
}

.nm-dflip-stage .df-ui-btn:hover {
  background: rgba(0,0,255,.08) !important;
  color: var(--nm-viewer-primary, #0000ff) !important;
}

.nm-dflip-stage .df-ui-btn.disabled {
  opacity: .34 !important;
}

.nm-dflip-stage .df-page,
.nm-dflip-stage .df-page-content,
.nm-dflip-stage canvas {
  max-width: 100%;
}

.nm-dflip-stage .df-book-wrapper {
  margin-bottom: 34px !important;
}

/* Nasconde share e social non desiderati */
.nm-dflip-stage .df-ui-share,
.nm-dflip-stage .df-share-wrapper,
.nm-dflip-stage .df-share-button,
.nm-dflip-stage .df-share-linkedin,
.nm-dflip-stage .df-share-pinterest,
.nm-dflip-stage .df-share-twitter,
.nm-dflip-stage .df-share-facebook,
.nm-dflip-stage .df-share-mail,
.nm-dflip-stage .df-share-google {
  display: none !important;
}

/* Mobile */
@media (max-width: 820px) {
  .nm-dflip-reader {
    grid-template-rows: 58px minmax(0, 1fr);
  }

  .nm-dflip-header {
    min-height: 58px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0 12px;
  }

  .nm-dflip-brand {
    display: none;
  }

  .nm-dflip-title {
    text-align: left;
    font-size: 14px;
  }

  .nm-dflip-close {
    min-height: 34px;
    padding: 0 13px;
    font-size: 13px;
    box-shadow: none;
  }

  .nm-dflip-stage {
    height: calc(100dvh - 58px);
  }

  .nm-dflip-stage .df-ui {
    bottom: 14px !important;
    max-width: calc(100vw - 22px) !important;
    border-radius: 18px !important;
  }

  .nm-dflip-stage .df-book-wrapper {
    margin-bottom: 58px !important;
  }
}

@media (max-width: 520px) {
  .nm-dflip-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nm-dflip-title {
    text-align: left;
  }

  .nm-dflip-close {
    display: inline-flex !important;
    min-height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }
}









/* =========================================================
   Netmarket Volantini - Shortcode mockup premium
   ========================================================= */

.nm-flyer-mockup {
  display: inline-block;
  width: min(var(--nm-cover-max, 220px), 100%);
  text-decoration: none !important;
  perspective: 1400px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 16px 18px 24px 8px;
}

.nm-flyer-book {
  position: relative;
  display: block;
  width: 100%;
  transform-style: preserve-3d;
  transform: rotateY(-7deg) rotateX(1.5deg);
  transform-origin: left center;
  transition:
    transform 460ms cubic-bezier(.18,.78,.25,1),
    filter 460ms ease;
  filter: drop-shadow(0 22px 26px rgba(0,0,0,.2));
}

/* ombra a terra */
.nm-flyer-book::before {
  content: "";
  position: absolute;
  left: 8%;
  right: -10%;
  bottom: -20px;
  height: 26px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.24), rgba(0,0,0,0) 68%);
  transform: translateZ(-38px);
  filter: blur(7px);
  opacity: .62;
  pointer-events: none;
}

/* dorso sinistro */
.nm-flyer-book::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 1.2%;
  bottom: 1.2%;
  left: -5.5%;
  width: 7%;
  background:
    linear-gradient(90deg, rgba(0,0,0,.22), rgba(255,255,255,.08) 45%, rgba(0,0,0,.08)),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,.08));
  border-radius: 4px 0 0 4px;
  transform: rotateY(78deg) translateZ(-2px);
  transform-origin: right center;
  opacity: .78;
}

.nm-flyer-cover {
  position: relative;
  z-index: 6;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px 2px 2px 3px;
  background: #fff;
  transform: translateZ(18px);
  box-shadow:
    inset 12px 0 18px rgba(0,0,0,.08),
    inset -6px 0 10px rgba(255,255,255,.18),
    0 1px 0 rgba(255,255,255,.6);
}

/* pacco pagine laterale, più elegante */
.nm-flyer-pages {
  position: absolute;
  z-index: 1;
  top: 2.2%;
  right: -10.5%;
  bottom: 2.2%;
  width: 15%;
  border-radius: 0 9px 9px 0;
  background:
    repeating-linear-gradient(
      90deg,
      #ffffff 0,
      #ffffff 4px,
      #eeeeee 5px,
      #ffffff 8px
    );
  transform: translateZ(-10px) rotateY(-10deg);
  transform-origin: left center;
  box-shadow:
    8px 0 16px rgba(0,0,0,.12),
    inset 12px 0 18px rgba(0,0,0,.07),
    inset -5px 0 10px rgba(0,0,0,.08);
  opacity: .92;
  transition:
    transform 460ms cubic-bezier(.18,.78,.25,1),
    right 460ms cubic-bezier(.18,.78,.25,1),
    opacity 300ms ease;
}

/* taglio inferiore pagine */
.nm-flyer-pages::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 0;
  bottom: 0;
  height: 18%;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(0,0,0,.08));
  border-radius: 0 0 9px 0;
}

/* highlight copertina */
.nm-flyer-glass {
  position: absolute;
  z-index: 7;
  inset: 0;
  pointer-events: none;
  border-radius: 3px 2px 2px 3px;
  background:
    linear-gradient(105deg, rgba(255,255,255,.38), rgba(255,255,255,0) 34%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.08));
  opacity: .34;
  transform: translateZ(20px);
}

/* titolo meno invasivo */
.nm-flyer-label {
  position: absolute;
  z-index: 8;
  left: 12%;
  right: 12%;
  bottom: 8%;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background: rgba(0,0,0,.48);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(8px) translateZ(24px);
  transition: opacity 260ms ease, transform 320ms ease;
}

.nm-flyer-mockup:hover .nm-flyer-book,
.nm-flyer-mockup:focus-visible .nm-flyer-book {
  transform: rotateY(-15deg) rotateX(2.5deg) translateY(-5px);
  filter: drop-shadow(0 34px 38px rgba(0,0,0,.24));
}

.nm-flyer-mockup:hover .nm-flyer-pages,
.nm-flyer-mockup:focus-visible .nm-flyer-pages {
  right: -15%;
  transform: translateZ(-14px) rotateY(-18deg);
}

.nm-flyer-mockup:hover .nm-flyer-label,
.nm-flyer-mockup:focus-visible .nm-flyer-label {
  opacity: 1;
  transform: translateY(0) translateZ(24px);
}

@media (max-width: 640px) {
  .nm-flyer-mockup {
    width: min(var(--nm-cover-max-mobile, 180px), 48vw);
    padding: 12px 14px 20px 6px;
  }

  .nm-flyer-book {
    transform: rotateY(-6deg) rotateX(1deg);
  }

  .nm-flyer-label {
    font-size: 12px;
    padding: 7px 9px;
  }
}



.nm-dflip-stage .df-ui-fullscreen,
.nm-dflip-stage .df-ui-search,
.nm-dflip-stage .df-ui-more {
  display: none !important;
}



.nmv-viewer-fallback {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 80;
  width: min(420px, calc(100vw - 32px));
  transform: translate(-50%, -50%);
  display: none;
  padding: 24px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nmv-viewer-fallback.is-visible {
  display: block;
}

.nmv-viewer-fallback strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.3;
  color: #111;
}

.nmv-viewer-fallback span {
  display: block;
  color: #555;
  line-height: 1.45;
  margin-bottom: 18px;
}

.nmv-viewer-fallback-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nmv-viewer-fallback-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--nm-viewer-primary, #0000ff);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 650;
}

.nmv-viewer-fallback-actions a + a {
  background: #f2f2f4;
  color: #111 !important;
}