/* ============================================
   SLIDESHOW — Public Display Screen
   ============================================ */
.slideshow-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #0a0c14;
  overflow: hidden;
  cursor: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.slide-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text overlay */
.slide-text-overlay {
  position: absolute;
  padding: 2.5% 3%;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.slide-text-overlay::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  z-index: -1;
}

/* 9 positions */
.slide-text-overlay.pos-tl { top: 4%; left: 4%; }
.slide-text-overlay.pos-tc { top: 4%; left: 50%; transform: translateX(-50%); text-align: center; }
.slide-text-overlay.pos-tr { top: 4%; right: 4%; text-align: right; }
.slide-text-overlay.pos-cl { top: 50%; left: 4%; transform: translateY(-50%); }
.slide-text-overlay.pos-cc { top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.slide-text-overlay.pos-cr { top: 50%; right: 4%; transform: translateY(-50%); text-align: right; }
.slide-text-overlay.pos-bl { bottom: 4%; left: 4%; }
.slide-text-overlay.pos-bc { bottom: 4%; left: 50%; transform: translateX(-50%); text-align: center; }
.slide-text-overlay.pos-br { bottom: 4%; right: 4%; text-align: right; }

.slide-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  line-height: 1.15;
}

.slide-description {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}

.slide-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.slide-price .currency-symbol { font-size: 0.7em; opacity: 0.85; }
.slide-price .currency-code { font-size: 0.5em; font-weight: 500; opacity: 0.7; margin-left: 0.3em; }
.slide-price .unit { font-size: 0.45em; font-weight: 400; opacity: 0.65; }

/* Fallback screen */
.slideshow-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f3f6fc;
}

.slideshow-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slideshow-neutral {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8ecf4 0%, #f3f6fc 50%, #eaeff8 100%);
  gap: 1.5rem;
}

.slideshow-neutral svg { width: 72px; height: 72px; color: #b4bed3; }
.slideshow-neutral p { font-family: 'DM Sans', sans-serif; font-size: 1.125rem; color: #8f9aaf; }

/* Progress indicator */
.slide-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255,255,255,0.5);
  z-index: 10;
  transition: width linear;
}
