/**
 * LaMilka Tour 0.5.20
 * Cross-device QA fixes from desktop, iPhone 11 Pro, Galaxy S22+ and
 * Samsung Internet review. Scoped to the identified components only.
 */

:root,
html,
body {
  color-scheme: light only;
}

.lamilka-no-break {
  white-space: nowrap !important;
}

/* --------------------------------------------------------------------------
   Private Tours: complete card copy, user-controlled mobile carousel and
   persistent desktop planning widget.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  body.lamilka-private-tours-page .lamilka-private__ideas .lamilka-private__idea-card > .lamilka-private__idea-copy {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 150px !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 2 !important;
  }

  body.lamilka-private-tours-page .lamilka-private__ideas .lamilka-private__idea-description {
    display: block !important;
    min-height: 2.9em !important;
    overflow: visible !important;
  }

  body.lamilka-private-tours-page .lamilka-private__ideas .lamilka-private__idea-card > img {
    min-height: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }

  body.lamilka-private-tours-page .lamilka-private__hero aside {
    bottom: 24px !important;
    position: fixed !important;
    right: 24px !important;
    top: auto !important;
    width: 240px !important;
    z-index: 80 !important;
  }
}

@media (max-width: 767px) {
  body.lamilka-private-tours-page [data-lamilka-private-ideas] {
    overscroll-behavior-x: contain !important;
    scroll-snap-stop: always !important;
  }
}

/* --------------------------------------------------------------------------
   Concierge landing pages: one-line desktop intro and independent slogan.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  body.lamilka-service-concierge-page .lamilka-concierge__process-intro {
    max-width: none !important;
    white-space: nowrap !important;
  }
}

body.lamilka-service-concierge-page .lamilka-concierge__process-end {
  align-items: center !important;
  background: rgba(216, 155, 39, .12) !important;
  border: 1px solid rgba(185, 119, 18, .24) !important;
  border-radius: 14px !important;
  color: #9a620f !important;
  display: flex !important;
  flex-wrap: wrap !important;
  font-style: normal !important;
  font-weight: 600 !important;
  gap: .35em !important;
  justify-content: center !important;
  line-height: 1.4 !important;
  margin: 28px auto 0 !important;
  max-width: max-content !important;
  padding: 10px 18px !important;
  position: relative !important;
  text-align: center !important;
}

body.lamilka-service-concierge-page .lamilka-concierge__process-end span {
  display: inline-block !important;
}

@media (max-width: 767px) {
  body.lamilka-service-concierge-page .lamilka-concierge__process-end {
    align-items: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    margin-top: 22px !important;
    max-width: min(100%, 360px) !important;
    padding: 11px 16px !important;
  }

  body.lamilka-service-concierge-page .lamilka-concierge__process-end span {
    display: block !important;
    white-space: nowrap !important;
  }
}

/* --------------------------------------------------------------------------
   Aesthetic hub phrase grouping and balanced desktop/mobile line wrapping.
   -------------------------------------------------------------------------- */
body.lamilka-aesthetic-page .lamilka-aesthetic-hub__category p,
body.lamilka-aesthetic-page .lamilka-aesthetic-hub__category li,
body.lamilka-aesthetic-page .lamilka-aesthetic-hub__trust-grid h3,
body.lamilka-aesthetic-page .lamilka-aesthetic-hub__trust-grid p,
body.lamilka-aesthetic-page .lamilka-aesthetic-hub__trust-statement h3,
body.lamilka-aesthetic-page .lamilka-aesthetic-hub__trust-statement strong,
body.lamilka-aesthetic-page .lamilka-aesthetic-hub__trust-statement p,
body.lamilka-aesthetic-page .lamilka-aesthetic-hub__contact header h2,
body.lamilka-aesthetic-page .lamilka-aesthetic-hub__contact header p {
  overflow-wrap: normal !important;
  text-wrap: balance;
  word-break: normal !important;
}

body.lamilka-aesthetic-page .lamilka-aesthetic-hub__trust-statement,
body.lamilka-aesthetic-page .lamilka-aesthetic-hub__contact header {
  max-width: 760px !important;
}

@media (max-width: 767px) {
  body.lamilka-aesthetic-page .lamilka-aesthetic-hub__category p {
    line-height: 1.45 !important;
    min-height: 2.9em !important;
  }

  body.lamilka-aesthetic-page .lamilka-aesthetic-hub__category li {
    line-height: 1.45 !important;
  }

  body.lamilka-aesthetic-page .lamilka-aesthetic-hub__trust-statement strong {
    margin-inline: auto !important;
    max-width: 330px !important;
  }
}

/* --------------------------------------------------------------------------
   Transfers: deliberate subtitle/notice lines and unclipped trust pill.
   -------------------------------------------------------------------------- */
body.lamilka-transfers-page .lamilka-transfer__prices header p {
  line-height: 1.45 !important;
  text-wrap: balance;
}

body.lamilka-transfers-page .lamilka-transfer__price-subtitle-capacity {
  display: inline-block !important;
}

body.lamilka-transfers-page .lamilka-transfer__group {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
}

body.lamilka-transfers-page .lamilka-transfer__group > span {
  display: block !important;
  text-align: center !important;
}

body.lamilka-transfers-page .lamilka-transfer__group-break {
  display: block !important;
}

body.lamilka-transfers-page .lamilka-transfer__group-question,
body.lamilka-transfers-page .lamilka-transfer__group-answer {
  display: block !important;
  text-align: center !important;
}

@media (max-width: 767px) {
  html body.lamilka-transfers-page .lamilka-transfer__benefits > li.lamilka-transfer__benefit--cancellation {
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 44px !important;
    overflow: visible !important;
    padding-block: 8px !important;
    white-space: normal !important;
  }

  html body.lamilka-transfers-page .lamilka-transfer__benefits > li.lamilka-transfer__benefit--cancellation > span:not(.lamilka-transfer__benefit-check) {
    display: block !important;
    line-height: 1.3 !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  body.lamilka-transfers-page .lamilka-transfer__prices header p {
    margin-inline: auto !important;
    max-width: 280px !important;
  }

  body.lamilka-transfers-page .lamilka-transfer__price-subtitle-lead,
  body.lamilka-transfers-page .lamilka-transfer__price-subtitle-capacity {
    display: block !important;
  }
}

/* --------------------------------------------------------------------------
   Rafting title: preserve Köprülü Canyon as one semantic phrase.
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  body.lamilka-tour-detail .lamilka-detail[data-tour-detail="rafting"][data-language="de"] h1 .lamilka-no-break {
    display: inline !important;
    white-space: nowrap !important;
  }
}

/* --------------------------------------------------------------------------
   Homepage CTA cards: brighter images with retained heading contrast.
   -------------------------------------------------------------------------- */
body.lamilka-home .lamilka-home-feature > span {
  background: linear-gradient(to top, rgba(0, 0, 0, .58), rgba(0, 0, 0, .22), rgba(0, 0, 0, .08)) !important;
}

body.lamilka-home .lamilka-home-feature h2 {
  text-shadow: 0 2px 12px rgba(0, 0, 0, .62) !important;
}

/* --------------------------------------------------------------------------
   Samsung Internet: prevent forced darkening and preserve approved colors.
   -------------------------------------------------------------------------- */
html.lamilka-samsung-internet,
html.lamilka-samsung-internet body,
html.lamilka-samsung-internet body.lamilka-home .lamilka-home-hero,
html.lamilka-samsung-internet body.lamilka-home .lamilka-home-mobile-actions,
html.lamilka-samsung-internet body.lamilka-home .lamilka-home-action {
  color-scheme: light only !important;
  forced-color-adjust: none !important;
}

html.lamilka-samsung-internet body.lamilka-home .lamilka-home-hero picture,
html.lamilka-samsung-internet body.lamilka-home .lamilka-home-hero picture > img {
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

html.lamilka-samsung-internet body.lamilka-home .lamilka-home-hero-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, .30), rgba(0, 0, 0, .02) 46%, rgba(0, 0, 0, .42)) !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

html.lamilka-samsung-internet body.lamilka-home .lamilka-home-mobile-actions .lamilka-home-action:first-child,
html.lamilka-samsung-internet body.lamilka-home .lamilka-home-mobile-cta > a:first-child {
  background-color: #d89b27 !important;
  background-image: none !important;
  color: #1e293b !important;
  filter: none !important;
  opacity: 1 !important;
}

html.lamilka-samsung-internet body.lamilka-home .lamilka-home-mobile-actions .lamilka-home-action:nth-child(2),
html.lamilka-samsung-internet body.lamilka-home .lamilka-home-mobile-cta > a:nth-child(2) {
  background-color: #a6e3e8 !important;
  background-image: none !important;
  color: #1e293b !important;
  filter: none !important;
  opacity: 1 !important;
}

html.lamilka-samsung-internet body.lamilka-home .lamilka-home-action__asset {
  filter: none !important;
  opacity: 1 !important;
}

/* --------------------------------------------------------------------------
   Guest Gallery: one honest placeholder until approved guest media exists.
   -------------------------------------------------------------------------- */
body.lamilka-riviera-destination-page .lamilka-riviera-guest-coming-soon {
  align-items: center;
  background: linear-gradient(135deg, #f8fafc, #eef4f7);
  border: 1px solid #dbe4ea;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  margin: 28px auto 64px;
  min-height: 260px;
  text-align: center;
  width: min(100%, 920px);
}

body.lamilka-riviera-destination-page .lamilka-riviera-guest-coming-soon strong {
  color: #0a192f;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
}
