/* Rihlaty Trips — Frontend Stylesheet (Parity with Studio Preview) */
.rihlaty-wrapper {
  --rihlaty-primary: #DB2777;
  --rihlaty-badge: #BE185D;
  --rihlaty-card-bg: #FFFFFF;
  --rihlaty-page-bg: #FDF2F8;
  --rihlaty-text: #1F2937;
  --rihlaty-muted: #6B7280;
  --rihlaty-radius: 20px;
  --rihlaty-shadow: 0 12px 31px rgba(15, 23, 42, 0.11);
  --rihlaty-border: rgba(15, 23, 42, 0.08);
  --rihlaty-divider: #F1F5F9;
  --rihlaty-box-border: rgba(15, 23, 42, 0.10);
  --rihlaty-box-bg: rgba(248, 250, 252, 0.75);
  --rihlaty-panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.563) 0%, rgba(255, 255, 255, 0.835) 48%, rgba(255, 255, 255, 0.95) 100%);
  --rihlaty-panel-width: 94%;
  --rihlaty-panel-pad-y: 11px;
  --rihlaty-float-pad-y: 12px;
  --rihlaty-wide-pad-y: 11px;
  --rihlaty-float-min-h: 498px;
  --rihlaty-float-pt: 199px;
  --rihlaty-float-wide-pt: 266px;
  --rihlaty-wide-pt: 321px;
  --rihlaty-slider-h-m: 400px;
  --rihlaty-slider-h-d: 610px;
  --rihlaty-slider-w-d: 100%;
  --rihlaty-blur-px: 12px;
  --rihlaty-split-h-m: 400px;
  --rihlaty-split-h-d: 610px;
  --rihlaty-float-h-m: 400px;
  --rihlaty-float-h-d: 610px;
  --rihlaty-panel-text: #1F2937;
  --rihlaty-panel-muted: #6B7280;
  --rihlaty-panel-border: rgba(255, 255, 255, 0.65);
  --rihlaty-panel-gap: 11px;
  --rihlaty-panel-gap-sm: 8px;
  --rihlaty-box-h: 39px;
  --rihlaty-cta-ink: #ffffff;
  --rihlaty-badge-ink: #ffffff;
  --rihlaty-heading-font: 'Cairo', 'Cairo', 'Tajawal', sans-serif;
  --rihlaty-wa-bg: #16A34A;
  --rihlaty-call-bg: #0284C7;
  --rihlaty-bar-radius: 16px;
  --rihlaty-btn-radius: 12px;
  --rihlaty-icon-radius: 999px;
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  color: var(--rihlaty-text);
  box-sizing: border-box;
}

.rihlaty-wrapper *,
.rihlaty-modal-backdrop * {
  box-sizing: border-box;
}

.rihlaty-tabular {
  font-variant-numeric: tabular-nums;
}

/* Category Filter Bar */
.rihlaty-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.rihlaty-filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--rihlaty-border);
  background: var(--rihlaty-card-bg);
}

.rihlaty-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--rihlaty-muted);
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.rihlaty-cat-tab-icon {
  display: inline-block;
  flex-shrink: 0;
  object-fit: contain;
}

.rihlaty-filter-btn:hover {
  background: rgba(148, 163, 184, 0.14);
}

.rihlaty-filter-btn.is-active {
  background: var(--rihlaty-primary);
  color: #ffffff;
}

.rihlaty-filter-count {
  font-size: 12px;
  font-weight: 500;
  color: var(--rihlaty-muted);
}

/* Grid */
.rihlaty-wrapper {
  width: 100%;
  max-width: 100%;
}

.rihlaty-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
}

@media (min-width: 640px) {
  .rihlaty-grid {
    gap: 28px;
  }
}

@media (min-width: 768px) {
  .rihlaty-grid:not(.is-single):not(.layout-wide) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .rihlaty-grid:not(.is-single):not(.layout-wide) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.rihlaty-grid.is-single,
.rihlaty-grid.layout-wide {
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100%;
}

/* Card */
.rihlaty-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  container-type: inline-size;
  overflow: hidden;
  background: var(--rihlaty-card-bg);
  color: var(--rihlaty-text);
  border-radius: var(--rihlaty-radius);
  box-shadow: var(--rihlaty-shadow);
  border: 1px solid var(--rihlaty-border);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.rihlaty-card.is-elevated:hover {
  transform: translateY(-6px);
}

.rihlaty-card.is-hidden {
  display: none;
}

/* Mini Slider */
.rihlaty-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  background: #0f172a;
}

.rihlaty-slider.has-aspect {
  aspect-ratio: 4 / 3;
}

.rihlaty-slider.no-aspect {
  height: 192px;
}

@media (min-width: 640px) {
  .rihlaty-slider.no-aspect {
    height: 224px;
  }
}

@media (min-width: 1024px) {
  .rihlaty-slider.no-aspect {
    height: 240px;
  }
}

.rihlaty-track {
  display: flex;
  width: 100%;
  height: 100%;
  direction: ltr;
  transition: transform var(--rihlaty-speed, 420ms) cubic-bezier(0.16, 1, 0.3, 1);
}

.rihlaty-track-slide {
  position: relative;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
  isolation: isolate;
  background: #0f172a;
}

.rihlaty-fade-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  perspective: 1200px;
  background: #0f172a;
  --rihlaty-fx-dur: calc(var(--rihlaty-speed, 420ms) * 1.3);
  --rihlaty-fx-slice-dur: calc(var(--rihlaty-speed, 420ms) * 1.05);
  --rihlaty-fx-stagger: calc(var(--rihlaty-speed, 420ms) * 0.11);
}

.rihlaty-fade-stage.is-fx-flip-3d {
  perspective: 1350px;
}

.rihlaty-fade-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #0f172a;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--rihlaty-speed, 420ms) ease, transform var(--rihlaty-speed, 420ms) cubic-bezier(0.16, 1, 0.3, 1);
}

.rihlaty-fade-slide.is-zoom {
  transform: scale(1.08);
}

.rihlaty-fade-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.rihlaty-fade-stage.is-fx-custom .rihlaty-fade-slide {
  transition: none;
}

.rihlaty-fade-slide.is-under {
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  transition: none !important;
}

.rihlaty-fade-slide.is-entering {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
  transition: none !important;
  will-change: transform, opacity, clip-path, filter;
}

.rihlaty-fade-slide.is-leaving {
  opacity: 1;
  pointer-events: none;
  z-index: 2;
  transition: none !important;
  will-change: transform, opacity, filter;
}

@keyframes rihlatyWpCubeOutNext {
  0% { transform: translateX(0%) rotateY(0deg); filter: brightness(1); }
  100% { transform: translateX(-100%) rotateY(-76deg); filter: brightness(0.42); }
}
@keyframes rihlatyWpCubeInNext {
  0% { transform: translateX(100%) rotateY(76deg); filter: brightness(0.48); }
  100% { transform: translateX(0%) rotateY(0deg); filter: brightness(1); }
}
@keyframes rihlatyWpCubeOutPrev {
  0% { transform: translateX(0%) rotateY(0deg); filter: brightness(1); }
  100% { transform: translateX(100%) rotateY(76deg); filter: brightness(0.42); }
}
@keyframes rihlatyWpCubeInPrev {
  0% { transform: translateX(-100%) rotateY(-76deg); filter: brightness(0.48); }
  100% { transform: translateX(0%) rotateY(0deg); filter: brightness(1); }
}

.rihlaty-fade-stage.is-fx-cube-3d .rihlaty-fade-slide.is-leaving.dir-next {
  transform-origin: 100% 50%;
  animation: rihlatyWpCubeOutNext var(--rihlaty-fx-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rihlaty-fade-stage.is-fx-cube-3d .rihlaty-fade-slide.is-entering.dir-next {
  transform-origin: 0% 50%;
  animation: rihlatyWpCubeInNext var(--rihlaty-fx-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rihlaty-fade-stage.is-fx-cube-3d .rihlaty-fade-slide.is-leaving.dir-prev {
  transform-origin: 0% 50%;
  animation: rihlatyWpCubeOutPrev var(--rihlaty-fx-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rihlaty-fade-stage.is-fx-cube-3d .rihlaty-fade-slide.is-entering.dir-prev {
  transform-origin: 100% 50%;
  animation: rihlatyWpCubeInPrev var(--rihlaty-fx-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rihlatyWpFlipOutNext {
  0% { transform: rotateY(0deg) scale(1); filter: brightness(1); }
  50% { transform: rotateY(-90deg) scale(0.9); filter: brightness(0.65); }
  100% { transform: rotateY(-180deg) scale(0.9); filter: brightness(0.45); }
}
@keyframes rihlatyWpFlipInNext {
  0% { transform: rotateY(180deg) scale(0.9); filter: brightness(0.45); }
  50% { transform: rotateY(90deg) scale(0.9); filter: brightness(0.75); }
  100% { transform: rotateY(0deg) scale(1); filter: brightness(1); }
}
@keyframes rihlatyWpFlipOutPrev {
  0% { transform: rotateY(0deg) scale(1); filter: brightness(1); }
  50% { transform: rotateY(90deg) scale(0.9); filter: brightness(0.65); }
  100% { transform: rotateY(180deg) scale(0.9); filter: brightness(0.45); }
}
@keyframes rihlatyWpFlipInPrev {
  0% { transform: rotateY(-180deg) scale(0.9); filter: brightness(0.45); }
  50% { transform: rotateY(-90deg) scale(0.9); filter: brightness(0.75); }
  100% { transform: rotateY(0deg) scale(1); filter: brightness(1); }
}

.rihlaty-fade-stage.is-fx-flip-3d .rihlaty-fade-slide.is-leaving,
.rihlaty-fade-stage.is-fx-flip-3d .rihlaty-fade-slide.is-entering {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-origin: 50% 50%;
}
.rihlaty-fade-stage.is-fx-flip-3d .rihlaty-fade-slide.is-leaving.dir-next {
  animation: rihlatyWpFlipOutNext var(--rihlaty-fx-dur) cubic-bezier(0.25, 0.9, 0.3, 1) both;
}
.rihlaty-fade-stage.is-fx-flip-3d .rihlaty-fade-slide.is-entering.dir-next {
  animation: rihlatyWpFlipInNext var(--rihlaty-fx-dur) cubic-bezier(0.25, 0.9, 0.3, 1) both;
}
.rihlaty-fade-stage.is-fx-flip-3d .rihlaty-fade-slide.is-leaving.dir-prev {
  animation: rihlatyWpFlipOutPrev var(--rihlaty-fx-dur) cubic-bezier(0.25, 0.9, 0.3, 1) both;
}
.rihlaty-fade-stage.is-fx-flip-3d .rihlaty-fade-slide.is-entering.dir-prev {
  animation: rihlatyWpFlipInPrev var(--rihlaty-fx-dur) cubic-bezier(0.25, 0.9, 0.3, 1) both;
}

@keyframes rihlatyWpCardsOutNext {
  0% { transform: translate3d(0, 0, 0) scale(1) rotateY(0deg); opacity: 1; filter: brightness(1); }
  100% { transform: translate3d(-18%, 0, -140px) scale(0.84) rotateY(14deg); opacity: 0.25; filter: brightness(0.55); }
}
@keyframes rihlatyWpCardsInNext {
  0% { transform: translate3d(102%, 0, 40px) scale(0.92) rotateY(-18deg) rotateZ(2deg); opacity: 0.72; }
  100% { transform: translate3d(0, 0, 0) scale(1) rotateY(0deg) rotateZ(0deg); opacity: 1; }
}
@keyframes rihlatyWpCardsOutPrev {
  0% { transform: translate3d(0, 0, 0) scale(1) rotateY(0deg); opacity: 1; filter: brightness(1); }
  100% { transform: translate3d(18%, 0, -140px) scale(0.84) rotateY(-14deg); opacity: 0.25; filter: brightness(0.55); }
}
@keyframes rihlatyWpCardsInPrev {
  0% { transform: translate3d(-102%, 0, 40px) scale(0.92) rotateY(18deg) rotateZ(-2deg); opacity: 0.72; }
  100% { transform: translate3d(0, 0, 0) scale(1) rotateY(0deg) rotateZ(0deg); opacity: 1; }
}

.rihlaty-fade-stage.is-fx-cards-3d .rihlaty-fade-slide.is-leaving {
  z-index: 1;
}
.rihlaty-fade-stage.is-fx-cards-3d .rihlaty-fade-slide.is-entering {
  z-index: 3;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.48);
}
.rihlaty-fade-stage.is-fx-cards-3d .rihlaty-fade-slide.is-leaving.dir-next {
  animation: rihlatyWpCardsOutNext var(--rihlaty-fx-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rihlaty-fade-stage.is-fx-cards-3d .rihlaty-fade-slide.is-entering.dir-next {
  animation: rihlatyWpCardsInNext var(--rihlaty-fx-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rihlaty-fade-stage.is-fx-cards-3d .rihlaty-fade-slide.is-leaving.dir-prev {
  animation: rihlatyWpCardsOutPrev var(--rihlaty-fx-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rihlaty-fade-stage.is-fx-cards-3d .rihlaty-fade-slide.is-entering.dir-prev {
  animation: rihlatyWpCardsInPrev var(--rihlaty-fx-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rihlatyWpIrisOut {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.06); filter: brightness(0.76); }
}
@keyframes rihlatyWpIrisIn {
  0% { clip-path: circle(0% at 50% 50%); transform: scale(1.1); }
  100% { clip-path: circle(108% at 50% 50%); transform: scale(1); }
}

.rihlaty-fade-stage.is-fx-iris-reveal .rihlaty-fade-slide.is-leaving {
  z-index: 1;
  animation: rihlatyWpIrisOut var(--rihlaty-fx-dur) ease both;
}
.rihlaty-fade-stage.is-fx-iris-reveal .rihlaty-fade-slide.is-entering {
  z-index: 3;
  animation: rihlatyWpIrisIn var(--rihlaty-fx-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rihlaty-fx-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: row;
  direction: ltr;
  pointer-events: none;
  overflow: hidden;
}

.rihlaty-fx-overlay.is-fx-blinds-3d {
  perspective: 1100px;
}

.rihlaty-fx-overlay.is-fx-curtain-split {
  perspective: 1200px;
}

.rihlaty-fx-strip {
  position: relative;
  flex: 1 0 0%;
  height: 100%;
  overflow: hidden;
  will-change: transform, opacity;
}

.rihlaty-fx-strip-inner {
  position: absolute;
  top: 0;
  left: calc(var(--fx-idx, 0) * -100%);
  width: 600%;
  height: 100%;
  background: #0f172a;
}

@keyframes rihlatyWpSliceDropDown {
  0% { transform: translate3d(0, -108%, 0) scaleY(1.06); opacity: 0.25; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45); }
  100% { transform: translate3d(0, 0, 0) scaleY(1); opacity: 1; box-shadow: none; }
}
@keyframes rihlatyWpSliceRiseUp {
  0% { transform: translate3d(0, 108%, 0) scaleY(1.06); opacity: 0.25; box-shadow: 0 -12px 26px rgba(0, 0, 0, 0.45); }
  100% { transform: translate3d(0, 0, 0) scaleY(1); opacity: 1; box-shadow: none; }
}

.rihlaty-fx-overlay.is-fx-slices-vertical .rihlaty-fx-strip.is-even {
  animation: rihlatyWpSliceDropDown var(--rihlaty-fx-slice-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--fx-order, 0) * var(--rihlaty-fx-stagger));
}
.rihlaty-fx-overlay.is-fx-slices-vertical .rihlaty-fx-strip.is-odd {
  animation: rihlatyWpSliceRiseUp var(--rihlaty-fx-slice-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--fx-order, 0) * var(--rihlaty-fx-stagger));
}

@keyframes rihlatyWpBlind3dNext {
  0% { transform: rotateY(92deg) scale(0.94); opacity: 0.12; filter: brightness(0.5); }
  60% { opacity: 1; }
  100% { transform: rotateY(0deg) scale(1); opacity: 1; filter: brightness(1); }
}
@keyframes rihlatyWpBlind3dPrev {
  0% { transform: rotateY(-92deg) scale(0.94); opacity: 0.12; filter: brightness(0.5); }
  60% { opacity: 1; }
  100% { transform: rotateY(0deg) scale(1); opacity: 1; filter: brightness(1); }
}

.rihlaty-fx-overlay.is-fx-blinds-3d .rihlaty-fx-strip {
  transform-origin: 50% 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: rihlatyWpBlind3dNext var(--rihlaty-fx-slice-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--fx-order, 0) * var(--rihlaty-fx-stagger));
}
.rihlaty-fx-overlay.is-fx-blinds-3d.dir-prev .rihlaty-fx-strip {
  animation-name: rihlatyWpBlind3dPrev;
}

@keyframes rihlatyWpCurtainReveal {
  0% { transform: scale(1.09); filter: brightness(0.78); }
  100% { transform: scale(1); filter: brightness(1); }
}
@keyframes rihlatyWpCurtainLeft {
  0% { transform: translate3d(0, 0, 0) rotateY(0deg); filter: brightness(1); }
  100% { transform: translate3d(-104%, 0, 0) rotateY(18deg); filter: brightness(0.68); }
}
@keyframes rihlatyWpCurtainRight {
  0% { transform: translate3d(0, 0, 0) rotateY(0deg); filter: brightness(1); }
  100% { transform: translate3d(104%, 0, 0) rotateY(-18deg); filter: brightness(0.68); }
}

.rihlaty-fade-slide.is-curtain-reveal {
  opacity: 1;
  z-index: 2;
  transition: none !important;
  animation: rihlatyWpCurtainReveal var(--rihlaty-fx-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rihlaty-fx-half {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
  will-change: transform, filter;
}

.rihlaty-fx-half-inner {
  position: absolute;
  top: 0;
  width: 200%;
  height: 100%;
  background: #0f172a;
}

.rihlaty-fx-half.is-left {
  transform-origin: 0% 50%;
  animation: rihlatyWpCurtainLeft var(--rihlaty-fx-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rihlaty-fx-half.is-left .rihlaty-fx-half-inner {
  left: 0;
}

.rihlaty-fx-half.is-right {
  transform-origin: 100% 50%;
  animation: rihlatyWpCurtainRight var(--rihlaty-fx-dur) cubic-bezier(0.22, 1, 0.36, 1) both;
}
.rihlaty-fx-half.is-right .rihlaty-fx-half-inner {
  left: -100%;
}

.rihlaty-slide-blur-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  filter: blur(var(--rihlaty-blur-px, 24px)) brightness(0.75);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.rihlaty-slide-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rihlaty-slider-scrim {
  display: none !important;
  background: none !important;
  pointer-events: none;
}

.rihlaty-rating {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.rihlaty-top-right-stack {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  max-width: calc(100% - 108px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}

.rihlaty-badge {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--rihlaty-badge);
  color: var(--rihlaty-badge-ink, #ffffff);
  font-weight: 700;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.rihlaty-category-top {
  display: none;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(2, 6, 23, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
}

.rihlaty-alert-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 4px 12px rgba(2, 6, 23, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.rihlaty-alert-ribbon span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes rihlaty-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.rihlaty-alert-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  flex-shrink: 0;
  animation: rihlaty-pulse 1.8s ease-in-out infinite;
}

.rihlaty-category {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  max-width: 58%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.56);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  pointer-events: none;
}

.rihlaty-dots {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rihlaty-dot {
  height: 6px;
  width: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.2s ease;
}

.rihlaty-dot.is-active {
  width: 20px;
  background: #ffffff;
}

.rihlaty-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.rihlaty-nav.arrow-circle-white {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.rihlaty-nav.arrow-glass {
  background: rgba(0, 0, 0, 0.42);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.rihlaty-nav.arrow-minimal {
  background: transparent;
  color: #ffffff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.65));
}

.rihlaty-prev {
  right: 8px;
}

.rihlaty-next {
  left: 8px;
}

@media (min-width: 640px) {
  .rihlaty-rating {
    top: 14px;
    left: 14px;
    gap: 6px;
    font-size: 14px;
    padding: 5px 10px;
  }

  .rihlaty-top-right-stack {
    top: 14px;
    right: 14px;
  }

  .rihlaty-badge {
    font-size: 12px;
    padding: 5px 14px;
  }

  .rihlaty-category {
    right: 16px;
    bottom: 12px;
    font-size: 14px;
  }

  .rihlaty-dots {
    left: 16px;
    bottom: 14px;
  }

  .rihlaty-nav {
    width: 36px;
    height: 36px;
  }

  .rihlaty-prev {
    right: 10px;
  }

  .rihlaty-next {
    left: 10px;
  }
}

/* Optional Card Thumbnails */
.rihlaty-card-thumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px 0;
  overflow-x: auto;
  background: var(--rihlaty-card-bg);
}

.rihlaty-card-thumb {
  width: 48px;
  height: 36px;
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid transparent;
  opacity: 0.55;
  cursor: pointer;
  background: none;
  transition: opacity 0.15s ease;
}

@media (min-width: 640px) {
  .rihlaty-card-thumbs {
    padding: 12px 16px 0;
  }

  .rihlaty-card-thumb {
    width: 56px;
    height: 40px;
  }
}

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

.rihlaty-card-thumb.is-active {
  opacity: 1;
  border-color: var(--rihlaty-primary);
}

/* Card Body */
.rihlaty-body {
  width: var(--rihlaty-panel-width, 100%);
  margin-inline: auto;
  padding: var(--rihlaty-panel-pad-y, 14px) 14px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

@media (min-width: 640px) {
  .rihlaty-body {
    padding: var(--rihlaty-panel-pad-y, 16px) 20px;
  }
}

/* Stacked / Mobile Translucent or Narrowed Panel (Classic Mode Across All Themes) */
.rihlaty-card.has-panel-float:not(.is-glass-floating):not(.is-dark-glass-floating) > .rihlaty-slider .rihlaty-category,
.rihlaty-card.has-panel-float:not(.is-glass-floating):not(.is-dark-glass-floating) > .rihlaty-slider .rihlaty-dots {
  bottom: 42px;
}

.rihlaty-card.has-panel-float:not(.is-glass-floating):not(.is-dark-glass-floating) > .rihlaty-body {
  order: 1;
  position: relative;
  z-index: 4;
  margin-top: -34px;
  border-radius: 20px 20px 0 0;
  background: var(--rihlaty-panel-bg, var(--rihlaty-card-bg));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--rihlaty-border);
  box-shadow: 0 -8px 24px rgba(2, 6, 23, 0.12);
}

.rihlaty-card.has-panel-narrow:not(.is-glass-floating):not(.is-dark-glass-floating) > .rihlaty-body {
  border-radius: 20px;
  border: 1px solid var(--rihlaty-border);
  margin-bottom: 12px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.14);
}

.rihlaty-card.has-panel-float:not(.is-glass-floating):not(.is-dark-glass-floating) > .rihlaty-card-thumbs {
  order: 2;
  padding: 2px 12px 12px;
  justify-content: center;
  background: transparent;
}

.rihlaty-title {
  margin: 0;
  font-family: var(--rihlaty-heading-font, 'Cairo', 'Tajawal', sans-serif);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
  color: var(--rihlaty-text);
}

@media (min-width: 640px) {
  .rihlaty-title {
    font-size: 18px;
  }
}

.rihlaty-excerpt {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--rihlaty-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .rihlaty-excerpt {
    margin-top: 8px;
    font-size: 14px;
  }
}

/* 4 Feature Boxes (External Card + Details Modal Parity) */
.rihlaty-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: var(--rihlaty-panel-gap, 14px);
}

@media (max-width: 350px) {
  .rihlaty-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container (max-width: 290px) {
  .rihlaty-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rihlaty-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.rihlaty-wrapper .rihlaty-feature-box,
.rihlaty-modal-backdrop .rihlaty-feature-box {
  align-self: stretch !important;
  width: 100% !important;
  min-width: 0;
  height: var(--rihlaty-box-h, 40px);
  border-radius: 12px;
  border: 1px solid var(--rihlaty-box-border);
  background: var(--rihlaty-box-bg);
  color: var(--rihlaty-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rihlaty-wrapper .rihlaty-card:not(.rihlaty-3d-flat) .rihlaty-feature-box,
.rihlaty-wrapper:not(.rihlaty-3d-flat) .rihlaty-feature-box,
.rihlaty-modal-backdrop:not(.rihlaty-3d-flat) .rihlaty-feature-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), inset 0 -1px 0 rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.05);
}

.rihlaty-wrapper.is-dark .rihlaty-card:not(.rihlaty-3d-flat) .rihlaty-feature-box,
.rihlaty-wrapper.is-dark:not(.rihlaty-3d-flat) .rihlaty-feature-box,
.rihlaty-card.is-dark-glass-floating:not(.rihlaty-3d-flat) > .rihlaty-body .rihlaty-feature-box,
.rihlaty-modal-backdrop.is-dark:not(.rihlaty-3d-flat) .rihlaty-feature-box {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.72) 0%, rgba(15, 23, 42, 0.84) 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.35), 0 3px 8px rgba(0, 0, 0, 0.28);
}

.rihlaty-feature-label {
  margin-top: 6px;
  width: 100%;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--rihlaty-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 640px) {
  .rihlaty-feature-label {
    font-size: 11px;
  }
}

/* Meta Row */
.rihlaty-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: var(--rihlaty-panel-gap, 14px);
  padding-top: var(--rihlaty-panel-gap-sm, 10px);
  border-top: 1px solid var(--rihlaty-divider);
  font-size: 11px;
  font-weight: 500;
  color: var(--rihlaty-muted);
}

@media (min-width: 640px) {
  .rihlaty-meta {
    font-size: 12px;
  }
}

.rihlaty-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  color: var(--rihlaty-text);
  font-weight: 600;
}

.rihlaty-duration span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rihlaty-duration svg {
  color: var(--rihlaty-primary);
  flex-shrink: 0;
}

/* Card Footer */
.rihlaty-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: var(--rihlaty-panel-gap, 14px);
}

.rihlaty-price-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rihlaty-price-prefix {
  font-size: 11px;
  color: var(--rihlaty-muted);
}

@media (min-width: 640px) {
  .rihlaty-price-prefix {
    font-size: 12px;
  }
}

.rihlaty-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 2px;
}

.rihlaty-price-now {
  font-family: var(--rihlaty-heading-font, 'Cairo', 'Tajawal', sans-serif);
  color: var(--rihlaty-primary);
  font-size: clamp(19px, 4.5vw, 24px);
  font-weight: 800;
  line-height: 1;
}

.rihlaty-price-old {
  color: var(--rihlaty-muted);
  font-size: 13px;
  font-weight: 500;
}

.rihlaty-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.rihlaty-wa-btn,
.rihlaty-call-btn,
.rihlaty-share-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--rihlaty-icon-radius, 999px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  transition: transform 0.14s ease, border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.rihlaty-wa-btn {
  background: var(--rihlaty-wa-bg, #16a34a);
  color: #ffffff !important;
  border: 1px solid var(--rihlaty-wa-bg, #16a34a);
}

.rihlaty-call-btn {
  background: var(--rihlaty-call-bg, #0284c7);
  color: #ffffff !important;
  border: 1px solid var(--rihlaty-call-bg, #0284c7);
}

.rihlaty-share-btn {
  background: var(--rihlaty-box-bg);
  color: var(--rihlaty-text);
  border: 1px solid var(--rihlaty-border);
}

.rihlaty-share-btn.is-copied {
  background: rgba(22, 163, 74, 0.12);
  border-color: #16a34a;
  color: #16a34a;
}

.rihlaty-wa-btn.has-img,
.rihlaty-call-btn.has-img {
  background: transparent;
  border-color: var(--rihlaty-border);
}

.rihlaty-wa-btn:hover,
.rihlaty-call-btn:hover,
.rihlaty-share-btn:hover {
  transform: translateY(-1px) scale(1.04);
}

.rihlaty-wa-btn:active,
.rihlaty-call-btn:active,
.rihlaty-share-btn:active,
.rihlaty-cta:active,
.rihlaty-btn-book-main:active,
.rihlaty-btn-white-book:active,
.rihlaty-btn-wa-main:active,
.rihlaty-btn-call-main:active {
  transform: translateY(2px) scale(0.98) !important;
}

.rihlaty-wa-btn img,
.rihlaty-call-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rihlaty-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  background: var(--rihlaty-cta-bg, var(--rihlaty-primary));
  color: var(--rihlaty-cta-ink, #ffffff) !important;
  border: 0;
  border-radius: var(--rihlaty-btn-radius, 12px);
  padding: 9px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
  transition: transform 0.14s ease, box-shadow 0.15s ease;
}

.rihlaty-cta:hover {
  transform: translateY(-1px) scale(1.02);
}

@media (max-width: 430px) {
  .rihlaty-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .rihlaty-actions {
    width: 100%;
    justify-content: space-between;
  }

  .rihlaty-cta {
    flex: 1 1 auto;
  }
}

@container (max-width: 345px) {
  .rihlaty-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .rihlaty-actions {
    width: 100%;
    justify-content: space-between;
  }

  .rihlaty-cta {
    flex: 1 1 auto;
  }
}

/* Wide Stretched Panoramic Outer Card on Desktop & Tablet (>= 620px): Top 75% Slider + Bottom 25% Info Bar */
.rihlaty-wide-pills {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.rihlaty-wide-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--rihlaty-text);
}

.rihlaty-wide-chip.is-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--rihlaty-badge);
  color: var(--rihlaty-badge-ink, #ffffff);
  font-size: 11px;
}

@container (min-width: 620px) {
  .rihlaty-card:not(.is-split-hero-card) {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 520px;
    padding: var(--rihlaty-wide-pt, 290px) 0 0;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-slider {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    z-index: 1;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-slider .rihlaty-slider-scrim {
    display: none !important;
    background: none !important;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-slider .rihlaty-badge,
  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-slider .rihlaty-category,
  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-slider .rihlaty-dots {
    display: none;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-slider .rihlaty-top-right-stack {
    top: 16px;
    right: 16px;
    max-width: calc(100% - 130px);
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-slider .rihlaty-category-top {
    display: inline-flex;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-slider .rihlaty-rating {
    top: 16px;
    left: 16px;
    z-index: 5;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-slider .rihlaty-nav {
    top: 36%;
    z-index: 6;
    width: 40px;
    height: 40px;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-slider .rihlaty-prev {
    right: 16px;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-slider .rihlaty-next {
    left: 16px;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-card-thumbs {
    position: relative;
    align-self: center;
    margin-bottom: 10px;
    z-index: 5;
    padding: 6px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.18);
    max-width: calc(100% - 32px);
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
    width: var(--rihlaty-panel-width, 100%);
    margin: 0 auto;
    padding: var(--rihlaty-wide-pad-y, 14px) 24px;
    border-radius: 20px 20px 0 0;
    background: var(--rihlaty-panel-bg, color-mix(in srgb, var(--rihlaty-card-bg) 96%, transparent));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--rihlaty-border);
    box-shadow: 0 -10px 30px rgba(2, 6, 23, 0.16);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .rihlaty-card:not(.is-split-hero-card).has-panel-narrow:not(.is-glass-floating):not(.is-dark-glass-floating) > .rihlaty-body {
    border: 1px solid var(--rihlaty-border);
    border-bottom: 0;
    margin-bottom: 0;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body .rihlaty-wide-pills {
    display: flex;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body .rihlaty-meta {
    display: none;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body .rihlaty-title {
    font-size: 20px;
    line-height: 1.3;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body .rihlaty-excerpt {
    margin-top: 3px;
    font-size: 13px;
    -webkit-line-clamp: 1;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body .rihlaty-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body .rihlaty-feature-item {
    flex-direction: row;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid var(--rihlaty-box-border);
    background: var(--rihlaty-box-bg);
  }

  .rihlaty-wrapper .rihlaty-card:not(.is-split-hero-card):not(.is-quick-browse) > .rihlaty-body .rihlaty-feature-box {
    align-self: center !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body .rihlaty-feature-box svg {
    width: 14px;
    height: 14px;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body .rihlaty-feature-label {
    margin-top: 0;
    width: auto;
    font-size: 11px;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body .rihlaty-footer {
    margin-top: 0;
    padding-top: 10px;
    border-top: 1px solid var(--rihlaty-divider);
    align-items: center;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body .rihlaty-cta {
    border-radius: var(--rihlaty-btn-radius, 12px);
    padding: 10px 18px;
  }
}

@container (min-width: 780px) {
  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body > div:last-child {
    flex-shrink: 0;
  }

  .rihlaty-card:not(.is-split-hero-card) > .rihlaty-body .rihlaty-footer {
    border-top: 0;
    padding-top: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
}

/* =========================================================
   GLASS FLOATING THEME (Full-Bleed Scenic Card + Frosted Panel)
   ========================================================= */
.rihlaty-progress-bar {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  direction: rtl;
  background: rgba(255, 255, 255, 0.25);
  z-index: 7;
}

.rihlaty-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--rihlaty-primary);
  transition: none;
}

.rihlaty-slider.is-no-autoplay .rihlaty-progress-fill {
  transition: width 0.3s ease;
}

.rihlaty-slide-counter-wrap {
  display: none;
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 6;
  align-items: center;
  gap: 6px;
}

.rihlaty-slide-counter {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(2, 6, 23, 0.56);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  line-height: 1.1;
  white-space: nowrap;
  flex-shrink: 0;
}

.rihlaty-pause-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(2, 6, 23, 0.56);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.rihlaty-card.is-glass-floating,
.rihlaty-card.is-dark-glass-floating {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: var(--rihlaty-float-h-m, var(--rihlaty-float-min-h, 530px));
  padding: var(--rihlaty-float-pt, 178px) 0 0;
  background: #0f172a;
}

@media (min-width: 768px) {
  .rihlaty-card.is-glass-floating,
  .rihlaty-card.is-dark-glass-floating {
    min-height: var(--rihlaty-float-h-d, var(--rihlaty-float-min-h, 530px));
  }
}

.rihlaty-card.is-glass-floating .rihlaty-progress-bar,
.rihlaty-card.is-dark-glass-floating .rihlaty-progress-bar {
  display: block;
}

.rihlaty-card.is-glass-floating .rihlaty-slide-counter-wrap,
.rihlaty-card.is-dark-glass-floating .rihlaty-slide-counter-wrap {
  display: inline-flex;
}

.rihlaty-card.is-glass-floating > .rihlaty-slider,
.rihlaty-card.is-dark-glass-floating > .rihlaty-slider {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  z-index: 1;
}

.rihlaty-card.is-glass-floating > .rihlaty-slider .rihlaty-slider-scrim,
.rihlaty-card.is-dark-glass-floating > .rihlaty-slider .rihlaty-slider-scrim {
  display: none !important;
  background: none !important;
}

.rihlaty-card.is-glass-floating > .rihlaty-slider .rihlaty-badge,
.rihlaty-card.is-glass-floating > .rihlaty-slider .rihlaty-category,
.rihlaty-card.is-glass-floating > .rihlaty-slider .rihlaty-rating,
.rihlaty-card.is-glass-floating > .rihlaty-slider .rihlaty-dots,
.rihlaty-card.is-dark-glass-floating > .rihlaty-slider .rihlaty-badge,
.rihlaty-card.is-dark-glass-floating > .rihlaty-slider .rihlaty-category,
.rihlaty-card.is-dark-glass-floating > .rihlaty-slider .rihlaty-rating,
.rihlaty-card.is-dark-glass-floating > .rihlaty-slider .rihlaty-dots {
  display: none;
}

.rihlaty-card.is-glass-floating > .rihlaty-slider .rihlaty-top-right-stack,
.rihlaty-card.is-dark-glass-floating > .rihlaty-slider .rihlaty-top-right-stack {
  top: 14px;
  right: 14px;
  max-width: calc(100% - 130px);
}

.rihlaty-card.is-glass-floating > .rihlaty-slider .rihlaty-category-top,
.rihlaty-card.is-dark-glass-floating > .rihlaty-slider .rihlaty-category-top {
  display: inline-flex;
}

.rihlaty-card.is-glass-floating > .rihlaty-slider .rihlaty-nav,
.rihlaty-card.is-dark-glass-floating > .rihlaty-slider .rihlaty-nav {
  top: 32%;
  z-index: 6;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.60);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.rihlaty-card.is-glass-floating > .rihlaty-body,
.rihlaty-card.is-dark-glass-floating > .rihlaty-body {
  order: 1;
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: var(--rihlaty-panel-width, 94%);
  margin: 0 auto 12px;
  padding: var(--rihlaty-float-pad-y, 16px) 16px;
  border-radius: 20px;
  background: var(--rihlaty-panel-bg, linear-gradient(180deg, rgba(255, 255, 255, 0.54) 0%, rgba(255, 255, 255, 0.88) 46%, rgba(255, 255, 255, 0.96) 100%));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--rihlaty-panel-border, rgba(255, 255, 255, 0.65));
  color: var(--rihlaty-panel-text, var(--rihlaty-text));
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}

.rihlaty-card.is-dark-glass-floating > .rihlaty-body {
  background: var(--rihlaty-panel-bg, linear-gradient(180deg, rgba(11, 17, 32, 0.42) 0%, rgba(11, 17, 32, 0.78) 48%, rgba(11, 17, 32, 0.92) 100%));
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-title,
.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-wide-chip:not(.is-badge),
.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-share-btn {
  color: #ffffff;
}

.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-excerpt,
.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-feature-label,
.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-price-prefix,
.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-price-old {
  color: #cbd5e1;
}

.rihlaty-card.is-glass-floating > .rihlaty-body .rihlaty-wide-pills,
.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-wide-pills {
  display: flex;
}

.rihlaty-card.is-glass-floating > .rihlaty-body .rihlaty-wide-chip:not(.is-badge),
.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-wide-chip:not(.is-badge) {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--rihlaty-border);
  background: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.rihlaty-wrapper.is-dark .rihlaty-card.is-glass-floating > .rihlaty-body .rihlaty-wide-chip:not(.is-badge),
.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-wide-chip:not(.is-badge) {
  background: rgba(15, 23, 42, 0.56);
  border-color: rgba(255, 255, 255, 0.18);
}

.rihlaty-card.is-glass-floating > .rihlaty-body .rihlaty-meta,
.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-meta {
  display: none;
}

.rihlaty-card.is-glass-floating > .rihlaty-body .rihlaty-feature-box {
  background: rgba(255, 255, 255, 0.62);
}

.rihlaty-wrapper.is-dark .rihlaty-card.is-glass-floating > .rihlaty-body .rihlaty-feature-box,
.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-feature-box {
  background: rgba(15, 23, 42, 0.54);
  border-color: rgba(255, 255, 255, 0.16);
}

.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-share-btn {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(255, 255, 255, 0.22);
}

.rihlaty-card.is-glass-floating > .rihlaty-body .rihlaty-cta,
.rihlaty-card.is-dark-glass-floating > .rihlaty-body .rihlaty-cta {
  border-radius: var(--rihlaty-btn-radius, 12px);
}

.rihlaty-card.is-glass-floating > .rihlaty-card-thumbs,
.rihlaty-card.is-dark-glass-floating > .rihlaty-card-thumbs {
  order: 2;
  position: relative;
  z-index: 5;
  align-self: center;
  margin: 0 12px 12px;
  padding: 6px 8px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  max-width: calc(100% - 24px);
}

.rihlaty-card.is-dark-glass-floating > .rihlaty-card-thumbs {
  background: rgba(2, 6, 23, 0.62);
  border-color: rgba(255, 255, 255, 0.16);
}

.rihlaty-card.is-glass-floating > .rihlaty-card-thumbs .rihlaty-card-thumb,
.rihlaty-card.is-dark-glass-floating > .rihlaty-card-thumbs .rihlaty-card-thumb {
  width: 54px;
  height: 40px;
  border-radius: 10px;
}

@container (min-width: 620px) {
  .rihlaty-card.is-glass-floating,
  .rihlaty-card.is-dark-glass-floating {
    min-height: var(--rihlaty-float-min-h, 520px);
    padding: var(--rihlaty-float-wide-pt, 235px) 0 0;
  }

  .rihlaty-card.is-glass-floating > .rihlaty-body,
  .rihlaty-card.is-dark-glass-floating > .rihlaty-body {
    width: var(--rihlaty-panel-width, 94%);
    margin: 0 auto 12px;
    padding: var(--rihlaty-float-pad-y, 18px) 22px;
    border-radius: 20px;
  }

  .rihlaty-card.is-glass-floating > .rihlaty-card-thumbs,
  .rihlaty-card.is-dark-glass-floating > .rihlaty-card-thumbs {
    margin: 0 22px 14px;
    border-radius: 16px;
  }
}

/* =========================================================
   QUICK BROWSE OUTER MODE (Under Icons: Price + Share + WA + Call -> Sections -> Video -> Audio -> Bottom CTA)
   ========================================================= */
.rihlaty-quick-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.rihlaty-quick-section {
  border-top: 1px solid var(--rihlaty-divider, rgba(15, 23, 42, 0.1));
  padding-top: 14px;
}

.rihlaty-quick-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--rihlaty-heading-font, 'Cairo', 'Tajawal', sans-serif);
  font-size: 14px;
  font-weight: 800;
  color: var(--rihlaty-text, #0f172a);
}

.rihlaty-sec-title-icon {
  display: inline-block;
  flex-shrink: 0;
  object-fit: contain;
}

.rihlaty-quick-section-text {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--rihlaty-muted, #475569);
  white-space: pre-line;
}

.rihlaty-quick-bottom-cta {
  border-top: 1px solid var(--rihlaty-divider, rgba(15, 23, 42, 0.1));
  padding-top: 14px;
  display: block;
}

.rihlaty-quick-bottom-cta .rihlaty-modal-cta-bar {
  padding: 14px !important;
  gap: 14px;
}

@media (min-width: 640px) {
  .rihlaty-quick-bottom-cta .rihlaty-modal-cta-bar {
    padding: 16px !important;
  }
}

.rihlaty-quick-bottom-cta .rihlaty-cta-pill-group {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.rihlaty-quick-bottom-cta .rihlaty-cta-pill-group .rihlaty-pulse-ring-wrap {
  flex: 1 1 160px;
  width: auto;
}

.rihlaty-quick-bottom-cta .rihlaty-cta-pill-group .rihlaty-btn-book-main {
  flex: 2 1 195px;
  width: auto;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  color: var(--rihlaty-cta-ink, #ffffff) !important;
}

.rihlaty-card.is-dark-glass-floating .rihlaty-quick-section,
.rihlaty-wrapper.is-dark .rihlaty-quick-section,
.rihlaty-card.is-dark-glass-floating .rihlaty-quick-bottom-cta,
.rihlaty-wrapper.is-dark .rihlaty-quick-bottom-cta {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.rihlaty-card.is-dark-glass-floating .rihlaty-quick-bottom-cta .rihlaty-duration,
.rihlaty-wrapper.is-dark .rihlaty-quick-bottom-cta .rihlaty-duration,
.rihlaty-card.is-dark-glass-floating .rihlaty-quick-bottom-cta .rihlaty-price-prefix,
.rihlaty-wrapper.is-dark .rihlaty-quick-bottom-cta .rihlaty-price-prefix,
.rihlaty-card.is-dark-glass-floating .rihlaty-quick-bottom-cta .rihlaty-price-old,
.rihlaty-wrapper.is-dark .rihlaty-quick-bottom-cta .rihlaty-price-old {
  color: #cbd5e1;
}

.rihlaty-card.is-dark-glass-floating .rihlaty-cta-pill-group,
.rihlaty-wrapper.is-dark .rihlaty-cta-pill-group {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.16);
}

.rihlaty-card.is-dark-glass-floating .rihlaty-pulse-ring-wrap,
.rihlaty-wrapper.is-dark .rihlaty-pulse-ring-wrap {
  --rihlaty-pulse-color: #ffffff;
}

.rihlaty-card.is-dark-glass-floating .rihlaty-quick-section-title {
  color: #ffffff;
}

.rihlaty-card.is-dark-glass-floating .rihlaty-quick-section-text {
  color: #cbd5e1;
}

.rihlaty-card.is-dark-glass-floating .rihlaty-audio-card,
.rihlaty-card.is-dark-glass-floating .rihlaty-video-badge {
  background: rgba(15, 23, 42, 0.56);
  border-color: rgba(255, 255, 255, 0.16);
  color: #cbd5e1;
}

.rihlaty-card.is-quick-browse .rihlaty-excerpt,
.rihlaty-card.is-quick-browse > .rihlaty-body .rihlaty-excerpt {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  white-space: pre-line;
}

.rihlaty-card.is-quick-browse > .rihlaty-body .rihlaty-footer {
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center !important;
  justify-content: space-between;
  gap: 8px;
}

.rihlaty-card.is-quick-browse > .rihlaty-body .rihlaty-price-box {
  flex: 1 1 auto;
  min-width: 0;
}

.rihlaty-card.is-quick-browse > .rihlaty-body .rihlaty-actions {
  width: auto !important;
  flex-shrink: 0;
  justify-content: flex-end !important;
  gap: 6px;
}

@media (max-width: 430px) {
  .rihlaty-card.is-quick-browse > .rihlaty-body .rihlaty-wa-btn,
  .rihlaty-card.is-quick-browse > .rihlaty-body .rihlaty-call-btn,
  .rihlaty-card.is-quick-browse > .rihlaty-body .rihlaty-share-btn {
    width: 36px;
    height: 36px;
  }
}

.rihlaty-card.is-quick-browse.is-glass-floating,
.rihlaty-card.is-quick-browse.is-dark-glass-floating {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0 !important;
  padding-top: 0 !important;
  background: var(--rihlaty-card-bg, #ffffff);
}

.rihlaty-card.is-quick-browse.is-dark-glass-floating {
  background: #0b1120;
}

.rihlaty-card.is-quick-browse.is-glass-floating > .rihlaty-slider,
.rihlaty-card.is-quick-browse.is-dark-glass-floating > .rihlaty-slider {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 270px !important;
  aspect-ratio: auto !important;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .rihlaty-card.is-quick-browse.is-glass-floating > .rihlaty-slider,
  .rihlaty-card.is-quick-browse.is-dark-glass-floating > .rihlaty-slider {
    height: 340px !important;
  }
}

.rihlaty-card.is-quick-browse.is-glass-floating > .rihlaty-slider .rihlaty-nav,
.rihlaty-card.is-quick-browse.is-dark-glass-floating > .rihlaty-slider .rihlaty-nav {
  top: 44%;
}

.rihlaty-card.is-quick-browse.is-glass-floating > .rihlaty-body,
.rihlaty-card.is-quick-browse.is-dark-glass-floating > .rihlaty-body {
  margin-top: -54px !important;
}

@container (min-width: 620px) {
  .rihlaty-card.is-quick-browse:not(.is-glass-floating):not(.is-dark-glass-floating):not(.is-split-hero-card) {
    min-height: 0 !important;
    padding-top: 0 !important;
    justify-content: flex-start;
  }

  .rihlaty-card.is-quick-browse:not(.is-glass-floating):not(.is-dark-glass-floating):not(.is-split-hero-card) > .rihlaty-slider {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 320px !important;
    aspect-ratio: auto !important;
    flex-shrink: 0;
  }

  .rihlaty-card.is-quick-browse:not(.is-glass-floating):not(.is-dark-glass-floating):not(.is-split-hero-card) > .rihlaty-slider .rihlaty-nav {
    top: 46%;
  }

  .rihlaty-card.is-quick-browse:not(.is-glass-floating):not(.is-dark-glass-floating):not(.is-split-hero-card) > .rihlaty-body {
    margin-top: -28px;
  }

  .rihlaty-card.is-quick-browse > .rihlaty-body .rihlaty-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: var(--rihlaty-panel-gap, 14px);
  }

  .rihlaty-card.is-quick-browse > .rihlaty-body .rihlaty-feature-item {
    flex-direction: column;
    padding: 0;
    border: 0;
    background: transparent;
    gap: 0;
  }

  .rihlaty-card.is-quick-browse > .rihlaty-body .rihlaty-feature-box {
    width: 100%;
    height: var(--rihlaty-box-h, 40px);
    border: 1px solid var(--rihlaty-box-border);
    background: var(--rihlaty-box-bg);
  }

  .rihlaty-card.is-quick-browse > .rihlaty-body .rihlaty-feature-label {
    margin-top: 6px;
    width: 100%;
    font-size: 11px;
  }
}

@container (min-width: 780px) {
  .rihlaty-card.is-quick-browse > .rihlaty-body {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px;
  }

  .rihlaty-card.is-quick-browse > .rihlaty-body > div:first-child {
    flex: 0 0 auto;
  }

  .rihlaty-card.is-quick-browse > .rihlaty-body .rihlaty-footer {
    border-top: 1px solid var(--rihlaty-divider);
    padding-top: 12px;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between;
  }

  .rihlaty-card.is-quick-browse.is-dark-glass-floating > .rihlaty-body .rihlaty-footer {
    border-top-color: rgba(255, 255, 255, 0.14);
  }
}

/* =========================================================
   SPLIT HERO CARD THEME (Top Slider Card + Separated Bottom Details Card)
   ========================================================= */
.rihlaty-card.is-split-hero-card {
  gap: 16px;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
}

@media (min-width: 640px) {
  .rihlaty-card.is-split-hero-card {
    gap: 20px;
  }
}

.rihlaty-card.is-split-hero-card.is-elevated:hover {
  transform: none !important;
}

.rihlaty-split-hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  overflow: visible;
  padding-bottom: var(--rihlaty-split-protrude, 0px);
}

.rihlaty-split-hero {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: var(--rihlaty-split-h-m, 460px);
  border-radius: var(--rihlaty-radius);
  box-shadow: var(--rihlaty-shadow);
  border: 1px solid var(--rihlaty-border);
  overflow: hidden;
  background: #0f172a;
  user-select: none;
}

@media (min-width: 768px) {
  .rihlaty-split-hero {
    min-height: var(--rihlaty-split-h-d, 460px);
  }
}

.rihlaty-split-hero .rihlaty-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.rihlaty-split-hero .rihlaty-progress-bar {
  display: block;
}

.rihlaty-split-hero .rihlaty-slide-counter-wrap {
  display: inline-flex;
  z-index: 6;
}

.rihlaty-split-hero .rihlaty-top-right-stack {
  top: 14px;
  right: 14px;
  z-index: 6;
  max-width: calc(100% - 130px);
}

.rihlaty-split-hero .rihlaty-category-top {
  display: inline-flex;
}

.rihlaty-split-hero .rihlaty-nav {
  top: 22%;
  z-index: 7;
  width: 36px;
  height: 36px;
}

.rihlaty-split-hero.is-overlay-low .rihlaty-nav {
  top: 50%;
}

@media (min-width: 768px) {
  .rihlaty-split-hero .rihlaty-nav {
    top: 50%;
    width: 40px;
    height: 40px;
  }

  .rihlaty-split-hero .rihlaty-prev {
    right: 16px;
  }

  .rihlaty-split-hero .rihlaty-next {
    left: 16px;
  }
}

.rihlaty-split-overlay-wrap {
  grid-area: 1 / 1;
  align-self: end;
  justify-self: stretch;
  position: relative;
  z-index: 12;
  pointer-events: none;
  width: 100%;
  padding: var(--rihlaty-split-wrap-pt, 64px) 14px var(--rihlaty-split-wrap-pb, 20px);
  display: flex;
  flex-direction: column;
}

.rihlaty-split-overlay-wrap.has-dots {
  padding-bottom: var(--rihlaty-split-wrap-pb, 52px);
}

@media (min-width: 640px) {
  .rihlaty-split-overlay-wrap {
    padding-inline: 24px;
  }
}

@media (min-width: 768px) {
  .rihlaty-split-overlay-wrap {
    padding-inline: 40px;
  }
}

.rihlaty-split-overlay {
  pointer-events: auto;
  width: 100%;
  max-width: 540px;
  border-radius: 18px;
  padding: 16px;
  background: var(--rihlaty-panel-bg, rgba(255, 255, 255, 0.92));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--rihlaty-panel-border, rgba(255, 255, 255, 0.68));
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
  color: var(--rihlaty-text);
  transform: translate3d(0, var(--rihlaty-split-ty, 0px), 0);
}

@media (min-width: 640px) {
  .rihlaty-split-overlay {
    padding: 20px;
  }
}

.rihlaty-split-overlay .rihlaty-wide-pills {
  display: flex;
  margin-bottom: 8px;
}

.rihlaty-split-overlay .rihlaty-wide-chip:not(.is-badge) {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--rihlaty-border);
  background: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.rihlaty-wrapper.is-dark .rihlaty-split-overlay .rihlaty-wide-chip:not(.is-badge) {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.28);
}

.rihlaty-split-overlay-title {
  margin: 0;
  font-family: var(--rihlaty-heading-font, 'Cairo', 'Tajawal', sans-serif);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--rihlaty-text);
}

@media (min-width: 640px) {
  .rihlaty-split-overlay-title {
    font-size: 20px;
  }
}

.rihlaty-split-overlay-desc {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--rihlaty-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .rihlaty-split-overlay-desc {
    font-size: 13px;
  }
}

.rihlaty-split-overlay-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--rihlaty-divider);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rihlaty-split-overlay-footer .rihlaty-price-box {
  min-width: 0;
  flex: 1 1 auto;
}

.rihlaty-split-hero-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .rihlaty-split-hero-actions {
    gap: 8px;
  }
}

.rihlaty-split-wa-btn,
.rihlaty-split-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--rihlaty-icon-radius, 999px);
  color: #ffffff !important;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: transform 0.14s ease, box-shadow 0.15s ease;
}

.rihlaty-split-wa-btn {
  background: var(--rihlaty-wa-bg, #16a34a);
  border: 1px solid var(--rihlaty-wa-bg, #16a34a);
}

.rihlaty-split-call-btn {
  background: var(--rihlaty-call-bg, #0284c7);
  border: 1px solid var(--rihlaty-call-bg, #0284c7);
}

.rihlaty-split-wa-btn.has-img,
.rihlaty-split-call-btn.has-img {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.rihlaty-split-wa-btn:hover,
.rihlaty-split-call-btn:hover {
  transform: scale(1.06);
}

.rihlaty-split-wa-btn:active,
.rihlaty-split-call-btn:active,
.rihlaty-split-book-btn:active {
  transform: translateY(1px) scale(0.98) !important;
}

.rihlaty-split-wa-btn img,
.rihlaty-split-call-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rihlaty-split-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: var(--rihlaty-btn-radius, 12px);
  background: var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary)));
  color: var(--rihlaty-book-trip-ink, var(--rihlaty-cta-ink, #ffffff)) !important;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.14s ease, box-shadow 0.15s ease;
}

.rihlaty-split-book-btn .rihlaty-split-book-custom-icon {
  width: var(--rihlaty-book-trip-icon-size, 18px);
  height: var(--rihlaty-book-trip-icon-size, 18px);
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.rihlaty-split-book-btn:not(.is-icon-only) svg {
  width: var(--rihlaty-book-trip-icon-size, 18px);
  height: var(--rihlaty-book-trip-icon-size, 18px);
  flex-shrink: 0;
}

.rihlaty-split-book-btn.is-icon-only {
  width: var(--rihlaty-book-trip-icon-size, 38px);
  height: var(--rihlaty-book-trip-icon-size, 38px);
  min-height: 0;
  padding: 0;
  gap: 0;
  overflow: hidden;
  border-radius: var(--rihlaty-icon-radius, 999px) !important;
  flex-shrink: 0;
}

.rihlaty-split-book-btn.is-icon-only:hover {
  transform: scale(1.06);
}

.rihlaty-split-book-btn.is-icon-only.has-img {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.rihlaty-split-book-btn.is-icon-only img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rihlaty-split-book-btn.is-icon-only svg {
  width: calc(var(--rihlaty-book-trip-icon-size, 38px) * 0.48);
  height: calc(var(--rihlaty-book-trip-icon-size, 38px) * 0.48);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .rihlaty-split-wa-btn,
  .rihlaty-split-call-btn {
    width: 38px;
    height: 38px;
  }

  .rihlaty-split-book-btn:not(.is-icon-only) {
    min-height: 38px;
    padding: 6px 14px;
    font-size: 12px;
    gap: 6px;
  }
}

.rihlaty-split-dots-pill {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.16);
  backdrop-filter: blur(10px);
  transition: top 0.2s ease, bottom 0.2s ease;
}

.rihlaty-split-dots-pill.is-dots-top {
  bottom: auto !important;
  top: 54px;
}

@media (min-width: 640px) {
  .rihlaty-split-dots-pill.is-dots-top {
    top: 14px;
  }
}

.rihlaty-split-dots-pill .rihlaty-dot {
  background: rgba(100, 116, 139, 0.55);
}

.rihlaty-split-dots-pill .rihlaty-dot.is-active {
  width: 20px;
  background: var(--rihlaty-primary);
}

.rihlaty-card.is-split-hero-card > .rihlaty-card-thumbs {
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid var(--rihlaty-border);
  background: var(--rihlaty-card-bg);
  box-shadow: var(--rihlaty-shadow);
  justify-content: center;
}

.rihlaty-split-body {
  position: relative;
  width: var(--rihlaty-panel-width, 100%);
  margin-inline: auto;
  padding: 18px 16px;
  border-radius: var(--rihlaty-radius);
  background: var(--rihlaty-card-bg);
  color: var(--rihlaty-text);
  border: 1px solid var(--rihlaty-border);
  box-shadow: var(--rihlaty-shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .rihlaty-split-body {
    padding: 20px 24px;
  }
}

.rihlaty-split-body .rihlaty-wide-pills {
  display: flex;
  margin-bottom: 6px;
}

.rihlaty-split-body .rihlaty-wide-chip:not(.is-badge) {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--rihlaty-border);
  background: var(--rihlaty-box-bg);
  font-size: 11px;
}

.rihlaty-split-body .rihlaty-meta {
  display: none;
}

.rihlaty-split-body .rihlaty-footer {
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center !important;
  justify-content: space-between;
  gap: 8px;
}

.rihlaty-split-body .rihlaty-actions {
  width: auto !important;
  flex-shrink: 0;
  justify-content: flex-end !important;
}

/* =========================================================
   RESPONSIVE CUSTOM SLIDER IMAGE HEIGHT (MOBILE & DESKTOP)
   ========================================================= */
@media (max-width: 767px) {
  .rihlaty-wrapper.has-slider-h-mobile .rihlaty-card:not(.is-glass-floating):not(.is-dark-glass-floating):not(.is-split-hero-card) > .rihlaty-slider {
    height: var(--rihlaty-slider-h-m) !important;
    aspect-ratio: auto !important;
  }

  .rihlaty-wrapper.has-slider-h-mobile .rihlaty-card.is-quick-browse.is-glass-floating > .rihlaty-slider,
  .rihlaty-wrapper.has-slider-h-mobile .rihlaty-card.is-quick-browse.is-dark-glass-floating > .rihlaty-slider {
    height: var(--rihlaty-slider-h-m) !important;
    aspect-ratio: auto !important;
  }

  .rihlaty-wrapper.has-slider-h-mobile .rihlaty-card.is-glass-floating:not(.is-quick-browse),
  .rihlaty-wrapper.has-slider-h-mobile .rihlaty-card.is-dark-glass-floating:not(.is-quick-browse) {
    min-height: var(--rihlaty-slider-h-m) !important;
  }

  .rihlaty-wrapper.has-slider-h-mobile .rihlaty-split-hero {
    min-height: var(--rihlaty-slider-h-m) !important;
  }
}

@media (min-width: 768px) {
  .rihlaty-wrapper.has-slider-h-desktop .rihlaty-card:not(.is-glass-floating):not(.is-dark-glass-floating):not(.is-split-hero-card) > .rihlaty-slider {
    height: var(--rihlaty-slider-h-d) !important;
    aspect-ratio: auto !important;
  }

  .rihlaty-wrapper.has-slider-h-desktop .rihlaty-card.is-quick-browse.is-glass-floating > .rihlaty-slider,
  .rihlaty-wrapper.has-slider-h-desktop .rihlaty-card.is-quick-browse.is-dark-glass-floating > .rihlaty-slider {
    height: var(--rihlaty-slider-h-d) !important;
    aspect-ratio: auto !important;
  }

  .rihlaty-wrapper.has-slider-h-desktop .rihlaty-card.is-glass-floating:not(.is-quick-browse),
  .rihlaty-wrapper.has-slider-h-desktop .rihlaty-card.is-dark-glass-floating:not(.is-quick-browse) {
    min-height: var(--rihlaty-slider-h-d) !important;
  }

  .rihlaty-wrapper.has-slider-h-desktop .rihlaty-card:not(.is-quick-browse):not(.is-glass-floating):not(.is-dark-glass-floating):not(.is-split-hero-card) {
    min-height: var(--rihlaty-slider-h-d) !important;
  }

  .rihlaty-wrapper.has-slider-h-desktop .rihlaty-split-hero {
    min-height: var(--rihlaty-slider-h-d) !important;
  }

  .rihlaty-wrapper.has-slider-w-desktop .rihlaty-split-hero-stage {
    width: var(--rihlaty-slider-w-d, 100%) !important;
    margin-inline: auto !important;
  }

  .rihlaty-wrapper.has-slider-w-desktop .rihlaty-card:not(.is-split-hero-card) > .rihlaty-slider {
    width: var(--rihlaty-slider-w-d, 100%) !important;
    margin-inline: auto !important;
  }

  .rihlaty-wrapper.has-slider-w-desktop .rihlaty-card.is-glass-floating:not(.is-quick-browse) > .rihlaty-slider,
  .rihlaty-wrapper.has-slider-w-desktop .rihlaty-card.is-dark-glass-floating:not(.is-quick-browse) > .rihlaty-slider {
    left: 50% !important;
    right: auto !important;
    margin-inline: 0 !important;
    transform: translateX(-50%) !important;
  }

  @container (min-width: 620px) {
    .rihlaty-wrapper.has-slider-w-desktop .rihlaty-card:not(.is-split-hero-card):not(.is-quick-browse) > .rihlaty-slider {
      left: 50% !important;
      right: auto !important;
      margin-inline: 0 !important;
      transform: translateX(-50%) !important;
    }
  }
}

/* =========================================================
   SLIDER IMAGE FIT MODES (CONTAIN-BLUR & ADAPTIVE ZERO-CROP)
   ========================================================= */
.rihlaty-wrapper.rihlaty-fit-contain-blur .rihlaty-slide-img,
.rihlaty-wrapper.rihlaty-fit-adaptive .rihlaty-slide-img,
.rihlaty-modal-backdrop.rihlaty-fit-contain-blur .rihlaty-modal-hero-img,
.rihlaty-modal-backdrop.rihlaty-fit-adaptive .rihlaty-modal-hero-img {
  object-fit: contain !important;
}

@container (max-width: 619px) {
  .rihlaty-wrapper.rihlaty-fit-adaptive .rihlaty-card:not(.is-glass-floating):not(.is-dark-glass-floating):not(.is-split-hero-card) > .rihlaty-slider {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: var(--rihlaty-slide-ar, 4 / 3) !important;
  }
}

.rihlaty-wrapper.rihlaty-fit-adaptive .rihlaty-card.is-quick-browse > .rihlaty-slider,
.rihlaty-wrapper.rihlaty-fit-adaptive .rihlaty-split-hero,
.rihlaty-modal-backdrop.rihlaty-fit-adaptive .rihlaty-modal-hero {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: var(--rihlaty-slide-ar, 4 / 3) !important;
}

/* =========================================================
   TRIP DETAILS MODAL (Exact Parity with TripDetailsModal.tsx)
   ========================================================= */
.rihlaty-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(4px);
  padding: 8px;
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
}

@media (min-width: 640px) {
  .rihlaty-modal-backdrop {
    padding: 16px;
  }
}

.rihlaty-modal-backdrop.is-open {
  display: flex;
}

.rihlaty-modal {
  position: relative;
  width: 100%;
  max-width: 1024px;
  max-height: 94dvh;
  overflow-y: auto;
  border-radius: 18px;
  background: var(--rihlaty-card-bg, #ffffff);
  color: var(--rihlaty-text, #0f172a);
  border: 1px solid var(--rihlaty-border, rgba(15, 23, 42, 0.1));
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.rihlaty-modal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rihlaty-divider, #e2e8f0);
  background: var(--rihlaty-card-bg, #ffffff);
}

@media (min-width: 640px) {
  .rihlaty-modal-header {
    gap: 16px;
    padding: 16px 24px;
  }
}

.rihlaty-modal-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--rihlaty-muted, #64748b);
}

@media (min-width: 640px) {
  .rihlaty-modal-meta-top {
    gap: 8px;
    font-size: 12px;
  }
}

.rihlaty-modal-title {
  margin: 4px 0 0;
  font-family: var(--rihlaty-heading-font, 'Cairo', 'Tajawal', sans-serif);
  font-size: 16px;
  font-weight: 800;
  color: var(--rihlaty-text, #0f172a);
}

@media (min-width: 640px) {
  .rihlaty-modal-title {
    font-size: 20px;
  }
}

.rihlaty-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--rihlaty-border, #e2e8f0);
  background: transparent;
  color: var(--rihlaty-muted, #475569);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .rihlaty-modal-close {
    width: 40px;
    height: 40px;
  }
}

.rihlaty-modal-close:hover {
  background: rgba(148, 163, 184, 0.14);
}

.rihlaty-modal-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 640px) {
  .rihlaty-modal-body {
    padding: 24px;
    gap: 24px;
  }
}

.rihlaty-modal-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 230px;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
}

@media (min-width: 480px) {
  .rihlaty-modal-hero {
    height: 300px;
  }
}

@media (min-width: 640px) {
  .rihlaty-modal-hero {
    height: 400px;
  }
}

@media (min-width: 1024px) {
  .rihlaty-modal-hero {
    height: 460px;
  }
}

.rihlaty-modal-hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rihlaty-modal-counter {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 4;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  backdrop-filter: blur(4px);
}

.rihlaty-modal-thumbs-wrap {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.rihlaty-modal-thumbs-box {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--rihlaty-border, #e2e8f0);
  background: var(--rihlaty-box-bg, #f8fafc);
  padding: 8px 10px;
}

.rihlaty-modal-thumb {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid transparent;
  opacity: 0.6;
  cursor: pointer;
  background: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.rihlaty-modal-thumb.is-active {
  opacity: 1;
  transform: scale(1.05);
  border-color: var(--rihlaty-primary);
}

.rihlaty-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rihlaty-modal-features {
  max-width: 576px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 379px) {
  .rihlaty-modal-features.rihlaty-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rihlaty-modal-features .rihlaty-feature-box {
  height: 48px;
}

.rihlaty-modal-features .rihlaty-feature-label {
  font-size: 12px;
}

.rihlaty-modal-section {
  border-top: 1px solid var(--rihlaty-divider, #e2e8f0);
  padding-top: 20px;
}

.rihlaty-modal-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.rihlaty-modal-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--rihlaty-heading-font, 'Cairo', 'Tajawal', sans-serif);
  font-size: 16px;
  font-weight: 800;
  color: var(--rihlaty-text, #0f172a);
}

.rihlaty-modal-section-text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--rihlaty-muted, #475569);
  white-space: pre-line;
}

.rihlaty-shortcode-embed {
  margin-top: 8px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.rihlaty-shortcode-section > .rihlaty-shortcode-embed:first-child {
  margin-top: 0;
}

.rihlaty-shortcode-guard {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
}

.rihlaty-shortcode-preview {
  margin-top: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(8, 145, 178, 0.45);
  background: rgba(236, 254, 255, 0.78);
}

.rihlaty-wrapper.is-dark .rihlaty-shortcode-preview {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(8, 145, 178, 0.14);
}

.rihlaty-shortcode-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #0e7490;
}

.rihlaty-wrapper.is-dark .rihlaty-shortcode-preview-head {
  color: #67e8f9;
}

.rihlaty-shortcode-preview-badge {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(207, 250, 254, 0.92);
  color: #155e75;
  font-size: 10px;
  font-weight: 700;
}

.rihlaty-wrapper.is-dark .rihlaty-shortcode-preview-badge {
  background: rgba(8, 145, 178, 0.3);
  color: #a5f3fc;
}

.rihlaty-shortcode-preview-code {
  display: block;
  overflow-x: auto;
  padding: 7px 10px;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
}

.rihlaty-wrapper.is-dark .rihlaty-shortcode-preview-code {
  background: rgba(15, 23, 42, 0.65);
  color: #e0f2fe;
}

.rihlaty-audio-card {
  border-radius: 12px;
  border: 1px solid var(--rihlaty-border, #e2e8f0);
  background: var(--rihlaty-box-bg, #f8fafc);
  padding: 14px;
}

.rihlaty-audio-card audio {
  width: 100%;
  height: 40px;
  display: block;
}

/* Sculpted 3D White Video Player Frame (Main Video + Multi-Video Playlist) */
.rihlaty-cinema-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 12px;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 58%, #e2e8f0 100%);
  border: 1.5px solid #ffffff;
  box-shadow:
    0 18px 36px -12px rgba(15, 23, 42, 0.16),
    0 5px 0 #cbd5e1,
    0 6px 14px rgba(15, 23, 42, 0.08),
    inset 0 2px 0 #ffffff,
    inset 0 -1px 0 rgba(148, 163, 184, 0.35);
}
.rihlaty-wrapper.is-dark .rihlaty-cinema-frame,
.rihlaty-card.is-dark-glass-floating .rihlaty-cinema-frame,
.rihlaty-modal-backdrop.is-dark .rihlaty-cinema-frame {
  box-shadow:
    0 22px 44px -12px rgba(0, 0, 0, 0.58),
    0 5px 0 #cbd5e1,
    inset 0 2px 0 #ffffff,
    inset 0 -1px 0 rgba(148, 163, 184, 0.35);
}
@media (min-width: 640px) {
  .rihlaty-cinema-frame {
    padding: 16px;
  }
}
.rihlaty-cinema-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1), transparent);
}
.rihlaty-cinema-screen-well {
  border-radius: 16px;
  padding: 6px;
  background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 100%);
  box-shadow:
    inset 0 2px 8px rgba(15, 23, 42, 0.16),
    inset 0 0 0 1px rgba(148, 163, 184, 0.35),
    0 1px 0 #ffffff;
}
@media (min-width: 640px) {
  .rihlaty-cinema-screen-well {
    padding: 8px;
  }
}
.rihlaty-cinema-tray {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}
.rihlaty-cinema-tray-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 800;
  color: #334155;
}
.rihlaty-cinema-tray-hint {
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
}

.rihlaty-video-stage {
  width: 100%;
}

.rihlaty-video-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.rihlaty-video-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 0;
  background: #000000;
  width: 100%;
  aspect-ratio: var(--v-aspect, 16 / 9);
  margin: 0 auto;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.rihlaty-video-card.is-vertical {
  width: min(100%, 240px);
  aspect-ratio: var(--v-aspect, 9 / 16);
}

.rihlaty-video-card.is-vertical.is-playing {
  width: min(100%, 430px, calc(86dvh * var(--v-ratio, 0.5625)));
  aspect-ratio: var(--v-aspect, 9 / 16);
}

.rihlaty-video-card iframe,
.rihlaty-video-card video {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: block !important;
  background: #000000;
  object-fit: cover !important;
}

.rihlaty-video-play-cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.85));
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}

.rihlaty-video-play-cover.is-video-overlay {
  bottom: 48px;
  background: rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(1px);
}

.rihlaty-video-play-cover.has-poster,
.rihlaty-video-play-cover.is-video-overlay.has-poster {
  bottom: 0;
  background: rgba(2, 6, 23, 0.25);
}

.rihlaty-video-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}

.rihlaty-video-play-cover.has-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.32);
  z-index: 1;
}

.rihlaty-video-play-cover:hover {
  background: rgba(2, 6, 23, 0.5);
}

.rihlaty-video-play-circle {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--rihlaty-primary, #7C3AED);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.rihlaty-video-play-cover:hover .rihlaty-video-play-circle {
  transform: scale(1.08);
}

.rihlaty-video-play-label {
  position: relative;
  z-index: 2;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.rihlaty-video-play-sub {
  position: relative;
  z-index: 2;
  font-size: 11px;
  color: #cbd5e1;
}

.rihlaty-video-thumbs-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
  margin-top: 0;
}

@media (min-width: 640px) {
  .rihlaty-video-thumbs-row {
    grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  }
}

.rihlaty-video-thumb-btn {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08), 0 2px 0 #cbd5e1, inset 0 1px 0 #ffffff;
  padding: 0;
  cursor: pointer;
  text-align: right;
  opacity: 0.86;
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.rihlaty-video-thumb-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.rihlaty-video-thumb-btn.is-active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--rihlaty-primary, #7C3AED);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14), 0 0 0 1.5px var(--rihlaty-primary, #7C3AED), 0 3px 0 #cbd5e1, inset 0 1px 0 #ffffff;
}

.rihlaty-cinema-frame .rihlaty-video-thumb-title {
  color: #1e293b !important;
}

.rihlaty-video-thumb-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rihlaty-video-thumb-media img,
.rihlaty-video-thumb-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rihlaty-video-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.28);
}

.rihlaty-video-thumb-play-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rihlaty-video-thumb-btn.is-active .rihlaty-video-thumb-play-dot {
  background: var(--rihlaty-primary, #7C3AED);
}

.rihlaty-video-thumb-num {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.68);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 5px;
}

.rihlaty-video-thumb-title {
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--rihlaty-panel-text, #0f172a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: inherit;
}

/* Bottom Eye-Catching Price + Adjacent Contact Icons Row & Stacked CTA Box */
.rihlaty-modal-cta-bar {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--rihlaty-border, #e2e8f0);
  background: var(--rihlaty-box-bg, #f8fafc);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.rihlaty-modal-price-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rihlaty-modal-contact-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .rihlaty-modal-cta-bar {
    padding: 20px;
    gap: 16px;
  }
}

.rihlaty-cta-halo-wrap {
  position: relative;
  width: 100%;
}

@keyframes rihlatySoftHalo {
  0%, 100% {
    opacity: 0.42;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.015);
  }
}

@keyframes rihlatyOutwardPulse {
  0% {
    opacity: 0.78;
    transform: translate3d(0, 0, 0) scale(1, 1);
  }
  38% {
    opacity: 0.52;
    transform: translate3d(0, 0, 0) scale(1.035, 1.13);
  }
  72% {
    opacity: 0.22;
    transform: translate3d(0, 0, 0) scale(1.065, 1.24);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1.095, 1.34);
  }
}

@keyframes rihlatyPulseGeom {
  0% {
    opacity: 0.85;
    transform: translate3d(0, 0, 0) scale(0.75);
  }
  50% {
    opacity: 0.45;
    transform: translate3d(var(--rihlaty-gx, 4px), var(--rihlaty-gy, -5px), 0) scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--rihlaty-gx, 4px) * 1.9), calc(var(--rihlaty-gy, -5px) * 1.9), 0) scale(0.6);
  }
}

.rihlaty-cta-halo {
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  filter: blur(10px);
  pointer-events: none;
  background: linear-gradient(90deg, #DB277745, #16A34A40, #0284C740);
  animation: rihlatySoftHalo 2.6s ease-in-out infinite;
}

.rihlaty-pulse-ring-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  --rihlaty-pulse-color: var(--rihlaty-primary, #7c3aed);
  --rihlaty-pulse-glow: color-mix(in srgb, var(--rihlaty-primary, #7c3aed) 30%, transparent);
}

.rihlaty-wrapper.is-dark .rihlaty-pulse-ring-wrap,
.rihlaty-modal-backdrop.is-dark .rihlaty-pulse-ring-wrap {
  --rihlaty-pulse-color: #ffffff;
}

.rihlaty-pulse-ring {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: var(--rihlaty-btn-radius, 12px);
  border: 1.5px solid var(--rihlaty-pulse-color, rgba(124, 58, 237, 0.65));
  box-shadow: 0 0 10px var(--rihlaty-pulse-glow, rgba(124, 58, 237, 0.22));
  animation: rihlatyOutwardPulse 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  will-change: transform, opacity;
}

.rihlaty-pulse-ring.is-r2 {
  animation-delay: 1.2s;
}

.rihlaty-pulse-geom {
  pointer-events: none;
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--rihlaty-pulse-color, #7c3aed);
  opacity: 0;
  animation: rihlatyPulseGeom 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  will-change: transform, opacity;
}

.rihlaty-pulse-geom.is-circle {
  border-radius: 999px;
  top: -4px;
  right: 8px;
  --rihlaty-gx: 4px;
  --rihlaty-gy: -6px;
  animation-delay: 0.15s;
}

.rihlaty-pulse-geom.is-circle.is-alt {
  top: auto;
  bottom: -4px;
  right: 12px;
  --rihlaty-gx: 5px;
  --rihlaty-gy: 5px;
  animation-delay: 1.35s;
}

.rihlaty-pulse-geom.is-square {
  border-radius: 1.5px;
  bottom: -4px;
  left: 8px;
  --rihlaty-gx: -4px;
  --rihlaty-gy: 6px;
  animation-delay: 0.75s;
}

.rihlaty-pulse-geom.is-square.is-alt {
  bottom: auto;
  top: -4px;
  left: 12px;
  --rihlaty-gx: -5px;
  --rihlaty-gy: -5px;
  animation-delay: 1.85s;
}

@media (prefers-reduced-motion: reduce) {
  .rihlaty-cta-halo,
  .rihlaty-pulse-ring,
  .rihlaty-pulse-geom {
    animation: none !important;
    opacity: 0;
  }
}

.rihlaty-cta-pill-group {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-radius: var(--rihlaty-bar-radius, 16px);
  border: 1px solid var(--rihlaty-border, rgba(15, 23, 42, 0.1));
  background: var(--rihlaty-card-bg, #ffffff);
  padding: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  overflow: visible;
}

.rihlaty-btn-white-book {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--rihlaty-btn-radius, 12px);
  border: 1px solid #cbd5e1;
  padding: 12px 18px;
  background: var(--rihlaty-direct-book-bg, #ffffff);
  color: var(--rihlaty-direct-book-ink, #0f172a) !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
  transition: transform 0.14s ease, box-shadow 0.15s ease;
}

.rihlaty-btn-white-book:hover {
  transform: translateY(-1px) scale(1.025);
}

.rihlaty-btn-white-book svg {
  color: var(--rihlaty-cta-bg, var(--rihlaty-primary, #7c3aed));
  width: var(--rihlaty-direct-book-icon-size, 20px);
  height: var(--rihlaty-direct-book-icon-size, 20px);
  flex-shrink: 0;
}

.has-custom-direct-book .rihlaty-btn-white-book svg {
  color: var(--rihlaty-direct-book-ink, #ffffff);
}

.rihlaty-btn-white-book .rihlaty-white-book-custom-icon {
  width: var(--rihlaty-direct-book-icon-size, 20px);
  height: var(--rihlaty-direct-book-icon-size, 20px);
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.rihlaty-btn-book-main {
  flex: 1 1 auto;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--rihlaty-btn-radius, 12px);
  padding: 12px 18px;
  background: var(--rihlaty-cta-bg, var(--rihlaty-primary));
  color: var(--rihlaty-cta-ink, #ffffff) !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  text-align: center;
  transition: transform 0.14s ease, box-shadow 0.15s ease;
}

.rihlaty-btn-book-main:hover {
  transform: translateY(-1px) scale(1.015);
}

.rihlaty-btn-wa-main {
  min-height: 48px;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--rihlaty-btn-radius, 12px);
  padding: 12px 18px;
  background: var(--rihlaty-wa-bg, #16a34a);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.14s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.rihlaty-btn-wa-main:hover {
  filter: brightness(0.95);
  transform: translateY(-1px) scale(1.02);
}

.rihlaty-btn-wa-main img {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
}

.rihlaty-btn-call-main {
  min-height: 48px;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--rihlaty-btn-radius, 12px);
  padding: 12px 18px;
  background: var(--rihlaty-call-bg, #0284c7);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.14s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.rihlaty-btn-call-main:hover {
  filter: brightness(0.95);
  transform: translateY(-1px) scale(1.02);
}

.rihlaty-btn-call-main img {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  object-fit: cover;
}

.rihlaty-btn-wa-main.is-icon-only,
.rihlaty-btn-call-main.is-icon-only {
  flex: 0 0 48px !important;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0 !important;
  gap: 0;
  border-radius: var(--rihlaty-icon-radius, 999px) !important;
  overflow: hidden;
}

.rihlaty-btn-wa-main.is-icon-only.has-img,
.rihlaty-btn-call-main.is-icon-only.has-img {
  background: transparent !important;
}

.rihlaty-btn-wa-main.is-icon-only.has-img img,
.rihlaty-btn-call-main.is-icon-only.has-img img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

.rihlaty-cta-pill-group {
  flex-direction: column;
  align-items: stretch;
}

.rihlaty-cta-pill-group .rihlaty-pulse-ring-wrap {
  width: 100%;
  flex: 1 1 100%;
}

.rihlaty-cta-pill-group .rihlaty-btn-book-main {
  width: 100%;
  flex: 1 1 100%;
}

@media (min-width: 640px) {
  .rihlaty-cta-pill-group {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }
  .rihlaty-cta-pill-group .rihlaty-pulse-ring-wrap {
    width: auto;
    flex: 0 0 auto;
  }
  .rihlaty-cta-pill-group .rihlaty-btn-book-main {
    width: auto;
    flex: 1 1 auto;
  }
  .rihlaty-btn-wa-main:not(.is-icon-only),
  .rihlaty-btn-call-main:not(.is-icon-only) {
    flex: 1 1 0;
  }
}

@media (min-width: 1024px) {
  .rihlaty-btn-wa-main,
  .rihlaty-btn-call-main {
    flex: 0 0 auto;
  }
}

/* =========================================================
   3D SURFACE & SHAPE STYLES (Price+Contact Bar & Bottom CTAs)
   ========================================================= */
.rihlaty-shape-rounded {
  --rihlaty-bar-radius: 16px;
  --rihlaty-btn-radius: 12px;
  --rihlaty-icon-radius: 999px;
}

.rihlaty-shape-pill {
  --rihlaty-bar-radius: 999px;
  --rihlaty-btn-radius: 999px;
  --rihlaty-icon-radius: 999px;
}

.rihlaty-shape-squircle {
  --rihlaty-bar-radius: 22px;
  --rihlaty-btn-radius: 16px;
  --rihlaty-icon-radius: 14px;
}

.rihlaty-shape-soft-square {
  --rihlaty-bar-radius: 10px;
  --rihlaty-btn-radius: 8px;
  --rihlaty-icon-radius: 10px;
}

.rihlaty-wrapper .rihlaty-card.has-custom-bar .rihlaty-footer,
.rihlaty-wrapper .rihlaty-card.has-custom-bar .rihlaty-modal-cta-bar,
.rihlaty-wrapper .rihlaty-card:not(.rihlaty-3d-flat) .rihlaty-footer,
.rihlaty-wrapper .rihlaty-card:not(.rihlaty-3d-flat) > .rihlaty-body .rihlaty-footer,
.rihlaty-wrapper .rihlaty-card:not(.rihlaty-3d-flat) .rihlaty-modal-cta-bar,
.rihlaty-modal-backdrop.has-custom-bar .rihlaty-modal-cta-bar,
.rihlaty-modal-backdrop:not(.rihlaty-3d-flat) .rihlaty-modal-cta-bar,
.rihlaty-wrapper.has-custom-bar .rihlaty-modal-cta-bar,
.rihlaty-wrapper:not(.rihlaty-3d-flat) .rihlaty-modal-cta-bar {
  border-radius: var(--rihlaty-bar-radius, 16px) !important;
  padding: 10px 12px !important;
  background: var(--rihlaty-bar-bg, linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%)) !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: var(--rihlaty-bar-border, rgba(15, 23, 42, 0.12)) !important;
}

.rihlaty-modal-backdrop:not(.rihlaty-3d-flat) .rihlaty-modal-cta-bar,
.rihlaty-wrapper:not(.rihlaty-3d-flat) .rihlaty-modal-cta-bar,
.rihlaty-wrapper .rihlaty-card:not(.rihlaty-3d-flat) .rihlaty-modal-cta-bar {
  padding: 14px 16px !important;
}

.rihlaty-wrapper.is-dark .rihlaty-card:not(.has-custom-bar):not(.rihlaty-3d-flat) .rihlaty-footer,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating:not(.has-custom-bar):not(.rihlaty-3d-flat) .rihlaty-footer,
.rihlaty-wrapper.is-dark .rihlaty-card:not(.has-custom-bar):not(.rihlaty-3d-flat) .rihlaty-modal-cta-bar,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating:not(.has-custom-bar):not(.rihlaty-3d-flat) .rihlaty-modal-cta-bar,
.rihlaty-wrapper.is-dark:not(.has-custom-bar):not(.rihlaty-3d-flat) .rihlaty-modal-cta-bar,
.rihlaty-modal-backdrop.is-dark:not(.has-custom-bar):not(.rihlaty-3d-flat) .rihlaty-modal-cta-bar {
  background: var(--rihlaty-bar-bg, linear-gradient(180deg, rgba(30, 41, 59, 0.90) 0%, rgba(15, 23, 42, 0.96) 100%)) !important;
  border-color: var(--rihlaty-bar-border, rgba(255, 255, 255, 0.16)) !important;
}

.rihlaty-modal-backdrop .rihlaty-modal-cta-bar,
.rihlaty-wrapper .rihlaty-card .rihlaty-modal-cta-bar {
  border-radius: var(--rihlaty-bar-radius, 16px) !important;
}

.rihlaty-wrapper .rihlaty-card:not(.rihlaty-3d-flat) .rihlaty-wa-btn.has-img,
.rihlaty-wrapper .rihlaty-card:not(.rihlaty-3d-flat) .rihlaty-call-btn.has-img,
.rihlaty-wrapper .rihlaty-card:not(.rihlaty-3d-flat) .rihlaty-split-wa-btn.has-img,
.rihlaty-wrapper .rihlaty-card:not(.rihlaty-3d-flat) .rihlaty-split-call-btn.has-img,
.rihlaty-wrapper .rihlaty-card:not(.rihlaty-3d-flat) .rihlaty-btn-wa-main.has-img,
.rihlaty-wrapper .rihlaty-card:not(.rihlaty-3d-flat) .rihlaty-btn-call-main.has-img,
.rihlaty-wrapper:not(.rihlaty-3d-flat) .rihlaty-btn-wa-main.has-img,
.rihlaty-wrapper:not(.rihlaty-3d-flat) .rihlaty-btn-call-main.has-img,
.rihlaty-modal-backdrop:not(.rihlaty-3d-flat) .rihlaty-btn-wa-main.has-img,
.rihlaty-modal-backdrop:not(.rihlaty-3d-flat) .rihlaty-btn-call-main.has-img {
  border-radius: var(--rihlaty-icon-radius, 999px) !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18) !important;
}

/* 3D Style 1: Soft Bevel (default raised tactile bevel) */
.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-footer,
.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-modal-cta-bar,
.rihlaty-wrapper.rihlaty-3d-soft-bevel .rihlaty-modal-cta-bar,
.rihlaty-modal-backdrop.rihlaty-3d-soft-bevel .rihlaty-modal-cta-bar {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -2px 0 rgba(15, 23, 42, 0.08) !important;
}
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating.rihlaty-3d-soft-bevel .rihlaty-footer,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating.rihlaty-3d-soft-bevel .rihlaty-modal-cta-bar,
.rihlaty-wrapper.is-dark .rihlaty-3d-soft-bevel .rihlaty-footer,
.rihlaty-wrapper.is-dark .rihlaty-3d-soft-bevel .rihlaty-modal-cta-bar,
.rihlaty-wrapper.is-dark.rihlaty-3d-soft-bevel .rihlaty-modal-cta-bar,
.rihlaty-modal-backdrop.is-dark.rihlaty-3d-soft-bevel .rihlaty-modal-cta-bar {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.20), inset 0 -2px 0 rgba(0, 0, 0, 0.42) !important;
}

.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-cta,
.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-btn-book-main,
.rihlaty-wrapper.rihlaty-3d-soft-bevel .rihlaty-btn-book-main,
.rihlaty-modal-backdrop.rihlaty-3d-soft-bevel .rihlaty-btn-book-main {
  border-radius: var(--rihlaty-btn-radius, 12px) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(0, 0, 0, 0.20) 100%), var(--rihlaty-cta-bg, var(--rihlaty-primary)) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 78%, #ffffff) 0%, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 55%, color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 72%, #000000) !important;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 32%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -2px 0 rgba(0, 0, 0, 0.22) !important;
}
.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-split-book-btn:not(.has-img) {
  border-radius: var(--rihlaty-btn-radius, 12px) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(0, 0, 0, 0.20) 100%), var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 78%, #ffffff) 0%, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 55%, color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 72%, #000000) !important;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 32%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -2px 0 rgba(0, 0, 0, 0.22) !important;
}
.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-wa-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-split-wa-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-btn-wa-main:not(.has-img),
.rihlaty-wrapper.rihlaty-3d-soft-bevel .rihlaty-btn-wa-main:not(.has-img),
.rihlaty-modal-backdrop.rihlaty-3d-soft-bevel .rihlaty-btn-wa-main:not(.has-img) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(0, 0, 0, 0.20) 100%), var(--rihlaty-wa-bg, #16a34a) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 78%, #ffffff) 0%, var(--rihlaty-wa-bg, #16a34a) 55%, color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 72%, #000000) !important;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 32%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -2px 0 rgba(0, 0, 0, 0.22) !important;
}
.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-call-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-split-call-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-btn-call-main:not(.has-img),
.rihlaty-wrapper.rihlaty-3d-soft-bevel .rihlaty-btn-call-main:not(.has-img),
.rihlaty-modal-backdrop.rihlaty-3d-soft-bevel .rihlaty-btn-call-main:not(.has-img) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(0, 0, 0, 0.20) 100%), var(--rihlaty-call-bg, #0284c7) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 78%, #ffffff) 0%, var(--rihlaty-call-bg, #0284c7) 55%, color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 72%, #000000) !important;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 32%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -2px 0 rgba(0, 0, 0, 0.22) !important;
}
.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-btn-white-book,
.rihlaty-wrapper.rihlaty-3d-soft-bevel .rihlaty-btn-white-book,
.rihlaty-modal-backdrop.rihlaty-3d-soft-bevel .rihlaty-btn-white-book {
  border-radius: var(--rihlaty-btn-radius, 12px) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 62%, #e2e8f0 100%) !important;
  border: 1px solid #cbd5e1 !important;
  color: var(--rihlaty-direct-book-ink, #0f172a) !important;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.13), inset 0 1px 0 #ffffff, inset 0 -2px 0 rgba(148, 163, 184, 0.45) !important;
}
.rihlaty-wrapper.has-custom-direct-book .rihlaty-3d-soft-bevel .rihlaty-btn-white-book,
.rihlaty-wrapper.has-custom-direct-book.rihlaty-3d-soft-bevel .rihlaty-btn-white-book,
.rihlaty-modal-backdrop.has-custom-direct-book.rihlaty-3d-soft-bevel .rihlaty-btn-white-book {
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-direct-book-bg) 78%, #ffffff) 0%, var(--rihlaty-direct-book-bg) 55%, color-mix(in srgb, var(--rihlaty-direct-book-bg) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-direct-book-bg) 72%, #000000) !important;
  color: var(--rihlaty-direct-book-ink, #ffffff) !important;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--rihlaty-direct-book-bg) 32%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -2px 0 rgba(0, 0, 0, 0.22) !important;
}
.rihlaty-wrapper .rihlaty-3d-soft-bevel .rihlaty-share-btn {
  border-radius: var(--rihlaty-icon-radius, 999px) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%) !important;
  border: 1px solid var(--rihlaty-bar-border, rgba(15, 23, 42, 0.14)) !important;
  color: var(--rihlaty-text, #0f172a) !important;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -2px 0 rgba(15, 23, 42, 0.08) !important;
}
.rihlaty-wrapper.is-dark .rihlaty-3d-soft-bevel .rihlaty-share-btn,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating.rihlaty-3d-soft-bevel .rihlaty-share-btn {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  border-color: var(--rihlaty-bar-border, rgba(255, 255, 255, 0.20)) !important;
  color: #f8fafc !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -2px 0 rgba(0, 0, 0, 0.35) !important;
}

/* 3D Style 2: Push 3D (physical button lip with bottom ledge) */
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-footer,
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-modal-cta-bar,
.rihlaty-wrapper.rihlaty-3d-push-3d .rihlaty-modal-cta-bar,
.rihlaty-modal-backdrop.rihlaty-3d-push-3d .rihlaty-modal-cta-bar {
  border-bottom-width: 3px !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12), 0 3px 0 rgba(148, 163, 184, 0.45), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}
.rihlaty-wrapper.is-dark .rihlaty-3d-push-3d .rihlaty-footer,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating.rihlaty-3d-push-3d .rihlaty-footer,
.rihlaty-wrapper.is-dark .rihlaty-3d-push-3d .rihlaty-modal-cta-bar,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating.rihlaty-3d-push-3d .rihlaty-modal-cta-bar,
.rihlaty-wrapper.is-dark.rihlaty-3d-push-3d .rihlaty-modal-cta-bar,
.rihlaty-modal-backdrop.is-dark.rihlaty-3d-push-3d .rihlaty-modal-cta-bar {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.52), 0 3px 0 rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-cta,
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-btn-book-main,
.rihlaty-wrapper.rihlaty-3d-push-3d .rihlaty-btn-book-main,
.rihlaty-modal-backdrop.rihlaty-3d-push-3d .rihlaty-btn-book-main {
  border-radius: var(--rihlaty-btn-radius, 12px) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.24) 100%), var(--rihlaty-cta-bg, var(--rihlaty-primary)) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 78%, #ffffff) 0%, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 60%, color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 52%, #000000) !important;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 52%, #000000), 0 7px 14px color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 34%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-split-book-btn:not(.has-img) {
  border-radius: var(--rihlaty-btn-radius, 12px) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.24) 100%), var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 78%, #ffffff) 0%, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 60%, color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 52%, #000000) !important;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 52%, #000000), 0 7px 14px color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 34%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-wa-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-split-wa-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-btn-wa-main:not(.has-img),
.rihlaty-wrapper.rihlaty-3d-push-3d .rihlaty-btn-wa-main:not(.has-img),
.rihlaty-modal-backdrop.rihlaty-3d-push-3d .rihlaty-btn-wa-main:not(.has-img) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.24) 100%), var(--rihlaty-wa-bg, #16a34a) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 78%, #ffffff) 0%, var(--rihlaty-wa-bg, #16a34a) 60%, color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 52%, #000000) !important;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 52%, #000000), 0 7px 14px color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 34%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-call-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-split-call-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-btn-call-main:not(.has-img),
.rihlaty-wrapper.rihlaty-3d-push-3d .rihlaty-btn-call-main:not(.has-img),
.rihlaty-modal-backdrop.rihlaty-3d-push-3d .rihlaty-btn-call-main:not(.has-img) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.24) 100%), var(--rihlaty-call-bg, #0284c7) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 78%, #ffffff) 0%, var(--rihlaty-call-bg, #0284c7) 60%, color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 52%, #000000) !important;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 52%, #000000), 0 7px 14px color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 34%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-btn-white-book,
.rihlaty-wrapper.rihlaty-3d-push-3d .rihlaty-btn-white-book,
.rihlaty-modal-backdrop.rihlaty-3d-push-3d .rihlaty-btn-white-book {
  border-radius: var(--rihlaty-btn-radius, 12px) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 65%, #e2e8f0 100%) !important;
  border: 1px solid #94a3b8 !important;
  color: var(--rihlaty-direct-book-ink, #0f172a) !important;
  box-shadow: 0 4px 0 #94a3b8, 0 8px 16px rgba(15, 23, 42, 0.16), inset 0 1px 0 #ffffff !important;
}
.rihlaty-wrapper.has-custom-direct-book .rihlaty-3d-push-3d .rihlaty-btn-white-book,
.rihlaty-wrapper.has-custom-direct-book.rihlaty-3d-push-3d .rihlaty-btn-white-book,
.rihlaty-modal-backdrop.has-custom-direct-book.rihlaty-3d-push-3d .rihlaty-btn-white-book {
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-direct-book-bg) 78%, #ffffff) 0%, var(--rihlaty-direct-book-bg) 60%, color-mix(in srgb, var(--rihlaty-direct-book-bg) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-direct-book-bg) 52%, #000000) !important;
  color: var(--rihlaty-direct-book-ink, #ffffff) !important;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--rihlaty-direct-book-bg) 52%, #000000), 0 7px 14px color-mix(in srgb, var(--rihlaty-direct-book-bg) 34%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}
.rihlaty-wrapper .rihlaty-3d-push-3d .rihlaty-share-btn {
  border-radius: var(--rihlaty-icon-radius, 999px) !important;
  background: #f8fafc !important;
  border: 1px solid var(--rihlaty-bar-border, rgba(15, 23, 42, 0.14)) !important;
  color: var(--rihlaty-text, #0f172a) !important;
  box-shadow: 0 3px 0 rgba(148, 163, 184, 0.60), 0 5px 12px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}
.rihlaty-wrapper.is-dark .rihlaty-3d-push-3d .rihlaty-share-btn,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating.rihlaty-3d-push-3d .rihlaty-share-btn {
  background: #1e293b !important;
  border-color: var(--rihlaty-bar-border, rgba(255, 255, 255, 0.22)) !important;
  color: #f8fafc !important;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.65), 0 6px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

/* 3D Style 3: Glass Pillow */
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-footer,
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-modal-cta-bar,
.rihlaty-wrapper.rihlaty-3d-glass-pillow .rihlaty-modal-cta-bar,
.rihlaty-modal-backdrop.rihlaty-3d-glass-pillow .rihlaty-modal-cta-bar {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.09), inset 0 2px 6px rgba(255, 255, 255, 1), inset 0 -3px 7px rgba(15, 23, 42, 0.08) !important;
}
.rihlaty-wrapper.is-dark .rihlaty-3d-glass-pillow .rihlaty-footer,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating.rihlaty-3d-glass-pillow .rihlaty-footer,
.rihlaty-wrapper.is-dark .rihlaty-3d-glass-pillow .rihlaty-modal-cta-bar,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating.rihlaty-3d-glass-pillow .rihlaty-modal-cta-bar,
.rihlaty-wrapper.is-dark.rihlaty-3d-glass-pillow .rihlaty-modal-cta-bar,
.rihlaty-modal-backdrop.is-dark.rihlaty-3d-glass-pillow .rihlaty-modal-cta-bar {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42), inset 0 2px 5px rgba(255, 255, 255, 0.20), inset 0 -3px 8px rgba(0, 0, 0, 0.45) !important;
}
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-cta,
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-btn-book-main,
.rihlaty-wrapper.rihlaty-3d-glass-pillow .rihlaty-btn-book-main,
.rihlaty-modal-backdrop.rihlaty-3d-glass-pillow .rihlaty-btn-book-main {
  border-radius: var(--rihlaty-btn-radius, 12px) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(0, 0, 0, 0.22) 100%), var(--rihlaty-cta-bg, var(--rihlaty-primary)) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 78%, #ffffff) 0%, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 50%, color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 85%, transparent) !important;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 32%, transparent), inset 0 2px 5px rgba(255, 255, 255, 0.48), inset 0 -3px 6px rgba(0, 0, 0, 0.24) !important;
}
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-split-book-btn:not(.has-img) {
  border-radius: var(--rihlaty-btn-radius, 12px) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(0, 0, 0, 0.22) 100%), var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 78%, #ffffff) 0%, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 50%, color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 85%, transparent) !important;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 32%, transparent), inset 0 2px 5px rgba(255, 255, 255, 0.48), inset 0 -3px 6px rgba(0, 0, 0, 0.24) !important;
}
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-wa-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-split-wa-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-btn-wa-main:not(.has-img),
.rihlaty-wrapper.rihlaty-3d-glass-pillow .rihlaty-btn-wa-main:not(.has-img),
.rihlaty-modal-backdrop.rihlaty-3d-glass-pillow .rihlaty-btn-wa-main:not(.has-img) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(0, 0, 0, 0.22) 100%), var(--rihlaty-wa-bg, #16a34a) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 78%, #ffffff) 0%, var(--rihlaty-wa-bg, #16a34a) 50%, color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 85%, transparent) !important;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 32%, transparent), inset 0 2px 5px rgba(255, 255, 255, 0.48), inset 0 -3px 6px rgba(0, 0, 0, 0.24) !important;
}
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-call-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-split-call-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-btn-call-main:not(.has-img),
.rihlaty-wrapper.rihlaty-3d-glass-pillow .rihlaty-btn-call-main:not(.has-img),
.rihlaty-modal-backdrop.rihlaty-3d-glass-pillow .rihlaty-btn-call-main:not(.has-img) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(0, 0, 0, 0.22) 100%), var(--rihlaty-call-bg, #0284c7) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 78%, #ffffff) 0%, var(--rihlaty-call-bg, #0284c7) 50%, color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 85%, transparent) !important;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 32%, transparent), inset 0 2px 5px rgba(255, 255, 255, 0.48), inset 0 -3px 6px rgba(0, 0, 0, 0.24) !important;
}
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-btn-white-book,
.rihlaty-wrapper.rihlaty-3d-glass-pillow .rihlaty-btn-white-book,
.rihlaty-modal-backdrop.rihlaty-3d-glass-pillow .rihlaty-btn-white-book {
  border-radius: var(--rihlaty-btn-radius, 12px) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #e2e8f0 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  color: var(--rihlaty-direct-book-ink, #0f172a) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14), inset 0 2px 6px #ffffff, inset 0 -3px 6px rgba(148, 163, 184, 0.38) !important;
}
.rihlaty-wrapper.has-custom-direct-book .rihlaty-3d-glass-pillow .rihlaty-btn-white-book,
.rihlaty-wrapper.has-custom-direct-book.rihlaty-3d-glass-pillow .rihlaty-btn-white-book,
.rihlaty-modal-backdrop.has-custom-direct-book.rihlaty-3d-glass-pillow .rihlaty-btn-white-book {
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-direct-book-bg) 78%, #ffffff) 0%, var(--rihlaty-direct-book-bg) 50%, color-mix(in srgb, var(--rihlaty-direct-book-bg) 74%, #000000) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-direct-book-bg) 85%, transparent) !important;
  color: var(--rihlaty-direct-book-ink, #ffffff) !important;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--rihlaty-direct-book-bg) 32%, transparent), inset 0 2px 5px rgba(255, 255, 255, 0.48), inset 0 -3px 6px rgba(0, 0, 0, 0.24) !important;
}
.rihlaty-wrapper .rihlaty-3d-glass-pillow .rihlaty-share-btn {
  border-radius: var(--rihlaty-icon-radius, 999px) !important;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid var(--rihlaty-bar-border, rgba(15, 23, 42, 0.14)) !important;
  color: var(--rihlaty-text, #0f172a) !important;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.95), inset 0 -2px 4px rgba(15, 23, 42, 0.08), 0 4px 10px rgba(15, 23, 42, 0.08) !important;
}
.rihlaty-wrapper.is-dark .rihlaty-3d-glass-pillow .rihlaty-share-btn,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating.rihlaty-3d-glass-pillow .rihlaty-share-btn {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%) !important;
  border-color: var(--rihlaty-bar-border, rgba(255, 255, 255, 0.22)) !important;
  color: #f8fafc !important;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.18), inset 0 -2px 5px rgba(0, 0, 0, 0.45), 0 4px 10px rgba(0, 0, 0, 0.30) !important;
}

/* 3D Style 4: Neon Glow */
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-footer,
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-modal-cta-bar,
.rihlaty-wrapper.rihlaty-3d-neon-glow .rihlaty-modal-cta-bar,
.rihlaty-modal-backdrop.rihlaty-3d-neon-glow .rihlaty-modal-cta-bar {
  border-color: var(--rihlaty-bar-border, color-mix(in srgb, var(--rihlaty-primary) 45%, transparent)) !important;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--rihlaty-primary) 28%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.90), inset 0 -2px 0 color-mix(in srgb, var(--rihlaty-primary) 25%, transparent) !important;
}
.rihlaty-wrapper.is-dark .rihlaty-3d-neon-glow .rihlaty-footer,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating.rihlaty-3d-neon-glow .rihlaty-footer,
.rihlaty-wrapper.is-dark .rihlaty-3d-neon-glow .rihlaty-modal-cta-bar,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating.rihlaty-3d-neon-glow .rihlaty-modal-cta-bar,
.rihlaty-wrapper.is-dark.rihlaty-3d-neon-glow .rihlaty-modal-cta-bar,
.rihlaty-modal-backdrop.is-dark.rihlaty-3d-neon-glow .rihlaty-modal-cta-bar {
  box-shadow: 0 8px 22px color-mix(in srgb, var(--rihlaty-primary) 34%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -2px 0 color-mix(in srgb, var(--rihlaty-primary) 28%, transparent) !important;
}
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-cta,
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-btn-book-main,
.rihlaty-wrapper.rihlaty-3d-neon-glow .rihlaty-btn-book-main,
.rihlaty-modal-backdrop.rihlaty-3d-neon-glow .rihlaty-btn-book-main {
  border-radius: var(--rihlaty-btn-radius, 12px) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, transparent 100%), var(--rihlaty-cta-bg, var(--rihlaty-primary)) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 78%, #ffffff) 0%, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 78%, #ffffff) !important;
  box-shadow: 0 0 18px color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 50%, transparent), 0 4px 12px color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary)) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-split-book-btn:not(.has-img) {
  border-radius: var(--rihlaty-btn-radius, 12px) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, transparent 100%), var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 78%, #ffffff) 0%, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 78%, #ffffff) !important;
  box-shadow: 0 0 18px color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 50%, transparent), 0 4px 12px color-mix(in srgb, var(--rihlaty-book-trip-bg, var(--rihlaty-cta-bg, var(--rihlaty-primary))) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-wa-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-split-wa-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-btn-wa-main:not(.has-img),
.rihlaty-wrapper.rihlaty-3d-neon-glow .rihlaty-btn-wa-main:not(.has-img),
.rihlaty-modal-backdrop.rihlaty-3d-neon-glow .rihlaty-btn-wa-main:not(.has-img) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, transparent 100%), var(--rihlaty-wa-bg, #16a34a) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 78%, #ffffff) 0%, var(--rihlaty-wa-bg, #16a34a) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 78%, #ffffff) !important;
  box-shadow: 0 0 18px color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 50%, transparent), 0 4px 12px color-mix(in srgb, var(--rihlaty-wa-bg, #16a34a) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-call-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-split-call-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-btn-call-main:not(.has-img),
.rihlaty-wrapper.rihlaty-3d-neon-glow .rihlaty-btn-call-main:not(.has-img),
.rihlaty-modal-backdrop.rihlaty-3d-neon-glow .rihlaty-btn-call-main:not(.has-img) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, transparent 100%), var(--rihlaty-call-bg, #0284c7) !important;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 78%, #ffffff) 0%, var(--rihlaty-call-bg, #0284c7) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 78%, #ffffff) !important;
  box-shadow: 0 0 18px color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 50%, transparent), 0 4px 12px color-mix(in srgb, var(--rihlaty-call-bg, #0284c7) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-btn-white-book,
.rihlaty-wrapper.rihlaty-3d-neon-glow .rihlaty-btn-white-book,
.rihlaty-modal-backdrop.rihlaty-3d-neon-glow .rihlaty-btn-white-book {
  border-radius: var(--rihlaty-btn-radius, 12px) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary, #7c3aed)) 55%, #ffffff) !important;
  color: var(--rihlaty-direct-book-ink, #0f172a) !important;
  box-shadow: 0 0 18px color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary, #7c3aed)) 36%, transparent), 0 4px 12px rgba(15, 23, 42, 0.14), inset 0 1px 0 #ffffff !important;
}
.rihlaty-wrapper.has-custom-direct-book .rihlaty-3d-neon-glow .rihlaty-btn-white-book,
.rihlaty-wrapper.has-custom-direct-book.rihlaty-3d-neon-glow .rihlaty-btn-white-book,
.rihlaty-modal-backdrop.has-custom-direct-book.rihlaty-3d-neon-glow .rihlaty-btn-white-book {
  background: linear-gradient(180deg, color-mix(in srgb, var(--rihlaty-direct-book-bg) 78%, #ffffff) 0%, var(--rihlaty-direct-book-bg) 100%) !important;
  border: 1px solid color-mix(in srgb, var(--rihlaty-direct-book-bg) 78%, #ffffff) !important;
  color: var(--rihlaty-direct-book-ink, #ffffff) !important;
  box-shadow: 0 0 18px color-mix(in srgb, var(--rihlaty-direct-book-bg) 50%, transparent), 0 4px 12px color-mix(in srgb, var(--rihlaty-direct-book-bg) 35%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.42) !important;
}
.rihlaty-wrapper .rihlaty-3d-neon-glow .rihlaty-share-btn {
  border-radius: var(--rihlaty-icon-radius, 999px) !important;
  background: #f8fafc !important;
  border: 1px solid var(--rihlaty-bar-border, rgba(15, 23, 42, 0.14)) !important;
  color: var(--rihlaty-text, #0f172a) !important;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--rihlaty-primary) 24%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.90) !important;
}
.rihlaty-wrapper.is-dark .rihlaty-3d-neon-glow .rihlaty-share-btn,
.rihlaty-wrapper .rihlaty-card.is-dark-glass-floating.rihlaty-3d-neon-glow .rihlaty-share-btn {
  background: #1e293b !important;
  border-color: var(--rihlaty-bar-border, rgba(255, 255, 255, 0.22)) !important;
  color: #f8fafc !important;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--rihlaty-primary) 30%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.20) !important;
}

.rihlaty-wrapper .rihlaty-wa-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-call-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-split-wa-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-split-call-btn:not(.has-img),
.rihlaty-wrapper .rihlaty-split-book-btn.is-icon-only {
  border-radius: var(--rihlaty-icon-radius, 999px) !important;
}

/* Slider Bottom Drop Shadow */
.rihlaty-wrapper.has-slider-bottom-shadow .rihlaty-card > .rihlaty-slider,
.rihlaty-wrapper.has-slider-bottom-shadow .rihlaty-split-hero,
.rihlaty-modal-backdrop.has-slider-bottom-shadow .rihlaty-modal-hero {
  box-shadow: var(--rihlaty-slider-shadow, 0 16px 32px -8px rgba(15, 23, 42, 0.28)) !important;
}
.rihlaty-slider-under-shadow {
  pointer-events: none;
  position: relative;
  z-index: 1;
  width: 92%;
  height: var(--rihlaty-slider-bar-h, 16px);
  margin: calc(var(--rihlaty-slider-bar-h, 16px) * -0.35) auto 4px;
  border-radius: 9999px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.38) 48%, rgba(15, 23, 42, 0) 76%);
  opacity: var(--rihlaty-slider-bar-op, 0.35);
  filter: blur(var(--rihlaty-slider-bar-blur, 11px));
}
.rihlaty-card.is-split-hero-card > .rihlaty-slider-under-shadow {
  margin-top: -12px;
  margin-bottom: 0;
}

/* Internal Trip Details Photo Album (Sculpted Raised 3D White Frame) */
.rihlaty-details-album {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rihlaty-divider, rgba(15, 23, 42, 0.1));
}
.rihlaty-album-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.rihlaty-album-head-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: var(--rihlaty-text, #0f172a);
}
.rihlaty-album-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary, #7c3aed)) 14%, transparent);
  color: var(--rihlaty-cta-bg, var(--rihlaty-primary, #7c3aed));
}
.rihlaty-album-count {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--rihlaty-muted, #64748b);
}
.rihlaty-album-hint {
  font-size: 10px;
  font-weight: 600;
  color: var(--rihlaty-muted, #64748b);
}
.rihlaty-wrapper.is-dark .rihlaty-album-head-title,
.rihlaty-card.is-dark-glass-floating .rihlaty-album-head-title,
.rihlaty-modal-backdrop.is-dark .rihlaty-album-head-title {
  color: #f8fafc;
}
.rihlaty-wrapper.is-dark .rihlaty-album-count,
.rihlaty-card.is-dark-glass-floating .rihlaty-album-count,
.rihlaty-modal-backdrop.is-dark .rihlaty-album-count {
  background: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}
.rihlaty-wrapper.is-dark .rihlaty-album-icon,
.rihlaty-card.is-dark-glass-floating .rihlaty-album-icon,
.rihlaty-modal-backdrop.is-dark .rihlaty-album-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.rihlaty-album-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  background: color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary, #7c3aed)) 12%, transparent);
  color: var(--rihlaty-cta-bg, var(--rihlaty-primary, #7c3aed));
  border: 1px solid color-mix(in srgb, var(--rihlaty-cta-bg, var(--rihlaty-primary, #7c3aed)) 26%, transparent);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.rihlaty-album-scroll-cue:hover {
  opacity: 0.9;
}
.rihlaty-album-scroll-arrows {
  display: inline-flex;
  align-items: center;
}
.rihlaty-album-scroll-arrows svg + svg {
  margin-right: -6px;
}
.rihlaty-wrapper.is-dark .rihlaty-album-scroll-cue,
.rihlaty-card.is-dark-glass-floating .rihlaty-album-scroll-cue,
.rihlaty-modal-backdrop.is-dark .rihlaty-album-scroll-cue {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
}
.rihlaty-album-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.rihlaty-album-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--rihlaty-album-rows, 3), var(--rihlaty-album-size, 96px));
  grid-auto-columns: var(--rihlaty-album-size, 96px);
  gap: 12px;
  width: max-content;
}

/* Theme 2: Frameless Interactive 3D Coverflow Photo Album Directly on Page */
.rihlaty-details-album[data-album-style="3d-carousel"] {
  border-top: 0;
  padding-top: 8px;
}
.rihlaty-album-3d {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  border-radius: 0;
  padding: 10px 0 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
  user-select: none;
  container-type: inline-size;
}
.rihlaty-album-3d-viewport {
  position: relative;
}
.rihlaty-album-3d-stage {
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(min(94vw, var(--rihlaty-album-3d-size, 220px)) * 0.75 + 40px);
  height: calc(min(94cqi, var(--rihlaty-album-3d-size, 220px)) * 0.75 + 40px);
  perspective: 1200px;
  transform-style: preserve-3d;
  isolation: isolate;
  z-index: 1;
}
.rihlaty-album-3d-item {
  position: absolute;
  box-sizing: border-box;
  width: min(94%, var(--rihlaty-album-3d-size, 220px));
  aspect-ratio: 4 / 3;
  height: auto;
  padding: var(--rihlaty-album-frame, 6px);
  border-radius: 16px;
  border: 1px solid #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 60%, #e2e8f0 100%);
  box-shadow: 0 14px 28px -10px rgba(15, 23, 42, 0.24), 0 3px 0 #cbd5e1, inset 0 1px 0 #ffffff;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, box-shadow 0.35s ease;
}
.rihlaty-album-3d-item.is-center {
  box-shadow: 0 22px 42px -12px rgba(15, 23, 42, 0.36), 0 4px 0 #cbd5e1, inset 0 1px 0 #ffffff;
}
.rihlaty-album-3d-item-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 11px;
  overflow: hidden;
  background: #e2e8f0;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.18);
}
.rihlaty-album-3d-item-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rihlaty-album-3d-zoom-pill {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.62);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.rihlaty-album-3d-item.is-center .rihlaty-album-3d-zoom-pill {
  opacity: 0.92;
}
.rihlaty-album-3d-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.22) 100%);
  backdrop-filter: blur(14px) saturate(165%);
  -webkit-backdrop-filter: blur(14px) saturate(165%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.26), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.rihlaty-album-3d-nav svg {
  filter: drop-shadow(0 1px 3px rgba(15, 23, 42, 0.65));
}
.rihlaty-album-3d-nav:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.34) 100%);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.92);
}
.rihlaty-album-3d-prev {
  right: 8px;
}
.rihlaty-album-3d-next {
  left: 8px;
}
.rihlaty-album-3d-footer {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rihlaty-album-3d-footer-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rihlaty-album-3d-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rihlaty-album-3d-dot {
  height: 7px;
  width: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.22);
  cursor: pointer;
  transition: width 0.28s ease, background 0.28s ease;
}
.rihlaty-album-3d-dot.is-active {
  width: 22px;
  background: var(--rihlaty-cta-bg, var(--rihlaty-primary, #7c3aed));
}
.rihlaty-album-3d-thumbs {
  display: flex;
  align-items: center;
  justify-content: safe center;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 6px 8px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.rihlaty-album-3d-thumb {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: var(--rihlaty-album-3d-nav-thumb, 52px);
  height: calc(var(--rihlaty-album-3d-nav-thumb, 52px) * 0.75);
  padding: 3px;
  border-radius: 9px;
  border: 0;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.14), inset 0 1px 0 #ffffff;
  opacity: 0.66;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.rihlaty-album-3d-thumb:hover {
  opacity: 1;
}
.rihlaty-album-3d-thumb.is-active {
  opacity: 1;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 0 0 2px var(--rihlaty-cta-bg, var(--rihlaty-primary, #7c3aed)), 0 6px 14px rgba(15, 23, 42, 0.24);
}
.rihlaty-album-3d-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.rihlaty-wrapper.is-dark .rihlaty-album-3d-dot,
.rihlaty-card.is-dark-glass-floating .rihlaty-album-3d-dot,
.rihlaty-modal-backdrop.is-dark .rihlaty-album-3d-dot {
  background: rgba(255, 255, 255, 0.3);
}
.rihlaty-album-3d-counter {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
}
.rihlaty-wrapper.is-dark .rihlaty-album-3d-counter,
.rihlaty-card.is-dark-glass-floating .rihlaty-album-3d-counter,
.rihlaty-modal-backdrop.is-dark .rihlaty-album-3d-counter {
  background: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}
.rihlaty-album-style-card {
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  background: #ffffff;
  text-align: right;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.rihlaty-album-style-card.is-active {
  border-color: #7c3aed;
  background: #f5f3ff;
}
.rihlaty-album-style-card strong {
  font-size: 12px;
  color: #0f172a;
}
.rihlaty-album-style-card span {
  font-size: 11px;
  color: #64748b;
  line-height: 1.45;
}
.rihlaty-album-thumb {
  position: relative;
  box-sizing: border-box;
  width: var(--rihlaty-album-size, 96px);
  height: var(--rihlaty-album-size, 96px);
  padding: var(--rihlaty-album-frame, 6px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 62%, #e2e8f0 100%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16), 0 3px 0 #cbd5e1, inset 0 1px 0 #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rihlaty-wrapper.is-dark .rihlaty-album-thumb,
.rihlaty-card.is-dark-glass-floating .rihlaty-album-thumb,
.rihlaty-modal-backdrop.is-dark .rihlaty-album-thumb {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.48), 0 3px 0 #cbd5e1, inset 0 1px 0 #ffffff;
}
.rihlaty-album-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.24), 0 4px 0 #cbd5e1, inset 0 1px 0 #ffffff;
}
.rihlaty-album-thumb:active {
  transform: translateY(0);
}
.rihlaty-album-thumb-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #e2e8f0;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.20);
}
.rihlaty-album-thumb-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.rihlaty-album-thumb:hover .rihlaty-album-thumb-inner img {
  transform: scale(1.1);
}
.rihlaty-album-zoom-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0);
  transition: background 0.2s ease;
}
.rihlaty-album-zoom-badge svg {
  width: 26px;
  height: 26px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.rihlaty-album-thumb:hover .rihlaty-album-zoom-badge {
  background: rgba(2, 6, 23, 0.32);
}
.rihlaty-album-thumb:hover .rihlaty-album-zoom-badge svg {
  opacity: 1;
  transform: scale(1);
}

/* Floating Photo Lightbox */
.rihlaty-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  direction: rtl;
  user-select: none;
  box-sizing: border-box;
}
.rihlaty-lb-topbar {
  width: 100%;
  max-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.rihlaty-lb-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.rihlaty-lb-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.rihlaty-lb-title {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rihlaty-lb-close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.16s ease, transform 0.16s ease;
}
.rihlaty-lb-close:hover {
  background: #ef4444;
  transform: scale(1.06);
}
.rihlaty-lb-stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: 1040px;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rihlaty-lb-frame {
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 60%, #e2e8f0 100%);
  border: 1px solid #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 4px 0 #cbd5e1;
  max-width: 100%;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rihlaty-lb-img {
  display: block;
  max-width: 82vw;
  max-height: 68vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.rihlaty-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.16s ease, background 0.16s ease;
}
.rihlaty-lb-nav:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.07);
}
.rihlaty-lb-prev { right: 8px; }
.rihlaty-lb-next { left: 8px; }
.rihlaty-lb-thumbs {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px 8px;
}
.rihlaty-lb-thumb {
  flex-shrink: 0;
  padding: 3px;
  border-radius: 9px;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0.65;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.16s ease, background 0.16s ease;
}
.rihlaty-lb-thumb:hover {
  opacity: 0.95;
  background: rgba(255, 255, 255, 0.55);
}
.rihlaty-lb-thumb.is-active {
  background: #ffffff;
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
.rihlaty-lb-thumb img {
  width: 52px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
@media (max-width: 640px) {
  .rihlaty-lb-nav {
    width: 38px;
    height: 38px;
  }
  .rihlaty-lb-frame {
    padding: 5px;
    border-radius: 14px;
  }
  .rihlaty-lb-img {
    max-width: 88vw;
    max-height: 64vh;
  }
}

/* Smooth Scroll Parallax (compositor-only transforms, zero layout shift) */
.rihlaty-wrapper[data-parallax="1"] .rihlaty-slide-img {
  transform: translate3d(0, var(--rihlaty-px-img, 0px), 0) scale(var(--rihlaty-px-scale, 1.09));
  transform-origin: center center;
  will-change: transform;
}
.rihlaty-wrapper[data-parallax="1"].rihlaty-fit-contain-blur .rihlaty-slide-img,
.rihlaty-wrapper[data-parallax="1"].rihlaty-fit-adaptive .rihlaty-slide-img {
  transform: translate3d(0, calc(var(--rihlaty-px-img, 0px) * 0.42), 0);
}
.rihlaty-wrapper[data-parallax="1"] .rihlaty-slide-blur-bg {
  transform: translate3d(0, var(--rihlaty-px-blur, 0px), 0) scale(1.22);
  transform-origin: center center;
  will-change: transform;
}
.rihlaty-wrapper[data-parallax="1"] .rihlaty-split-overlay-wrap {
  transform: translate3d(0, var(--rihlaty-px-content, 0px), 0);
  will-change: transform;
}
.rihlaty-wrapper[data-parallax="1"] .rihlaty-split-body {
  transform: translate3d(0, var(--rihlaty-px-body, 0px), 0);
  will-change: transform;
}
.rihlaty-wrapper[data-parallax="1"] .rihlaty-card.is-glass-floating > .rihlaty-body,
.rihlaty-wrapper[data-parallax="1"] .rihlaty-card.is-dark-glass-floating > .rihlaty-body,
.rihlaty-wrapper[data-parallax="1"] .rihlaty-card.has-panel-float > .rihlaty-body {
  transform: translate3d(0, var(--rihlaty-px-content, 0px), 0);
  will-change: transform;
}
.rihlaty-wrapper[data-parallax="1"] .rihlaty-card:not(.is-split-hero-card):not(.is-glass-floating):not(.is-dark-glass-floating):not(.has-panel-float) > .rihlaty-body > div {
  transform: translate3d(0, calc(var(--rihlaty-px-body, 0px) * 0.75), 0);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .rihlaty-wrapper[data-parallax="1"] .rihlaty-slide-img,
  .rihlaty-wrapper[data-parallax="1"] .rihlaty-split-overlay-wrap,
  .rihlaty-wrapper[data-parallax="1"] .rihlaty-split-body,
  .rihlaty-wrapper[data-parallax="1"] .rihlaty-card > .rihlaty-body,
  .rihlaty-wrapper[data-parallax="1"] .rihlaty-card > .rihlaty-body > div {
    transform: none !important;
    will-change: auto;
  }
  .rihlaty-wrapper[data-parallax="1"] .rihlaty-slide-blur-bg {
    transform: scale(1.12) !important;
    will-change: auto;
  }
}
