/* Red Sea Tours Slider - WordPress Stylesheet v1.3.3 */
.rsts-wrapper {
  --rsts-card-width: 290px;
  --rsts-card-height: auto;
  --rsts-img-height: 190px;
  --rsts-card-gap: 20px;
  --rsts-container-width: 100%;
  --rsts-heading-font: 'Cairo', sans-serif;
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  margin: 28px auto;
  width: var(--rsts-container-width);
  max-width: 1280px;
  padding: 0 12px;
  direction: rtl;
  text-align: right;
  color: #1e293b;
}

.rsts-wrapper * {
  box-sizing: border-box;
}

/* Frameless Container: directly integrated into the WordPress page */
.rsts-frameless {
  background: transparent;
  padding: 4px 0;
  position: relative;
}

/* Header */
.rsts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  gap: 16px;
}

.rsts-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.rsts-title {
  font-family: var(--rsts-heading-font, 'Cairo', sans-serif);
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.rsts-count-badge {
  background: #ecfeff;
  color: #0891b2;
  border: 1px solid #cffafe;
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 800;
}

.rsts-autoplay-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e2e8f0;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.rsts-autoplay-pill:hover {
  color: #0f172a;
  border-color: #cbd5e1;
}
.rsts-wrapper.rsts-mode-dark .rsts-autoplay-pill {
  background: rgba(15, 23, 42, 0.85);
  border-color: #334155;
  color: #94a3b8;
}
.rsts-wrapper.rsts-mode-dark .rsts-autoplay-pill:hover {
  color: #f8fafc;
}

.rsts-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Navigation Arrows */
.rsts-nav-arrows {
  display: flex;
  gap: 8px;
}

.rsts-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.rsts-arrow-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: scale(1.05);
}

/* Slider Track */
.rsts-track-container {
  position: relative;
  overflow: hidden;
}

.rsts-track {
  display: flex;
  gap: var(--rsts-card-gap, 20px);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 16px 8px 26px 8px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rsts-track::-webkit-scrollbar {
  display: none;
}

/* Card Styling with Smooth Hover Transitions */
.rsts-card {
  flex: 0 0 var(--rsts-card-width);
  min-height: var(--rsts-card-height, auto);
  max-width: 88vw;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.1), 0 4px 10px -4px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.2s ease;
  scroll-snap-align: start;
  user-select: none;
}

.rsts-has-fixed-height .rsts-card {
  height: var(--rsts-card-height);
}
.rsts-has-fixed-height .rsts-card-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.rsts-card-compact .rsts-card-body {
  padding: 10px 12px;
  gap: 6px;
}
.rsts-card-compact .rsts-card-title {
  font-size: 14px;
  -webkit-line-clamp: 1;
}
.rsts-card-compact .rsts-card-desc {
  display: none;
}
.rsts-card-compact .rsts-card-hl-item {
  padding: 4px 2px;
}
.rsts-card-compact .rsts-card-footer {
  padding: 7px 10px;
  border-radius: 12px;
}
.rsts-card-compact .rsts-btn-details {
  padding: 6px 11px;
  font-size: 11px;
}
.rsts-card-ultra-compact .rsts-card-highlights,
.rsts-card-ultra-compact .rsts-card-meta {
  display: none;
}

.rsts-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 38px -8px rgba(0, 0, 0, 0.16);
  border-color: #cbd5e1;
}

/* Light sheen sweep effect on hover (matches React TripCard) */
@keyframes rstsShineSweep {
  0% {
    transform: translateX(120%) skewX(-12deg);
  }
  100% {
    transform: translateX(-220%) skewX(-12deg);
  }
}

.rsts-card-shine {
  pointer-events: none;
  position: absolute;
  inset: -100%;
  height: 200%;
  width: 50%;
  transform: skewX(-12deg);
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.rsts-card:hover .rsts-card-shine {
  opacity: 1;
  animation: rstsShineSweep 0.85s ease-out forwards;
}

/* Card Image Gallery Wrap & Responsive Screen Fit Modes */
.rsts-card-img-wrap {
  position: relative;
  height: var(--rsts-img-height-mobile, var(--rsts-img-height, 176px));
  background: #f1f5f9;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .rsts-card-img-wrap {
    height: var(--rsts-img-height, 190px);
  }
}

.rsts-card-img-wrap[data-fit="fluid-clamp"] {
  height: clamp(var(--rsts-card-img-min, 160px), 26vw, var(--rsts-card-img-max, 210px));
}

.rsts-card-img-wrap[data-fit="aspect-16-9"] {
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 130px;
}

.rsts-card-img-wrap[data-fit="aspect-4-3"] {
  height: auto;
  aspect-ratio: 4 / 3;
  min-height: 150px;
}

.rsts-card-img-wrap[data-fit="aspect-square"] {
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 170px;
}

.rsts-card-img-wrap[data-fit="aspect-16-9"] .rsts-card-slides,
.rsts-card-img-wrap[data-fit="aspect-4-3"] .rsts-card-slides,
.rsts-card-img-wrap[data-fit="aspect-square"] .rsts-card-slides {
  position: absolute;
  inset: 0;
}

.rsts-card-img-wrap[data-fit="full-photo"] {
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.95) 0%, #020617 100%);
}

.rsts-card-img-wrap[data-fit="full-photo"] .rsts-card-img {
  object-fit: contain !important;
}

.rsts-card-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.rsts-card-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.rsts-card-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.rsts-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.rsts-card:hover .rsts-card-img {
  transform: scale(1.08);
}

.rsts-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.15) 55%, transparent 100%);
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.rsts-card:hover .rsts-card-overlay {
  opacity: 0.65;
}

/* Per-Card Photo Gallery Navigation */
.rsts-img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: none;
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
  padding: 0;
}

.rsts-card:hover .rsts-img-nav {
  opacity: 1;
}

.rsts-img-nav:hover {
  background: rgba(15, 23, 42, 0.92);
}

.rsts-img-prev {
  right: 8px;
}

.rsts-img-next {
  left: 8px;
}

.rsts-img-dots {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.55);
  padding: 4px 8px;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}

.rsts-img-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rsts-img-dot.is-active {
  width: 14px;
  background: #ffffff;
}

.rsts-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #0284c7;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 3;
  transition: transform 0.3s ease;
}

.rsts-card:hover .rsts-badge {
  transform: scale(1.05);
}

/* 5-Star Rating Pill */
.rsts-rating {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  z-index: 3;
  direction: ltr;
}

.rsts-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  direction: ltr;
}

.rsts-cat {
  position: absolute;
  bottom: 10px;
  right: 12px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  z-index: 3;
}

/* Card Body */
.rsts-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.rsts-card-title {
  font-family: var(--rsts-heading-font, 'Cairo', sans-serif);
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.rsts-card:hover .rsts-card-title {
  color: #0284c7;
}

.rsts-card-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Outer Card 4 Compact Highlight Icons */
.rsts-card-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.rsts-card-hl-item {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.94);
  border-radius: 14px;
  padding: 7px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  min-width: 0;
}

.rsts-card-hl-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.rsts-card-hl-text {
  font-size: 9.5px;
  font-weight: 800;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Card Meta */
.rsts-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
  margin-bottom: 12px;
}

.rsts-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rsts-meta-stars-wrap {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.rsts-meta-reviews {
  font-size: 11px;
  color: #94a3b8;
}

/* Card Footer (Price & Button) */
.rsts-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 14px;
}

.rsts-price-box {
  display: flex;
  flex-direction: column;
}

.rsts-price-label {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
}

.rsts-price-values {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.rsts-current-price {
  font-size: 16px;
  font-weight: 900;
  color: #0284c7;
  white-space: nowrap;
}

.rsts-old-price {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
  white-space: nowrap;
}

.rsts-btn-details {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #0284c7;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 14px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}

/* Explicit Dark Mode Support (.rsts-mode-dark) */
.rsts-wrapper.rsts-mode-dark {
  color: #f8fafc;
}
.rsts-wrapper.rsts-mode-dark .rsts-title {
  color: #f8fafc;
}
.rsts-wrapper.rsts-mode-dark .rsts-subtitle {
  color: #94a3b8;
}
.rsts-wrapper.rsts-mode-dark .rsts-arrow-btn {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}
.rsts-wrapper.rsts-mode-dark .rsts-arrow-btn:hover {
  background: #334155;
}
.rsts-wrapper.rsts-mode-dark .rsts-card {
  background: #0f172a;
  border-color: #1e293b;
  box-shadow: 0 14px 32px -8px rgba(0, 0, 0, 0.65);
}
.rsts-wrapper.rsts-mode-dark .rsts-card-title {
  color: #f8fafc;
}
.rsts-wrapper.rsts-mode-dark .rsts-card-desc {
  color: #94a3b8;
}
.rsts-wrapper.rsts-mode-dark .rsts-card-meta {
  color: #94a3b8;
  border-top-color: #1e293b;
}
.rsts-wrapper.rsts-mode-dark .rsts-card-footer {
  background: #1e293b;
}
.rsts-wrapper.rsts-mode-dark .rsts-rating {
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
}
.rsts-wrapper.rsts-mode-dark .rsts-card-hl-item {
  background: #ffffff;
}
.rsts-wrapper.rsts-mode-dark .rsts-card-hl-text {
  color: #0f172a;
}

/* Theme color classes (use background-color so embossing gradients remain intact) */
.rsts-theme-pink .rsts-badge,
.rsts-theme-pink .rsts-btn-details {
  background-color: #db2777 !important;
}
.rsts-theme-pink .rsts-current-price {
  color: #db2777 !important;
}
.rsts-theme-pink .rsts-count-badge {
  background: #fdf2f8;
  color: #db2777;
  border-color: #fbcfe8;
}

.rsts-theme-purple .rsts-badge,
.rsts-theme-purple .rsts-btn-details {
  background-color: #9333ea !important;
}
.rsts-theme-purple .rsts-current-price {
  color: #9333ea !important;
}
.rsts-theme-purple .rsts-count-badge {
  background: #faf5ff;
  color: #9333ea;
  border-color: #f3e8ff;
}

.rsts-theme-emerald .rsts-badge,
.rsts-theme-emerald .rsts-btn-details {
  background-color: #059669 !important;
}
.rsts-theme-emerald .rsts-current-price {
  color: #059669 !important;
}
.rsts-theme-emerald .rsts-count-badge {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.rsts-theme-amber .rsts-badge,
.rsts-theme-amber .rsts-btn-details {
  background-color: #f59e0b !important;
  color: #0f172a !important;
}
.rsts-theme-amber .rsts-current-price {
  color: #d97706 !important;
}
.rsts-theme-amber .rsts-count-badge {
  background: #fffbeb;
  color: #d97706;
  border-color: #fde68a;
}

/* Selectable Button 3D / Embossing Styles */
.rsts-btn-style-tactile-3d .rsts-btn-details,
.rsts-btn-style-tactile-3d .rsts-quick-btn,
.rsts-btn-style-tactile-3d .rsts-cta-btn,
.rsts-btn-style-tactile-3d .rsts-reel-play-btn,
.rsts-btn-style-tactile-3d .rsts-audio-play {
  border-bottom: 4px solid rgba(0, 0, 0, 0.28) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -4px rgba(15, 23, 42, 0.25);
  transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 150ms ease, filter 150ms ease;
}
.rsts-btn-style-tactile-3d .rsts-btn-details:hover,
.rsts-btn-style-tactile-3d .rsts-quick-btn:hover,
.rsts-btn-style-tactile-3d .rsts-cta-btn:hover,
.rsts-btn-style-tactile-3d .rsts-reel-play-btn:hover,
.rsts-btn-style-tactile-3d .rsts-audio-play:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.rsts-btn-style-tactile-3d .rsts-btn-details:active,
.rsts-btn-style-tactile-3d .rsts-quick-btn:active,
.rsts-btn-style-tactile-3d .rsts-cta-btn:active,
.rsts-btn-style-tactile-3d .rsts-reel-play-btn:active,
.rsts-btn-style-tactile-3d .rsts-audio-play:active {
  transform: translateY(2px);
  border-bottom-width: 2px !important;
}

.rsts-btn-style-soft-bevel .rsts-btn-details,
.rsts-btn-style-soft-bevel .rsts-quick-btn,
.rsts-btn-style-soft-bevel .rsts-cta-btn,
.rsts-btn-style-soft-bevel .rsts-reel-play-btn,
.rsts-btn-style-soft-bevel .rsts-audio-play {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(0, 0, 0, 0.12) 100%);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.45), inset 0 -3px 6px rgba(0, 0, 0, 0.22), 0 8px 18px -5px rgba(15, 23, 42, 0.25);
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 160ms ease;
}
.rsts-btn-style-soft-bevel .rsts-btn-details:hover,
.rsts-btn-style-soft-bevel .rsts-quick-btn:hover,
.rsts-btn-style-soft-bevel .rsts-cta-btn:hover,
.rsts-btn-style-soft-bevel .rsts-reel-play-btn:hover,
.rsts-btn-style-soft-bevel .rsts-audio-play:hover {
  transform: translateY(-2px);
}
.rsts-btn-style-soft-bevel .rsts-btn-details:active,
.rsts-btn-style-soft-bevel .rsts-quick-btn:active,
.rsts-btn-style-soft-bevel .rsts-cta-btn:active,
.rsts-btn-style-soft-bevel .rsts-reel-play-btn:active,
.rsts-btn-style-soft-bevel .rsts-audio-play:active {
  transform: translateY(1px) scale(0.98);
}

.rsts-btn-style-glass-shine .rsts-btn-details,
.rsts-btn-style-glass-shine .rsts-quick-btn,
.rsts-btn-style-glass-shine .rsts-cta-btn,
.rsts-btn-style-glass-shine .rsts-reel-play-btn,
.rsts-btn-style-glass-shine .rsts-audio-play {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.04) 49%, rgba(0, 0, 0, 0.14) 51%, rgba(0, 0, 0, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.55), 0 10px 20px -6px rgba(15, 23, 42, 0.3);
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), filter 160ms ease;
}
.rsts-btn-style-glass-shine .rsts-btn-details:hover,
.rsts-btn-style-glass-shine .rsts-quick-btn:hover,
.rsts-btn-style-glass-shine .rsts-cta-btn:hover,
.rsts-btn-style-glass-shine .rsts-reel-play-btn:hover,
.rsts-btn-style-glass-shine .rsts-audio-play:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.rsts-btn-style-neon-elevated .rsts-btn-details,
.rsts-btn-style-neon-elevated .rsts-quick-btn,
.rsts-btn-style-neon-elevated .rsts-cta-btn,
.rsts-btn-style-neon-elevated .rsts-reel-play-btn,
.rsts-btn-style-neon-elevated .rsts-audio-play {
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(0, 0, 0, 0.08) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 26px -4px rgba(2, 132, 199, 0.45);
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 160ms ease;
}
.rsts-btn-style-neon-elevated .rsts-btn-details:hover,
.rsts-btn-style-neon-elevated .rsts-quick-btn:hover,
.rsts-btn-style-neon-elevated .rsts-cta-btn:hover,
.rsts-btn-style-neon-elevated .rsts-reel-play-btn:hover,
.rsts-btn-style-neon-elevated .rsts-audio-play:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48), 0 14px 30px -4px rgba(2, 132, 199, 0.55);
}

.rsts-btn-style-outline-duo .rsts-btn-details,
.rsts-btn-style-outline-duo .rsts-quick-btn,
.rsts-btn-style-outline-duo .rsts-cta-btn,
.rsts-btn-style-outline-duo .rsts-reel-play-btn,
.rsts-btn-style-outline-duo .rsts-audio-play {
  border: 2px solid rgba(15, 23, 42, 0.25) !important;
  box-shadow: 0 4px 0 rgba(15, 23, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 150ms ease;
}
.rsts-btn-style-outline-duo .rsts-btn-details:hover,
.rsts-btn-style-outline-duo .rsts-quick-btn:hover,
.rsts-btn-style-outline-duo .rsts-cta-btn:hover,
.rsts-btn-style-outline-duo .rsts-reel-play-btn:hover,
.rsts-btn-style-outline-duo .rsts-audio-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 rgba(15, 23, 42, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Whole-Button White 3D Embossed Highlight Chips, Block Headings, Hero Bezel, Price/Destination Cards, Audio Bar, Video Bezel, Sub-Pill & Thumbnails */
.rsts-btn-style-tactile-3d .rsts-card-hl-item,
.rsts-btn-style-tactile-3d .rsts-modal-hl-box,
.rsts-btn-style-tactile-3d .rsts-modal-block-head,
.rsts-btn-style-tactile-3d .rsts-modal-hero-frame-3d,
.rsts-btn-style-tactile-3d .rsts-modal-hero-thumb,
.rsts-btn-style-tactile-3d .rsts-modal-price-dock,
.rsts-btn-style-tactile-3d .rsts-modal-snapshot,
.rsts-btn-style-tactile-3d .rsts-audio-bar,
.rsts-btn-style-tactile-3d .rsts-reel-frame-3d,
.rsts-btn-style-tactile-3d .rsts-reel-subpill,
.rsts-btn-style-tactile-3d .rsts-reel-expand-pill,
.rsts-btn-style-tactile-3d .rsts-video-thumb {
  background-color: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  border-bottom: 3px solid rgba(15, 23, 42, 0.24) !important;
  box-shadow: inset 0 1px 0 #ffffff, 0 6px 14px -4px rgba(15, 23, 42, 0.2), 0 2px 4px -2px rgba(15, 23, 42, 0.08);
}

.rsts-btn-style-soft-bevel .rsts-card-hl-item,
.rsts-btn-style-soft-bevel .rsts-modal-hl-box,
.rsts-btn-style-soft-bevel .rsts-modal-block-head,
.rsts-btn-style-soft-bevel .rsts-modal-hero-frame-3d,
.rsts-btn-style-soft-bevel .rsts-modal-hero-thumb,
.rsts-btn-style-soft-bevel .rsts-modal-price-dock,
.rsts-btn-style-soft-bevel .rsts-modal-snapshot,
.rsts-btn-style-soft-bevel .rsts-audio-bar,
.rsts-btn-style-soft-bevel .rsts-reel-frame-3d,
.rsts-btn-style-soft-bevel .rsts-reel-subpill,
.rsts-btn-style-soft-bevel .rsts-reel-expand-pill,
.rsts-btn-style-soft-bevel .rsts-video-thumb {
  background-color: #ffffff !important;
  background-image: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%) !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: inset 0 2px 3px #ffffff, inset 0 -3px 6px rgba(15, 23, 42, 0.1), 0 8px 16px -5px rgba(15, 23, 42, 0.18);
}

.rsts-btn-style-glass-shine .rsts-card-hl-item,
.rsts-btn-style-glass-shine .rsts-modal-hl-box,
.rsts-btn-style-glass-shine .rsts-modal-block-head,
.rsts-btn-style-glass-shine .rsts-modal-hero-frame-3d,
.rsts-btn-style-glass-shine .rsts-modal-hero-thumb,
.rsts-btn-style-glass-shine .rsts-modal-price-dock,
.rsts-btn-style-glass-shine .rsts-modal-snapshot,
.rsts-btn-style-glass-shine .rsts-audio-bar,
.rsts-btn-style-glass-shine .rsts-reel-frame-3d,
.rsts-btn-style-glass-shine .rsts-reel-subpill,
.rsts-btn-style-glass-shine .rsts-reel-expand-pill,
.rsts-btn-style-glass-shine .rsts-video-thumb {
  background-color: #ffffff !important;
  background-image: linear-gradient(180deg, #ffffff 0%, #f8fafc 49%, #eef2f6 51%, #ffffff 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.4) !important;
  box-shadow: inset 0 1px 1px #ffffff, 0 8px 18px -5px rgba(15, 23, 42, 0.22);
}

.rsts-btn-style-neon-elevated .rsts-card-hl-item,
.rsts-btn-style-neon-elevated .rsts-modal-hl-box,
.rsts-btn-style-neon-elevated .rsts-modal-block-head,
.rsts-btn-style-neon-elevated .rsts-modal-hero-frame-3d,
.rsts-btn-style-neon-elevated .rsts-modal-hero-thumb,
.rsts-btn-style-neon-elevated .rsts-modal-price-dock,
.rsts-btn-style-neon-elevated .rsts-modal-snapshot,
.rsts-btn-style-neon-elevated .rsts-audio-bar,
.rsts-btn-style-neon-elevated .rsts-reel-frame-3d,
.rsts-btn-style-neon-elevated .rsts-reel-subpill,
.rsts-btn-style-neon-elevated .rsts-reel-expand-pill,
.rsts-btn-style-neon-elevated .rsts-video-thumb {
  background-color: #ffffff !important;
  background-image: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid rgba(226, 232, 240, 0.96) !important;
  box-shadow: inset 0 1px 0 #ffffff, 0 8px 20px -4px color-mix(in srgb, var(--rsts-theme-hex, #0284c7) 34%, rgba(15, 23, 42, 0.14));
}

.rsts-btn-style-outline-duo .rsts-card-hl-item,
.rsts-btn-style-outline-duo .rsts-modal-hl-box,
.rsts-btn-style-outline-duo .rsts-modal-block-head,
.rsts-btn-style-outline-duo .rsts-modal-hero-frame-3d,
.rsts-btn-style-outline-duo .rsts-modal-hero-thumb,
.rsts-btn-style-outline-duo .rsts-modal-price-dock,
.rsts-btn-style-outline-duo .rsts-modal-snapshot,
.rsts-btn-style-outline-duo .rsts-audio-bar,
.rsts-btn-style-outline-duo .rsts-reel-frame-3d,
.rsts-btn-style-outline-duo .rsts-reel-subpill,
.rsts-btn-style-outline-duo .rsts-reel-expand-pill,
.rsts-btn-style-outline-duo .rsts-video-thumb {
  background-color: #ffffff !important;
  border: 1.5px solid rgba(15, 23, 42, 0.25) !important;
  box-shadow: 0 4px 0 rgba(15, 23, 42, 0.22), inset 0 1px 0 #ffffff;
}
.rsts-btn-style-outline-duo .rsts-btn-details:active,
.rsts-btn-style-outline-duo .rsts-quick-btn:active,
.rsts-btn-style-outline-duo .rsts-cta-btn:active,
.rsts-btn-style-outline-duo .rsts-reel-play-btn:active,
.rsts-btn-style-outline-duo .rsts-audio-play:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.28);
}

/* Autoplay Countdown Progress Bar */
.rsts-progress-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.rsts-progress-track {
  width: 240px;
  max-width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: rgba(226, 232, 240, 0.85);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.rsts-wrapper.rsts-mode-dark .rsts-progress-track {
  background: rgba(30, 41, 59, 0.9);
}

.rsts-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 9999px;
  background-color: var(--rsts-theme-hex, #0284c7);
  box-shadow: 0 0 8px color-mix(in srgb, var(--rsts-theme-hex, #0284c7) 35%, transparent);
  transition: width 75ms linear;
}

.rsts-wrapper.rsts-layout-luxury-gold .rsts-progress-fill {
  background-color: #d97706;
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.38);
}

/* Mobile swipe hint */
.rsts-mobile-hint {
  display: none;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .rsts-nav-arrows {
    display: none;
  }
  .rsts-img-nav {
    opacity: 0.9;
  }
  .rsts-mobile-hint {
    display: block;
  }
  .rsts-title {
    font-size: 20px;
  }
}

/* =========================================================
   Trip Detail Modal (Matches Reference Layout & Dark Mode)
   ========================================================= */
.rsts-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rsts-modal-backdrop * {
  box-sizing: border-box;
}

.rsts-modal-card {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  background: #ffffff;
  color: #1e293b;
  border-radius: 26px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  padding: 28px;
}

@media (max-width: 639px) {
  .rsts-modal-backdrop {
    padding: 0 !important;
    align-items: stretch !important;
    overflow-x: hidden !important;
  }
  .rsts-modal-card {
    width: 100% !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    overflow-x: hidden !important;
    padding: 14px !important;
  }
}

.rsts-modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 30;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.rsts-modal-close:hover {
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
}

/* Top Hero Photo Slider inside Trip Details Modal */
.rsts-modal-hero-slider {
  margin: 0 0 22px 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  position: relative !important;
  z-index: 2 !important;
}
.rsts-modal-hero-stage {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: var(--rsts-hero-h-mobile, 220px) !important;
  min-height: 140px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.18) !important;
  touch-action: pan-y;
  perspective: 1200px;
}
@media (min-width: 640px) and (max-width: 1023px) {
  .rsts-modal-hero-stage {
    height: clamp(var(--rsts-hero-h-min, 220px), 38vw, var(--rsts-hero-h-max, 340px)) !important;
  }
}
@media (min-width: 1024px) {
  .rsts-modal-hero-stage {
    height: var(--rsts-hero-h-desktop, 340px) !important;
  }
}
.rsts-modal-hero-stage[data-fit="fluid-clamp"] {
  height: clamp(var(--rsts-hero-h-min, 220px), 34vw, var(--rsts-hero-h-max, 340px)) !important;
}
.rsts-modal-hero-stage[data-fit="aspect-16-9"] {
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 165px !important;
  max-height: 68vh !important;
}
.rsts-modal-hero-stage[data-fit="aspect-4-3"] {
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  min-height: 180px !important;
  max-height: 68vh !important;
}
.rsts-modal-hero-stage[data-fit="smart-responsive"] {
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  min-height: 175px !important;
  max-height: 68vh !important;
}
@media (min-width: 640px) {
  .rsts-modal-hero-stage[data-fit="smart-responsive"] {
    aspect-ratio: 16 / 9 !important;
  }
}
.rsts-modal-hero-stage[data-fit="full-photo"] .rsts-modal-hero-slide {
  object-fit: contain !important;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.96) 0%, #020617 100%) !important;
}
.rsts-modal-hero-progress {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: rgba(15, 23, 42, 0.34) !important;
  backdrop-filter: blur(2px);
  z-index: 25 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
.rsts-modal-hero-progress-fill {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 0 !important;
  left: auto !important;
  height: 100% !important;
  width: 0%;
  border-radius: 9999px 0 0 9999px !important;
  transition: width 60ms linear;
}
.rsts-modal-hero-slide {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  backface-visibility: hidden;
  will-change: transform, opacity, clip-path;
}
.rsts-modal-hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}
.rsts-modal-hero-slide.is-leaving {
  opacity: 1;
  z-index: 1;
}

/* 1. Slide */
@keyframes rstsHeroSlideInNext {
  from { transform: translateX(-100%); opacity: 0.92; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes rstsHeroSlideOutNext {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0.5; }
}
@keyframes rstsHeroSlideInPrev {
  from { transform: translateX(100%); opacity: 0.92; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes rstsHeroSlideOutPrev {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0.5; }
}
.rsts-modal-hero-stage.has-tr[data-tr="slide"][data-dir="next"] .rsts-modal-hero-slide.is-active {
  animation: rstsHeroSlideInNext var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rsts-modal-hero-stage.has-tr[data-tr="slide"][data-dir="next"] .rsts-modal-hero-slide.is-leaving {
  animation: rstsHeroSlideOutNext var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.rsts-modal-hero-stage.has-tr[data-tr="slide"][data-dir="prev"] .rsts-modal-hero-slide.is-active {
  animation: rstsHeroSlideInPrev var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rsts-modal-hero-stage.has-tr[data-tr="slide"][data-dir="prev"] .rsts-modal-hero-slide.is-leaving {
  animation: rstsHeroSlideOutPrev var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 2. Fade */
@keyframes rstsHeroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rstsHeroFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
.rsts-modal-hero-stage.has-tr[data-tr="fade"] .rsts-modal-hero-slide.is-active {
  animation: rstsHeroFadeIn var(--rsts-hero-tr-dur, 550ms) ease both;
}
.rsts-modal-hero-stage.has-tr[data-tr="fade"] .rsts-modal-hero-slide.is-leaving {
  animation: rstsHeroFadeOut var(--rsts-hero-tr-dur, 550ms) ease forwards;
}

/* 3. Zoom */
@keyframes rstsHeroZoomIn {
  from { opacity: 0; transform: scale(1.16); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes rstsHeroZoomOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.92); }
}
.rsts-modal-hero-stage.has-tr[data-tr="zoom"] .rsts-modal-hero-slide.is-active {
  animation: rstsHeroZoomIn var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.16, 1, 0.3, 1) both;
}
.rsts-modal-hero-stage.has-tr[data-tr="zoom"] .rsts-modal-hero-slide.is-leaving {
  animation: rstsHeroZoomOut var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 4. 3D Flip */
@keyframes rstsHeroFlipInNext {
  from { opacity: 0; transform: rotateY(88deg) scale(0.94); }
  to { opacity: 1; transform: rotateY(0deg) scale(1); }
}
@keyframes rstsHeroFlipOutNext {
  from { opacity: 1; transform: rotateY(0deg) scale(1); }
  to { opacity: 0; transform: rotateY(-88deg) scale(0.94); }
}
@keyframes rstsHeroFlipInPrev {
  from { opacity: 0; transform: rotateY(-88deg) scale(0.94); }
  to { opacity: 1; transform: rotateY(0deg) scale(1); }
}
@keyframes rstsHeroFlipOutPrev {
  from { opacity: 1; transform: rotateY(0deg) scale(1); }
  to { opacity: 0; transform: rotateY(88deg) scale(0.94); }
}
.rsts-modal-hero-stage.has-tr[data-tr="flip"][data-dir="next"] .rsts-modal-hero-slide.is-active {
  animation: rstsHeroFlipInNext var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rsts-modal-hero-stage.has-tr[data-tr="flip"][data-dir="next"] .rsts-modal-hero-slide.is-leaving {
  animation: rstsHeroFlipOutNext var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.rsts-modal-hero-stage.has-tr[data-tr="flip"][data-dir="prev"] .rsts-modal-hero-slide.is-active {
  animation: rstsHeroFlipInPrev var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rsts-modal-hero-stage.has-tr[data-tr="flip"][data-dir="prev"] .rsts-modal-hero-slide.is-leaving {
  animation: rstsHeroFlipOutPrev var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 5. 3D Push / Cube */
@keyframes rstsHeroCubeInNext {
  from { opacity: 0.25; transform: translateX(-85%) scale(0.92); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes rstsHeroCubeOutNext {
  from { opacity: 1; transform: translateX(0) scale(1) rotateY(0deg); }
  to { opacity: 0; transform: translateX(42%) scale(0.84) rotateY(-18deg); }
}
@keyframes rstsHeroCubeInPrev {
  from { opacity: 0.25; transform: translateX(85%) scale(0.92); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes rstsHeroCubeOutPrev {
  from { opacity: 1; transform: translateX(0) scale(1) rotateY(0deg); }
  to { opacity: 0; transform: translateX(-42%) scale(0.84) rotateY(18deg); }
}
.rsts-modal-hero-stage.has-tr[data-tr="cube"][data-dir="next"] .rsts-modal-hero-slide.is-active {
  animation: rstsHeroCubeInNext var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rsts-modal-hero-stage.has-tr[data-tr="cube"][data-dir="next"] .rsts-modal-hero-slide.is-leaving {
  animation: rstsHeroCubeOutNext var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.rsts-modal-hero-stage.has-tr[data-tr="cube"][data-dir="prev"] .rsts-modal-hero-slide.is-active {
  animation: rstsHeroCubeInPrev var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rsts-modal-hero-stage.has-tr[data-tr="cube"][data-dir="prev"] .rsts-modal-hero-slide.is-leaving {
  animation: rstsHeroCubeOutPrev var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 6. Curtain Wipe Reveal (RTL right-to-left) */
@keyframes rstsHeroCurtainInNext {
  from { clip-path: inset(0 0 0 100%); opacity: 1; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes rstsHeroCurtainInPrev {
  from { clip-path: inset(0 100% 0 0); opacity: 1; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes rstsHeroCurtainOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0.78; transform: scale(0.98); }
}
.rsts-modal-hero-stage.has-tr[data-tr="curtain"][data-dir="next"] .rsts-modal-hero-slide.is-active {
  animation: rstsHeroCurtainInNext var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rsts-modal-hero-stage.has-tr[data-tr="curtain"][data-dir="prev"] .rsts-modal-hero-slide.is-active {
  animation: rstsHeroCurtainInPrev var(--rsts-hero-tr-dur, 550ms) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rsts-modal-hero-stage.has-tr[data-tr="curtain"] .rsts-modal-hero-slide.is-leaving {
  animation: rstsHeroCurtainOut var(--rsts-hero-tr-dur, 550ms) ease forwards;
}

.rsts-modal-hero-scrim {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.65) 0%, transparent 50%, rgba(2, 6, 23, 0.2) 100%) !important;
  pointer-events: none !important;
  z-index: 5 !important;
}
.rsts-modal-hero-bottom {
  position: absolute !important;
  bottom: 12px !important;
  left: 14px !important;
  right: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  pointer-events: none !important;
  z-index: 12 !important;
}
.rsts-modal-hero-pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 5px 12px !important;
  border-radius: 9999px !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(6px);
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}
.rsts-modal-hero-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 16 !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(6px);
  color: #ffffff !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28) !important;
  transition: transform 0.15s ease, background 0.15s ease !important;
}
.rsts-modal-hero-arrow:hover {
  background: rgba(15, 23, 42, 0.92) !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.06) !important;
}
.rsts-modal-hero-arrow svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  stroke: currentColor !important;
}
.rsts-modal-hero-prev { right: 12px !important; left: auto !important; }
.rsts-modal-hero-next { left: 12px !important; right: auto !important; }
.rsts-modal-hero-dots {
  position: absolute !important;
  bottom: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 15 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 10px !important;
  border-radius: 9999px !important;
  background: rgba(15, 23, 42, 0.58) !important;
  backdrop-filter: blur(6px);
}
.rsts-modal-hero-dot {
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  min-height: 7px !important;
  border-radius: 9999px !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.45) !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}
.rsts-modal-hero-dot.is-active {
  width: 20px !important;
  background: #ffffff !important;
}
.rsts-modal-hero-frame-3d {
  width: 100% !important;
  padding: 9px !important;
  border-radius: 26px !important;
  background: #ffffff !important;
  border-bottom-width: 4px !important;
  box-sizing: border-box !important;
}
.rsts-modal-hero-frame-3d .rsts-modal-hero-stage {
  border-radius: 18px !important;
  border: 1px solid rgba(15, 23, 42, 0.14) !important;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12) !important;
}
.rsts-modal-hero-thumbs {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  overflow-x: auto !important;
  padding: 6px 2px 6px 2px !important;
  margin: 0 !important;
  width: 100% !important;
}
.rsts-modal-hero-thumb {
  width: 92px !important;
  height: 62px !important;
  min-width: 92px !important;
  min-height: 62px !important;
  padding: 4px !important;
  margin: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: 2px solid #cbd5e1 !important;
  background: #ffffff !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  opacity: 0.8 !important;
  display: block !important;
  box-sizing: border-box !important;
  transition: all 0.18s ease !important;
}
.rsts-modal-hero-thumb:hover { opacity: 1 !important; }
.rsts-modal-hero-thumb.is-active { opacity: 1 !important; transform: scale(1.04) !important; }
.rsts-modal-hero-thumb-inner {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 11px !important;
  overflow: hidden !important;
  background: #0f172a !important;
}
.rsts-modal-hero-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.rsts-modal-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.rsts-modal-grid > * {
  min-width: 0;
  max-width: 100%;
}

.rsts-modal-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}

.rsts-modal-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-left: 42px;
}

.rsts-modal-badge-main {
  padding: 5px 14px;
  border-radius: 9999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.rsts-modal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 700;
}

.rsts-modal-title {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;
}

.rsts-modal-desc {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.75;
}

.rsts-modal-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rsts-modal-hl-box {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.94);
  border-radius: 14px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rsts-modal-hl-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rsts-modal-hl-label {
  font-size: 11.5px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.rsts-modal-section {
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.rsts-modal-section-title {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}

.rsts-modal-inclusions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rsts-modal-inclusions li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

.rsts-modal-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  margin-top: 7px;
  flex-shrink: 0;
}

.rsts-modal-itinerary {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rsts-modal-it-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

.rsts-modal-it-time {
  font-family: monospace;
  font-weight: 900;
  flex-shrink: 0;
}

.rsts-modal-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.rsts-modal-thumb {
  width: 82px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  flex-shrink: 0;
}

/* Modal Left Sidebar */
.rsts-modal-sidebar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

/* Redesigned Unified 3D Price & Quick Actions Rectangle Dock */
.rsts-modal-price-dock-wrap {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.75);
}

.rsts-modal-price-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 11px 13px;
}

.rsts-modal-price-info {
  flex: 1;
  min-width: 0;
}

.rsts-price-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.rsts-price-title-lbl {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
}

.rsts-discount-pill {
  font-size: 10px;
  font-weight: 900;
  color: #047857;
  background: #d1fae5;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.rsts-modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.rsts-modal-price-val {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.rsts-modal-old-price {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
  white-space: nowrap;
}

.rsts-quick-dock {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.rsts-quick-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

.rsts-circle-phone {
  background-color: #0284c7;
}
.rsts-circle-wa {
  background-color: #059669;
}
.rsts-circle-share {
  background-color: #f1f5f9;
  color: #334155 !important;
}
.rsts-quick-btn.rsts-has-custom-icon,
.rsts-cta-icon-badge.rsts-has-custom-icon {
  background-color: #ffffff !important;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.rsts-custom-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.rsts-reel-head {
  text-align: center;
}

.rsts-reel-head h4 {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
}

.rsts-reel-subpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
}

.rsts-reel-frame-3d {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px;
  border-radius: 26px;
  background: #ffffff;
  border-bottom-width: 4px !important;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

.rsts-btn-style-tactile-3d .rsts-reel-frame-3d {
  box-shadow: inset 0 1px 0 #ffffff, 0 18px 34px -8px rgba(15, 23, 42, 0.26), 0 8px 16px -6px rgba(15, 23, 42, 0.16) !important;
}

.rsts-btn-style-soft-bevel .rsts-reel-frame-3d {
  box-shadow: inset 0 2px 3px #ffffff, inset 0 -4px 7px rgba(15, 23, 42, 0.1), 0 18px 34px -8px rgba(15, 23, 42, 0.24), 0 8px 14px -6px rgba(15, 23, 42, 0.12) !important;
}

.rsts-btn-style-glass-shine .rsts-reel-frame-3d {
  box-shadow: inset 0 1px 1px #ffffff, 0 18px 36px -8px rgba(15, 23, 42, 0.26), 0 8px 16px -6px rgba(15, 23, 42, 0.14) !important;
}

.rsts-btn-style-neon-elevated .rsts-reel-frame-3d {
  box-shadow: inset 0 1px 0 #ffffff, 0 18px 36px -6px color-mix(in srgb, var(--rsts-theme-hex, #0284c7) 36%, rgba(15, 23, 42, 0.2)), 0 8px 16px -6px rgba(15, 23, 42, 0.14) !important;
}

.rsts-btn-style-outline-duo .rsts-reel-frame-3d {
  box-shadow: 0 5px 0 rgba(15, 23, 42, 0.24), 0 18px 30px -8px rgba(15, 23, 42, 0.22), inset 0 1px 0 #ffffff !important;
}

.rsts-reel-box {
  position: relative;
  width: 100%;
  height: 295px;
  border-radius: 18px;
  overflow: hidden;
  background: #090d16;
  transition: all 0.35s ease;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.25), 0 10px 24px -6px rgba(15, 23, 42, 0.32);
  margin: 0 auto;
}

.rsts-reel-box.rsts-aspect-vertical {
  max-width: 244px;
  width: 100%;
  height: 300px;
}

.rsts-reel-box.rsts-aspect-vertical.is-expanded {
  max-width: 280px;
  width: 100%;
  height: 440px;
}

.rsts-reel-box.rsts-aspect-landscape {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.rsts-reel-box.is-expanded {
  height: 440px;
}

.rsts-reel-box.rsts-aspect-landscape.is-expanded {
  height: auto;
  aspect-ratio: 16 / 9;
}

.rsts-reel-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

video.rsts-reel-media {
  object-fit: contain;
  background: #000000;
}

/* 3D Video Thumbnails Strip nestled inside unified 3D video rectangle */
.rsts-video-thumbs-tray {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.rsts-video-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding: 8px;
  border-radius: 16px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.rsts-video-thumb {
  position: relative;
  width: 104px;
  height: 66px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  padding: 4px;
  background: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rsts-video-thumb:hover {
  transform: translateY(-2px);
}

.rsts-video-thumb.is-active {
  transform: scale(1.04);
  box-shadow: 0 8px 18px -4px rgba(2, 132, 199, 0.3);
}

.rsts-video-thumb-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 11px;
  overflow: hidden;
  background: #0f172a;
}

.rsts-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.86;
}

.rsts-video-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.28);
  color: #ffffff;
}

.rsts-video-thumb-play-dot {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.rsts-video-thumb.is-active .rsts-video-thumb-play-dot {
  background: var(--rsts-theme-hex, #0284c7);
}

.rsts-video-thumb-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2px 5px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.rsts-reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.82));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  color: #ffffff;
}

.rsts-reel-top-badge {
  text-align: center;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  max-width: 90%;
}

.rsts-reel-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 9999px;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.22), 0 10px 24px rgba(0, 0, 0, 0.45);
}

.rsts-reel-expand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #ffffff;
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.rsts-reel-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-family: monospace;
  color: rgba(255, 255, 255, 0.9);
}

.rsts-reel-footer-btn {
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 13px;
  backdrop-filter: blur(6px);
}

.rsts-reel-footer-timer {
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 3px 10px;
  backdrop-filter: blur(6px);
}

.rsts-audio-section {
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.rsts-audio-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.rsts-audio-head h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
}

.rsts-audio-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  direction: ltr;
}

.rsts-audio-play {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: none;
  background-color: var(--rsts-theme-hex, #0284c7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.rsts-audio-time {
  font-family: monospace;
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  flex-shrink: 0;
}

.rsts-audio-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 7px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #cbd5e1 0%, #e2e8f0 100%);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.22);
  cursor: pointer;
}

.rsts-audio-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: var(--rsts-theme-hex, #0284c7);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3);
  cursor: pointer;
}

.rsts-audio-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: var(--rsts-theme-hex, #0284c7);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3);
  cursor: pointer;
}

/* Redesigned Bottom CTA Actions Dock */
.rsts-modal-cta-dock {
  padding-top: 16px;
  border-top: 1px solid rgba(203, 213, 225, 0.75);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rsts-modal-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rsts-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  border: none;
}

.rsts-modal-cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rsts-direct-book-wrap {
  position: relative;
  flex: 1 1 144px;
  border-radius: 16px;
}

@keyframes rstsDirectBookWaveOut {
  0% {
    transform: translate(0, 0) scale(0.98);
    opacity: 0.65;
  }
  35% {
    transform: translate(1px, -1px) scale(1.025);
    opacity: 0.42;
  }
  65% {
    transform: translate(-1px, 1px) scale(1.05);
    opacity: 0.18;
  }
  100% {
    transform: translate(0, 0) scale(1.07);
    opacity: 0;
  }
}

@keyframes rstsDirectBookFloatOut {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5) rotate(0deg);
  }
  20% {
    opacity: 0.78;
    transform: translate(calc(var(--dx) * 0.25), calc(var(--dy) * 0.25)) scale(0.95) rotate(8deg);
  }
  45% {
    opacity: 0.62;
    transform: translate(calc(var(--dx) * 0.55 + 1.5px), calc(var(--dy) * 0.55 - 1.5px)) scale(1) rotate(-7deg);
  }
  72% {
    opacity: 0.34;
    transform: translate(calc(var(--dx) * 0.82 - 1.5px), calc(var(--dy) * 0.82 + 1px)) scale(0.85) rotate(6deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.45) rotate(0deg);
  }
}

.rsts-direct-book-wrap::before,
.rsts-direct-book-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  border: 1.5px solid color-mix(in srgb, var(--rsts-modal-theme, #0284c7) 42%, transparent);
  animation: rstsDirectBookWaveOut 2.4s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}

.rsts-direct-book-wrap::after {
  animation-delay: 1.2s;
}

.rsts-direct-book-particle {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border: 1.5px solid color-mix(in srgb, var(--rsts-modal-theme, #0284c7) 52%, transparent);
  background-color: color-mix(in srgb, var(--rsts-modal-theme, #0284c7) 18%, transparent);
  animation: rstsDirectBookFloatOut var(--dur, 2.5s) ease-out infinite;
  animation-delay: var(--delay, 0s);
}

.rsts-direct-book-particle.is-circle {
  border-radius: 9999px;
  width: 7px;
  height: 7px;
}

.rsts-direct-book-particle.is-square {
  border-radius: 3px;
  width: 7px;
  height: 7px;
}

.rsts-modal-backdrop .rsts-direct-book-wrap .rsts-cta-direct-white {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 10px 10px !important;
  font-size: 12px !important;
  gap: 6px !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid color-mix(in srgb, var(--rsts-modal-theme, #0284c7) 40%, #ffffff);
  outline: 1.5px solid color-mix(in srgb, var(--rsts-modal-theme, #0284c7) 26%, transparent);
  outline-offset: 1px;
}

.rsts-modal-backdrop .rsts-direct-book-wrap .rsts-cta-direct-white:hover {
  color: #0f172a !important;
  filter: none !important;
}

.rsts-cta-details-pair {
  flex: 1 1 154px;
  padding: 10px 10px !important;
  font-size: 12px !important;
  gap: 6px !important;
}

.rsts-cta-icon-badge {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rsts-cta-call {
  background-color: #0284c7;
}
.rsts-cta-wa {
  background-color: #059669;
}

@media (prefers-reduced-motion: reduce) {
  .rsts-direct-book-wrap::before,
  .rsts-direct-book-wrap::after,
  .rsts-direct-book-particle {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* Modal Dark Mode */
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-card {
  background: #0f172a;
  color: #f1f5f9;
  border-color: #1e293b;
}
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-close {
  background: #1e293b;
  color: #cbd5e1;
  border-color: #334155;
}
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-title,
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-section-title,
.rsts-modal-backdrop.rsts-mode-dark .rsts-reel-head h4,
.rsts-modal-backdrop.rsts-mode-dark .rsts-audio-head h4 {
  color: #f8fafc;
}
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-hl-label,
.rsts-modal-backdrop.rsts-mode-dark .rsts-audio-time,
.rsts-modal-backdrop.rsts-mode-dark .rsts-reel-subpill,
.rsts-modal-backdrop.rsts-mode-dark .rsts-reel-expand-pill {
  color: #0f172a;
}
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-desc,
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-inclusions li,
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-it-row {
  color: #94a3b8;
}
.rsts-modal-backdrop.rsts-mode-dark .rsts-price-title-lbl {
  color: #475569;
}
.rsts-modal-backdrop.rsts-mode-dark .rsts-discount-pill {
  background: #d1fae5;
  color: #047857;
}
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-pill,
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-sidebar,
.rsts-modal-backdrop.rsts-mode-dark .rsts-circle-share {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0 !important;
}
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-section,
.rsts-modal-backdrop.rsts-mode-dark .rsts-audio-section,
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-price-dock-wrap,
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-cta-dock {
  border-color: #1e293b;
}
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-hero-stage {
  border-color: #334155;
}

@media (max-width: 820px) {
  .rsts-modal-hero-dots {
    display: none !important;
  }
  .rsts-modal-grid {
    grid-template-columns: 1fr;
  }
  .rsts-modal-title {
    font-size: 21px;
  }
}

@media (min-width: 640px) and (max-width: 820px) {
  .rsts-modal-card {
    padding: 18px;
  }
}

/* Header Visual Theme Accent Bar */
.rsts-title-accent {
  display: none;
  width: 6px;
  height: 28px;
  border-radius: 9999px;
  background-color: var(--rsts-theme-hex, #0284c7);
  flex-shrink: 0;
}

/* ======================================================
   Selectable Card 3D / Embossing Styles (5 Choices)
   ====================================================== */
.rsts-wrapper.rsts-card-style-elevated-3d .rsts-card {
  border-bottom: 5px solid rgba(15, 23, 42, 0.14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 18px 34px -10px rgba(15, 23, 42, 0.2), 0 6px 14px -6px rgba(15, 23, 42, 0.1) !important;
}
.rsts-wrapper.rsts-card-style-elevated-3d .rsts-card:hover {
  transform: translateY(-10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 26px 44px -10px rgba(15, 23, 42, 0.26) !important;
}
.rsts-wrapper.rsts-mode-dark.rsts-card-style-elevated-3d .rsts-card {
  border-bottom-color: rgba(2, 6, 23, 0.85) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 38px -10px rgba(0, 0, 0, 0.72) !important;
}

.rsts-wrapper.rsts-card-style-soft-pillow .rsts-card {
  background-image: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.92) 100%) !important;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.95), inset 0 -5px 10px rgba(15, 23, 42, 0.07), 0 14px 28px -8px rgba(15, 23, 42, 0.14), 0 -3px 10px rgba(255, 255, 255, 0.75) !important;
}
.rsts-wrapper.rsts-card-style-soft-pillow .rsts-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 1), inset 0 -5px 12px rgba(15, 23, 42, 0.09), 0 22px 36px -8px rgba(15, 23, 42, 0.2) !important;
}
.rsts-wrapper.rsts-mode-dark.rsts-card-style-soft-pillow .rsts-card {
  background-image: linear-gradient(165deg, rgba(30, 41, 59, 0.96) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1), inset 0 -6px 12px rgba(0, 0, 0, 0.5), 0 16px 32px -8px rgba(0, 0, 0, 0.65) !important;
}

.rsts-wrapper.rsts-card-style-floating-glass .rsts-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.78)) !important;
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.95), 0 16px 36px -10px rgba(14, 116, 144, 0.22), 0 6px 16px -6px rgba(15, 23, 42, 0.1) !important;
}
.rsts-wrapper.rsts-card-style-floating-glass .rsts-card:hover {
  transform: translateY(-10px);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 1), 0 24px 44px -10px rgba(14, 116, 144, 0.3) !important;
}
.rsts-wrapper.rsts-mode-dark.rsts-card-style-floating-glass .rsts-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.76)) !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 20px 42px -10px rgba(0, 0, 0, 0.75) !important;
}

.rsts-wrapper.rsts-card-style-framed-stack .rsts-card {
  border: 2px solid rgba(15, 23, 42, 0.2) !important;
  box-shadow: 6px 6px 0 rgba(15, 23, 42, 0.14), 0 12px 24px -10px rgba(15, 23, 42, 0.12) !important;
}
.rsts-wrapper.rsts-card-style-framed-stack .rsts-card:hover {
  transform: translate(-3px, -7px);
  box-shadow: 9px 11px 0 rgba(15, 23, 42, 0.18), 0 18px 30px -10px rgba(15, 23, 42, 0.16) !important;
}
.rsts-wrapper.rsts-mode-dark.rsts-card-style-framed-stack .rsts-card {
  border-color: rgba(148, 163, 184, 0.38) !important;
  box-shadow: 6px 6px 0 rgba(56, 189, 248, 0.22), 0 16px 32px -10px rgba(0, 0, 0, 0.65) !important;
}

.rsts-wrapper.rsts-card-style-minimal-flat .rsts-card {
  box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.06) !important;
}
.rsts-wrapper.rsts-card-style-minimal-flat .rsts-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px -6px rgba(15, 23, 42, 0.12) !important;
}
.rsts-wrapper.rsts-mode-dark.rsts-card-style-minimal-flat .rsts-card {
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.45) !important;
}

/* ======================================================
   Selectable Slider Visual / Structural Themes (5 Choices)
   ====================================================== */
.rsts-wrapper.rsts-layout-tinted-banner .rsts-frameless {
  background: color-mix(in srgb, var(--rsts-theme-hex, #0284c7) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--rsts-theme-hex, #0284c7) 22%, transparent);
  border-radius: 32px;
  padding: 22px;
  box-shadow: 0 4px 20px -6px rgba(15, 23, 42, 0.06);
}
.rsts-wrapper.rsts-layout-tinted-banner .rsts-title-accent,
.rsts-wrapper.rsts-layout-editorial-sheet .rsts-title-accent,
.rsts-wrapper.rsts-layout-luxury-gold .rsts-title-accent {
  display: inline-block;
}

.rsts-wrapper.rsts-layout-editorial-sheet .rsts-card {
  border-radius: 28px;
}
.rsts-wrapper.rsts-layout-editorial-sheet .rsts-card-body {
  margin-top: -20px;
  border-radius: 24px 24px 0 0;
  background: #ffffff;
  border-top: 4px solid var(--rsts-theme-hex, #0284c7);
  position: relative;
  z-index: 5;
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
}
.rsts-wrapper.rsts-mode-dark.rsts-layout-editorial-sheet .rsts-card-body {
  background: #0f172a;
}

.rsts-wrapper.rsts-layout-luxury-gold .rsts-frameless {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.09) 0%, rgba(245, 158, 11, 0.02) 100%);
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-radius: 18px;
  padding: 22px;
}
.rsts-wrapper.rsts-layout-luxury-gold .rsts-header {
  border-bottom-color: rgba(245, 158, 11, 0.35);
}
.rsts-wrapper.rsts-layout-luxury-gold .rsts-title-accent {
  background-color: #d97706;
}
.rsts-wrapper.rsts-layout-luxury-gold .rsts-card {
  border-radius: 16px;
  border-color: rgba(245, 158, 11, 0.45);
}

.rsts-wrapper.rsts-layout-playful-bubble .rsts-frameless {
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--rsts-theme-hex, #0284c7) 9%, transparent), transparent 65%);
  border-radius: 36px;
  padding: 18px;
}
.rsts-wrapper.rsts-layout-playful-bubble .rsts-card {
  border-radius: 34px;
}
.rsts-wrapper.rsts-layout-playful-bubble .rsts-card-img-wrap {
  padding: 10px 10px 0 10px;
  background: transparent;
}
.rsts-wrapper.rsts-layout-playful-bubble .rsts-card-slides {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.rsts-wrapper.rsts-layout-playful-bubble .rsts-badge {
  top: 18px;
  right: 18px;
}
.rsts-wrapper.rsts-layout-playful-bubble .rsts-rating {
  top: 18px;
  left: 18px;
}
.rsts-wrapper.rsts-layout-playful-bubble .rsts-cat {
  bottom: 10px;
  right: 18px;
}

/* ======================================================
   Unified Ordered Detail Blocks, Inline Albums & Snapshot (v1.2.6)
   ====================================================== */
.rsts-modal-blocks {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rsts-modal-block-item {
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.rsts-modal-block-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.94);
  box-sizing: border-box;
}

.rsts-modal-block-icon {
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.rsts-modal-block-fallback-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.rsts-modal-block-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.35;
}

.rsts-blk-list {
  list-style: none;
  margin: 0;
  padding: 0 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rsts-blk-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.7;
}

.rsts-blk-bullet {
  font-weight: 900;
  flex-shrink: 0;
}

.rsts-reel-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* Inline Album Layouts, Configurable Photo Size & Responsive Screen Fit Modes */
.rsts-album-wrap {
  --rsts-album-active-h: var(--rsts-album-h-mobile, 150px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .rsts-album-wrap {
    --rsts-album-active-h: var(--rsts-album-h-desktop, 220px);
  }
}

.rsts-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--rsts-album-size, 140px), 1fr));
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rsts-album-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 6px 0;
  scroll-snap-type: x mandatory;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rsts-album-strip > .rsts-album-item {
  flex: 0 0 var(--rsts-album-size, 140px);
  height: var(--rsts-album-active-h, 150px);
  scroll-snap-align: start;
}

.rsts-album-masonry {
  columns: 2;
  column-gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .rsts-album-masonry {
    columns: 3;
  }
}

.rsts-album-masonry > .rsts-album-item {
  break-inside: avoid;
  margin-bottom: 10px;
  width: 100%;
}

.rsts-album-showcase {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rsts-album-showcase-main {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  padding: 0;
  background: #0f172a;
  cursor: pointer;
  display: block;
}

.rsts-album-showcase-main .rsts-album-photo-img {
  width: 100%;
  height: clamp(190px, calc(var(--rsts-album-active-h, 220px) * 1.28), 460px);
  object-fit: cover;
  display: block;
}

.rsts-album-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  padding: 0;
  background: #0f172a;
  cursor: pointer;
  display: block;
  width: 100%;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rsts-album-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.14);
}

.rsts-album-photo-img {
  width: 100%;
  height: var(--rsts-album-active-h, 150px);
  object-fit: cover;
  display: block;
}

.rsts-album-strip > .rsts-album-item .rsts-album-photo-img {
  height: 100%;
}

.rsts-album-wrap[data-album-fit="aspect-16-9"] .rsts-album-photo-box {
  height: auto !important;
  aspect-ratio: 16 / 9;
}

.rsts-album-wrap[data-album-fit="aspect-4-3"] .rsts-album-photo-box {
  height: auto !important;
  aspect-ratio: 4 / 3;
}

.rsts-album-wrap[data-album-fit="aspect-square"] .rsts-album-photo-box {
  height: auto !important;
  aspect-ratio: 1 / 1;
}

.rsts-album-wrap[data-album-fit="natural-auto"] .rsts-album-photo-box {
  height: auto !important;
  aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
  .rsts-album-wrap[data-album-fit="natural-auto"] .rsts-album-photo-box {
    aspect-ratio: 16 / 9;
  }
}

.rsts-album-wrap[data-album-fit="aspect-16-9"] .rsts-album-photo-img,
.rsts-album-wrap[data-album-fit="aspect-4-3"] .rsts-album-photo-img,
.rsts-album-wrap[data-album-fit="aspect-square"] .rsts-album-photo-img,
.rsts-album-wrap[data-album-fit="natural-auto"] .rsts-album-photo-img {
  height: 100% !important;
  aspect-ratio: inherit;
}

.rsts-album-wrap[data-album-fit="full-photo"] .rsts-album-photo-box {
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.96) 0%, #020617 100%);
}

.rsts-album-wrap[data-album-fit="full-photo"] .rsts-album-photo-img {
  object-fit: contain !important;
  background: transparent;
}

/* Shortcode Block Box, Live Vault & Rendered Output */
.rsts-sc-vault {
  position: fixed !important;
  top: -12000px !important;
  left: 0 !important;
  width: 680px !important;
  height: 1px !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.rsts-shortcode-box {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(236, 254, 255, 0.75);
  border: 1px dashed #67e8f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.rsts-shortcode-box code {
  font-family: monospace;
  font-size: 12px;
  font-weight: 800;
  color: #155e75;
}

.rsts-shortcode-badge {
  font-size: 10.5px;
  font-weight: 800;
  color: #0e7490;
  background: #ffffff;
  border: 1px solid #a5f3fc;
  padding: 3px 9px;
  border-radius: 9999px;
}

.rsts-shortcode-rendered {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  box-sizing: border-box;
}

/* Sidebar Trip Snapshot Card */
.rsts-modal-snapshot {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 12px;
}

.rsts-snap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
}

.rsts-snap-row + .rsts-snap-row {
  border-top: 1px solid #f1f5f9;
}

.rsts-snap-row:first-child {
  padding-top: 0;
}

.rsts-snap-row:last-child {
  padding-bottom: 0;
}

.rsts-snap-lbl {
  font-weight: 800;
  color: #475569;
}

.rsts-snap-val {
  font-weight: 900;
  color: #0f172a;
}

.rsts-snap-rating {
  color: #d97706;
}

/* Dark Mode for New Unified Blocks & Snapshot */
.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-block-item {
  border-color: #1e293b;
}

.rsts-modal-backdrop.rsts-mode-dark .rsts-modal-block-icon {
  border-color: #e2e8f0;
  background: #ffffff;
}

.rsts-modal-backdrop.rsts-mode-dark .rsts-blk-list li {
  color: #cbd5e1;
}

.rsts-modal-backdrop.rsts-mode-dark .rsts-album-item,
.rsts-modal-backdrop.rsts-mode-dark .rsts-album-showcase-main {
  background: #1e293b;
  border-color: #334155;
}

.rsts-modal-backdrop.rsts-mode-dark .rsts-snap-lbl {
  color: #475569;
}

.rsts-modal-backdrop.rsts-mode-dark .rsts-snap-val {
  color: #0f172a;
}

.rsts-modal-backdrop.rsts-mode-dark .rsts-snap-rating {
  color: #d97706;
}

.rsts-modal-backdrop.rsts-mode-dark .rsts-shortcode-box {
  background: rgba(8, 51, 68, 0.45);
  border-color: #155e75;
}

.rsts-modal-backdrop.rsts-mode-dark .rsts-shortcode-box code {
  color: #a5f3fc;
}

.rsts-modal-backdrop.rsts-mode-dark .rsts-shortcode-badge {
  background: #0f172a;
  border-color: #164e63;
  color: #67e8f9;
}

/* ======================================================
   Inline 3D Carousel Album (v1.3.1) + Lightbox Viewer
   ====================================================== */
.rsts-album3d-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 6px 0 4px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  user-select: none;
}

.rsts-album3d-progress-track {
  width: 68%;
  max-width: 340px;
  height: 5px;
  border-radius: 9999px;
  background: rgba(148, 163, 184, 0.28);
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
}

.rsts-album3d-progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 60ms linear;
}

.rsts-album3d-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.72) 0%, rgba(226, 232, 240, 0.42) 100%);
  border: 1px solid rgba(203, 213, 225, 0.75);
  overflow: hidden;
  touch-action: pan-y;
  box-sizing: border-box;
}

.rsts-modal-backdrop.rsts-mode-dark .rsts-album3d-stage {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.65) 0%, rgba(15, 23, 42, 0.7) 100%);
  border-color: rgba(51, 65, 85, 0.8);
}

.rsts-album3d-card {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #ffffff;
  background: #0f172a;
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.36), 0 6px 14px -4px rgba(15, 23, 42, 0.16);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), opacity 380ms ease, filter 380ms ease;
  cursor: pointer;
}

.rsts-album3d-card.is-front {
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.44), 0 8px 20px -6px rgba(15, 23, 42, 0.22);
}

@media (max-width: 639px) {
  .rsts-album3d-stage {
    border-radius: 18px;
  }
  .rsts-album3d-card {
    border-radius: 16px;
    border-width: 2.5px;
  }
}

.rsts-album3d-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rsts-album3d-shell[data-album-fit="full-photo"] .rsts-album3d-card {
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.96) 0%, #020617 100%);
}

.rsts-album3d-shell[data-album-fit="full-photo"] .rsts-album3d-card img {
  object-fit: contain !important;
}

.rsts-album3d-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  background: rgba(30, 41, 59, 0.48);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
  transition: transform 150ms ease, background-color 150ms ease;
}

.rsts-album3d-arrow:hover {
  background: rgba(15, 23, 42, 0.72);
  transform: translateY(-50%) scale(1.06);
}

.rsts-album3d-arrow.is-left {
  left: 12px;
}

.rsts-album3d-arrow.is-right {
  right: 12px;
}

.rsts-album3d-zoom-pill {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.74);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  transition: background-color 150ms ease, transform 150ms ease;
}

.rsts-album3d-zoom-pill:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: scale(1.04);
}

@media (max-width: 639px) {
  .rsts-album3d-arrow {
    width: 32px;
    height: 32px;
  }
  .rsts-album3d-arrow.is-left {
    left: 6px;
  }
  .rsts-album3d-arrow.is-right {
    right: 6px;
  }
  .rsts-album3d-zoom-pill {
    bottom: 9px;
    left: 10px;
    padding: 5px 11px;
    font-size: 11px;
  }
}

.rsts-album3d-thumbs {
  display: flex;
  align-items: center;
  justify-content: safe center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  padding: 4px 6px;
}

.rsts-album3d-thumb {
  width: 58px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  padding: 2px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

@media (max-width: 639px) {
  .rsts-album3d-thumbs {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: hidden;
    gap: 6px;
    padding: 4px 2px;
  }
  .rsts-album3d-thumb {
    width: 48px;
    height: 38px;
    border-radius: 10px;
  }
}

.rsts-album3d-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.rsts-album3d-thumb.is-active {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.16);
}

.rsts-album3d-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

.rsts-album3d-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.rsts-album3d-pill-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.13);
}

.rsts-modal-backdrop.rsts-mode-dark .rsts-album3d-thumb,
.rsts-modal-backdrop.rsts-mode-dark .rsts-album3d-pill-btn {
  background: #1e293b;
  color: #f8fafc;
  border-color: #334155;
}

.rsts-album3d-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.rsts-album3d-lightbox-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rsts-album3d-lightbox-stage {
  position: relative;
  max-width: 960px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rsts-album3d-lightbox-stage img {
  max-height: 80vh;
  max-width: 100%;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  object-fit: contain;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.rsts-album3d-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rsts-album3d-lightbox-counter {
  margin-top: 12px;
  padding: 5px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  font-family: monospace;
}

