#maga, #maga * {
      box-sizing: border-box;
    }

    #maga {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
      --bg-1: #060606;
      --bg-2: #111214;
      --bg-3: #1a1c1f;
      --panel: rgba(22, 24, 28, 0.78);
      --panel-border: rgba(255,255,255,0.08);
      --text: #f3f5f7;
    }

    #maga {
      margin: 0;
      width: 100%;
      height: 100%;
      font-family: Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at 50% 12%, rgba(255,255,255,0.08), transparent 22%),
        radial-gradient(circle at 18% 28%, rgba(255,255,255,0.05), transparent 24%),
        radial-gradient(circle at 82% 32%, rgba(255,255,255,0.04), transparent 24%),
        linear-gradient(180deg, #1a1c1f 0%, #0d0e10 26%, #060606 100%);
      overflow: hidden;
    }

    #maga::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(115deg, rgba(255,255,255,0.025) 0%, transparent 28%, transparent 72%, rgba(255,255,255,0.025) 100%),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
      mix-blend-mode: soft-light;
      opacity: 0.45;
    }

    #maga::after {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      box-shadow: inset 0 0 180px rgba(0,0,0,0.72);
    }
#maga .toolbar {
      position: fixed;
      top: 14px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 9999;
      display: flex;
      gap: 8px;
      align-items: center;
      background: var(--panel);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      padding: 8px 12px;
      border-radius: 999px;
      border: 1px solid var(--panel-border);
      box-shadow: 0 10px 35px rgba(0,0,0,0.38);
      white-space: nowrap;
    }
#maga .toolbar button {
      border: 1px solid rgba(255,255,255,0.08);
      background: linear-gradient(180deg, rgba(58,62,70,0.95), rgba(26,28,32,0.95));
      color: #fff;
      padding: 8px 14px;
      border-radius: 999px;
      cursor: pointer;
      font-size: 14px;
      transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }
#maga .toolbar button:hover {
      transform: translateY(-1px);
      border-color: rgba(255,255,255,0.18);
      background: linear-gradient(180deg, rgba(74,78,86,0.98), rgba(34,36,42,0.98));
    }
#maga .toolbar span {
      min-width: 60px;
      text-align: center;
      font-size: 14px;
      color: rgba(255,255,255,0.9);
    }
#maga #stage {
      width: 100vw;
      height: 100vh;
      overflow: auto;
      padding: 86px 24px 42px;
      position: relative;
      cursor: grab;
      touch-action: pan-x pan-y;
    }
#maga #stage:active {
      cursor: grabbing;
    }
#maga #stage-inner {
      min-width: max-content;
      min-height: max-content;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      margin: 0 auto;
    }
#maga #book-wrap {
      width: 1200px;
      height: 850px;
      position: relative;
      filter: drop-shadow(0 28px 55px rgba(0,0,0,0.55));
    }
#maga #flipbook {
      width: 1200px;
      height: 850px;
      margin: 0 auto;
      transform-origin: top left;
      transition: none;
    }

    @media (max-width: 900px) {
#maga .toolbar {
        top: 10px;
        gap: 6px;
        padding: 7px 10px;
      }
#maga .toolbar button {
        padding: 7px 11px;
        font-size: 13px;
      }
#maga .toolbar span {
        min-width: 50px;
        font-size: 13px;
      }
#maga #stage {
        padding: 76px 10px 24px;
      }
#maga #book-wrap {
        width: 100%;
        height: auto;
        max-width: 100vw;
      }
#maga #flipbook {
        width: min(100vw - 20px, 600px);
        height: auto;
      }
#maga .hint {
        bottom: 10px;
        font-size: 11px;
        padding: 5px 9px;
      }
    }
#maga .page {
      background: #ffffff;
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
    }
#maga .page img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      user-select: none;
      -webkit-user-drag: none;
      pointer-events: none;
    }
#maga .hint {
      position: fixed;
      bottom: 14px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 9999;
      background: rgba(18, 20, 23, 0.82);
      color: rgba(255,255,255,0.88);
      font-size: 12px;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.08);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
#maga .page.page-products{
      position: relative;
    }
#maga .page-products {
      position: relative;
      width: 100%;
      height: 100%;
    }
#maga .page-products a {
      display: block;
    }

    #maga.is-zoomed #stage {
      cursor: grab;
      touch-action: none;
    }

    #maga.is-zoomed #stage:active {
      cursor: grabbing;
    }
#maga #pan-overlay {
  position: absolute;
  inset: 0;
  z-index: 999;
  display: none;
  cursor: grab;
  background: transparent;
}

#maga.is-zoomed #pan-overlay {
  display: block;
}

#maga.is-zoomed #pan-overlay:active {
  cursor: grabbing;
}

.row-maxwidth-95pct{
    max-width: 100% !important;
    width: 100% !important;
}



