/* Mobile footer fixes only - 20260604-mobile-footer-isolated-3. */

@media (max-width: 767.98px) {
  body.frontend-site footer,
  body.frontend-site footer * {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    letter-spacing: normal !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }

  body.frontend-site footer {
    width: 100% !important;
    overflow-x: hidden !important;
  }

  body.frontend-site footer > .container,
  body.frontend-site footer .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  body.frontend-site footer > .container > .row,
  body.frontend-site footer .container > .row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }

  body.frontend-site footer > .container > .row > [class*="col-"],
  body.frontend-site footer .container > .row > [class*="col-"],
  body.frontend-site footer .col,
  body.frontend-site footer .col-6,
  body.frontend-site footer .col-12,
  body.frontend-site footer .col-lg-2,
  body.frontend-site footer .col-lg-3,
  body.frontend-site footer .col-md-6,
  body.frontend-site footer .col-xl-3,
  body.frontend-site footer .col-xxl-6 {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.frontend-site footer .footer-item,
  body.frontend-site footer .logo {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  body.frontend-site footer .logo img,
  body.frontend-site footer img[alt="Tursab"] {
    display: block !important;
    width: auto !important;
    max-width: min(280px, 100%) !important;
    height: auto !important;
    object-fit: contain !important;
  }

  body.frontend-site footer .contact-items {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  body.frontend-site footer .contact-items li {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    column-gap: 16px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  body.frontend-site footer .contact-items svg,
  body.frontend-site footer .contact-items .cvzicon {
    grid-column: 1 !important;
    flex: 0 0 28px !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    margin-top: 4px !important;
  }

  body.frontend-site footer .contact-items a,
  body.frontend-site footer .contact-items address {
    grid-column: 2 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.35 !important;
    font-size: clamp(18px, 5vw, 22px) !important;
  }

  body.frontend-site footer .footer-item .title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 14px !important;
    color: #ffffff !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.2 !important;
    font-size: clamp(22px, 6vw, 28px) !important;
  }

  body.frontend-site footer .list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  body.frontend-site footer .list li,
  body.frontend-site footer .footer-item li {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
  }

  body.frontend-site footer .list a,
  body.frontend-site footer .footer-item li a {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    color: #ffffff !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.35 !important;
    font-size: clamp(18px, 5vw, 22px) !important;
  }

  body.frontend-site footer .social-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons li,
  body.frontend-site footer .social-links.social-links--gold-badge li,
  body.frontend-site footer .social-links.sifla-social-icons a,
  body.frontend-site footer .social-links.social-links--gold-badge a {
    flex: 0 0 auto !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons a,
  body.frontend-site footer .social-links.social-links--gold-badge a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    position: relative !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    color: #9c6c21 !important;
    background:
      radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .98) 0 8%, rgba(255, 247, 220, .96) 11%, rgba(248, 223, 160, .96) 24%, rgba(225, 188, 96, .96) 52%, rgba(157, 112, 39, .98) 100%) !important;
    border: 2px solid rgba(255, 244, 206, .95) !important;
    box-shadow:
      inset 0 2px 3px rgba(255, 255, 255, .78),
      inset 0 -10px 16px rgba(105, 70, 18, .28),
      0 10px 18px rgba(36, 24, 10, .14) !important;
    line-height: 1 !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons a::before,
  body.frontend-site footer .social-links.social-links--gold-badge a::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: inherit;
    border: 1px solid rgba(123, 84, 23, .28);
    box-shadow: inset 0 0 0 1px rgba(255, 247, 214, .28);
    pointer-events: none;
  }

  body.frontend-site footer .social-links.sifla-social-icons a::after,
  body.frontend-site footer .social-links.social-links--gold-badge a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, .08) 34%, rgba(255, 255, 255, 0) 55%, rgba(87, 55, 10, .12) 100%);
    opacity: .72;
    pointer-events: none;
  }

  body.frontend-site footer .social-links.sifla-social-icons svg,
  body.frontend-site footer .social-links.social-links--gold-badge svg {
    position: relative !important;
    z-index: 1 !important;
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .24)) drop-shadow(0 2px 4px rgba(82, 54, 15, .24)) !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons .tiktok,
  body.frontend-site footer .social-links.social-links--gold-badge .tiktok {
    color: #9a6a1f !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons li:has(> a.tiktok),
  body.frontend-site footer .social-links.social-links--gold-badge li:has(> a.tiktok) {
    order: 1 !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons li:has(> a.instagram),
  body.frontend-site footer .social-links.social-links--gold-badge li:has(> a.instagram) {
    order: 2 !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons li:has(> a.facebook),
  body.frontend-site footer .social-links.social-links--gold-badge li:has(> a.facebook) {
    order: 3 !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons li:has(> a.youtube),
  body.frontend-site footer .social-links.social-links--gold-badge li:has(> a.youtube) {
    order: 4 !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons li:has(> a.whatsapp),
  body.frontend-site footer .social-links.sifla-social-icons li:has(> a.wp-color),
  body.frontend-site footer .social-links.social-links--gold-badge li:has(> a.whatsapp),
  body.frontend-site footer .social-links.social-links--gold-badge li:has(> a.wp-color) {
    order: 5 !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons li:has(> a.twitter),
  body.frontend-site footer .social-links.sifla-social-icons li:has(> a.linkedin),
  body.frontend-site footer .social-links.sifla-social-icons li:has(> a.pinterest),
  body.frontend-site footer .social-links.social-links--gold-badge li:has(> a.twitter),
  body.frontend-site footer .social-links.social-links--gold-badge li:has(> a.linkedin),
  body.frontend-site footer .social-links.social-links--gold-badge li:has(> a.pinterest) {
    display: none !important;
  }

  body.frontend-site footer .footer-quick-form-stack,
  body.frontend-site footer form .row,
  body.frontend-site footer form .footer-quick-form-stack.row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }

  body.frontend-site footer .footer-quick-form-stack > [class*="col-"],
  body.frontend-site footer form .row > [class*="col-"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.frontend-site footer .form-control,
  body.frontend-site footer input,
  body.frontend-site footer textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.35 !important;
    font-size: clamp(16px, 4.5vw, 19px) !important;
  }

  body.frontend-site footer textarea.form-control {
    min-height: 120px !important;
    height: 120px !important;
  }

  body.frontend-site footer button,
  body.frontend-site footer .btn {
    width: auto !important;
    min-width: 150px !important;
    max-width: 100% !important;
    white-space: nowrap !important;
  }

  body.frontend-site footer label,
  body.frontend-site footer .form-check,
  body.frontend-site footer .form-check-label {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.3 !important;
  }

  body.frontend-site footer .form-check,
  body.frontend-site footer .col-12.text-white {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body.frontend-site footer input[type="checkbox"] {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    flex: 0 0 18px !important;
    margin-top: 4px !important;
  }
}

@media (min-width: 768px) {
  body.frontend-site footer input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
  }
}

/* Higher-specificity lock: overrides old desktop-locked footer rules on mobile. */
@media (max-width: 767.98px) {
  body.frontend-site.desktop-locked footer,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  body.frontend-site.desktop-locked footer > .container,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer > .container,
  body.frontend-site.desktop-locked footer .container,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.frontend-site.desktop-locked footer > .container > .row,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer > .container > .row,
  body.frontend-site.desktop-locked footer .container > .row,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .container > .row,
  body.frontend-site.desktop-locked footer .row,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    flex-wrap: initial !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }

  body.frontend-site.desktop-locked footer > .container > .row > [class*="col-"],
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer > .container > .row > [class*="col-"],
  body.frontend-site.desktop-locked footer .footer-bottom .col-lg-5,
  body.frontend-site.desktop-locked footer .footer-bottom .col-xxl-6,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .footer-bottom .col-lg-5,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .footer-bottom .col-xxl-6,
  body.frontend-site.desktop-locked footer .col-6,
  body.frontend-site.desktop-locked footer .col-lg-2,
  body.frontend-site.desktop-locked footer .col-lg-3,
  body.frontend-site.desktop-locked footer .col-md-6,
  body.frontend-site.desktop-locked footer .col-xl-3 {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.frontend-site.desktop-locked footer .footer-item,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .footer-item,
  body.frontend-site.desktop-locked footer .contact-items,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .contact-items,
  body.frontend-site.desktop-locked footer .list,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .list,
  body.frontend-site.desktop-locked footer .footer-quick-form-stack,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .footer-quick-form-stack {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  body.frontend-site.desktop-locked footer .contact-items li,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .contact-items li {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    column-gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.frontend-site.desktop-locked footer .footer-item .title,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .footer-item .title,
  body.frontend-site.desktop-locked footer .footer-item a,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .footer-item a,
  body.frontend-site.desktop-locked footer .contact-items a,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .contact-items a,
  body.frontend-site.desktop-locked footer .contact-items address,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .contact-items address,
  body.frontend-site.desktop-locked footer .copyright,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .copyright {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    text-align: left !important;
  }

  body.frontend-site.desktop-locked footer .footer-quick-form-stack > [class*="col-"],
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .footer-quick-form-stack > [class*="col-"],
  body.frontend-site.desktop-locked footer form .row > [class*="col-"],
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer form .row > [class*="col-"],
  body.frontend-site.desktop-locked footer .form-control,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer .form-control,
  body.frontend-site.desktop-locked footer input,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer input,
  body.frontend-site.desktop-locked footer textarea,
  body.frontend-site.desktop-locked:not(.hotels-list-page) footer textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons,
  body.frontend-site footer .social-links.social-links--gold-badge {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    --sifla-social-icon-size: 38px !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons li,
  body.frontend-site footer .social-links.social-links--gold-badge li,
  body.frontend-site footer .social-links.sifla-social-icons a,
  body.frontend-site footer .social-links.social-links--gold-badge a {
    flex: 0 0 auto !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons a,
  body.frontend-site footer .social-links.social-links--gold-badge a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: var(--sifla-social-icon-size) !important;
    height: var(--sifla-social-icon-size) !important;
    min-width: var(--sifla-social-icon-size) !important;
    min-height: var(--sifla-social-icon-size) !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    line-height: 1 !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons a::before,
  body.frontend-site footer .social-links.social-links--gold-badge a::before,
  body.frontend-site footer .social-links.sifla-social-icons a::after,
  body.frontend-site footer .social-links.social-links--gold-badge a::after {
    content: none !important;
  }

  body.frontend-site footer .social-links.sifla-social-icons .sifla-social-icon,
  body.frontend-site footer .social-links.social-links--gold-badge .sifla-social-icon,
  body.frontend-site footer .social-links.sifla-social-icons svg,
  body.frontend-site footer .social-links.social-links--gold-badge svg,
  body.frontend-site footer .social-links.sifla-social-icons img,
  body.frontend-site footer .social-links.social-links--gold-badge img {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    filter: none !important;
    color: inherit !important;
    fill: currentColor !important;
  }
}
