/* perf 2026-09-27: skip offscreen hotel-card render work (no visual change) */
@media(max-width:767px){[id^="hotel-card-"]{content-visibility:auto;contain-intrinsic-size:356px 245px;}}
@media(min-width:768px){[id^="hotel-card-"]{content-visibility:auto;contain-intrinsic-size:auto 400px 246px;}}

@layer base {
  :root {
    --safaro-navy: #202d59;
    --safaro-navy-dark: #182245;
    --safaro-navy-midnight: #111833;
    --safaro-gold: #ffb71c;
    --safaro-gold-deep: #d49817;
    --safaro-gold-bronze: #a67611;
    --safaro-offwhite: #f5f7fa;
    --safaro-lightgrey: #e1e5eb;
    --safaro-midgrey: #c4cbd6;
  }

  *,
  *::before,
  *::after,
  html,
  body,
  button,
  input,
  select,
  textarea,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  span,
  a {
    font-family: 'IRANSansX', 'IRANSansXFaNum', 'IRANSans', 'IRAN Sans', 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  }

  body {
    color: #182245;
    background-color: #f5f7fa;
  }
}

/* Live icon and travel micro-motion animations */
@keyframes iconFlight {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(-4deg);
  }
}

@keyframes iconPulseGlow {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 183, 28, 0));
  }
  50% {
    transform: scale(1.09);
    filter: drop-shadow(0 2px 8px rgba(255, 183, 28, 0.45));
  }
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes liveWave {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(-8deg);
  }
}

@keyframes luxuryShimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.animate-icon-flight {
  animation: iconFlight 3.2s ease-in-out infinite;
}

.animate-icon-pulse {
  animation: iconPulseGlow 2.4s ease-in-out infinite;
}

.animate-icon-float {
  animation: iconFloat 2.8s ease-in-out infinite;
}

.animate-icon-wave {
  animation: liveWave 2.5s ease-in-out infinite;
}

/* Tiny motion used only by the pre-scroll top search icon. */
@keyframes safaroSearchMicro {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-1px) scale(1.025); }
}

.animate-search-micro {
  animation: safaroSearchMicro 2.7s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.animate-luxury-shimmer {
  animation: luxuryShimmer 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Gentle up/down motion for the floating Instant Consultation CTA.
   Uses the individual `translate` property so the existing hover/active scale transforms remain intact. */
@keyframes safaroConsultationFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.animate-consultation-float {
  animation: safaroConsultationFloat 2.8s ease-in-out infinite;
  will-change: translate;
}

@media (prefers-reduced-motion: reduce) {
  .animate-consultation-float {
    animation: none;
  }
}

/* Custom shadowed styling utilities */
.shadow-soft-card {
  box-shadow: 0 4px 18px -2px rgba(24, 34, 69, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.shadow-soft-hover {
  box-shadow: 0 12px 28px -4px rgba(24, 34, 69, 0.12), 0 4px 12px rgba(255, 183, 28, 0.1);
}

.shadow-amber-glow {
  box-shadow: 0 4px 16px rgba(255, 183, 28, 0.35);
}

.shadow-navy-glow {
  box-shadow: 0 6px 20px rgba(24, 34, 69, 0.18);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Custom flight floating animation for hero airplane */
@keyframes airplaneFlightFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-4px) rotate(0.4deg);
  }
  50% {
    transform: translateY(-8px) rotate(-0.3deg);
  }
  75% {
    transform: translateY(-3px) rotate(-0.6deg);
  }
}

.animate-airplane-float {
  animation: airplaneFlightFloat 6.5s ease-in-out infinite;
}

/* Persian numeral helper */
.persian-numbers {
  font-feature-settings: "ss01";
}

/* Header In-place Site Search Popup (14vh mobile / 17vh desktop) */
.site-search-popup {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background-color: #fff;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  height: 14vh;
}

@media (min-width: 768px) {
  .site-search-popup {
    height: 17vh;
  }
}

.site-search-popup.active {
  pointer-events: auto;
}

.site-search-popup.fadein {
  animation: cover_search_fade_in 0.3s ease both;
}

@keyframes cover_search_fade_in {
  from {
    visibility: visible;
    opacity: 0;
  }
  to {
    visibility: visible;
    opacity: 1;
  }
}



  
.safaro-cta-visible {
  position: relative;
  z-index: 100;
}


/* Unified Safaro bottom-sheet entrance for non-motion popup panels */
@keyframes safaroBottomSheetUp {
  from { transform: translateY(100%); opacity: .98; }
  to { transform: translateY(0); opacity: 1; }
}
.safaro-bottom-sheet-enter {
  animation: safaroBottomSheetUp .42s cubic-bezier(.22,.78,.2,1) both;
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .safaro-bottom-sheet-enter { animation-duration: .01ms; }
}


/* === Safaro unified popup system: every popup stays below the fixed search bar === */
:root {
  --safaro-popup-top-gap: 74px;
}
@media (max-width: 639px) {
  :root { --safaro-popup-top-gap: 69px; }
}
.safaro-sheet-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99980 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: var(--safaro-popup-top-gap) 0 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.safaro-sheet-panel {
  position: relative !important;
  align-self: flex-end !important;
  margin: 0 !important;
  height: calc(100vh - var(--safaro-popup-top-gap)) !important;
  max-height: calc(100vh - var(--safaro-popup-top-gap)) !important;
  min-height: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  transform-origin: bottom center !important;
  will-change: transform, opacity;
}
@supports (height: 100dvh) {
  .safaro-sheet-panel {
    height: calc(100dvh - var(--safaro-popup-top-gap)) !important;
    max-height: calc(100dvh - var(--safaro-popup-top-gap)) !important;
  }
}
@keyframes safaroUnifiedSheetUp {
  0% { transform: translate3d(0, 110%, 0); opacity: .96; }
  100% { transform: translate3d(0, 0, 0); opacity: 1; }
}
.safaro-sheet-enter {
  animation: safaroUnifiedSheetUp .48s cubic-bezier(.22,.78,.2,1) both !important;
}
@media (min-width: 768px) {
  .safaro-sheet-panel {
    height: calc(100vh - var(--safaro-popup-top-gap)) !important;
    max-height: calc(100vh - var(--safaro-popup-top-gap)) !important;
  }
  @supports (height: 100dvh) {
    .safaro-sheet-panel {
      height: calc(100dvh - var(--safaro-popup-top-gap)) !important;
      max-height: calc(100dvh - var(--safaro-popup-top-gap)) !important;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .safaro-sheet-enter { animation-duration: .01ms !important; }
}


    html { scroll-behavior: smooth; }
    body { margin: 0; min-height: 100vh; }
    #boot-splash { position:fixed; inset:0; z-index:9999; background:#182245; }
    #boot-error {
      display:none; direction:rtl; max-width:760px; margin:40px auto; padding:20px;
      font-family:Vazirmatn, sans-serif; border:1px solid #fecaca; border-radius:18px;
      background:#fff1f2; color:#881337; line-height:1.9;
    }
    #boot-error code { direction:ltr; unicode-bidi:embed; font-size:12px; }
    #boot-error .boot-retry { display:inline-block; margin-top:14px; padding:10px 28px; border:none; border-radius:12px; background:#182245; color:#fff; font-family:Vazirmatn,sans-serif; font-size:15px; cursor:pointer; }
    #boot-splash {
      position:fixed; inset:0; z-index:9999; display:flex; flex-direction:column;
      align-items:center; justify-content:center; gap:18px; background:#182245; color:#fff;
      font-family:Vazirmatn, sans-serif; direction:rtl;
    }
    #boot-splash .splash-logo { font-size:30px; font-weight:800; color:#ffb71c; }
    #boot-splash .splash-spinner { width:34px; height:34px; border-radius:50%; border:3px solid rgba(255,183,28,.25); border-top-color:#ffb71c; animation:safaro-splash-spin .9s linear infinite; }
    #boot-splash .splash-text { font-size:14px; opacity:.8; }
    @keyframes safaro-splash-spin { to { transform:rotate(360deg); } }
  

    /* Home destination cards: plain logo only, no shade/overlay */
    [id^="destination-card-"].safaro-svg-hover-card {
      position: relative;
      isolation: isolate;
    }

    [id^="destination-card-"].safaro-svg-hover-card::after {
      content: "";
      position: absolute;
      inset: 10px 10px 104px 10px;
      z-index: 12;
      pointer-events: none;
      background-image: url("/assets-20261028/safaro-inline-svg-aea6d9e3.svg");
      background-repeat: no-repeat;
      background-position: center center;
      background-size: clamp(165px, 84%, 315px) auto;
      opacity: 1;
      filter: none !important;
      box-shadow: none !important;
      transition: transform .35s cubic-bezier(.22,1,.36,1);
    }

    @media (min-width: 640px) {
      [id^="destination-card-"].safaro-svg-hover-card::after {
        inset: 12px 12px 112px 12px;
        background-size: clamp(180px, 86%, 340px) auto;
      }
    }

    /* Keep destination image completely clean */
    [id^="destination-card-"] > div.absolute.inset-0.w-full.h-full.overflow-hidden {
      background: transparent !important;
    }

    [id^="destination-card-"] > div.absolute.inset-0.w-full.h-full.overflow-hidden > div.absolute.inset-0.pointer-events-none {
      display: none !important;
      opacity: 0 !important;
      background: none !important;
      filter: none !important;
    }

    [id^="destination-card-"] > div.absolute.inset-0.w-full.h-full.overflow-hidden > img:not([aria-hidden]) {
      filter: none !important;
      transition: transform .6s ease !important;
    }

    [id^="destination-card-"]:hover > div.absolute.inset-0.w-full.h-full.overflow-hidden > img:not([aria-hidden]) {
      filter: none !important;
      transform: scale(1.04) !important;
    }

    [id^="destination-card-"]:hover.safaro-svg-hover-card::after {
      transform: scale(1.02) translateY(-2px);
    }

    @media (prefers-reduced-motion: reduce) {
      [id^="destination-card-"].safaro-svg-hover-card::after,
      [id^="destination-card-"] > div.absolute.inset-0.w-full.h-full.overflow-hidden > img:not([aria-hidden]) {
        transition: none !important;
        transform: none !important;
      }
    }
  

    /*
      Premium destination-card treatment:
      - destination photo remains clean
      - current logo is preserved
      - local petroleum glass glow only
      - reflection sweep only across the logo
      - subtle image zoom / card lift / CTA lift
    */

    [id^="destination-card-"].safaro-svg-hover-card {
      box-shadow:
        0 8px 24px rgba(24,34,69,.12),
        inset 0 1px 0 rgba(255,255,255,.12) !important;
      transition:
        transform .45s cubic-bezier(.22,1,.36,1),
        box-shadow .45s ease !important;
    }

    /* Keep the destination photo clean — no dark overlay. */
    [id^="destination-card-"] > div.absolute.inset-0.w-full.h-full.overflow-hidden {
      background: transparent !important;
    }

    [id^="destination-card-"] > div.absolute.inset-0.w-full.h-full.overflow-hidden
      > div.absolute.inset-0.pointer-events-none {
      display: none !important;
      opacity: 0 !important;
      background: none !important;
      filter: none !important;
    }

    /* Main photo: only a tiny cinematic zoom, no darkening. */
    [id^="destination-card-"] > div.absolute.inset-0.w-full.h-full.overflow-hidden
      > img:not([aria-hidden]) {
      filter: brightness(1) contrast(1) saturate(1.02) !important;
      transform: scale(1) !important;
      transition:
        transform .8s cubic-bezier(.22,1,.36,1),
        filter .45s ease !important;
    }

    /*
      Current logo preserved.
      Default = faint watermark.
      Local petroleum glow is created only around the logo via drop-shadow.
    */
    [id^="destination-card-"].safaro-svg-hover-card::after {
      z-index: 12 !important;
      opacity: .13 !important;
      transform: translateY(-8px) scale(.985) !important;
      transform-origin: center center !important;
      filter:
        drop-shadow(0 0 7px rgba(120,205,238,.10))
        drop-shadow(0 0 14px rgba(11,72,93,.10))
        drop-shadow(0 7px 16px rgba(2,20,31,.08)) !important;
      -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 66%,
        rgba(0,0,0,.82) 76%,
        rgba(0,0,0,.52) 85%,
        rgba(0,0,0,.20) 94%,
        transparent 100%
      ) !important;
      mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 66%,
        rgba(0,0,0,.82) 76%,
        rgba(0,0,0,.52) 85%,
        rgba(0,0,0,.20) 94%,
        transparent 100%
      ) !important;
      transition:
        opacity .34s ease,
        transform .55s cubic-bezier(.22,1,.36,1),
        filter .45s ease !important;
    }

    /*
      Reflection sweep.
      The exact current logo is used as a CSS mask, so the sweep never crosses the photo.
    */
    [id^="destination-card-"].safaro-svg-hover-card::before {
      content: "" !important;
      position: absolute !important;
      inset: 10px 10px 104px 10px !important;
      z-index: 13 !important;
      pointer-events: none !important;

      background:
        linear-gradient(
          112deg,
          transparent 25%,
          rgba(255,255,255,.02) 38%,
          rgba(227,247,255,.72) 49%,
          rgba(135,211,239,.16) 56%,
          transparent 70%
        ) !important;
      background-size: 270% 100% !important;
      background-position: 170% 0 !important;
      background-repeat: no-repeat !important;

      -webkit-mask-image: url("/assets-20261028/safaro-inline-svg-aea6d9e3.svg") !important;
      mask-image: url("/assets-20261028/safaro-inline-svg-aea6d9e3.svg") !important;
      -webkit-mask-repeat: no-repeat !important;
      mask-repeat: no-repeat !important;
      -webkit-mask-position: center center !important;
      mask-position: center center !important;
      -webkit-mask-size: clamp(165px, 84%, 315px) auto !important;
      mask-size: clamp(165px, 84%, 315px) auto !important;

      opacity: 0 !important;
      transform: translateY(-8px) scale(.985) !important;
      transition:
        opacity .18s ease,
        background-position .95s cubic-bezier(.22,1,.36,1),
        transform .55s cubic-bezier(.22,1,.36,1) !important;
    }

    /* CTA gets a small physical lift instead of a dramatic visual effect. */
    [id^="destination-card-"] > div.relative.z-30 {
      transition:
        transform .42s cubic-bezier(.22,1,.36,1),
        box-shadow .42s ease !important;
    }

    @media (min-width: 640px) {
      [id^="destination-card-"].safaro-svg-hover-card::before {
        inset: 12px 12px 112px 12px !important;
        -webkit-mask-size: clamp(180px, 86%, 340px) auto !important;
        mask-size: clamp(180px, 86%, 340px) auto !important;
      }
    }

    @media (hover: hover) and (pointer: fine) {
      [id^="destination-card-"].safaro-svg-hover-card:hover {
        transform: translateY(-6px) !important;
        box-shadow:
          0 20px 44px rgba(24,34,69,.22),
          0 8px 20px rgba(7,42,57,.10),
          inset 0 1px 0 rgba(255,255,255,.18) !important;
      }

      [id^="destination-card-"]:hover
        > div.absolute.inset-0.w-full.h-full.overflow-hidden
        > img:not([aria-hidden]) {
        filter: brightness(1) contrast(1.01) saturate(1.035) !important;
        transform: scale(1.03) !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card:hover::after {
        opacity: .74 !important;
        transform: translateY(-12px) scale(1.035) !important;
        filter:
          drop-shadow(0 0 7px rgba(214,244,255,.28))
          drop-shadow(0 0 15px rgba(82,172,207,.24))
          drop-shadow(0 0 28px rgba(7,62,82,.20))
          drop-shadow(0 10px 18px rgba(2,19,30,.13)) !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card:hover::before {
        opacity: .72 !important;
        transform: translateY(-12px) scale(1.035) !important;
        background-position: -75% 0 !important;
      }

      [id^="destination-card-"]:hover > div.relative.z-30 {
        transform: translateY(-3px) !important;
        box-shadow:
          0 13px 30px rgba(24,34,69,.20),
          0 2px 0 rgba(255,255,255,.50) inset !important;
      }

      /* Existing yellow CTA receives just a restrained premium glow. */
      [id^="destination-card-"]:hover button {
        box-shadow: 0 5px 15px rgba(255,183,28,.30) !important;
      }
    }

    /* Touch: keep only a very subtle watermark, never fake hover. */
    @media (hover: none), (pointer: coarse) {
      [id^="destination-card-"].safaro-svg-hover-card::after {
        opacity: .10 !important;
        transform: translateY(-8px) scale(.985) !important;
      }
      [id^="destination-card-"].safaro-svg-hover-card::before {
        opacity: 0 !important;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      [id^="destination-card-"].safaro-svg-hover-card,
      [id^="destination-card-"].safaro-svg-hover-card::before,
      [id^="destination-card-"].safaro-svg-hover-card::after,
      [id^="destination-card-"] > div.relative.z-30,
      [id^="destination-card-"] > div.absolute.inset-0.w-full.h-full.overflow-hidden
        > img:not([aria-hidden]) {
        transition: opacity .15s linear, filter .15s linear !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card:hover,
      [id^="destination-card-"].safaro-svg-hover-card:hover::before,
      [id^="destination-card-"].safaro-svg-hover-card:hover::after,
      [id^="destination-card-"]:hover > div.relative.z-30 {
        transform: none !important;
      }

      [id^="destination-card-"]:hover
        > div.absolute.inset-0.w-full.h-full.overflow-hidden
        > img:not([aria-hidden]) {
        transform: none !important;
      }
    }
  

    /*
      Hover-only logo + cloud-like petroleum shade.
      No logo/shade before hover.
      Shade grows outward from the logo toward top/top-left/top-right/left/right,
      becoming darker toward the card edges. Lower card stays nearly clean.
    */

    /* Absolutely nothing visible before mouse hover. */
    [id^="destination-card-"].safaro-svg-hover-card::before,
    [id^="destination-card-"].safaro-svg-hover-card::after {
      opacity: 0 !important;
      pointer-events: none !important;
    }

    /*
      Full image-area cloud shade.
      Transparent around the logo center; increasingly petroleum toward
      top and side boundaries. Several soft patches make the transition
      feel cloudy rather than like a simple geometric vignette.
    */
    [id^="destination-card-"].safaro-svg-hover-card::before {
      content: "" !important;
      position: absolute !important;
      inset: 0 0 104px 0 !important;
      z-index: 11 !important;

      background:
        /* soft cloud — upper-left */
        radial-gradient(
          ellipse 38% 34% at 17% 24%,
          rgba(5, 43, 57, .34) 0%,
          rgba(5, 39, 53, .26) 28%,
          rgba(4, 34, 48, .14) 54%,
          rgba(4, 30, 43, 0) 78%
        ),

        /* soft cloud — upper-right */
        radial-gradient(
          ellipse 40% 35% at 84% 23%,
          rgba(5, 43, 57, .34) 0%,
          rgba(5, 39, 53, .25) 30%,
          rgba(4, 34, 48, .13) 55%,
          rgba(4, 30, 43, 0) 80%
        ),

        /* side cloud — left */
        radial-gradient(
          ellipse 30% 50% at 2% 48%,
          rgba(3, 29, 42, .52) 0%,
          rgba(4, 33, 47, .36) 34%,
          rgba(5, 38, 52, .17) 62%,
          rgba(5, 42, 56, 0) 88%
        ),

        /* side cloud — right */
        radial-gradient(
          ellipse 30% 50% at 98% 48%,
          rgba(3, 29, 42, .52) 0%,
          rgba(4, 33, 47, .36) 34%,
          rgba(5, 38, 52, .17) 62%,
          rgba(5, 42, 56, 0) 88%
        ),

        /* darker cap near the very top edge */
        linear-gradient(
          to bottom,
          rgba(2, 19, 30, .56) 0%,
          rgba(3, 27, 40, .38) 10%,
          rgba(4, 34, 48, .20) 23%,
          rgba(5, 40, 54, .07) 38%,
          rgba(5, 42, 56, 0) 53%
        ),

        /*
          Main inverse vignette:
          almost clear where the logo sits, then gradually darker toward
          the outer perimeter.
        */
        radial-gradient(
          ellipse 52% 48% at 50% 42%,
          rgba(7, 52, 66, 0) 0%,
          rgba(7, 52, 66, 0) 24%,
          rgba(7, 49, 63, .025) 32%,
          rgba(6, 45, 59, .08) 40%,
          rgba(5, 40, 54, .16) 49%,
          rgba(4, 35, 49, .27) 59%,
          rgba(4, 31, 45, .40) 70%,
          rgba(3, 27, 40, .55) 81%,
          rgba(2, 23, 35, .69) 91%,
          rgba(2, 19, 30, .78) 100%
        ) !important;

      /*
        Strongly suppress lower shading:
        full effect above, then quickly disappears before the CTA.
      */
      -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 58%,
        rgba(0,0,0,.92) 66%,
        rgba(0,0,0,.62) 75%,
        rgba(0,0,0,.28) 84%,
        rgba(0,0,0,.08) 92%,
        transparent 100%
      ) !important;
      mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 58%,
        rgba(0,0,0,.92) 66%,
        rgba(0,0,0,.62) 75%,
        rgba(0,0,0,.28) 84%,
        rgba(0,0,0,.08) 92%,
        transparent 100%
      ) !important;

      -webkit-mask-repeat: no-repeat !important;
      mask-repeat: no-repeat !important;
      -webkit-mask-size: 100% 100% !important;
      mask-size: 100% 100% !important;

      filter: blur(.15px) !important;
      transition: opacity .42s ease !important;
    }

    /* Keep the exact current logo; just reveal it on hover. */
    [id^="destination-card-"].safaro-svg-hover-card::after {
      z-index: 12 !important;
      opacity: 0 !important;
      transform: translateY(-10px) scale(.99) !important;
      filter:
        drop-shadow(0 0 6px rgba(225,247,255,.22))
        drop-shadow(0 0 14px rgba(88,182,216,.18))
        drop-shadow(0 7px 18px rgba(3,31,44,.12)) !important;

      /* Keep the current gentle lower fade of the logo. */
      -webkit-mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 66%,
        rgba(0,0,0,.82) 76%,
        rgba(0,0,0,.52) 85%,
        rgba(0,0,0,.20) 94%,
        transparent 100%
      ) !important;
      mask-image: linear-gradient(
        to bottom,
        #000 0%,
        #000 66%,
        rgba(0,0,0,.82) 76%,
        rgba(0,0,0,.52) 85%,
        rgba(0,0,0,.20) 94%,
        transparent 100%
      ) !important;

      transition:
        opacity .32s ease,
        transform .52s cubic-bezier(.22,1,.36,1),
        filter .42s ease !important;
    }

    @media (min-width: 640px) {
      [id^="destination-card-"].safaro-svg-hover-card::before {
        inset: 0 0 112px 0 !important;
      }
    }

    @media (hover: hover) and (pointer: fine) {
      [id^="destination-card-"].safaro-svg-hover-card:hover::before {
        opacity: 1 !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card:hover::after {
        opacity: .78 !important;
        transform: translateY(-14px) scale(1.025) !important;
        filter:
          drop-shadow(0 0 7px rgba(231,249,255,.30))
          drop-shadow(0 0 16px rgba(91,190,226,.25))
          drop-shadow(0 0 26px rgba(10,80,101,.18))
          drop-shadow(0 8px 18px rgba(2,27,40,.14)) !important;
      }
    }

    /* Touch devices: no accidental permanent overlay. */
    @media (hover: none), (pointer: coarse) {
      [id^="destination-card-"].safaro-svg-hover-card::before,
      [id^="destination-card-"].safaro-svg-hover-card::after {
        opacity: 0 !important;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      [id^="destination-card-"].safaro-svg-hover-card::before,
      [id^="destination-card-"].safaro-svg-hover-card::after {
        transition: opacity .15s linear !important;
      }
    }
  

    /* Reduce destination-card height by about 25% while preserving width and effects */
    [id^="destination-card-"] {
      height: 293px !important;
    }

    @media (min-width: 640px) {
      [id^="destination-card-"] {
        height: 315px !important;
      }
    }
  

    /* Final override: only 10% shorter than the original 390/420px heights */
    [id^="destination-card-"] {
      height: 351px !important;
    }

    @media (min-width: 640px) {
      [id^="destination-card-"] {
        height: 378px !important;
      }
    }
  

    [id^="destination-card-"] { height: 343px !important; }
    @media (min-width: 640px) { [id^="destination-card-"] { height: 370px !important; } }
  

    /* Fine-tune logo + shade for the 12% shorter destination cards. */

    /* Move the cloud shade a few pixels upward and keep it slightly expanded. */
    [id^="destination-card-"].safaro-svg-hover-card::before {
      transform: translateY(-4px) scale(1.015) !important;
      transform-origin: top center !important;
    }

    /* Move the existing logo a few pixels upward to stay visually centered. */
    [id^="destination-card-"].safaro-svg-hover-card::after {
      transform: translateY(-14px) scale(.99) !important;
    }

    @media (hover: hover) and (pointer: fine) {
      [id^="destination-card-"].safaro-svg-hover-card:hover::before {
        transform: translateY(-4px) scale(1.015) !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card:hover::after {
        transform: translateY(-18px) scale(1.025) !important;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      [id^="destination-card-"].safaro-svg-hover-card::before,
      [id^="destination-card-"].safaro-svg-hover-card:hover::before {
        transform: translateY(-4px) scale(1.015) !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card::after {
        transform: translateY(-14px) !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card:hover::after {
        transform: translateY(-18px) !important;
      }
    }
  

    /*
      Global premium light sweep for virtually all site cards.
      Implemented as a real child layer so it does not consume ::before/::after,
      which destination cards already use for their shade and logo.
    */
    .safaro-svg-hover-card {
      position: relative;
      isolation: isolate;
    }

    .safaro-global-light-sweep {
      position: absolute;
      top: -22%;
      bottom: -22%;
      left: -42%;
      width: 34%;
      z-index: 60;
      pointer-events: none;
      border-radius: 999px;

      background: linear-gradient(
        105deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.02) 20%,
        rgba(225,247,255,.10) 36%,
        rgba(255,255,255,.42) 49%,
        rgba(221,244,255,.16) 61%,
        rgba(255,255,255,.025) 78%,
        rgba(255,255,255,0) 100%
      );

      filter: blur(5px);
      opacity: 0;
      transform: translate3d(-165%, 0, 0) rotate(7deg);
      will-change: transform, opacity;
      mix-blend-mode: screen;
    }

    @keyframes safaro-card-light-sweep-motion {
      0% {
        opacity: 0;
        transform: translate3d(-165%, 0, 0) rotate(7deg);
      }
      13% {
        opacity: .78;
      }
      78% {
        opacity: .62;
      }
      100% {
        opacity: 0;
        transform: translate3d(650%, 0, 0) rotate(7deg);
      }
    }

    @media (hover: hover) and (pointer: fine) {
      .safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        animation: safaro-card-light-sweep-motion .92s cubic-bezier(.22,1,.36,1) both;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        animation: none !important;
        opacity: 0 !important;
      }
    }
  

    /*
      Destination cards only:
      a little slower and with a softer floating motion.
      Other cards keep their original sweep unchanged.
    */
    [id^="destination-card-"].safaro-svg-hover-card > .safaro-global-light-sweep {
      filter: blur(5.5px);
      transform: translate3d(-165%, 12%, 0) rotate(7deg);
    }

    @keyframes safaro-destination-light-sweep-motion {
      0% {
        opacity: 0;
        transform: translate3d(-165%, 12%, 0) rotate(7deg) scale(.98);
      }

      14% {
        opacity: .28;
      }

      35% {
        opacity: .70;
        transform: translate3d(35%, 3%, 0) rotate(6deg) scale(1);
      }

      56% {
        opacity: .80;
        transform: translate3d(210%, -3%, 0) rotate(5deg) scale(1.015);
      }

      78% {
        opacity: .50;
        transform: translate3d(430%, -8%, 0) rotate(4deg) scale(1);
      }

      100% {
        opacity: 0;
        transform: translate3d(650%, -13%, 0) rotate(3deg) scale(.98);
      }
    }

    @media (hover: hover) and (pointer: fine) {
      [id^="destination-card-"].safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        animation:
          safaro-destination-light-sweep-motion
          1.08s
          cubic-bezier(.18,.72,.24,1)
          both;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      [id^="destination-card-"].safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        animation: none !important;
        opacity: 0 !important;
      }
    }
  

    /* فقط نرم‌تر کردن سوییپ، بدون تغییر سایر بخش‌ها */

    .safaro-global-light-sweep {
      will-change: transform, opacity !important;
      backface-visibility: hidden !important;
      -webkit-backface-visibility: hidden !important;
      transform-style: preserve-3d !important;
    }

    @keyframes safaro-card-light-sweep-motion-smoother {
      0% {
        opacity: 0;
        transform: translate3d(-165%, 0, 0) rotate(7deg);
      }
      12% {
        opacity: .22;
      }
      35% {
        opacity: .70;
      }
      62% {
        opacity: .76;
      }
      86% {
        opacity: .34;
      }
      100% {
        opacity: 0;
        transform: translate3d(650%, 0, 0) rotate(7deg);
      }
    }

    @keyframes safaro-destination-light-sweep-motion-smoother {
      0% {
        opacity: 0;
        transform: translate3d(-165%, 12%, 0) rotate(7deg) scale(.985);
      }
      12% {
        opacity: .18;
      }
      34% {
        opacity: .64;
        transform: translate3d(28%, 6%, 0) rotate(6.3deg) scale(.997);
      }
      58% {
        opacity: .78;
        transform: translate3d(220%, 0, 0) rotate(5.2deg) scale(1.01);
      }
      84% {
        opacity: .36;
        transform: translate3d(480%, -7%, 0) rotate(4.2deg) scale(.998);
      }
      100% {
        opacity: 0;
        transform: translate3d(650%, -11%, 0) rotate(3.4deg) scale(.985);
      }
    }

    @media (hover: hover) and (pointer: fine) {
      .safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        animation: safaro-card-light-sweep-motion-smoother 1.00s cubic-bezier(.22,.64,.30,1) both !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        animation: safaro-destination-light-sweep-motion-smoother 1.12s cubic-bezier(.20,.66,.24,1) both !important;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .safaro-svg-hover-card:hover > .safaro-global-light-sweep,
      [id^="destination-card-"].safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        animation: none !important;
        opacity: 0 !important;
      }
    }
  

    /* Simple clean one-pass sweep for all Safaro cards */
    .safaro-svg-hover-card {
      position: relative !important;
      isolation: isolate !important;
      overflow: hidden !important;
    }

    .safaro-svg-hover-card > .safaro-global-light-sweep {
      position: absolute !important;
      top: -25% !important;
      bottom: -25% !important;
      left: -45% !important;
      width: 36% !important;
      z-index: 29 !important;
      pointer-events: none !important;

      background: linear-gradient(
        105deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.10) 32%,
        rgba(255,255,255,.58) 50%,
        rgba(255,255,255,.10) 68%,
        rgba(255,255,255,0) 100%
      ) !important;

      filter: blur(2px) !important;
      mix-blend-mode: screen !important;
      opacity: 0 !important;

      transform: translate3d(-170%, 0, 0) rotate(8deg) !important;
      will-change: transform, opacity !important;
      backface-visibility: hidden !important;
      -webkit-backface-visibility: hidden !important;

      animation: none !important;
      transition: none !important;
    }

    @keyframes safaro-simple-card-sweep {
      0% {
        opacity: 0;
        transform: translate3d(-170%, 0, 0) rotate(8deg);
      }
      10% {
        opacity: .90;
      }
      90% {
        opacity: .90;
      }
      100% {
        opacity: 0;
        transform: translate3d(650%, 0, 0) rotate(8deg);
      }
    }

    @media (hover: hover) and (pointer: fine) {
      .safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        animation: safaro-simple-card-sweep 1.05s ease-out 1 both !important;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        animation: none !important;
        opacity: 0 !important;
      }
    }
  

    /*
      Exact HeroBanner shimmer copied to cards:
      absolute inset-0
      bg-gradient-to-r from-transparent via-white/25 via-50% to-transparent
      -translate-x-full -> translate-x-full
      transition-transform duration-1000 ease-out
    */

    .safaro-svg-hover-card > .safaro-global-light-sweep {
      position: absolute !important;
      inset: 0 !important;
      width: auto !important;
      height: auto !important;
      z-index: 29 !important;
      pointer-events: none !important;
      border-radius: inherit !important;

      background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.25) 50%,
        rgba(255,255,255,0) 100%
      ) !important;

      opacity: 1 !important;
      filter: none !important;
      mix-blend-mode: normal !important;

      transform: translateX(-100%) !important;
      transition: transform 1000ms ease-out !important;

      animation: none !important;
      will-change: transform !important;
      backface-visibility: hidden !important;
      -webkit-backface-visibility: hidden !important;
    }

    @media (hover: hover) and (pointer: fine) {
      .safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        transform: translateX(100%) !important;
        animation: none !important;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .safaro-svg-hover-card > .safaro-global-light-sweep,
      .safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        transition: none !important;
        transform: translateX(-100%) !important;
      }
    }
  

    /* Force the exact HeroBanner sweep on destination cards too. */
    [id^="destination-card-"].safaro-svg-hover-card > .safaro-global-light-sweep {
      position: absolute !important;
      inset: 0 !important;
      width: auto !important;
      height: auto !important;
      z-index: 29 !important;
      pointer-events: none !important;
      border-radius: inherit !important;

      background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.25) 50%,
        rgba(255,255,255,0) 100%
      ) !important;

      opacity: 1 !important;
      filter: none !important;
      mix-blend-mode: normal !important;

      transform: translateX(-100%) !important;
      transition: transform 1000ms ease-out !important;
      animation: none !important;

      will-change: transform !important;
      backface-visibility: hidden !important;
      -webkit-backface-visibility: hidden !important;
    }

    @media (hover: hover) and (pointer: fine) {
      [id^="destination-card-"].safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        transform: translateX(100%) !important;
        transition: transform 1000ms ease-out !important;
        animation: none !important;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      [id^="destination-card-"].safaro-svg-hover-card > .safaro-global-light-sweep,
      [id^="destination-card-"].safaro-svg-hover-card:hover > .safaro-global-light-sweep {
        transition: none !important;
        transform: translateX(-100%) !important;
      }
    }
  

    /* Destination carousel: hide visual scrollbar while keeping scrolling enabled. */
    .safaro-destination-drag-scroll {
      scrollbar-width: none !important;
      -ms-overflow-style: none !important;
      overscroll-behavior-inline: contain;
    }

    .safaro-destination-drag-scroll::-webkit-scrollbar {
      width: 0 !important;
      height: 0 !important;
      display: none !important;
      background: transparent !important;
    }

    @media (hover: hover) and (pointer: fine) {
      .safaro-destination-drag-scroll {
        cursor: grab;
      }

      .safaro-destination-drag-scroll.safaro-is-dragging {
        cursor: grabbing !important;
        scroll-behavior: auto !important;
        scroll-snap-type: none !important;
      }

      .safaro-destination-drag-scroll.safaro-is-dragging,
      .safaro-destination-drag-scroll.safaro-is-dragging * {
        user-select: none !important;
        -webkit-user-select: none !important;
      }
    }
  

    /* Prevent accidental text/image/logo selection and dragging across the site. */
    html,
    body,
    body * {
      -webkit-user-select: none !important;
      -moz-user-select: none !important;
      -ms-user-select: none !important;
      user-select: none !important;
      -webkit-touch-callout: none !important;
    }

    img,
    svg,
    picture,
    canvas,
    video,
    [class*="logo"],
    [id*="logo"] {
      -webkit-user-drag: none !important;
      user-drag: none !important;
      pointer-events: none;
    }

    /* Keep actual interactive controls usable. */
    button,
    a,
    input,
    textarea,
    select,
    option,
    label,
    [role="button"] {
      pointer-events: auto;
    }

    /* Inputs remain editable, but selection/copy is still blocked globally by JS. */
    input,
    textarea {
      caret-color: auto;
    }

    /* Drag carousel should never trigger native image dragging/highlighting. */
    .safaro-destination-drag-scroll,
    .safaro-destination-drag-scroll * {
      -webkit-user-select: none !important;
      user-select: none !important;
      -webkit-user-drag: none !important;
    }
  

    .safaro-destination-carousel-host {
      position: relative !important;
    }

    .safaro-destination-carousel-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border-radius: 999px;
      border: 1px solid rgba(24, 34, 69, 0.14);
      background: rgba(255, 255, 255, 0.96);
      color: #182245;
      box-shadow:
        0 10px 24px rgba(24, 34, 69, 0.12),
        0 2px 6px rgba(24, 34, 69, 0.06);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 80;
      cursor: pointer;
      transition:
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease,
        background-color .18s ease;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      pointer-events: auto !important;
    }

    .safaro-destination-carousel-arrow:hover {
      transform: translateY(-50%) scale(1.04);
      box-shadow:
        0 14px 30px rgba(24, 34, 69, 0.16),
        0 3px 8px rgba(24, 34, 69, 0.08);
      background: rgba(255, 255, 255, 1);
    }

    .safaro-destination-carousel-arrow:active {
      transform: translateY(-50%) scale(.98);
    }

    .safaro-destination-carousel-arrow svg {
      width: 20px;
      height: 20px;
      display: block;
    }

    .safaro-destination-carousel-arrow.is-left {
      left: 10px;
    }

    .safaro-destination-carousel-arrow.is-right {
      right: 10px;
    }

    .safaro-destination-carousel-arrow.is-hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none !important;
    }

    @media (max-width: 640px) {
      .safaro-destination-carousel-arrow {
        display: none !important;
      }
    }
  

    /* Final visual fit: move destination logo a bit lower and give it better top breathing room */
    [id^="destination-card-"].safaro-svg-hover-card::after {
      background-position: center 12px !important;
      transform: translateY(-1px) scale(.975) !important;
    }

    @media (min-width: 640px) {
      [id^="destination-card-"].safaro-svg-hover-card::after {
        background-position: center 14px !important;
        transform: translateY(0px) scale(.975) !important;
      }
    }

    @media (hover: hover) and (pointer: fine) {
      [id^="destination-card-"].safaro-svg-hover-card:hover::after {
        background-position: center 14px !important;
        transform: translateY(1px) scale(1.0) !important;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      [id^="destination-card-"].safaro-svg-hover-card::after,
      [id^="destination-card-"].safaro-svg-hover-card:hover::after {
        background-position: center 14px !important;
      }
    }
  

    /*
      Re-balance the destination logo:
      - not as low as the previous version
      - visually centered between the top of the card and the CTA panel
      - still with a little breathing room from the top
    */
    [id^="destination-card-"].safaro-svg-hover-card::after {
      inset: 6px 0 108px 0 !important;
      background-position: center center !important;
      transform: translateY(-6px) scale(.98) !important;
      transform-origin: center center !important;
    }

    @media (min-width: 640px) {
      [id^="destination-card-"].safaro-svg-hover-card::after {
        inset: 8px 0 116px 0 !important;
        transform: translateY(-6px) scale(.98) !important;
      }
    }

    @media (hover: hover) and (pointer: fine) {
      [id^="destination-card-"].safaro-svg-hover-card:hover::after {
        inset: 8px 0 116px 0 !important;
        background-position: center center !important;
        transform: translateY(-5px) scale(1.0) !important;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      [id^="destination-card-"].safaro-svg-hover-card::after,
      [id^="destination-card-"].safaro-svg-hover-card:hover::after {
        inset: 8px 0 116px 0 !important;
        background-position: center center !important;
        transform: translateY(-6px) scale(.98) !important;
      }
    }
  

    /* 10% smaller logo + about 5px lower, preserving the current balanced placement. */
    [id^="destination-card-"].safaro-svg-hover-card::after {
      background-size: clamp(149px, 75.6%, 284px) auto !important;
      transform: translateY(-1px) scale(.98) !important;
    }

    @media (min-width: 640px) {
      [id^="destination-card-"].safaro-svg-hover-card::after {
        background-size: clamp(162px, 77.4%, 306px) auto !important;
        transform: translateY(-1px) scale(.98) !important;
      }
    }

    @media (hover: hover) and (pointer: fine) {
      [id^="destination-card-"].safaro-svg-hover-card:hover::after {
        background-size: clamp(162px, 77.4%, 306px) auto !important;
        transform: translateY(0px) scale(1) !important;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      [id^="destination-card-"].safaro-svg-hover-card::after,
      [id^="destination-card-"].safaro-svg-hover-card:hover::after {
        transform: translateY(-1px) scale(.98) !important;
      }
    }
  

    .safaro-destination-carousel-host > div:first-child button[aria-label="قبلی"],
    .safaro-destination-carousel-host > div:first-child button[aria-label="بعدی"] {
      display: none !important;
    }
  

html, body, #root {
  max-width: 100%;
  overflow-x: hidden;
}

#root .flex > *,
#root .grid > * {
  min-width: 0;
}

#root h1,
#root h2,
#root h3,
#root h4,
#root h5,
#root h6,
#root p,
#root span,
#root label,
#root button,
#root a,
#root td,
#root th {
  overflow-wrap: anywhere;
  word-break: normal;
}

#root button,
#root a {
  max-width: 100%;
}

#root input,
#root select,
#root textarea {
  min-width: 0;
  max-width: 100%;
}

#root .safaro-sheet-panel {
  overflow-x: hidden !important;
}

#root .safaro-sheet-panel .flex > *,
#root .safaro-sheet-panel .grid > *,
#root .safaro-svg-hover-card .flex > *,
#root .safaro-svg-hover-card .grid > * {
  min-width: 0;
}

@media (max-width: 639px) {
  #root .safaro-sheet-panel {
    width: 98vw !important;
    max-width: 98vw !important;
  }

  #root .safaro-sheet-panel button {
    white-space: normal;
    height: auto;
    min-height: 40px;
  }
}


    /*
      Mobile only:
      1) destination cards are 20% shorter than the current 343px mobile height
         => 274px (rounded).
      2) touch-preview reproduces the desktop logo + petroleum shade hover.
      Desktop dimensions/hover are unchanged.
    */
    @media (max-width: 639.98px) {
      [id^="destination-card-"] {
        height: 274px !important;
      }

      /* Keep the visual image/logo area proportional to the shorter card. */
      [id^="destination-card-"].safaro-svg-hover-card::before {
        inset: 0 0 92px 0 !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card::after {
        inset: 4px 0 92px 0 !important;
        background-size: clamp(132px, 72%, 252px) auto !important;
      }
    }

    @media (hover: none), (pointer: coarse) {
      /* Normal mobile state stays clean, like desktop before hover. */
      [id^="destination-card-"].safaro-svg-hover-card::before,
      [id^="destination-card-"].safaro-svg-hover-card::after {
        opacity: 0 !important;
      }

      /* Finger hover / press = same logo + shade reveal as desktop hover. */
      [id^="destination-card-"].safaro-svg-hover-card.touch-preview::before {
        opacity: 1 !important;
        transform: translateY(-4px) scale(1.015) !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card.touch-preview::after {
        opacity: .78 !important;
        transform: translateY(0px) scale(1) !important;
        filter:
          drop-shadow(0 0 7px rgba(231,249,255,.30))
          drop-shadow(0 0 16px rgba(91,190,226,.25))
          drop-shadow(0 0 26px rgba(10,80,101,.18))
          drop-shadow(0 8px 18px rgba(2,27,40,.14)) !important;
      }
    }
  

    @media (hover: none), (pointer: coarse) {
      /* Ensure mobile touch hover can be triggered both by JS and by active press */
      [id^="destination-card-"].safaro-svg-hover-card.touch-preview::before,
      [id^="destination-card-"].safaro-svg-hover-card:active::before {
        opacity: .72 !important;
        transform: translateY(-10px) scale(1.03) !important;
        background-position: -75% 0 !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card.touch-preview::after,
      [id^="destination-card-"].safaro-svg-hover-card:active::after {
        opacity: .76 !important;
        transform: translateY(-10px) scale(1.03) !important;
        filter:
          drop-shadow(0 0 7px rgba(214,244,255,.28))
          drop-shadow(0 0 15px rgba(82,172,207,.24))
          drop-shadow(0 0 28px rgba(7,62,82,.20))
          drop-shadow(0 10px 18px rgba(2,19,30,.13)) !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card.touch-preview {
        transform: translateY(-4px) !important;
        box-shadow:
          0 18px 38px rgba(24,34,69,.18),
          0 6px 16px rgba(7,42,57,.08),
          inset 0 1px 0 rgba(255,255,255,.16) !important;
      }

      [id^="destination-card-"].safaro-svg-hover-card.touch-preview > div.relative.z-30 {
        transform: translateY(-2px) !important;
        box-shadow:
          0 11px 24px rgba(24,34,69,.16),
          0 2px 0 rgba(255,255,255,.45) inset !important;
      }
    }
  

  [id^="destination-card-"] *,
  [id^="destination-card-"] *::before,
  [id^="destination-card-"] *::after {
    box-sizing: border-box;
  }
  [id^="destination-card-"] h4,
  [id^="destination-card-"] span,
  [id^="destination-card-"] button {
    max-width: 100%;
  }
  [id^="destination-card-"] span {
    overflow: hidden;
    text-overflow: ellipsis;
  }


    /* Slightly larger, screen-aware typography without scaling layout spacing/cards. */
    #root { font-size: 16px; }

    .text-\[8px\]  { font-size: 9px !important; }
    .text-\[9px\]  { font-size: 10px !important; }
    .text-\[10px\] { font-size: 11px !important; }
    .text-\[11px\] { font-size: 12px !important; }

    .text-xs   { font-size: 0.79rem !important; }
    .text-sm   { font-size: 0.91rem !important; }
    .text-base { font-size: 1.04rem !important; }
    .text-lg   { font-size: 1.17rem !important; }
    .text-xl   { font-size: 1.30rem !important; }
    .text-2xl  { font-size: 1.55rem !important; }
    .text-3xl  { font-size: 1.93rem !important; }

    @media (min-width: 480px) {
      .xs\:text-\[10px\] { font-size: 11.25px !important; }
    }

    @media (min-width: 640px) {
      #root { font-size: 16.25px; }

      .text-\[8px\]  { font-size: 9.25px !important; }
      .text-\[9px\]  { font-size: 10.25px !important; }
      .text-\[10px\] { font-size: 11.25px !important; }
      .text-\[11px\] { font-size: 12.25px !important; }

      .text-xs   { font-size: 0.81rem !important; }
      .text-sm   { font-size: 0.93rem !important; }
      .text-base { font-size: 1.06rem !important; }
      .text-lg   { font-size: 1.19rem !important; }
      .text-xl   { font-size: 1.33rem !important; }
      .text-2xl  { font-size: 1.59rem !important; }
      .text-3xl  { font-size: 1.98rem !important; }

      .sm\:text-\[10px\] { font-size: 11.25px !important; }
      .sm\:text-\[11px\] { font-size: 12.25px !important; }
      .sm\:text-xs        { font-size: 0.81rem !important; }
      .sm\:text-sm        { font-size: 0.93rem !important; }
      .sm\:text-base      { font-size: 1.06rem !important; }
      .sm\:text-lg        { font-size: 1.19rem !important; }
      .sm\:text-xl        { font-size: 1.33rem !important; }
      .sm\:text-2xl       { font-size: 1.59rem !important; }
      .sm\:text-3xl       { font-size: 1.98rem !important; }
    }

    @media (min-width: 768px) {
      #root { font-size: 16.5px; }

      .text-\[8px\]  { font-size: 9.5px !important; }
      .text-\[9px\]  { font-size: 10.5px !important; }
      .text-\[10px\] { font-size: 11.5px !important; }
      .text-\[11px\] { font-size: 12.5px !important; }

      .text-xs   { font-size: 0.83rem !important; }
      .text-sm   { font-size: 0.95rem !important; }
      .text-base { font-size: 1.08rem !important; }
      .text-lg   { font-size: 1.21rem !important; }
      .text-xl   { font-size: 1.35rem !important; }
      .text-2xl  { font-size: 1.62rem !important; }
      .text-3xl  { font-size: 2.02rem !important; }

      .md\:text-sm   { font-size: 0.95rem !important; }
      .md\:text-base { font-size: 1.08rem !important; }
      .md\:text-3xl  { font-size: 2.02rem !important; }
    }
  

html, body, #root {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden !important;
}
#hero-section { width: 100%; max-width: none; }
@media (max-width: 1023px) {
  #hero-desktop { display: none !important; }
}
@media (min-width: 1024px) {
  #hero-mobile { display: none !important; }
}


html, body, #root {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden !important;
}
body {
  background: #f4f8fc !important;
}
#hero-section {
  width: 100%;
  max-width: none;
}
@media (max-width: 639px) {
  header > div:nth-of-type(3) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


  /* Mobile fix: destination-card watermark logo + glow were too large; shrink both. Desktop untouched. */
  @media (max-width: 639.98px) {
    [id^="destination-card-"].safaro-svg-hover-card::after {
      background-size: clamp(104px, 52%, 158px) auto !important;
    }
  }

  @media (hover: none), (pointer: coarse) {
    [id^="destination-card-"].safaro-svg-hover-card.touch-preview::after,
    [id^="destination-card-"].safaro-svg-hover-card:active::after {
      background-size: clamp(104px, 52%, 158px) auto !important;
      filter:
        drop-shadow(0 0 5px rgba(231,249,255,.22))
        drop-shadow(0 0 10px rgba(91,190,226,.18))
        drop-shadow(0 6px 14px rgba(2,27,40,.10)) !important;
    }
  }


@media (min-width: 1024px) {
  #hero-desktop button[dir="rtl"].pointer-events-auto.absolute.flex.items-center {
    display: none !important;
  }
}


/* Hero v3 (2026-09-26): user design image + offers button strip BELOW image.
   The runtime aurora sheet fixes #hero-desktop height (clamp 530-570px, overflow hidden) which clips the strip.
   Higher specificity (html prefix + both !important) beats the later-injected aurora rule. */
@media (min-width: 1024px) {
  html #hero-desktop[data-safaro-aurora-hero="1"] { height: auto !important; }
  html #hero-desktop[data-safaro-aurora-hero="1"] > div[data-safaro-hero-leftshade="1"] { background: #fff !important; opacity: 1 !important; }
  html #hero-desktop[data-safaro-aurora-hero="1"] > button.safaro-hero-offer-btn { background: linear-gradient(to left, #ffb71c, #fd9320) !important; opacity: 1 !important; }
  html #hero-desktop[data-safaro-aurora-hero="1"] > img[data-safaro-hero-backdrop="1"] { background: none !important; }
}


/* Hide the floating bottom navigation whenever any Safaro popup/sheet is open.
   Applies to both desktop and mobile. */
body:has(.safaro-sheet-overlay) #bottom-navigation-bar {
  display: none !important;
}


    /* Desktop carries the same clean hotel-sheet language as mobile.
       Card dimensions are deliberately left untouched. */
    @media (min-width: 640px) {
      .safaro-country-tours-overlay {
        padding: 92px 24px 24px !important;
        align-items: flex-end !important;
      }

      .safaro-country-tours-panel {
        width: min(1180px, calc(100vw - 48px)) !important;
        max-width: min(1180px, calc(100vw - 48px)) !important;
        height: calc(100vh - 116px) !important;
        max-height: calc(100vh - 116px) !important;
        background: #eef1f5 !important;
        border: 1px solid #d9dee6 !important;
        border-radius: 30px 30px 0 0 !important;
        box-shadow: 0 -12px 38px rgba(24, 34, 69, .15) !important;
      }

      .safaro-country-tours-filterbar {
        background: #eef1f5 !important;
        padding: 16px 22px 10px !important;
        border-bottom: 0 !important;
      }

      .safaro-country-tours-filterbar > div {
        max-width: none !important;
        gap: 12px !important;
      }

      .safaro-country-tours-filters { gap: 9px !important; }

      #root .safaro-country-tour-star-chip,
      #root .safaro-country-tours-close {
        background: #fff !important;
        border-color: #dfe4eb !important;
        box-shadow: 0 2px 8px rgba(24, 34, 69, .06) !important;
      }

      #root .safaro-country-tour-star-chip {
        border-radius: 999px !important;
        color: #182245 !important;
      }

      #root .safaro-country-tour-star-chip.bg-\[\#182245\] {
        background: #182245 !important;
        color: #fff !important;
        border-color: #182245 !important;
      }

      .safaro-country-tours-close {
        border-radius: 999px !important;
        color: #182245 !important;
      }

      .safaro-country-tours-list {
        background: #eef1f5 !important;
        padding-top: 12px !important;
        padding-bottom: 30px !important;
      }

      .safaro-country-tour-card {
        border-color: #d9dee6 !important;
        background: #fff !important;
        box-shadow: 0 8px 22px rgba(24, 34, 69, .11) !important;
      }
    }
  

html.safaro-search-open .animate-consultation-float,
body.safaro-search-open .animate-consultation-float {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
html.safaro-search-open #bottom-navigation-bar,
body.safaro-search-open #bottom-navigation-bar {
  opacity: 0 !important;
  pointer-events: none !important;
}


/* Hide scrollbar chrome everywhere without disabling scrolling itself. */
html,body,#root,*{scrollbar-width:none;-ms-overflow-style:none;}
html::-webkit-scrollbar,body::-webkit-scrollbar,#root::-webkit-scrollbar,*::-webkit-scrollbar{width:0!important;height:0!important;display:none!important;}


@media (min-width:1024px){
  .safaro-hero-offer-btn{display:none!important}
}


@media (min-width:1024px){
  .tb-budget-helper{grid-column:1 / -1!important;width:100%!important;justify-self:stretch!important;text-align:center!important;margin-left:auto!important;margin-right:auto!important}
}


.tb-step-start-title{font-size:15px!important}
.tb-budget-helper{font-size:12.5px!important}
@media (min-width:640px){
  .tb-step-start-title{font-size:17.5px!important}
  .tb-budget-helper{font-size:15px!important}
}


.tb-progress-mobile{display:block;width:288px;max-width:100%;margin-left:auto;margin-right:auto}
.tb-progress-desktop{display:none}
.tb-destination-helper{font-size:12.5px!important}
@media (min-width:640px){.tb-destination-helper{font-size:15px!important}}
@media (min-width:768px){
  .tb-progress-mobile{display:none!important}
  .tb-progress-desktop{display:block!important;width:288px;max-width:100%;margin:16px auto 0}
}


@media (max-width:639px){
  .tb-step-grid{gap:6px!important}
  .tb-step-grid > div{
    min-width:0!important;
    min-height:76px!important;
    padding:8px 4px!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
  }
  .tb-step-grid > div > div:first-child{
    width:28px!important;
    height:28px!important;
    flex:0 0 28px!important;
  }
  .tb-step-grid > div > div:first-child svg{
    width:14px!important;
    height:14px!important;
  }
  .tb-step-grid > div > div:nth-child(2){
    width:100%!important;
    height:20px!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    line-height:1!important;
  }
  .tb-step-grid > div > div:nth-child(2) > div{
    width:100%!important;
    white-space:nowrap!important;
    text-align:center!important;
    line-height:20px!important;
  }
}


@media (max-width:767px){
  .tb-progress-mobile{display:none!important}
  .tb-progress-mobile>div{display:none!important}
}


@media (min-width:640px){
  .safaro-country-tours-list:has(> .safaro-origin-filter-row){
    padding-top:10px!important;
    gap:0 18px!important;
    row-gap:0!important;
  }
  .safaro-country-tours-list > .safaro-origin-filter-row{
    margin-top:0!important;
    margin-bottom:0!important;
    min-height:44px!important;
    height:44px!important;
    padding:4px 10px!important;
    align-self:start!important;
  }
  .safaro-country-tours-list > .safaro-origin-filter-row .safaro-origin-filter-chip{
    height:34px!important;
    min-height:34px!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }
}

.safaro-hotel-price-fx,.safaro-special-fx{font-size:15px!important;line-height:1.5!important;font-weight:900!important;white-space:normal!important}.safaro-hotel-price-fx{color:#ffb71c!important}@media(min-width:640px){.safaro-hotel-price-fx,.safaro-special-fx{font-size:16px!important}}.safaro-special-fx .safaro-special-plus{font-size:inherit!important}

  #seo-ssr{max-width:1100px;margin:0 auto;padding:18px 16px;font-family:inherit;color:#182245}
  #seo-ssr h1{font-size:clamp(19px,2.4vw,28px);line-height:1.6;margin:0 0 10px;font-weight:800}
  #seo-ssr p{margin:0 0 14px;font-size:14px;line-height:1.9;color:#475569}
  #seo-ssr ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
  #seo-ssr a{display:inline-block;padding:7px 12px;border:1px solid #d9dee6;border-radius:12px;color:#182245;text-decoration:none;font-size:13px}
  #seo-ssr a:hover{border-color:#ffb71c}
  
#boot-splash{display:none!important}

    html body .safaro-country-tours-panel {
      backdrop-filter: blur(24px) saturate(150%) !important;
      -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
      border-color: rgba(255,255,255,.62) !important;
    }
    @media (max-width: 639.98px) {
      html body .safaro-country-tours-overlay {
        padding-top: 84px !important;
        background: rgba(24, 34, 69, .34) !important;
      }
      html body .safaro-country-tours-panel {
        height: calc(100dvh - 84px) !important;
        max-height: calc(100dvh - 84px) !important;
        background: rgba(238,241,245,.6) !important;
        border-color: #d9dee6 !important;
      }
      html body .safaro-country-tours-filterbar {
        padding: 12px 14px 8px !important;
        background: #fff !important;
      }
      html body .safaro-country-tours-list {
        padding: 20px 18px 24px !important;
        background: rgba(238,241,245,.6) !important;
      }
      /* Keep the card's outside dimensions; pull only the image out over the
         card's existing inset so it meets the top and side edges. */
      html body .safaro-country-tour-card {
        overflow: hidden !important;
      }
      html body .safaro-country-tour-image {
        width: calc(100% + 6px) !important;
        margin: -10px -3px 0 !important;
        border-radius: 23px 23px 0 0 !important;
      }
    }
    @media (min-width: 640px) {
      html body .safaro-country-tours-overlay { padding: 91px 0 0 !important; }
      html body .safaro-country-tours-panel {
        width: 100vw !important; max-width: 100vw !important;
        height: calc(100dvh - 91px) !important; max-height: calc(100dvh - 91px) !important;
        background: rgba(238,241,245,.8) !important;
        border-radius: 30px 30px 0 0 !important;
      }
      /* Centered desktop hotel-star selector, with the close control held right. */
      html body .safaro-country-tours-filterbar { background: #fff !important; }
      html body .safaro-country-tours-filterbar > div {
        position: relative !important;
        justify-content: center !important;
        max-width: none !important;
      }
      html body .safaro-country-tours-filterbar > div::before {
        content: 'انتخاب ستاره هتل:';
        position: absolute;
        left: 0;
        color: #182245;
        font-size: 14px;
        font-weight: 800;
        white-space: nowrap;
        direction: rtl;
      }
      html body .safaro-country-tours-close {
        position: absolute !important;
        right: 0 !important;
      }
      /* Desktop: retain the compact hotel-card proportion and lay cards out
         side-by-side, up to three cards per row in the popup. */
      html body .safaro-country-tours-list {
        display: grid !important;
        background: rgba(238,241,245,.8) !important;
        grid-template-columns: repeat(auto-fit, minmax(320px, 344px)) !important;
        justify-content: center !important;
        align-content: start !important;
        gap: 20px !important;
      }
      html body .safaro-country-tour-card {
        width: 100% !important;
        max-width: 344px !important;
        margin: 0 !important;
        min-height: 332px !important;
        padding: 0 !important;
        border-radius: 24px !important;
        border-color: rgba(219,226,235,.95) !important;
        box-shadow: 0 8px 22px rgba(24,34,69,.12) !important;
        transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        isolation: isolate;
      }
      html body .safaro-country-tour-card::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(7,12,31,0) 35%, rgba(7,12,31,.20) 58%, rgba(7,12,31,.88) 100%);
      }
      html body .safaro-country-tour-card:hover {
        transform: translateY(-5px) !important;
        border-color: rgba(255,183,28,.62) !important;
        box-shadow: 0 18px 32px rgba(24,34,69,.20) !important;
      }
      html body .safaro-country-tour-card:hover .safaro-country-tour-action,
      html body .safaro-country-tour-action:hover {
        background: #ffb71c !important;
        border-color: #ffb71c !important;
        color: #182245 !important;
        box-shadow: 0 10px 22px rgba(255,183,28,.40) !important;
      }
      html body .safaro-country-tour-card:hover .safaro-country-tour-action svg,
      html body .safaro-country-tour-action:hover svg { color: #182245 !important; }
      html body .safaro-country-tours-list > .safaro-country-tour-card + .safaro-country-tour-card {
        margin-top: 0 !important;
      }
      html body .safaro-country-tour-card { overflow: hidden !important; }
      html body .safaro-country-tour-image {
        position: absolute !important;
        inset: 0 !important;
        z-index: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        aspect-ratio: auto !important;
        border-radius: inherit !important;
      }
      html body .safaro-country-tour-image img { width: 100% !important; height: 100% !important; }
      html body .safaro-country-tour-details {
        position: relative !important;
        z-index: 2 !important;
        margin-top: auto !important;
        padding: 54px 14px 14px !important;
        color: #fff !important;
        background: linear-gradient(180deg, transparent, rgba(7,12,31,.46)) !important;
      }
      html body .safaro-country-tour-details h3,
      html body .safaro-country-tour-details > div:first-child > div,
      html body .safaro-country-tour-details > div:nth-child(2) > div:first-child > div { color: #fff !important; }
      html body .safaro-country-tour-details > div:nth-child(2) > div:first-child > span { color: rgba(255,255,255,.72) !important; }
      /* CTA language is shared with the home-page destination cards. */
      html body .safaro-country-tour-action {
        background: #f8fafc !important;
        color: #182245 !important;
        border: 1px solid #dbe2eb !important;
        border-radius: 14px !important;
        box-shadow: 0 5px 14px rgba(24,34,69,.10) !important;
      }
      html body .safaro-country-tour-action svg { color: #ffb71c !important; }
      html body .safaro-country-tour-details > div:nth-child(2) {
        border-top: 1px solid rgba(255,255,255,.22) !important;
        padding-top: 10px !important;
      }
    }
  

    /* Tour builder: a centered desktop task flow without oversized mobile fields. */
    @media (min-width: 768px) {
      #tb-destination,
      #tb-phone { width: 100% !important; }
      div:has(> #tb-destination) {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
        margin-inline: 0 !important;
        text-align: right !important;
      }
      div:has(> #tb-destination) label,
      div:has(> #tb-destination) p { text-align: right !important; }
      div:has(> #tb-phone),
      div:has(> #tb-phone) + div {
        width: min(100%, 512px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
      }
      div:has(> #tb-phone) label { text-align: center !important; }
    }
    @media (max-width: 767.98px) {
      #tb-destination,
      #tb-phone {
        min-height: 52px !important;
        font-size: 16px !important;
      }
      div:has(> #tb-destination),
      div:has(> #tb-phone),
      div:has(> #tb-phone) + div { width: 100% !important; }
    }
  

    @keyframes safaroHotelSheetClose {
      from { transform: translate3d(0,0,0); opacity: 1; }
      to { transform: translate3d(0,106%,0); opacity: .96; }
    }
    .safaro-country-tours-overlay.safaro-closing > .safaro-country-tours-panel {
      animation: safaroHotelSheetClose .32s cubic-bezier(.45,0,.75,.25) both !important;
      pointer-events: none !important;
    }
    .safaro-country-tours-overlay.safaro-closing > div:not(.safaro-country-tours-panel) {
      opacity: 0 !important;
      transition: opacity .22s ease !important;
    }
    @media (prefers-reduced-motion: reduce) {
      .safaro-country-tours-overlay.safaro-closing > .safaro-country-tours-panel { animation-duration: .01ms !important; }
    }
  

    /* Mobile destination popup: use the same image-led card language as desktop. */
    @media (max-width: 639.98px) {
      html body .safaro-country-tours-panel {
        background: rgba(238,241,245,.80) !important;
      }

      html body .safaro-country-tours-list {
        display: grid !important;
        grid-template-columns: minmax(0, 344px) !important;
        justify-content: center !important;
        align-content: start !important;
        gap: 16px !important;
        padding: 16px 14px 26px !important;
        background: rgba(238,241,245,.80) !important;
      }

      html body .safaro-country-tours-list > .safaro-country-tour-card + .safaro-country-tour-card {
        margin-top: 0 !important;
      }

      html body .safaro-country-tour-card {
        width: 100% !important;
        max-width: 344px !important;
        height: 332px !important;
        min-height: 332px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border-radius: 24px !important;
        overflow: hidden !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        isolation: isolate !important;
        background: #182245 !important;
        border: 1px solid rgba(219,226,235,.95) !important;
        box-shadow: 0 8px 22px rgba(24,34,69,.12) !important;
      }

      html body .safaro-country-tour-card::after {
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
        pointer-events: none !important;
        background: linear-gradient(180deg, rgba(7,12,31,0) 34%, rgba(7,12,31,.18) 57%, rgba(7,12,31,.90) 100%) !important;
      }

      html body .safaro-country-tour-image {
        position: absolute !important;
        inset: 0 !important;
        z-index: 0 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        aspect-ratio: auto !important;
        border-radius: inherit !important;
        overflow: hidden !important;
      }

      html body .safaro-country-tour-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: 50% 50% !important;
        border-radius: inherit !important;
      }

      html body .safaro-country-tour-details {
        position: relative !important;
        z-index: 2 !important;
        margin-top: auto !important;
        padding: 58px 14px 14px !important;
        color: #fff !important;
        background: linear-gradient(180deg, transparent, rgba(7,12,31,.50)) !important;
      }

      html body .safaro-country-tour-details > div:first-child {
        min-height: 24px !important;
        gap: 10px !important;
      }

      html body .safaro-country-tour-details h3 {
        color: #fff !important;
        font-size: 14px !important;
        line-height: 22px !important;
      }

      html body .safaro-country-tour-details > div:first-child > div,
      html body .safaro-country-tour-details > div:nth-child(2) > div:first-child > div {
        color: #fff !important;
      }

      html body .safaro-country-tour-details > div:first-child > div {
        font-size: 13px !important;
      }

      html body .safaro-country-tour-details > div:nth-child(2) {
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px solid rgba(255,255,255,.22) !important;
        align-items: end !important;
        gap: 12px !important;
      }

      html body .safaro-country-tour-details > div:nth-child(2) > div:first-child > span {
        color: rgba(255,255,255,.72) !important;
        font-size: 9px !important;
        line-height: 14px !important;
      }

      html body .safaro-country-tour-details > div:nth-child(2) > div:first-child > div {
        font-size: 15px !important;
        line-height: 24px !important;
      }

      html body .safaro-country-tour-action {
        width: 112px !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 14px !important;
        border-radius: 14px !important;
        background: #f8fafc !important;
        color: #182245 !important;
        border: 1px solid #dbe2eb !important;
        box-shadow: 0 5px 14px rgba(24,34,69,.12) !important;
        font-size: 13px !important;
        gap: 7px !important;
      }

      html body .safaro-country-tour-action svg {
        width: 15px !important;
        height: 15px !important;
        color: #ffb71c !important;
      }

      html body .safaro-country-tour-action:active {
        background: #ffb71c !important;
        color: #182245 !important;
        border-color: #ffb71c !important;
      }
    }

    /* Desktop hotel-star controls: right aligned with one clear label. */
    @media (min-width: 640px) {
      html body .safaro-country-tours-filterbar > div {
        position: relative !important;
        justify-content: flex-start !important;
        min-height: 40px !important;
        max-width: none !important;
      }

      html body .safaro-country-tours-filterbar > div::before {
        content: none !important;
        display: none !important;
      }

      html body .safaro-country-tours-filters {
        position: absolute !important;
        right: 0 !important;
        left: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        align-items: center !important;
        gap: 9px !important;
        overflow: visible !important;
        direction: rtl !important;
        white-space: nowrap !important;
      }

      html body .safaro-country-tours-filters::before {
        content: 'ستاره هتل:' !important;
        display: inline-flex !important;
        align-items: center !important;
        color: #182245 !important;
        font-size: 14px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        margin-left: 2px !important;
      }

      html body .safaro-country-tour-star-chip {
        direction: ltr !important;
      }

      html body .safaro-country-tour-star-chip span::before {
        content: none !important;
        display: none !important;
      }

      html body .safaro-country-tours-close {
        position: absolute !important;
        left: 0 !important;
        right: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
      }
    }
  

    /* Final CTA color: mobile + desktop use the same Safaro yellow. */
    html body .safaro-country-tour-action {
      background: #ffb71c !important;
      color: #182245 !important;
      border-color: #ffb71c !important;
      box-shadow: 0 7px 18px rgba(255,183,28,.30) !important;
    }
    html body .safaro-country-tour-action svg {
      color: #182245 !important;
    }

    /* Mobile: reproduce the desktop card-hover feedback on finger press/tap. */
    @media (max-width: 639.98px) {
      html body .safaro-country-tour-card {
        transition:
          transform .24s cubic-bezier(.22,.78,.2,1),
          box-shadow .24s ease,
          border-color .24s ease !important;
        will-change: transform;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
      }
      html body .safaro-country-tour-image img {
        transition: transform .34s cubic-bezier(.22,.78,.2,1) !important;
        will-change: transform;
      }
      html body .safaro-country-tour-action {
        transition:
          transform .24s cubic-bezier(.22,.78,.2,1),
          box-shadow .24s ease,
          background-color .24s ease,
          border-color .24s ease !important;
      }

      html body .safaro-country-tour-card:active,
      html body .safaro-country-tour-card.safaro-touch-card-active {
        transform: translateY(-5px) scale(.992) !important;
        border-color: rgba(255,183,28,.72) !important;
        box-shadow: 0 18px 32px rgba(24,34,69,.20) !important;
      }
      html body .safaro-country-tour-card:active .safaro-country-tour-image img,
      html body .safaro-country-tour-card.safaro-touch-card-active .safaro-country-tour-image img {
        transform: scale(1.025) !important;
      }
      html body .safaro-country-tour-card:active .safaro-country-tour-action,
      html body .safaro-country-tour-card.safaro-touch-card-active .safaro-country-tour-action {
        transform: translateY(-2px) !important;
        box-shadow: 0 11px 24px rgba(255,183,28,.42) !important;
      }
    }

    /* Desktop header: stars stay exactly centered; label sits to their right;
       close/exit control sits at the far right of the header. */
    @media (min-width: 640px) {
      html body .safaro-country-tours-filterbar > div {
        position: relative !important;
        justify-content: center !important;
        min-height: 40px !important;
        max-width: none !important;
      }

      html body .safaro-country-tours-filters {
        position: absolute !important;
        right: auto !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 9px !important;
        overflow: visible !important;
        direction: rtl !important;
        white-space: nowrap !important;
      }

      html body .safaro-country-tours-filters::before {
        content: 'ستاره هتل:' !important;
        display: inline-flex !important;
        align-items: center !important;
        position: absolute !important;
        right: auto !important;
        left: calc(100% + 10px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        color: #182245 !important;
        font-size: 14px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        margin: 0 !important;
        pointer-events: none !important;
      }

      html body .safaro-country-tours-close {
        position: absolute !important;
        right: 0 !important;
        left: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
      }
    }
  

    /* CTA default state on both desktop and mobile: neutral gray. */
    html body .safaro-country-tour-action {
      background: #e5e7eb !important;
      color: #182245 !important;
      border-color: #d1d5db !important;
      box-shadow: 0 5px 14px rgba(24,34,69,.12) !important;
      transition:
        background-color .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        transform .22s cubic-bezier(.22,.78,.2,1) !important;
    }

    html body .safaro-country-tour-action svg {
      color: #182245 !important;
    }

    /* Desktop: moving the mouse anywhere over the card turns its CTA yellow. */
    @media (hover: hover) and (pointer: fine) {
      html body .safaro-country-tour-card:hover .safaro-country-tour-action,
      html body .safaro-country-tour-card:focus-within .safaro-country-tour-action {
        background: #ffb71c !important;
        color: #182245 !important;
        border-color: #ffb71c !important;
        box-shadow: 0 10px 24px rgba(255,183,28,.38) !important;
        transform: translateY(-2px) !important;
      }
    }

    /* Mobile/touch: pressing the card turns its CTA yellow during the touch motion. */
    @media (hover: none), (pointer: coarse), (max-width: 639.98px) {
      html body .safaro-country-tour-card:active .safaro-country-tour-action,
      html body .safaro-country-tour-card.safaro-touch-card-active .safaro-country-tour-action,
      html body .safaro-country-tour-card:focus-within .safaro-country-tour-action {
        background: #ffb71c !important;
        color: #182245 !important;
        border-color: #ffb71c !important;
        box-shadow: 0 11px 24px rgba(255,183,28,.42) !important;
        transform: translateY(-2px) !important;
      }
    }
  

    /* Exact color behavior copied from the main-page DestinationCard "مشاهده" CTA. */
    html body .safaro-country-tour-action {
      background: #e2e8f0 !important; /* Tailwind slate-200 */
      color: #475569 !important;      /* Tailwind slate-600 */
      border-color: transparent !important;
      box-shadow: 0 1px 2px 0 rgba(0,0,0,.05) !important; /* shadow-sm */
    }
    html body .safaro-country-tour-action svg {
      color: #64748b !important;      /* Tailwind slate-500 */
    }

    /* Desktop: same yellow/text/shadow as the main-page card CTA on card hover. */
    @media (hover: hover) and (pointer: fine) {
      html body .safaro-country-tour-card:hover .safaro-country-tour-action,
      html body .safaro-country-tour-card:focus-within .safaro-country-tour-action,
      html body .safaro-country-tour-action:hover {
        background: #ffb71c !important;
        color: #182245 !important;
        border-color: transparent !important;
        box-shadow: 0 4px 12px rgba(255,183,28,.35) !important;
      }
      html body .safaro-country-tour-card:hover .safaro-country-tour-action svg,
      html body .safaro-country-tour-card:focus-within .safaro-country-tour-action svg,
      html body .safaro-country-tour-action:hover svg {
        color: #182245 !important;
      }
    }

    /* Mobile/touch: the same exact color transition while the card is pressed. */
    @media (hover: none), (pointer: coarse), (max-width: 639.98px) {
      html body .safaro-country-tour-card:active .safaro-country-tour-action,
      html body .safaro-country-tour-card.safaro-touch-card-active .safaro-country-tour-action,
      html body .safaro-country-tour-card:focus-within .safaro-country-tour-action {
        background: #ffb71c !important;
        color: #182245 !important;
        border-color: transparent !important;
        box-shadow: 0 4px 12px rgba(255,183,28,.35) !important;
      }
      html body .safaro-country-tour-card:active .safaro-country-tour-action svg,
      html body .safaro-country-tour-card.safaro-touch-card-active .safaro-country-tour-action svg,
      html body .safaro-country-tour-card:focus-within .safaro-country-tour-action svg {
        color: #182245 !important;
      }
    }
  

    /* Hotel popup — numeric values are Safaro yellow on mobile and desktop. */
    html body .safaro-country-tours-panel .safaro-hotel-number,
    html body .safaro-country-tours-panel .safaro-hotel-price-number {
      color: #ffb71c !important;
    }

    /* Keep the currency word in the existing card text color. */
    @media (max-width: 639.98px) {
      html body .safaro-country-tours-panel .safaro-hotel-price-unit {
        color: #182245 !important;
      }
    }
    @media (min-width: 640px) {
      html body .safaro-country-tours-panel .safaro-hotel-price-unit {
        color: #fff !important;
      }
    }
  

@media (min-width: 768px) {
  html body .safaro-country-tours-filters::before {
    content: 'انتخاب ستاره هتل:' !important;
  }
}


  /* Hotel filter on mobile + desktop: star icon stays orange; visible star number is black. */
  html body .safaro-country-tours-filterbar .safaro-country-tour-star-chip .safaro-hotel-number {
    color: #111827 !important;
    font-weight: 900 !important;
  }


/* Atomic star-filter state: React aria-pressed controls every visible state in the same frame. */
html body #root .safaro-country-tour-star-chip{transition-property:box-shadow,transform!important;transition-duration:150ms!important;}
html body #root .safaro-country-tour-star-chip .safaro-star-filter-number{display:inline-block!important;position:static!important;min-width:1ch!important;width:auto!important;opacity:1!important;visibility:visible!important;transform:none!important;color:#111827!important;font-weight:900!important;line-height:1!important;transition:none!important;animation:none!important;}
html body #root .safaro-country-tour-star-chip[aria-pressed="true"]{background:#182245!important;border-color:#182245!important;color:#fff!important;}
html body #root .safaro-country-tour-star-chip[aria-pressed="true"] .safaro-star-filter-number{color:#fff!important;}
html body #root .safaro-country-tour-star-chip[aria-pressed="false"]{background:#fff!important;border-color:#dfe4eb!important;color:#182245!important;}
html body #root .safaro-country-tour-star-chip[aria-pressed="false"] .safaro-star-filter-number{color:#111827!important;}


@media (max-width: 639.98px) {
  html body .safaro-country-tour-card:active .safaro-mobile-hotel-view-button,
  html body .safaro-country-tour-card.safaro-touch-card-active .safaro-mobile-hotel-view-button,
  html body .safaro-country-tour-card:focus-within .safaro-mobile-hotel-view-button {
    background: #ffb71c !important;
    color: #182245 !important;
    box-shadow: 0 4px 12px rgba(255,183,28,.35) !important;
    transform: translateY(-1px) !important;
  }
  html body .safaro-country-tour-card:active .safaro-mobile-hotel-view-button svg,
  html body .safaro-country-tour-card.safaro-touch-card-active .safaro-mobile-hotel-view-button svg,
  html body .safaro-country-tour-card:focus-within .safaro-mobile-hotel-view-button svg {
    color: #182245 !important;
  }
}


@media (max-width: 767.98px) {
  #safaro-mobile-search-sheet, #safaro-mobile-sticky-search { display:none !important; visibility:hidden !important; pointer-events:none !important; }
}
#root .safaro-tour-builder-hotel-label { color:#182245 !important; -webkit-text-fill-color:#182245 !important; opacity:1 !important; }
@media (max-width: 767.98px) {
  #safaro-advanced-search.safaro-sheet-panel { max-height: 86dvh !important; }
}


.safaro-map-bounds-chip,.safaro-map-mode,.safaro-map-chip{display:none!important}
@media (max-width:767.98px){
.safaro-search-overlay{align-items:center!important;padding:8px!important}
#safaro-advanced-search.safaro-sheet-panel{width:calc(100vw - 16px)!important;height:min(78dvh,680px)!important;max-height:min(78dvh,680px)!important;border-radius:24px!important}
.safaro-search-overlay #safaro-advanced-search>.flex.justify-center{display:none!important}
}
@media (max-width:639.98px){
html body .safaro-country-tours-overlay{inset:0!important;top:0!important;padding:0!important;align-items:stretch!important}
html body .safaro-country-tours-panel{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;border:0!important;background:#eef3f8!important}
html body .safaro-country-tours-filterbar{position:absolute!important;top:0!important;left:0!important;right:0!important;z-index:45!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(16px)!important;padding:8px 9px!important;border-bottom:1px solid #dfe5ec!important;border-radius:0!important}
html body .safaro-country-tours-map-pane{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:20!important;box-shadow:none!important}
html body .safaro-country-tours-map-pane>.leaflet-container{width:100%!important;height:100%!important}
html body .safaro-map-ctl{top:70px!important;right:10px!important}
html body .safaro-country-tours-map-pane>button[aria-label="بستن نقشه"]{top:70px!important;left:10px!important}
html body .safaro-country-tours-list{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:30!important;width:100%!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:12px!important;padding:8px 10px 20px!important;background:#f7f9fc!important;border-radius:24px 24px 0 0!important;box-shadow:0 -18px 50px rgba(24,34,69,.18)!important;transition:height .34s cubic-bezier(.22,1,.36,1)!important;overflow-y:auto!important}
html body .safaro-country-tour-card{flex:0 0 auto!important;width:min(100%,356px)!important;max-width:356px!important;height:auto!important;min-height:0!important;aspect-ratio:1.34/1!important;margin:0 auto!important;padding:0!important;overflow:hidden!important;position:relative!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;background:#182245!important;border-radius:22px!important;box-shadow:0 10px 28px rgba(24,34,69,.13)!important}
html body .safaro-country-tour-card::after{content:""!important;position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none!important;background:linear-gradient(180deg,rgba(7,12,31,0) 35%,rgba(7,12,31,.22) 58%,rgba(7,12,31,.88) 100%)!important}
html body .safaro-country-tour-image{position:absolute!important;inset:0!important;z-index:0!important;width:100%!important;height:100%!important;margin:0!important;aspect-ratio:auto!important;border-radius:inherit!important}
html body .safaro-country-tour-details{position:relative!important;z-index:2!important;margin-top:auto!important;padding:52px 12px 12px!important;background:linear-gradient(180deg,transparent,rgba(7,12,31,.48))!important}
html body .safaro-country-tour-details h3,html body .safaro-country-tour-details>div:first-child>div,html body .safaro-country-tour-details>div:nth-child(2)>div:first-child>div{color:#fff!important}
html body .safaro-country-tour-details>div:nth-child(2)>div:first-child>span{color:rgba(255,255,255,.72)!important}
html body .safaro-country-tours-panel .safaro-hotel-price-unit{color:#fff!important}
html body .safaro-mobile-hotel-view-button{background:#fff!important;color:#182245!important;min-height:38px!important;border-radius:13px!important;padding:0 13px!important}
html body .safaro-country-tour-map-button{right:12px!important;left:auto!important;top:12px!important;height:34px!important;border-radius:13px!important}
html body .safaro-country-tours-list>.safaro-sheet-grabber{width:100%!important;flex:0 0 auto!important}
}


/* Final popup geometry guard: preserve site UI, enforce the approved UX after all legacy overrides. */
@media (max-width:639.98px){
html body .safaro-country-tours-overlay{inset:0!important;top:0!important;padding:calc(var(--safaro-header-safe-half,0px) + 6px) 6px 8px!important;align-items:flex-start!important;justify-content:center!important}
html body .safaro-country-tours-panel{width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;height:calc(100dvh - var(--safaro-header-safe-half,0px) - 14px)!important;max-height:calc(100dvh - var(--safaro-header-safe-half,0px) - 14px)!important;min-height:0!important;border-radius:28px!important;border:1px solid #d9e1e8!important;overflow:hidden!important;background:#eef3f8!important;box-shadow:0 24px 70px rgba(15,23,42,.24)!important}
html body .safaro-country-tours-list{left:8px!important;right:8px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:auto!important;border-radius:25px!important}
}
@media (min-width:640px){
html body .safaro-country-tours-overlay{inset:0!important;top:0!important;padding:calc(var(--safaro-header-safe-top,0px) + 12px) 24px 24px!important;align-items:flex-end!important;justify-content:center!important}
html body .safaro-country-tours-panel{width:min(1380px,calc(100vw - 48px))!important;max-width:min(1380px,calc(100vw - 48px))!important;height:min(74dvh,780px)!important;max-height:min(780px,calc(100dvh - var(--safaro-header-safe-top,0px) - 36px))!important;border-radius:32px!important;border:1px solid #d9e1e8!important;box-shadow:0 26px 80px rgba(15,23,42,.22)!important;overflow:hidden!important}
}


:root{--safaro-popup-radius:28px;--safaro-popup-radius-desktop:30px;--safaro-popup-shadow:0 24px 70px rgba(15,23,42,.24);--safaro-popup-backdrop:rgba(17,24,51,.22);--safaro-popup-motion:280ms;--safaro-popup-touch:44px}
.safaro-sheet-panel,.safaro-search-bottom-sheet,#safaro-advanced-search{box-shadow:var(--safaro-popup-shadow)!important;border-radius:var(--safaro-popup-radius)!important}
.safaro-sheet-overlay button,.safaro-search-overlay button,.safaro-search-bottom-sheet button,#safaro-advanced-search button{min-height:var(--safaro-popup-touch)!important}
html body .safaro-country-tours-overlay button{min-height:44px!important}
.safaro-sheet-overlay button[aria-label],.safaro-search-overlay button[aria-label],.safaro-search-bottom-sheet button[aria-label]{min-width:var(--safaro-popup-touch)}
.safaro-country-tour-star-chip,.safaro-country-tours-close,.safaro-country-tours-maptoggle,.safaro-mobile-hotel-view-button,.safaro-country-tour-map-button{min-height:var(--safaro-popup-touch)!important}
@media(min-width:640px){.safaro-sheet-panel,.safaro-search-bottom-sheet,#safaro-advanced-search{border-radius:var(--safaro-popup-radius-desktop)!important}}
@media(prefers-reduced-motion:reduce){.safaro-sheet-panel,.safaro-search-bottom-sheet{transition-duration:.01ms!important}}


@media (max-width:639px){
html body .aasa-consult-overlay{inset:0!important;top:0!important;padding:calc(var(--safaro-header-safe-half,0px) + 6px) 6px 8px!important;align-items:flex-start!important;justify-content:center!important}
html body .aasa-consult-panel{width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;height:calc(100dvh - var(--safaro-header-safe-half,0px) - 14px)!important;max-height:calc(100dvh - var(--safaro-header-safe-half,0px) - 14px)!important;min-height:0!important;border-radius:28px!important;border:1px solid #d9e1e8!important;overflow:hidden!important;background:#eef3f8!important;box-shadow:0 24px 70px rgba(15,23,42,.24)!important}
}
@media (min-width:640px){
html body .aasa-consult-overlay{inset:0!important;top:0!important;padding:calc(var(--safaro-header-safe-top,0px) + 12px) 24px 24px!important;align-items:flex-end!important;justify-content:center!important}
html body .aasa-consult-panel{width:min(1380px,calc(100vw - 48px))!important;max-width:min(1380px,calc(100vw - 48px))!important;height:min(74dvh,780px)!important;max-height:min(780px,calc(100dvh - var(--safaro-header-safe-top,0px) - 36px))!important;min-height:0!important;border-radius:32px!important;border:1px solid #d9e1e8!important;overflow:hidden!important;background:#eef3f8!important;box-shadow:0 26px 80px rgba(15,23,42,.22)!important}
}


:root{--safaro-header-safe-top:74px;--safaro-header-safe-half:37px}
@media (min-width:640px){:root{--safaro-header-safe-top:90px;--safaro-header-safe-half:45px}}
@media (min-width:768px){:root{--safaro-header-safe-top:106px;--safaro-header-safe-half:53px}}
@media (min-width:1024px){:root{--safaro-header-safe-top:110px;--safaro-header-safe-half:55px}}


.safaro-country-tour-card[data-selected="true"]{border-color:#ffb71c!important;box-shadow:0 0 0 3px rgba(255,183,28,.16),0 14px 34px rgba(24,34,69,.16)!important}
.leaflet-marker-icon.is-active{filter:drop-shadow(0 6px 12px rgba(255,183,28,.35));z-index:900!important}


@media (min-width:640px){
html body .safaro-country-tours-map-pane{width:42%!important;}
html body .safaro-country-tours-list[data-safaro-batch2-ready="true"]{padding-left:43%!important;}
}


/* Hotel-list cards intentionally show hotel/stay/price only. Flight details live in the hotel detail view. */
html body .safaro-country-tour-card .safaro-hotel-airline,
html body .safaro-country-tour-card .safaro-country-tour-flight,
html body .safaro-country-tour-card .safaro-flight-strip,
html body .safaro-country-tour-card .safaro-airline-strip,
html body .safaro-country-tour-card [data-airline-summary],
html body .safaro-country-tour-card [data-flight-summary]{display:none!important}


html body .safaro-country-tour-card .safaro-hotel-variant-list,
html body .safaro-country-tour-card .safaro-hotel-variant-row{display:none!important;}


html,body,*{scrollbar-width:none!important;-ms-overflow-style:none!important}
*::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;background:transparent!important}


.safaro-close-ui{position:relative!important;isolation:isolate;transition:border-color .2s ease,background-color .2s ease,box-shadow .28s ease,transform .2s ease!important}
.safaro-close-ui:hover{transform:none!important}
.safaro-close-ui::after{content:"";position:absolute;inset:-4px;border:1.5px solid rgba(255,183,28,0);border-radius:inherit;pointer-events:none;opacity:0;transform:scale(.88);transition:opacity .22s ease,border-color .22s ease,transform .32s cubic-bezier(.22,1,.36,1)}
.safaro-close-ui.safaro-close-pulse{border-color:#ffb71c!important;background:#fff8eb!important;box-shadow:0 0 0 3px rgba(255,183,28,.12),0 7px 20px rgba(196,124,0,.12)!important}
.safaro-close-ui.safaro-close-pulse::after{opacity:1;border-color:rgba(255,183,28,.72);transform:scale(1.07);animation:safaroCloseRing .36s cubic-bezier(.22,1,.36,1) both}
.safaro-close-ui.safaro-close-pulse svg.lucide-x,.safaro-close-ui.safaro-close-pulse svg[data-lucide="x"],.safaro-close-ui.safaro-close-pulse > svg,.safaro-close-ui.safaro-close-pulse .safaro-close-glyph{animation:safaroCloseSpin .32s cubic-bezier(.22,1,.36,1) both;transform-origin:50% 50%}
@keyframes safaroCloseSpin{0%{transform:rotate(0deg) scale(1)}55%{transform:rotate(205deg) scale(.88)}100%{transform:rotate(360deg) scale(1)}}
@keyframes safaroCloseRing{0%{opacity:0;transform:scale(.86)}38%{opacity:1}100%{opacity:.95;transform:scale(1.07)}}
@media (prefers-reduced-motion:reduce){.safaro-close-ui,.safaro-close-ui::after{transition:none!important}.safaro-close-ui.safaro-close-pulse::after,.safaro-close-ui.safaro-close-pulse svg.lucide-x,.safaro-close-ui.safaro-close-pulse svg[data-lucide="x"],.safaro-close-ui.safaro-close-pulse > svg,.safaro-close-ui.safaro-close-pulse .safaro-close-glyph{animation:none!important}}


/* Close buttons stay completely still. Only the X glyph animates on an intentional click. */
.safaro-close-ui{
  transform:none!important;
  translate:0 0!important;
  rotate:0deg!important;
  animation:none!important;
  will-change:auto!important;
}
.safaro-close-ui:hover,
.safaro-close-ui:focus,
.safaro-close-ui:focus-visible,
.safaro-close-ui:active{
  transform:none!important;
  translate:0 0!important;
  rotate:0deg!important;
}
.safaro-close-ui > svg,
.safaro-close-ui svg.lucide-x,
.safaro-close-ui svg[data-lucide="x"]{
  transform:none;
  translate:0 0;
  rotate:0deg;
  animation:none;
  transition:none!important;
}
.safaro-close-ui.safaro-close-pulse > svg,
.safaro-close-ui.safaro-close-pulse svg.lucide-x,
.safaro-close-ui.safaro-close-pulse svg[data-lucide="x"]{
  animation:safaroCloseSpin .32s cubic-bezier(.22,1,.36,1) both!important;
  transform-origin:50% 50%;
}

/* Desktop hotel-list close: pin to one coordinate so filter/map relayout cannot move it. */
@media (min-width:640px){
  .safaro-country-tours-filterbar{position:relative!important}
  .safaro-country-tours-filterbar .safaro-country-tours-close{
    position:absolute!important;
    top:4px!important;
    right:0!important;
    left:auto!important;
    margin:0!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    flex:0 0 40px!important;
    transform:none!important;
    translate:0 0!important;
    rotate:0deg!important;
    animation:none!important;
  }
}


/* Keep the map close button permanently above all Leaflet panes, markers and controls. */
.safaro-country-tours-map-pane > button[aria-label="بستن نقشه"],
.safaro-country-tours-map-pane button[aria-label="بستن نقشه"]{
  position:absolute!important;
  z-index:2147483000!important;
  isolation:isolate!important;
  pointer-events:auto!important;
  transform:none!important;
  translate:0 0!important;
  rotate:0deg!important;
  animation:none!important;
  will-change:auto!important;
}
.safaro-country-tours-map-pane > button[aria-label="بستن نقشه"] > svg,
.safaro-country-tours-map-pane button[aria-label="بستن نقشه"] > svg{
  position:relative!important;
  z-index:1!important;
}
.safaro-country-tours-map-pane .leaflet-pane,
.safaro-country-tours-map-pane .leaflet-control-container{
  isolation:auto!important;
}


.safaro-country-tours-panel{position:relative!important}
#safaro-hotel-mode-stage{
  position:absolute;left:0;right:0;bottom:0;z-index:2147482000;
  display:none;align-items:center;justify-content:center;padding:22px;
  background:#68717f;direction:rtl;font-family:inherit;
}
#safaro-hotel-mode-stage.is-open{display:flex}
#safaro-hotel-mode-card{
  width:min(560px,calc(100% - 28px));background:#fff;border:1px solid rgba(24,34,69,.08);
  border-radius:28px;padding:22px;box-shadow:0 28px 80px rgba(10,19,39,.18);color:#182245;
}
.safaro-hotel-mode-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.safaro-hotel-mode-kicker{font-size:11px;font-weight:900;color:#a06a00;margin-bottom:4px}
.safaro-hotel-mode-title{margin:0;font-size:20px;line-height:1.5;font-weight:1000;letter-spacing:-.2px}
.safaro-hotel-mode-sub{margin:5px 0 0;font-size:12px;line-height:1.8;color:#718096;font-weight:650}
#safaro-hotel-mode-close{
  width:38px;height:38px;flex:0 0 38px;border:1px solid #e3e7ee;border-radius:12px;background:#fff;
  color:#182245;font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center;
}
.safaro-hotel-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.safaro-hotel-mode-option{
  min-height:150px;border:1px solid #e1e6ee;border-radius:22px;background:#f9fafc;color:#182245;
  padding:18px 16px;cursor:pointer;text-align:right;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;
}
.safaro-hotel-mode-option:hover,.safaro-hotel-mode-option:focus-visible{
  transform:translateY(-2px);border-color:#ffb71c;background:#fff;box-shadow:0 12px 28px rgba(24,34,69,.12);outline:none;
}
.safaro-hotel-mode-icon{
  width:42px;height:42px;border-radius:14px;background:#182245;color:#ffb71c;display:grid;place-items:center;margin-bottom:16px;
  box-shadow:0 7px 16px rgba(24,34,69,.16)
}
.safaro-hotel-mode-icon svg{width:22px;height:22px}
.safaro-hotel-mode-label{display:block;font-size:16px;font-weight:1000;margin-bottom:4px;-webkit-text-stroke:.12px currentColor}
.safaro-hotel-mode-desc{display:block;font-size:11px;line-height:1.7;color:#526078;font-weight:900;-webkit-text-stroke:.05px currentColor}
.safaro-hotel-mode-option.is-combined .safaro-hotel-mode-icon{background:#ffb71c;color:#182245}
.safaro-hotel-mode-option.is-combined{border-color:rgba(255,183,28,.45)}
#safaro-combined-placeholder{
  width:min(640px,calc(100% - 28px));background:#fff;border:1px solid rgba(255,183,28,.5);
  border-radius:28px;padding:26px;text-align:center;box-shadow:0 22px 60px rgba(24,34,69,.12)
}
#safaro-combined-placeholder h3{margin:0 0 8px;font-size:20px;font-weight:1000;color:#182245}
#safaro-combined-placeholder p{margin:0;color:#718096;font-size:12px;line-height:1.9;font-weight:650}
#safaro-combined-placeholder button{margin-top:18px;border:0;border-radius:14px;background:#182245;color:#fff;padding:10px 16px;font-weight:900;cursor:pointer}
#safaro-combined-tours-pane{
  position:absolute;z-index:35;overflow-y:auto;overscroll-behavior:contain;
  background:#eef1f5;direction:rtl;padding:14px;
}
.safaro-combined-pane-head{
  position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin:-2px -2px 12px;padding:8px 10px;background:rgba(238,241,245,.96);backdrop-filter:blur(6px);
}
.safaro-combined-pane-title{font-size:13px;font-weight:1000;color:#182245}
.safaro-combined-pane-count{font-size:10px;font-weight:900;color:#6b7280}
.safaro-combined-list{display:grid;grid-template-columns:1fr;gap:14px;padding-bottom:8px}
.safaro-combined-card-shell{width:100%;display:flex;justify-content:center}
.safaro-combined-card-frame{
  width:100%;max-width:820px;aspect-ratio:820/343;border:0;display:block;background:transparent;
  border-radius:28px;overflow:hidden;
}
.safaro-combined-state{
  min-height:180px;display:grid;place-items:center;text-align:center;color:#526078;font-size:12px;font-weight:900;
  border:1px dashed #cfd6e2;border-radius:20px;background:#fff;padding:18px;
}

@media(min-width:641px){
  #safaro-combined-tours-pane{left:42%;right:0;bottom:118px}
}
@media(max-width:640px){
  #safaro-combined-tours-pane{left:0;right:0;bottom:98px;padding:10px}
  .safaro-combined-pane-head{margin:0 0 10px;padding:7px 8px}
  .safaro-combined-card-frame{height:250px;aspect-ratio:auto;border-radius:22px}
  .safaro-combined-list{gap:10px}
}
.safaro-country-tours-panel.safaro-hotel-mode-gated .safaro-country-tours-list{visibility:hidden!important}
.safaro-country-tours-panel.safaro-hotel-mode-gated .safaro-country-tours-map-pane{visibility:hidden!important}

@media(min-width:641px){
  .safaro-country-tours-panel.safaro-hotel-mode-gated .safaro-country-tours-map-pane,
  .safaro-country-tours-panel.safaro-hotel-mode-combined-active .safaro-country-tours-map-pane{
    visibility:visible!important;
  }
  .safaro-country-tours-panel.safaro-hotel-mode-combined-active .safaro-country-tours-list{
    visibility:hidden!important;
  }
  .safaro-country-tours-panel[data-safaro-hotel-mode-resolved] .safaro-country-tours-list{
    padding-bottom:132px!important;
  }
  .safaro-country-tours-panel #safaro-hotel-mode-stage{
    left:42%!important;
    right:0!important;
    top:auto!important;
    bottom:0!important;
    height:118px!important;
    background:linear-gradient(180deg,rgba(238,241,245,0),#eef1f5 30%,#eef1f5 100%)!important;
    align-items:center!important;
    justify-content:center!important;
    padding:12px 18px 16px!important;
    pointer-events:none!important;
  }
  .safaro-country-tours-panel #safaro-hotel-mode-card{
    width:min(620px,calc(100% - 26px))!important;
    margin:auto!important;
    border-radius:22px!important;
    padding:10px!important;
    pointer-events:auto!important;
  }
  .safaro-country-tours-panel .safaro-hotel-mode-head{display:none!important}
  .safaro-country-tours-panel .safaro-hotel-mode-options{
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
  }
  .safaro-country-tours-panel .safaro-hotel-mode-option{
    min-height:72px!important;
    border-radius:16px!important;
    padding:10px 12px!important;
    display:grid!important;
    grid-template-columns:40px 1fr!important;
    grid-template-rows:auto auto!important;
    column-gap:10px!important;
    align-items:center!important;
  }
  .safaro-country-tours-panel .safaro-hotel-mode-icon{
    width:38px!important;height:38px!important;border-radius:12px!important;
    margin:0!important;grid-row:1 / span 2!important;
  }
  .safaro-country-tours-panel .safaro-hotel-mode-label{font-size:14px!important;align-self:end!important}
  .safaro-country-tours-panel .safaro-hotel-mode-desc{font-size:10px!important;line-height:1.5!important;align-self:start!important}
  .safaro-country-tours-panel .safaro-hotel-mode-option.is-active{
    border-color:#ffb71c!important;
    background:#fff!important;
    box-shadow:0 8px 22px rgba(255,183,28,.18)!important;
  }
}



/* safaro-combined-desktop-map-closed-layout-v1 */
@media(min-width:641px){
  .safaro-country-tours-panel[data-safaro-map-open="false"] #safaro-combined-tours-pane{
    left:0!important;
    right:0!important;
  }
  .safaro-country-tours-panel[data-safaro-map-open="true"] #safaro-combined-tours-pane{
    left:42%!important;
    right:0!important;
  }
  .safaro-country-tours-panel[data-safaro-map-open="false"] #safaro-hotel-mode-stage{
    left:0!important;
    right:0!important;
  }
  .safaro-country-tours-panel[data-safaro-map-open="true"] #safaro-hotel-mode-stage{
    left:42%!important;
    right:0!important;
  }
  .safaro-country-tours-panel[data-safaro-map-open="false"] #safaro-hotel-mode-card{
    width:min(720px,calc(100% - 40px))!important;
  }
}

@media(max-width:640px){
  .safaro-country-tours-panel[data-safaro-hotel-mode-resolved] .safaro-country-tours-list{
    padding-bottom:108px!important;
  }
  .safaro-country-tours-panel.safaro-hotel-mode-combined-active .safaro-country-tours-list{
    visibility:hidden!important;
  }
  #safaro-hotel-mode-stage{
    left:0!important;right:0!important;top:auto!important;bottom:0!important;
    height:98px!important;padding:8px 10px 12px!important;
    align-items:center!important;justify-content:center!important;
    background:linear-gradient(180deg,rgba(238,241,245,0),#eef1f5 30%,#eef1f5 100%)!important;
    pointer-events:none!important;
  }
  #safaro-hotel-mode-card{
    width:100%!important;max-width:390px!important;border-radius:18px!important;padding:8px!important;
    pointer-events:auto!important;
  }
  .safaro-hotel-mode-head{display:none!important}
  .safaro-hotel-mode-options{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .safaro-hotel-mode-option{
    min-height:64px!important;padding:8px 9px!important;border-radius:14px!important;
    display:grid!important;grid-template-columns:34px 1fr!important;grid-template-rows:1fr!important;
    column-gap:7px!important;align-items:center!important;
  }
  .safaro-hotel-mode-icon{
    width:34px!important;height:34px!important;border-radius:10px!important;margin:0!important;grid-row:auto!important;
  }
  .safaro-hotel-mode-icon svg{width:18px!important;height:18px!important}
  .safaro-hotel-mode-label{font-size:12px!important;margin:0!important;align-self:center!important}
  .safaro-hotel-mode-desc{display:none!important}
  .safaro-hotel-mode-option.is-active{
    border-color:#ffb71c!important;background:#fff!important;box-shadow:0 6px 18px rgba(255,183,28,.18)!important;
  }
}


#safaro-combined-map-overlay{position:fixed;inset:0;z-index:100200;display:none;align-items:center;justify-content:center;background:rgba(8,14,30,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);direction:rtl;font-family:"Vazirmatn",Tahoma,Arial,sans-serif}
#safaro-combined-map-overlay.open{display:flex}
.safaro-combined-map-shell{position:relative;display:flex;flex-direction:column;width:min(960px,calc(100vw - 40px));height:min(680px,calc(100vh - 60px));background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 34px 90px rgba(8,14,30,.35)}
.safaro-combined-map-head{display:flex;align-items:center;gap:12px;padding:14px 18px;background:#fff;border-bottom:1px solid #eef1f5}
.safaro-combined-map-kicker{font-size:10px;font-weight:900;color:#8b6f0e;background:#fff7e0;border:1px solid rgba(255,183,28,.5);border-radius:999px;padding:5px 11px;white-space:nowrap}
.safaro-combined-map-title{flex:1;min-width:0}
.safaro-combined-map-title h2{margin:0;font-size:16px;font-weight:1000;color:#182245;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.safaro-combined-map-duration{font-size:11px;font-weight:900;color:#6b7280;margin-top:3px}
.safaro-combined-map-close{width:42px;height:42px;padding:0;border:1px solid #dce3eb;border-radius:999px;background:#fff;color:#182245;font-size:22px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 5px 16px rgba(24,34,69,.10);transition:transform .16s ease,background .16s ease}
.safaro-combined-map-close:hover{background:#fff8eb}
#safaro-combined-map-canvas{flex:1;margin:12px 14px 8px;border-radius:20px;overflow:hidden;background:#e8eef4;min-height:0}
.safaro-combined-map-hotels{display:flex;gap:8px;padding:2px 14px 14px;overflow-x:auto;scrollbar-width:none}
.safaro-combined-map-hotels::-webkit-scrollbar{display:none}
.safaro-combined-map-chip{display:flex;align-items:center;gap:8px;background:#f7f8fb;border:1px solid #e5e9f0;border-radius:14px;padding:8px 11px;white-space:nowrap}
.safaro-combined-map-chip b{font-size:11.5px;color:#182245;font-weight:1000;display:block}
.safaro-combined-map-chip small{font-size:9.5px;color:#718096;font-weight:800;display:block;margin-top:2px}
.safaro-combined-map-num{width:24px;height:24px;border-radius:999px;background:#ffb71c;color:#182245;font-weight:1000;font-size:12px;display:grid;place-items:center;box-shadow:0 4px 10px rgba(255,183,28,.35);flex:0 0 auto}
.safaro-combined-map-marker{background:none;border:none}
.safaro-combined-map-marker span{display:grid;place-items:center;width:30px;height:30px;border-radius:999px;background:#ffb71c;color:#182245;font-weight:1000;font-size:13px;border:2.5px solid #fff;box-shadow:0 6px 16px rgba(8,14,30,.35)}
.safaro-combined-map-leaflet .leaflet-popup-content-wrapper{border-radius:14px}
.safaro-combined-map-leaflet .leaflet-popup-content{margin:10px 12px;font-family:"Vazirmatn",Tahoma,Arial,sans-serif;direction:rtl}
@media(max-width:640px){
  #safaro-combined-map-overlay.open{align-items:stretch}
  .safaro-combined-map-shell{width:100vw;height:100dvh;max-height:100dvh;border-radius:24px 24px 0 0}
  .safaro-combined-map-head{padding:12px 14px;gap:9px}
  .safaro-combined-map-title h2{font-size:14px}
  .safaro-combined-map-close{width:38px;height:38px}
  #safaro-combined-map-canvas{margin:10px 10px 6px}
}


/* Mobile combined tours reuse the exact single-tour sheet container. */
@media(max-width:640px){
  .safaro-country-tours-panel.safaro-hotel-mode-combined-active .safaro-country-tours-list{
    visibility:visible!important;
  }
  .safaro-country-tours-panel.safaro-hotel-mode-combined-active .safaro-country-tours-list .safaro-country-tour-card{
    display:none!important;
  }
  .safaro-country-tours-panel.safaro-hotel-mode-combined-active #safaro-combined-tours-pane[data-safaro-in-sheet="1"]{
    position:static!important;
    inset:auto!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    z-index:auto!important;
    transition:none!important;
  }
  .safaro-country-tours-panel.safaro-hotel-mode-combined-active #safaro-combined-tours-pane[data-safaro-in-sheet="1"] .safaro-combined-list{
    width:100%!important;
    gap:12px!important;
    padding:0!important;
    margin:0!important;
  }
  .safaro-country-tours-panel.safaro-hotel-mode-combined-active #safaro-combined-tours-pane[data-safaro-in-sheet="1"] .safaro-combined-card-shell{
    width:100%!important;
    min-width:0!important;
    display:flex!important;
    justify-content:center!important;
    overflow:visible!important;
  }
  .safaro-country-tours-panel.safaro-hotel-mode-combined-active #safaro-combined-tours-pane[data-safaro-in-sheet="1"] .safaro-combined-card-frame{
    width:100%!important;
    max-width:356px!important;
    height:250px!important;
    flex:1 0 100%!important;
    align-self:stretch!important;
    margin:0!important;
    border-radius:22px!important;
    overflow:hidden!important;
  }
}


[data-safaro-mag-category-rail="1"]{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
  overscroll-behavior-inline:contain;
  scroll-behavior:auto!important;
}
[data-safaro-mag-category-rail="1"]::-webkit-scrollbar{
  display:none!important;width:0!important;height:0!important;
}
@media (hover:hover) and (pointer:fine){
  [data-safaro-mag-category-rail="1"]{cursor:grab!important}
  [data-safaro-mag-category-rail="1"].safaro-mag-rail-dragging{
    cursor:grabbing!important;
    scroll-snap-type:none!important;
  }
  [data-safaro-mag-category-rail="1"].safaro-mag-rail-dragging,
  [data-safaro-mag-category-rail="1"].safaro-mag-rail-dragging *{
    user-select:none!important;
    -webkit-user-select:none!important;
  }
}


/* The fast Front owns the single canonical special-offers section.
   Hide legacy Next-side injected copies to prevent race-condition duplicates. */
#special-offers,
#safaro-special-offers,
#safaro-special-offers-mobile-copy{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}

html body .safaro-country-tour-card div:has(> .safaro-hotel-number){gap:2px}html body .safaro-country-tour-card div:has(> .safaro-hotel-number)>svg.lucide-star{width:13px;height:13px;flex:none}
#seo-ssr{position:absolute;left:0;right:0;top:0;margin-left:auto;margin-right:auto;z-index:5}
.safaro-home-title-box{margin-bottom:16px!important}main section.pt-3{padding-top:16px!important}