/* ============================================================
   Javis Slide Pro — Frontend Styles
   Premium, modern, Apple/Tesla-level aesthetics
   ============================================================ */

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  --jsp-width: 100%;
  --jsp-height: 100vh;
  --jsp-accent: #c9a96e;
  --jsp-white: #ffffff;
  --jsp-black: #000000;
  --jsp-transition: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --jsp-font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --jsp-font-body: 'Jost', 'Inter', system-ui, sans-serif;
  --jsp-blur: 0px;
}

/* ─── Wrapper ────────────────────────────────────────────── */
.jsp-wrapper {
  position: relative;
  width: var(--jsp-width, 100%);
  max-width: 100%;
  height: var(--jsp-height, 100vh);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  background: #0a0a0a;
  font-family: var(--jsp-font-body);
  box-sizing: border-box;
}

/* ─── Swiper container ────────────────────────────────────── */
.jsp-swiper,
.jsp-wrapper .swiper {
  width: 100%;
  height: 100%;
  /* The outer wrapper owns responsive height at every breakpoint. */
  min-height: 0;
}

@media (max-width: 1024px) {
  .jsp-wrapper { height: var(--jsp-height-tablet, var(--jsp-height, 100vh)); }
}

@media (max-width: 767px) {
  .jsp-wrapper { height: var(--jsp-height-mobile, var(--jsp-height-tablet, var(--jsp-height, 100vh))); }
}

/* Swiper wrapper (the inner ul-like div) must also fill height */
.jsp-wrapper .swiper-wrapper {
  height: 100%;
}

/* Swiper slide — explicit height so content doesn't collapse */
.jsp-wrapper .swiper-slide {
  height: 100%;
  overflow: hidden;
}

/* ─── Slide base ─────────────────────────────────────────── */
.jsp-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* ─── Backgrounds ────────────────────────────────────────── */
.jsp-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
}

.jsp-bg-image {
  transition: transform 7s ease-out;
}

/* Ken Burns */
.jsp-ken-burns .jsp-bg-image {
  animation: jsp-ken-burns 12s ease-out forwards;
}
@keyframes jsp-ken-burns {
  0%   { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.0) translate(-1%, -0.5%); }
}

/* Video backgrounds */
.jsp-bg-video,
.jsp-bg-youtube {
  overflow: hidden;
}

.jsp-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

.jsp-yt-player {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh; /* 16:9 */
  height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ─── Overlays ───────────────────────────────────────────── */
.jsp-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(var(--jsp-blur, 0px));
}

.jsp-overlay-dark {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.7) 100%
  );
}

.jsp-overlay-gradient {
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.2) 60%,
    rgba(0,0,0,0.05) 100%
  );
}

.jsp-overlay-light {
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0.45) 100%
  );
}

.jsp-overlay-custom {
  background: var(--jsp-overlay-color, rgba(0,0,0,0.5));
}

/* ─── Content ────────────────────────────────────────────── */
.jsp-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  box-sizing: border-box;
}

/* Alignment variants */
.jsp-align-left  .jsp-content { justify-content: flex-start; }
.jsp-align-center .jsp-content { justify-content: center; }
.jsp-align-right  .jsp-content { justify-content: flex-end; }

.jsp-content-inner {
  max-width: 800px;
  padding: 40px 0;
}

.jsp-align-center .jsp-content-inner {
  text-align: center;
}
.jsp-align-right .jsp-content-inner {
  text-align: right;
}

/* ─── Typography ─────────────────────────────────────────── */
.jsp-tagline {
  font-family: var(--jsp-font-body);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--jsp-accent, #c9a96e);
  margin: 0 0 18px 0;
  opacity: 0;
}

.jsp-heading {
  font-family: var(--jsp-font-display);
  font-size: calc(clamp(2.8rem, 7vw, 6.5rem) * var(--jsp-heading-scale, 1) * var(--jsp-heading-tag-scale, 1));
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--jsp-white);
  margin: 0 0 20px 0;
  opacity: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}

.jsp-heading-tag-h1 { --jsp-heading-tag-scale: 1; }
.jsp-heading-tag-h2 { --jsp-heading-tag-scale: .78; }
.jsp-heading-tag-h3 { --jsp-heading-tag-scale: .58; }
.jsp-heading-tag-h4 { --jsp-heading-tag-scale: .42; }
.jsp-heading-tag-h5 { --jsp-heading-tag-scale: .32; }

.jsp-subheading {
  font-family: var(--jsp-font-display);
  font-size: calc(clamp(1.2rem, 2.5vw, 2rem) * var(--jsp-subheading-scale, 1));
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.88);
  margin: 0 0 16px 0;
  opacity: 0;
}

.jsp-description {
  font-family: var(--jsp-font-body);
  font-size: calc(clamp(0.9rem, 1.5vw, 1.05rem) * var(--jsp-text-scale, 1));
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  margin: 0 0 36px 0;
  max-width: 560px;
  opacity: 0;
}

.jsp-align-center .jsp-description {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.jsp-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
}

.jsp-align-center .jsp-buttons { justify-content: center; }
.jsp-align-right  .jsp-buttons { justify-content: flex-end; }

.jsp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: var(--jsp-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--jsp-btn-radius, 2px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.jsp-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease;
}
.jsp-btn:hover::after { background: rgba(255,255,255,0.1); }

/* Solid */
.jsp-btn-solid {
  background: var(--jsp-accent, #c9a96e);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.jsp-btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

/* Outline */
.jsp-btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.jsp-btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* Ghost */
.jsp-btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: none;
  backdrop-filter: blur(10px);
}
.jsp-btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

/* Gradient */
.jsp-btn-gradient {
  background: linear-gradient(135deg, var(--jsp-accent, #c9a96e), #e8c99a);
  color: #1a1a1a;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.jsp-btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(0,0,0,0.45);
}

/* ─── Text animations ────────────────────────────────────── */
/*
 * ROOT CAUSE FIX (Bug 1):
 * The original selectors used a DESCENDANT combinator (space):
 *   .jsp-anim-fade-up .swiper-slide-active .jsp-buttons
 * This means: .jsp-buttons inside .swiper-slide-active inside .jsp-anim-fade-up
 * BUT both .jsp-anim-fade-up and .swiper-slide-active are on the SAME div element!
 * The selector never matched, so opacity:0 was never overridden on any animated slide.
 *
 * Fix: use a COMPOUND selector (no space) so both classes must be on the same element:
 *   .jsp-anim-fade-up.swiper-slide-active .jsp-buttons
 * Also add .swiper-slide-duplicate-active for Swiper loop mode cloned slides.
 */

/* fade-up (default) */
.jsp-anim-fade-up.swiper-slide-active .jsp-tagline,
.jsp-anim-fade-up.swiper-slide-duplicate-active .jsp-tagline {
  animation: jsp-fade-up 0.7s ease forwards 0.3s;
}
.jsp-anim-fade-up.swiper-slide-active .jsp-heading,
.jsp-anim-fade-up.swiper-slide-duplicate-active .jsp-heading {
  animation: jsp-fade-up 0.8s ease forwards 0.5s;
}
.jsp-anim-fade-up.swiper-slide-active .jsp-subheading,
.jsp-anim-fade-up.swiper-slide-duplicate-active .jsp-subheading {
  animation: jsp-fade-up 0.8s ease forwards 0.65s;
}
.jsp-anim-fade-up.swiper-slide-active .jsp-description,
.jsp-anim-fade-up.swiper-slide-duplicate-active .jsp-description {
  animation: jsp-fade-up 0.8s ease forwards 0.8s;
}
.jsp-anim-fade-up.swiper-slide-active .jsp-buttons,
.jsp-anim-fade-up.swiper-slide-duplicate-active .jsp-buttons {
  animation: jsp-fade-up 0.8s ease forwards 0.95s;
}

@keyframes jsp-fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* slide-up */
.jsp-anim-slide-up.swiper-slide-active .jsp-tagline,
.jsp-anim-slide-up.swiper-slide-duplicate-active .jsp-tagline    { animation: jsp-slide-up 0.6s cubic-bezier(0.34,1.56,0.64,1) forwards 0.25s; }
.jsp-anim-slide-up.swiper-slide-active .jsp-heading,
.jsp-anim-slide-up.swiper-slide-duplicate-active .jsp-heading    { animation: jsp-slide-up 0.7s cubic-bezier(0.34,1.56,0.64,1) forwards 0.4s; }
.jsp-anim-slide-up.swiper-slide-active .jsp-subheading,
.jsp-anim-slide-up.swiper-slide-duplicate-active .jsp-subheading { animation: jsp-slide-up 0.7s cubic-bezier(0.34,1.56,0.64,1) forwards 0.55s; }
.jsp-anim-slide-up.swiper-slide-active .jsp-description,
.jsp-anim-slide-up.swiper-slide-duplicate-active .jsp-description{ animation: jsp-slide-up 0.7s cubic-bezier(0.34,1.56,0.64,1) forwards 0.7s; }
.jsp-anim-slide-up.swiper-slide-active .jsp-buttons,
.jsp-anim-slide-up.swiper-slide-duplicate-active .jsp-buttons    { animation: jsp-slide-up 0.7s cubic-bezier(0.34,1.56,0.64,1) forwards 0.85s; }

@keyframes jsp-slide-up {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* stagger — each child offset */
.jsp-anim-stagger.swiper-slide-active [data-anim],
.jsp-anim-stagger.swiper-slide-duplicate-active [data-anim] {
  animation: jsp-fade-up 0.8s ease forwards;
}
.jsp-anim-stagger.swiper-slide-active [data-anim="tagline"],
.jsp-anim-stagger.swiper-slide-duplicate-active [data-anim="tagline"]     { animation-delay: 0.2s; }
.jsp-anim-stagger.swiper-slide-active [data-anim="heading"],
.jsp-anim-stagger.swiper-slide-duplicate-active [data-anim="heading"]     { animation-delay: 0.4s; }
.jsp-anim-stagger.swiper-slide-active [data-anim="subheading"],
.jsp-anim-stagger.swiper-slide-duplicate-active [data-anim="subheading"]  { animation-delay: 0.55s; }
.jsp-anim-stagger.swiper-slide-active [data-anim="description"],
.jsp-anim-stagger.swiper-slide-duplicate-active [data-anim="description"] { animation-delay: 0.7s; }
.jsp-anim-stagger.swiper-slide-active [data-anim="buttons"],
.jsp-anim-stagger.swiper-slide-duplicate-active [data-anim="buttons"]     { animation-delay: 0.85s; }

/* plain fade */
.jsp-anim-fade.swiper-slide-active .jsp-tagline,
.jsp-anim-fade.swiper-slide-duplicate-active .jsp-tagline,
.jsp-anim-fade.swiper-slide-active .jsp-heading,
.jsp-anim-fade.swiper-slide-duplicate-active .jsp-heading,
.jsp-anim-fade.swiper-slide-active .jsp-subheading,
.jsp-anim-fade.swiper-slide-duplicate-active .jsp-subheading,
.jsp-anim-fade.swiper-slide-active .jsp-description,
.jsp-anim-fade.swiper-slide-duplicate-active .jsp-description,
.jsp-anim-fade.swiper-slide-active .jsp-buttons,
.jsp-anim-fade.swiper-slide-duplicate-active .jsp-buttons {
  animation: jsp-simple-fade 0.9s ease forwards 0.4s;
}
@keyframes jsp-simple-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* no animation */
.jsp-anim-none .jsp-tagline,
.jsp-anim-none .jsp-heading,
.jsp-anim-none .jsp-subheading,
.jsp-anim-none .jsp-description,
.jsp-anim-none .jsp-buttons { opacity: 1 !important; animation: none !important; }

/* ─── Navigation Arrows ──────────────────────────────────── */
.jsp-arrow {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: all 0.25s ease;
  user-select: none;
}
.jsp-arrow:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-50%) scale(1.08);
}
.jsp-arrow-prev { left: 28px; }
.jsp-arrow-disabled { opacity: 0.35; pointer-events: none; cursor: default; }
.jsp-arrow-next { right: 28px; }
.jsp-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Pagination Dots ────────────────────────────────────── */
.jsp-pagination {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}
.jsp-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  opacity: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}
.jsp-pagination .swiper-pagination-bullet-active {
  background: var(--jsp-accent, #c9a96e);
  width: 28px;
  border-radius: 3px;
}

/* ─── Progress Bar ───────────────────────────────────────── */
.jsp-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 15;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.jsp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--jsp-accent, #c9a96e), #e8c99a);
  width: 0%;
  transition: width 0.1s linear;
}

/* ─── Scroll Indicator ───────────────────────────────────── */
.jsp-scroll-indicator {
  position: absolute;
  bottom: 30px;
  right: 36px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.jsp-scroll-indicator:hover { opacity: 1; }

.jsp-scroll-text {
  font-family: var(--jsp-font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  writing-mode: vertical-rl;
}

.jsp-scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 11px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.jsp-scroll-wheel {
  width: 3px;
  height: 7px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  animation: jsp-scroll-wheel 1.8s ease-in-out infinite;
}
@keyframes jsp-scroll-wheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ─── Split layout ───────────────────────────────────────── */
.jsp-align-split .jsp-content {
  align-items: stretch;
}
.jsp-align-split .jsp-content-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 100%;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .jsp-content { padding: 0 6vw; }
  
  .jsp-heading { font-size: calc(clamp(2rem, 9vw, 3.5rem) * var(--jsp-heading-scale, 1) * var(--jsp-heading-tag-scale, 1)); }
  .jsp-subheading { font-size: 1.1rem; }
  .jsp-description { font-size: 0.9rem; }

  .jsp-arrow { width: 40px; height: 40px; }
  .jsp-arrow-prev { left: 12px; }
  .jsp-arrow-next { right: 12px; }
  .jsp-arrow svg { width: 16px; height: 16px; }

  .jsp-scroll-indicator { display: none; }

  .jsp-align-split .jsp-content-inner {
    grid-template-columns: 1fr;
  }

  /* Mobile alignment overrides */
  .jsp-mobile-center .jsp-content { justify-content: center; }
  .jsp-mobile-center .jsp-content-inner { text-align: center; }
  .jsp-mobile-center .jsp-buttons { justify-content: center; }
  .jsp-mobile-center .jsp-description { margin: 0 auto 36px; }

  .jsp-mobile-left .jsp-content { justify-content: flex-start; }
  .jsp-mobile-left .jsp-content-inner { text-align: left; }

  .jsp-mobile-right .jsp-content { justify-content: flex-end; }
  .jsp-mobile-right .jsp-content-inner { text-align: right; }

  /* Mobile hide flags */
  .jsp-mobile-hide-heading .jsp-heading { display: none; }
  .jsp-mobile-hide-desc .jsp-description { display: none; }

  .jsp-btn { padding: 12px 26px; font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .jsp-buttons { flex-direction: column; }
  .jsp-btn { width: 100%; max-width: 280px; }
  .jsp-align-center .jsp-buttons { align-items: center; }
}

/* ─── Swiper effect overrides ────────────────────────────── */

/* Cube */
.jsp-wrapper .swiper-cube .swiper-slide { backface-visibility: hidden; }

/* Cards */
.jsp-wrapper .swiper-cards .swiper-slide {
  border-radius: 4px;
  overflow: hidden;
}

/* Coverflow */
.jsp-wrapper .swiper-coverflow .swiper-slide {
  width: 80%;
  max-width: 1200px;
}

/* Creative — custom asymmetric */
.jsp-wrapper .swiper-creative .swiper-slide-shadow-left,
.jsp-wrapper .swiper-creative .swiper-slide-shadow-right {
  background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
}

/* ════════════════════════════════════════════════════════════
   Javis Slide Pro v2 — frontend additions
   border-radius · boxed width · multi-column · device frames ·
   restaurant menus · font pairings · lazyload · reduced motion
   ════════════════════════════════════════════════════════════ */

/* ─── Font pairings (override the :root defaults per slider) ── */
.jsp-wrapper.jsp-font-serif {
  --jsp-font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --jsp-font-body: 'Jost', 'Inter', system-ui, sans-serif;
}
.jsp-wrapper.jsp-font-sans {
  --jsp-font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --jsp-font-body: 'Inter', system-ui, -apple-system, sans-serif;
}
.jsp-wrapper.jsp-font-modern {
  --jsp-font-display: 'Poppins', 'Inter', system-ui, sans-serif;
  --jsp-font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ─── Rounded corners ──────────────────────────────────────── */
.jsp-wrapper { border-radius: var(--jsp-radius, 0px); }

/* ─── Boxed / contained width ──────────────────────────────── */
.jsp-wrapper.jsp-layout-boxed {
  max-width: var(--jsp-max-width, 1200px);
  margin-left: auto;
  margin-right: auto;
}

/* ─── Multi-column carousel ────────────────────────────────── */
/* Swiper sets slide widths + gap from JS; CSS handles per-slide rounding. */
.jsp-wrapper.jsp-columns .swiper-slide {
  border-radius: var(--jsp-slide-radius, 0px);
  overflow: hidden;
}
/* In a multi-column layout, side slides read better slightly dimmed. */
.jsp-wrapper.jsp-columns .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-visible) {
  /* visible slides stay fully lit; this is a no-op fallback */
}

/* ─── Lazy-loaded backgrounds ──────────────────────────────── */
.jsp-bg.jsp-lazy,
.jsp-frame-screen.jsp-lazy {
  background-color: #15151f;
  background-image: none;
}

/* ════════════════════════════════════════════════════════════
   Website showcase — device frames
   ════════════════════════════════════════════════════════════ */
.jsp-bg-showcase {
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(201,169,110,.18), transparent 60%),
    linear-gradient(160deg, #14131a 0%, #1e1c26 55%, #14131a 100%);
}
.jsp-showcase {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 6% 5%;
  box-sizing: border-box;
}
.jsp-frame-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 70%;
}
.jsp-frame {
  position: relative;
  max-width: 92%;
  max-height: 100%;
  box-sizing: border-box;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.45));
}
.jsp-frame-screen {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #0c0c12;
}

/* Browser window */
.jsp-frame-browser {
  width: min(900px, 92%);
  border-radius: 12px;
  background: #2a2a33;
  padding-top: 38px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.jsp-frame-browser .jsp-frame-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  background: linear-gradient(#34343f, #2a2a33);
}
.jsp-frame-browser .jsp-frame-dots { display: inline-flex; gap: 7px; }
.jsp-frame-browser .jsp-frame-dots i {
  width: 11px; height: 11px; border-radius: 50%; background: #5b5b68; display: block;
}
.jsp-frame-browser .jsp-frame-dots i:nth-child(1) { background: #ff5f57; }
.jsp-frame-browser .jsp-frame-dots i:nth-child(2) { background: #febc2e; }
.jsp-frame-browser .jsp-frame-dots i:nth-child(3) { background: #28c840; }
.jsp-frame-browser .jsp-frame-omni {
  flex: 1;
  max-width: 60%;
  margin: 0 auto;
  background: #1e1e26;
  color: #aeaeba;
  font-family: var(--jsp-font-body);
  font-size: 12px;
  line-height: 22px;
  height: 22px;
  border-radius: 11px;
  padding: 0 14px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jsp-frame-browser .jsp-frame-screen {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
}

/* Laptop */
.jsp-frame-laptop {
  width: min(820px, 90%);
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: none;
}
.jsp-frame-laptop .jsp-frame-screen {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #0c0c12;
  border: 12px solid #1c1c22;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 24px 48px rgba(0,0,0,.45);
}
.jsp-frame-laptop .jsp-frame-base {
  width: 118%;
  height: 16px;
  background: linear-gradient(#cfcfd6, #9a9aa4);
  border-radius: 0 0 12px 12px;
  position: relative;
}
.jsp-frame-laptop .jsp-frame-base::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 7px;
  background: #7f7f8a;
  border-radius: 0 0 8px 8px;
}

/* Tablet */
.jsp-frame-tablet {
  width: min(560px, 78%);
  background: #15151b;
  border-radius: 28px;
  padding: 22px 16px;
  border: 1px solid rgba(255,255,255,.06);
}
.jsp-frame-tablet .jsp-frame-screen {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}

/* Phone */
.jsp-frame-phone {
  width: auto;
  height: min(640px, 82%);
  aspect-ratio: 9 / 19;
  background: #15151b;
  border-radius: 40px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.07);
}
.jsp-frame-phone .jsp-frame-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 42%; height: 22px;
  background: #15151b;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.jsp-frame-phone .jsp-frame-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
}

/* Showcase caption (text beneath the frame) */
.jsp-content-inner.jsp-caption {
  max-width: 720px;
  padding: 0;
  text-align: center;
}
.jsp-content-inner.jsp-caption .jsp-buttons { justify-content: center; }

/* ════════════════════════════════════════════════════════════
   Restaurant menu (price list)
   ════════════════════════════════════════════════════════════ */
.jsp-menu {
  width: 100%;
  max-width: 760px;
  margin: 22px 0 8px;
  text-align: left;
}
.jsp-menu-cols-2 {
  column-count: 2;
  column-gap: 52px;
}
@media (max-width: 640px) {
  .jsp-menu-cols-2 { column-count: 1; }
}
.jsp-menu-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 18px;
}
.jsp-menu-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.jsp-menu-name {
  font-family: var(--jsp-font-display);
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 600;
  color: var(--jsp-white, #fff);
  letter-spacing: .01em;
}
.jsp-menu-leader {
  flex: 1 1 auto;
  align-self: flex-end;
  border-bottom: 1px dotted currentColor;
  opacity: .4;
  transform: translateY(-5px);
  min-width: 18px;
}
.jsp-menu-price {
  font-family: var(--jsp-font-display);
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 600;
  color: var(--jsp-accent, #c9a96e);
  white-space: nowrap;
}
.jsp-menu-desc {
  font-family: var(--jsp-font-body);
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.5;
  color: rgba(255,255,255,.72);
  margin-top: 3px;
  max-width: 92%;
}

/* Page-flip slides can carry a lighter, paper-like menu */
.jsp-pf-mode-paper .jsp-menu-name,
.jsp-pf-mode-book  .jsp-menu-name { color: inherit; }
.jsp-pf-mode-paper .jsp-menu-desc,
.jsp-pf-mode-book  .jsp-menu-desc { color: rgba(40,32,20,.66); }

/* ════════════════════════════════════════════════════════════
   Reduced motion — honour the visitor's OS preference
   ════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .jsp-respect-motion .jsp-ken-burns .jsp-bg-image { animation: none !important; }
  .jsp-respect-motion .jsp-heading,
  .jsp-respect-motion .jsp-tagline,
  .jsp-respect-motion .jsp-subheading,
  .jsp-respect-motion .jsp-description,
  .jsp-respect-motion .jsp-menu,
  .jsp-respect-motion .jsp-buttons {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ════════════════════════════════════════════════════════════
   Javis Slide Pro v2.1 — depth (drop shadow) & legibility
   ════════════════════════════════════════════════════════════ */

/* Drop shadow levels — set a shared var, applied where it reads well:
   boxed full sliders, carousel cards and device-frame showcases. */
.jsp-wrapper.jsp-shadow-soft   { --jsp-shadow: 0 10px 30px rgba(0,0,0,0.16); }
.jsp-wrapper.jsp-shadow-medium { --jsp-shadow: 0 18px 50px rgba(0,0,0,0.26); }
.jsp-wrapper.jsp-shadow-strong { --jsp-shadow: 0 28px 70px rgba(0,0,0,0.40); }

/* Boxed slider: shadow the whole framed box. */
.jsp-wrapper.jsp-layout-boxed.jsp-shadow-soft,
.jsp-wrapper.jsp-layout-boxed.jsp-shadow-medium,
.jsp-wrapper.jsp-layout-boxed.jsp-shadow-strong {
  box-shadow: var(--jsp-shadow);
}

/* Carousel cards: lift each visible slide. */
.jsp-wrapper.jsp-columns.jsp-shadow-soft   .swiper-slide,
.jsp-wrapper.jsp-columns.jsp-shadow-medium .swiper-slide,
.jsp-wrapper.jsp-columns.jsp-shadow-strong .swiper-slide {
  box-shadow: var(--jsp-shadow);
}

/* Device-frame showcases: deepen the frame shadow. */
.jsp-wrapper.jsp-shadow-soft   .jsp-frame { filter: drop-shadow(0 18px 36px rgba(0,0,0,0.32)); }
.jsp-wrapper.jsp-shadow-medium .jsp-frame { filter: drop-shadow(0 26px 52px rgba(0,0,0,0.42)); }
.jsp-wrapper.jsp-shadow-strong .jsp-frame { filter: drop-shadow(0 34px 70px rgba(0,0,0,0.55)); }

/* Text shadow — keeps headings/copy readable over busy imagery. */
.jsp-wrapper.jsp-text-shadow .jsp-tagline,
.jsp-wrapper.jsp-text-shadow .jsp-heading,
.jsp-wrapper.jsp-text-shadow .jsp-subheading,
.jsp-wrapper.jsp-text-shadow .jsp-description {
  text-shadow: 0 2px 18px rgba(0,0,0,0.45), 0 1px 2px rgba(0,0,0,0.35);
}

/* 3D FlipBook embed wrapper — shares the responsive size contract. */
.jspfb-iframe-wrap{width:var(--jspfb-width,100%);max-width:100%;height:var(--jspfb-height,760px);margin-inline:auto;overflow:hidden;border-radius:var(--jsp-radius,16px);background:#111;box-shadow:0 18px 50px rgba(0,0,0,.18);position:relative;box-sizing:border-box}
.jspfb-iframe-wrap.jspfb-layout-boxed{max-width:min(var(--jspfb-max-width,1200px),100%)}
.jspfb-iframe-wrap iframe{display:block;width:100%;height:100%;min-height:0;border:0;background:#111}
@media (max-width:1024px){.jspfb-iframe-wrap{height:var(--jspfb-height-tablet,var(--jspfb-height,760px))}}
@media (max-width:767px){.jspfb-iframe-wrap{height:var(--jspfb-height-mobile,var(--jspfb-height-tablet,var(--jspfb-height,760px)))}}


/* ════════════════════════════════════════════════════════════
   Gallery collage layouts — v2.4.3
   Mosaic, Bento and Editorial grids inspired by premium venue galleries.
   ════════════════════════════════════════════════════════════ */
.jsp-effect-mosaic {
  background: var(--jsp-gallery-bg, transparent);
  color: #fff;
  overflow: hidden;
}
.jsp-effect-mosaic.jsp-mosaic-multi {
  height: auto;
  min-height: var(--jsp-height, 100vh);
}
.jsp-mosaic-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(var(--jsp-mosaic-rows, 6), minmax(0, 1fr));
  gap: var(--jsp-gap, 10px);
  box-sizing: border-box;
  padding: var(--jsp-mosaic-padding, 8px);
}
.jsp-effect-mosaic.jsp-mosaic-multi .jsp-mosaic-grid {
  height: calc(var(--jsp-height, 100vh) * var(--jsp-mosaic-blocks, 1));
  min-height: calc(520px * var(--jsp-mosaic-blocks, 1));
}
.jsp-mosaic-item {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--jsp-slide-radius, 14px);
  background: var(--jsp-gallery-tile-bg, #f4f1ea);
  isolation: isolate;
  transform: translateZ(0);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
  text-decoration: none;
  color: #fff;
}
.jsp-mosaic-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .9s cubic-bezier(.22,.61,.36,1), filter .9s cubic-bezier(.22,.61,.36,1);
}
.jsp-mosaic-fill {
  background-size: cover;
  background-position: center;
}
.jsp-mosaic-shade {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  height: 52%;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.34) 42%, rgba(0,0,0,0));
  opacity: .92;
  pointer-events: none;
}
.jsp-mosaic-caption {
  position: absolute;
  z-index: 2;
  left: clamp(14px, 1.8vw, 24px);
  right: clamp(14px, 1.8vw, 24px);
  bottom: clamp(12px, 1.55vw, 22px);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.72), 0 1px 2px rgba(0,0,0,.9);
  pointer-events: none;
}
.jsp-mosaic-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  font-family: var(--jsp-font-body);
  font-size: clamp(10px, .85vw, 12px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.jsp-mosaic-title {
  margin: 0;
  color: #fff;
  font-family: var(--jsp-font-display);
  font-size: calc(clamp(17px, 2.1vw, 32px) * var(--jsp-heading-scale, 1) * var(--jsp-heading-tag-scale, 1));
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.015em;
}
.jsp-mosaic-subtitle {
  margin: 5px 0 0;
  max-width: 36em;
  color: rgba(255,255,255,.9);
  font-family: var(--jsp-font-body);
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.35;
  font-weight: 600;
}
.jsp-mosaic-item:hover .jsp-mosaic-media,
.jsp-mosaic-item:focus-visible .jsp-mosaic-media {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.03);
}
.jsp-mosaic-item:focus-visible {
  outline: 3px solid var(--jsp-accent, #c9a96e);
  outline-offset: -3px;
}
.jsp-gallery-bento .jsp-mosaic-grid {
  padding: max(8px, calc(var(--jsp-gap, 10px) * .9));
}
.jsp-gallery-bento .jsp-mosaic-item {
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 16px 40px rgba(0,0,0,.16);
}
.jsp-gallery-bento .jsp-mosaic-shade {
  height: 58%;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.28) 48%, rgba(0,0,0,0));
}
.jsp-gallery-bento .jsp-mosaic-title {
  font-size: calc(clamp(18px, 2.35vw, 38px) * var(--jsp-heading-scale, 1) * var(--jsp-heading-tag-scale, 1));
}
.jsp-gallery-bento .jsp-mosaic-item-1 .jsp-mosaic-caption,
.jsp-gallery-bento .jsp-mosaic-item-7 .jsp-mosaic-caption {
  max-width: min(640px, 82%);
}
.jsp-gallery-editorial {
  background: var(--jsp-gallery-bg, transparent);
}
.jsp-gallery-editorial .jsp-mosaic-grid {
  padding: max(8px, calc(var(--jsp-gap, 10px) * 1));
}
.jsp-gallery-editorial .jsp-mosaic-item {
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
}
.jsp-gallery-editorial .jsp-mosaic-shade {
  height: 66%;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.38) 52%, rgba(0,0,0,0));
}
.jsp-gallery-editorial .jsp-mosaic-kicker {
  letter-spacing: .18em;
}
.jsp-gallery-editorial .jsp-mosaic-title {
  font-size: calc(clamp(18px, 2.6vw, 42px) * var(--jsp-heading-scale, 1) * var(--jsp-heading-tag-scale, 1));
}
.jsp-gallery-editorial .jsp-mosaic-item-1 .jsp-mosaic-title,
.jsp-gallery-editorial .jsp-mosaic-item-2 .jsp-mosaic-title {
  font-size: calc(clamp(22px, 3vw, 48px) * var(--jsp-heading-scale, 1) * var(--jsp-heading-tag-scale, 1));
}
@media (prefers-reduced-motion: reduce) {
  .jsp-respect-motion .jsp-mosaic-media { transition: none !important; }
  .jsp-respect-motion .jsp-mosaic-item:hover .jsp-mosaic-media,
  .jsp-respect-motion .jsp-mosaic-item:focus-visible .jsp-mosaic-media { transform: none !important; }
}
@media (max-width: 1024px) {
  .jsp-mosaic-grid {
    gap: max(6px, calc(var(--jsp-gap, 10px) * .82));
    padding: max(6px, calc(var(--jsp-gap, 10px) * .65));
  }
  .jsp-mosaic-title { font-size: calc(clamp(16px, 2.9vw, 26px) * var(--jsp-heading-scale, 1) * var(--jsp-heading-tag-scale, 1)); }
}
@media (max-width: 768px) {
  .jsp-effect-mosaic,
  .jsp-effect-mosaic.jsp-mosaic-multi {
    height: auto;
    min-height: 0;
  }
  .jsp-effect-mosaic .jsp-mosaic-grid,
  .jsp-effect-mosaic.jsp-mosaic-multi .jsp-mosaic-grid {
    height: auto;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
  }
  .jsp-mosaic-item {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 150px;
    aspect-ratio: 1 / 1;
  }
  .jsp-mosaic-item:nth-child(3n+1) {
    grid-column: span 2 !important;
    aspect-ratio: 16 / 9;
  }
  .jsp-mosaic-caption {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }
  .jsp-mosaic-subtitle { display: none; }
}
@media (max-width: 480px) {
  .jsp-effect-mosaic .jsp-mosaic-grid,
  .jsp-effect-mosaic.jsp-mosaic-multi .jsp-mosaic-grid {
    grid-template-columns: 1fr;
  }
  .jsp-mosaic-item,
  .jsp-mosaic-item:nth-child(3n+1) {
    grid-column: auto !important;
    aspect-ratio: 4 / 3;
    min-height: 180px;
  }
}

/* ─── PDF Menu Viewer ───────────────────────────────────── */
.jsp-pdf-menu {
  background: var(--jsp-pdf-bg, #f8f4ea);
  color: #151515;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(14px, 2vw, 28px);
  box-sizing: border-box;
}

.jsp-pdf-menu.jsp-pdf-bg-dark {
  color: #fff;
}

.jsp-pdf-menu.jsp-layout-boxed .jsp-pdf-shell {
  max-width: var(--jsp-max-width, 1200px);
  margin: 0 auto;
}

.jsp-pdf-shell {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--jsp-radius, 18px);
  background: rgba(255,255,255,0.82);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(12px);
}

.jsp-pdf-bg-dark .jsp-pdf-shell {
  background: rgba(12,12,12,0.86);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 30px 90px rgba(0,0,0,0.48);
}

.jsp-pdf-toolbar {
  min-height: 74px;
  padding: 18px clamp(18px, 2.5vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,255,255,0.72));
  box-sizing: border-box;
}

.jsp-pdf-bg-dark .jsp-pdf-toolbar {
  background: linear-gradient(135deg, rgba(26,26,26,0.98), rgba(26,26,26,0.66));
  border-bottom-color: rgba(255,255,255,0.12);
}

.jsp-pdf-toolbar-minimal .jsp-pdf-toolbar {
  min-height: 58px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(255,255,255,0.92);
}

.jsp-pdf-toolbar-glass .jsp-pdf-toolbar {
  background: rgba(255,255,255,0.38);
  backdrop-filter: blur(18px) saturate(140%);
}

.jsp-pdf-title-wrap {
  min-width: 0;
}

.jsp-pdf-title {
  font-family: var(--jsp-font-display);
  font-size: clamp(1.25rem, 2.4vw, 2.4rem);
  line-height: 1.05;
  margin: 0;
  color: currentColor;
  letter-spacing: -0.02em;
}

.jsp-pdf-subtitle {
  margin: 6px 0 0;
  color: rgba(20,20,20,0.66);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
}

.jsp-pdf-bg-dark .jsp-pdf-subtitle {
  color: rgba(255,255,255,0.72);
}

.jsp-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.jsp-pdf-btn {
  appearance: none;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 999px;
  background: #fff;
  color: #151515;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  font: 600 12px/1 var(--jsp-font-body);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.jsp-pdf-btn:hover,
.jsp-pdf-btn:focus-visible {
  transform: translateY(-1px);
  border-color: var(--jsp-accent, #c9a96e);
  color: #111;
  outline: none;
}

.jsp-pdf-actions .jsp-pdf-btn:first-child,
.jsp-pdf-fallback .jsp-pdf-btn {
  background: var(--jsp-accent, #c9a96e);
  border-color: var(--jsp-accent, #c9a96e);
  color: #fff;
}

.jsp-pdf-bg-dark .jsp-pdf-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

.jsp-pdf-bg-dark .jsp-pdf-actions .jsp-pdf-btn:first-child,
.jsp-pdf-bg-dark .jsp-pdf-fallback .jsp-pdf-btn {
  background: var(--jsp-accent, #c9a96e);
  border-color: var(--jsp-accent, #c9a96e);
}

.jsp-pdf-frame-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: #d8d8d8;
  overflow: hidden;
}

.jsp-pdf-bg-dark .jsp-pdf-frame-wrap {
  background: #111;
}

.jsp-pdf-frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

/* Portrait menus get a focused, page-shaped reading column instead of a
   stretched landscape canvas. The PDF itself is also opened with view=Fit. */
.jsp-pdf-orientation-portrait .jsp-pdf-frame-wrap {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(10px, 1.35vw, 22px);
  background: color-mix(in srgb, var(--jsp-pdf-bg, #f8f4ea) 72%, #777 28%);
  box-sizing: border-box;
}

.jsp-pdf-orientation-portrait .jsp-pdf-frame {
  width: min(100%, 960px);
  border-radius: max(4px, calc(var(--jsp-radius, 18px) * .45));
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}

.jsp-pdf-orientation-landscape .jsp-pdf-frame,
.jsp-pdf-orientation-auto .jsp-pdf-frame {
  width: 100%;
}

.jsp-pdf-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  text-align: center;
  color: #444;
}

.jsp-pdf-bg-dark .jsp-pdf-fallback {
  color: rgba(255,255,255,0.8);
}

.jsp-pdf-menu:fullscreen,
.jsp-pdf-menu:-webkit-full-screen {
  width: 100% !important;
  max-width: none !important;
  height: 100vh !important;
  height: 100dvh !important;
  padding: 0;
}

.jsp-pdf-menu:fullscreen .jsp-pdf-shell,
.jsp-pdf-menu:-webkit-full-screen .jsp-pdf-shell {
  border-radius: 0;
}

.jsp-pdf-menu:fullscreen .jsp-pdf-frame-wrap,
.jsp-pdf-menu:-webkit-full-screen .jsp-pdf-frame-wrap {
  padding: 0;
}

.jsp-pdf-menu:fullscreen .jsp-pdf-frame,
.jsp-pdf-menu:-webkit-full-screen .jsp-pdf-frame {
  width: 100%;
  max-width: none;
  border-radius: 0;
}

.jsp-pdf-noscript {
  margin: 0;
  padding: 12px 18px;
  text-align: center;
  background: var(--jsp-pdf-bg, #f8f4ea);
}

@media (max-width: 782px) {
  .jsp-pdf-menu {
    padding: 10px;
  }

  .jsp-pdf-toolbar {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 14px;
  }

  .jsp-pdf-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .jsp-pdf-btn {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 11px;
  }

  .jsp-pdf-orientation-portrait .jsp-pdf-frame-wrap {
    padding: 0;
  }

  .jsp-pdf-orientation-portrait .jsp-pdf-frame {
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
  }
}
