/* 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 li,
  body.frontend-site footer .social-links a {
    flex: 0 0 auto !important;
  }

  body.frontend-site footer .social-links a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    font-size: 26px !important;
    line-height: 1 !important;
  }

  body.frontend-site footer .social-links svg {
    width: 26px !important;
    height: 26px !important;
  }

  body.frontend-site footer .social-links .tiktok {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 999px !important;
    background: #06152b !important;
    color: #ffffff !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;
  }
}
