/* Velaré Voyages — Dubai + Istanbul packages update (2026-09-01) */

.globe-cinematic-stage .globe-viewport {
  position: relative;
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden;
}

#globe-canvas {
  width: 100% !important;
  height: clamp(520px, 68vh, 760px) !important;
  min-height: 0 !important;
  max-height: 760px;
  cursor: grab;
}

#globe-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.globe-fallback {
  min-height: 420px;
  display: grid;
  place-content: center;
  padding: 40px;
  color: #f7f3e8;
  text-align: center;
}

.globe-fallback strong {
  font: 600 clamp(1.8rem, 4vw, 3rem) "Playfair Display", Georgia, serif;
}

.globe-fallback p {
  color: rgba(255, 255, 255, .66);
}

.weekly-packages[hidden] {
  display: none !important;
}

.package-grid.economy-grid,
.package-grid.business-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
  align-items: start;
}

.package-grid.economy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-grid.business-grid {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}

.vv-package-card {
  min-width: 0;
}

.vv-package-artwork {
  display: grid;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .2);
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  color: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.vv-package-artwork:hover,
.vv-package-artwork:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, .58);
  box-shadow: 0 30px 85px rgba(0, 0, 0, .34);
}

.vv-package-artwork:focus-visible {
  outline: 2px solid #f0d98b;
  outline-offset: 4px;
}

.vv-package-image-shell {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(255, 255, 255, .05);
}

.vv-package-image-shell img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.vv-package-artwork:hover .vv-package-image-shell img {
  transform: scale(1.018);
}

.vv-package-image-shell img.is-missing {
  display: none;
}

.vv-package-image-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 25px;
  background: radial-gradient(circle at 50% 35%, rgba(212, 175, 55, .14), transparent 52%), #151515;
  color: #e2c87d;
  text-align: center;
}

.vv-package-image-fallback b {
  font: 600 2rem "Playfair Display", Georgia, serif;
}

.vv-package-image-fallback small {
  color: rgba(255, 255, 255, .62);
}

.vv-package-summary {
  display: grid;
  gap: 5px;
  padding: 18px 20px 20px;
}

.vv-package-edition {
  color: #d9bf73;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.vv-package-price {
  margin-top: 2px;
  color: #fff;
  font: 600 clamp(1.65rem, 2.8vw, 2.35rem) "Playfair Display", Georgia, serif;
}

.vv-package-hotel {
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
  line-height: 1.45;
}

.vv-package-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  margin-top: 4px;
  color: rgba(255, 255, 255, .52);
  font-size: .63rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.vv-package-view {
  margin-top: 8px;
  color: #e2c87d;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.package-lightbox {
  width: min(94vw, 850px);
  max-height: 94vh;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(212, 175, 55, .34);
  border-radius: 24px;
  background: rgba(5, 5, 5, .94);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .72);
}

.package-lightbox::backdrop {
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(10px);
}

.package-lightbox .lightbox-content {
  max-height: 90vh;
  overflow: auto;
  border-radius: inherit;
}

.package-lightbox #lightbox-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.package-lightbox .lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
}

@media (max-width: 900px) {
  #globe-canvas {
    height: clamp(450px, 64vh, 640px) !important;
    min-height: 0 !important;
  }

  .package-grid.economy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  #globe-canvas {
    height: clamp(400px, 58vh, 520px) !important;
    min-height: 0 !important;
  }

  .package-grid.economy-grid,
  .package-grid.business-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vv-package-card,
  .vv-package-card-business {
    width: min(100%, 430px);
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vv-package-artwork,
  .vv-package-image-shell img {
    transition: none !important;
  }

  .vv-package-artwork:hover,
  .vv-package-artwork:focus-visible {
    transform: none;
  }
}

/* v3 globe visibility + resilient fallback. The cinematic globe stylesheet may
   animate/cover this layer; these rules keep the actual globe above the wash. */
.globe-cinematic-stage .globe-viewport {
  isolation: isolate;
}

.globe-cinematic-stage .focus-wash {
  z-index: 1 !important;
  pointer-events: none !important;
}

.globe-cinematic-stage #globe-canvas {
  position: relative !important;
  z-index: 3 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.globe-cinematic-stage #globe-canvas > canvas {
  position: relative !important;
  z-index: 3 !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.globe-cinematic-stage .globe-loading {
  z-index: 5 !important;
}

.vv-globe-fallback {
  position: relative;
  z-index: 4;
  min-height: clamp(520px, 68vh, 760px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  padding: 32px 20px 44px;
  opacity: 1 !important;
  visibility: visible !important;
}

.vv-fallback-orb {
  position: relative;
  width: min(58vw, 440px);
  min-width: 270px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(226, 200, 125, .62);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 25%, rgba(255,255,255,.16), transparent 24%),
    radial-gradient(circle at 63% 62%, rgba(26,55,66,.8), transparent 55%),
    linear-gradient(135deg, #132c35, #071216 70%);
  box-shadow:
    inset -38px -28px 70px rgba(0,0,0,.7),
    inset 18px 10px 38px rgba(105,145,157,.18),
    0 0 0 12px rgba(212,175,55,.025),
    0 0 72px rgba(212,175,55,.13);
}

.vv-fallback-orb::before,
.vv-fallback-orb::after {
  content: "";
  position: absolute;
  inset: 7% 12%;
  border: 1px solid rgba(209,193,149,.19);
  border-radius: 50%;
  pointer-events: none;
}

.vv-fallback-orb::after {
  inset: 12% 7%;
  transform: rotate(90deg);
}

.vv-fallback-grid {
  position: absolute;
  left: 4%;
  right: 4%;
  height: 28%;
  border-top: 1px solid rgba(209,193,149,.16);
  border-bottom: 1px solid rgba(209,193,149,.16);
  border-radius: 50%;
  pointer-events: none;
}
.vv-fallback-grid-a { top: 24%; }
.vv-fallback-grid-b { bottom: 24%; }

.vv-fallback-continent {
  position: absolute;
  display: block;
  background: linear-gradient(145deg, #9a8a60, #544d39 72%);
  opacity: .8;
  filter:
    drop-shadow(0 0 1px rgba(244, 215, 122, .96))
    drop-shadow(0 0 4px rgba(212, 175, 55, .7))
    drop-shadow(0 2px 5px rgba(0,0,0,.4));
}
.vv-fallback-continent-a {
  left: 27%; top: 23%; width: 27%; height: 22%;
  border-radius: 48% 52% 55% 38%;
  transform: rotate(13deg);
  clip-path: polygon(4% 20%, 45% 0, 94% 20%, 82% 56%, 60% 62%, 45% 100%, 20% 76%);
}
.vv-fallback-continent-b {
  left: 45%; top: 43%; width: 22%; height: 34%;
  border-radius: 45% 55% 62% 38%;
  transform: rotate(-8deg);
  clip-path: polygon(16% 0, 95% 13%, 72% 52%, 55% 100%, 20% 73%, 2% 31%);
}
.vv-fallback-continent-c {
  right: 17%; top: 30%; width: 18%; height: 17%;
  border-radius: 55% 45% 58% 42%;
  transform: rotate(18deg);
}

.vv-fallback-pin {
  position: absolute;
  z-index: 6;
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 66px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #f4dda0;
  cursor: pointer;
  font: 600 .66rem Montserrat, Arial, sans-serif;
  text-shadow: 0 2px 8px #000;
}
.vv-fallback-pin i {
  width: 13px;
  height: 13px;
  border: 3px solid #f1d77f;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 0 8px rgba(212,175,55,.13), 0 0 22px rgba(242,215,127,.72);
}
.vv-fallback-pin b { font: inherit; white-space: nowrap; }
.vv-fallback-pin-istanbul { left: 51%; top: 30%; }
.vv-fallback-pin-dubai { left: 59%; top: 43%; }
.vv-fallback-pin:focus-visible { outline: 2px solid #f0d98b; outline-offset: 7px; border-radius: 8px; }

.vv-fallback-caption {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .vv-globe-fallback {
    min-height: clamp(400px, 58vh, 520px);
    padding: 24px 14px 36px;
  }
  .vv-fallback-orb { width: min(78vw, 360px); min-width: 235px; }
}

/* V4: the legacy cinematic focus-wash was designed for the old single-Dubai
   transition flow. With the multi-destination globe it remains over the
   renderer and blurs the entire Earth and marker labels. Keep it disabled. */
.globe-cinematic-stage .focus-wash {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

.globe-cinematic-stage #globe-canvas,
.globe-cinematic-stage #globe-canvas canvas {
  filter: none !important;
  -webkit-filter: none !important;
}


/* V5 responsive framing: let the globe fill the stage without cropping on wide or narrow screens. */
@media (min-width: 1200px) {
  .globe-cinematic-stage .globe-viewport {
    max-width: 1600px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .globe-cinematic-stage .globe-viewport {
    width: 100%;
    min-height: 0 !important;
  }
  .globe-cinematic-stage #globe-canvas {
    width: 100% !important;
    max-width: 100vw;
  }
}

/* V6 — native 3D package ring. Recreates the image-ring concept without React. */
.package-grid.economy-grid,
.package-grid.business-grid {
  display: block;
  width: 100%;
}

.vv-package-ring {
  --ring-radius: clamp(230px, 24vw, 330px);
  --ring-depth: clamp(-330px, -24vw, -230px);
  --ring-card-width: clamp(250px, 25vw, 340px);
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  outline: none;
}

.vv-package-ring-stage {
  position: relative;
  height: clamp(500px, 50vw, 620px);
  overflow: hidden;
  perspective: 1050px;
  perspective-origin: 50% 46%;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.vv-package-ring-stage.is-grabbing {
  cursor: grabbing;
}

.vv-package-ring-track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: translateZ(var(--ring-depth)) rotateY(var(--ring-rotation, 0deg));
  transition: transform 900ms cubic-bezier(.2,.72,.18,1);
  will-change: transform;
}

.vv-package-ring-track.is-dragging {
  transition: none;
}

.vv-package-ring-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotateY(var(--item-angle)) translateZ(var(--ring-radius));
  transform-style: preserve-3d;
  opacity: .58;
  filter: brightness(.62) saturate(.72);
  transition: opacity .65s ease, filter .65s ease;
}

.vv-package-ring-item.is-active {
  z-index: 5;
  opacity: 1;
  filter: brightness(1) saturate(1);
}

.vv-package-ring-item .vv-package-card {
  width: var(--ring-card-width);
  margin: 0;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
}

.vv-package-ring-item .vv-package-artwork {
  background: rgba(7, 7, 7, .96);
  box-shadow: 0 28px 80px rgba(0,0,0,.52), 0 0 0 1px rgba(212,175,55,.12);
}

.vv-package-ring-item.is-active .vv-package-artwork {
  border-color: rgba(212,175,55,.62);
  box-shadow: 0 34px 95px rgba(0,0,0,.62), 0 0 42px rgba(212,175,55,.14);
}

.vv-package-ring-item:not(.is-active) .vv-package-summary {
  opacity: 0;
  transform: translateY(8px);
}

.vv-package-ring-item .vv-package-summary {
  transition: opacity .5s ease, transform .5s ease;
}

.vv-package-ring-item:not(.is-active) .vv-package-artwork {
  pointer-events: auto;
}

.vv-package-ring-controls {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 16px;
  width: min(100%, 610px);
  margin: -8px auto 0;
}

.vv-ring-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(212,175,55,.48);
  border-radius: 50%;
  background: rgba(7,7,7,.86);
  color: #e2c87d;
  cursor: pointer;
  font: 500 1.25rem/1 Montserrat, sans-serif;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.vv-ring-arrow:hover,
.vv-ring-arrow:focus-visible {
  transform: scale(1.06);
  border-color: rgba(240,217,139,.9);
  background: rgba(212,175,55,.12);
  outline: none;
}

.vv-ring-status {
  min-width: 0;
  text-align: center;
}

.vv-ring-status strong {
  display: block;
  overflow: hidden;
  color: #f4ead0;
  font: 600 clamp(1rem, 2vw, 1.28rem) "Playfair Display", Georgia, serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vv-ring-status span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.46);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vv-ring-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 16px;
}

.vv-ring-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.24);
  cursor: pointer;
  transition: width .28s ease, background .28s ease, box-shadow .28s ease;
}

.vv-ring-dot.is-active {
  width: 26px;
  background: #d4af37;
  box-shadow: 0 0 18px rgba(212,175,55,.42);
}

.vv-ring-dot:focus-visible {
  outline: 2px solid #f0d98b;
  outline-offset: 5px;
}

.vv-package-feature {
  width: min(100%, 440px);
  margin: clamp(22px, 4vw, 42px) auto 8px;
  perspective: 1000px;
}

.vv-package-feature .vv-package-card {
  width: 100%;
  animation: vv-package-float 7s ease-in-out infinite;
  transform-style: preserve-3d;
}

.vv-package-feature .vv-package-artwork {
  border-color: rgba(212,175,55,.48);
  box-shadow: 0 32px 95px rgba(0,0,0,.46), 0 0 46px rgba(212,175,55,.1);
}

.vv-package-empty {
  margin: 20px auto;
  color: rgba(255,255,255,.58);
  text-align: center;
}

@keyframes vv-package-float {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-10px) rotateX(1deg) rotateY(-1.2deg); }
}

@media (max-width: 900px) {
  .vv-package-ring {
    --ring-radius: clamp(220px, 34vw, 285px);
    --ring-depth: clamp(-285px, -34vw, -220px);
    --ring-card-width: clamp(245px, 43vw, 320px);
  }
  .vv-package-ring-stage {
    height: clamp(485px, 68vw, 570px);
    perspective: 920px;
  }
}

@media (max-width: 620px) {
  .vv-package-ring {
    --ring-radius: clamp(190px, 58vw, 225px);
    --ring-depth: clamp(-225px, -58vw, -190px);
    --ring-card-width: min(72vw, 292px);
    width: calc(100% + 20px);
    margin-left: -10px;
  }
  .vv-package-ring-stage {
    height: clamp(450px, 126vw, 535px);
    perspective: 760px;
  }
  .vv-package-ring-item {
    opacity: .5;
  }
  .vv-package-ring-item:not(.is-active) .vv-package-summary {
    display: none;
  }
  .vv-package-ring-controls {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
    width: min(94%, 440px);
    margin-top: -2px;
  }
  .vv-ring-arrow {
    width: 44px;
    height: 44px;
  }
  .vv-ring-status span {
    font-size: .54rem;
    letter-spacing: .08em;
  }
  .vv-package-feature {
    width: min(88vw, 380px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vv-package-ring-track,
  .vv-package-ring-item,
  .vv-package-ring-item .vv-package-summary,
  .vv-ring-dot,
  .vv-ring-arrow,
  .vv-package-feature .vv-package-card {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}
