/* Homepage mobile compatibility fixes loaded after index.css. */
@media (max-width: 768px) {
  html:not(.force-desktop) .banner-swiper,
  html:not(.force-desktop) .banner-slide {
    height: 235px !important;
    aspect-ratio: auto !important;
  }

  html:not(.force-desktop) .banner-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    top: 86% !important;
    width: 100% !important;
    max-width: 320px;
    padding: 0 24px !important;
    box-sizing: border-box;
    text-align: center;
  }

  html:not(.force-desktop) .banner-content h1 {
    font-size: 16px !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    white-space: nowrap;
  }

  html:not(.force-desktop) .banner-content > p {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }

  html:not(.force-desktop) .banner-content .big-title {
    display: none !important;
  }

  html:not(.force-desktop) .banner-content > .input-group.brdf,
  html:not(.force-desktop) .banner-swiper .banner-content > .input-group.brdf {
    display: none !important;
  }

  html:not(.force-desktop) .nav-container {
    background: #fff !important;
    gap: 6px 8px !important;
    padding: 10px 5% !important;
  }

  html:not(.force-desktop) .nav-container .nav-item {
    min-height: 56px !important;
    padding: 6px 8px !important;
    gap: 8px !important;
  }

  html:not(.force-desktop) .nav-container .nav-item .icon-circle img {
    width: 28px !important;
    height: 28px !important;
    margin-right: 0 !important;
  }

  html:not(.force-desktop) .nav-container .nav-item .text-content {
    gap: 2px !important;
  }

  html:not(.force-desktop) .nav-container .nav-item .title-row {
    gap: 6px !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
  }

  html:not(.force-desktop) .nav-container .nav-item .arrow {
    width: 6px !important;
    height: 6px !important;
    border-top-width: 1px !important;
    border-right-width: 1px !important;
  }

  html:not(.force-desktop) .nav-container .nav-item .desc {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }

  html:not(.force-desktop) .value-section,
  html:not(.force-desktop) .value-section .container,
  html:not(.force-desktop) .value-section .value-group {
    overflow: hidden !important;
  }

  html:not(.force-desktop) .value-swiper-basic,
  html:not(.force-desktop) .value-swiper-unique {
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box;
  }

  html:not(.force-desktop) .value-swiper-basic .swiper-wrapper,
  html:not(.force-desktop) .value-swiper-unique .swiper-wrapper {
    align-items: stretch;
  }

  html:not(.force-desktop) .value-section .value-swiper-basic .swiper-slide,
  html:not(.force-desktop) .value-section .value-swiper-unique .swiper-slide {
    display: flex !important;
    justify-content: center !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    box-sizing: border-box;
  }

  html:not(.force-desktop) .value-section .value-card {
    width: 100% !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  html:not(.force-desktop) .value-section .value-card .card-front,
  html:not(.force-desktop) .value-section .value-card:hover .card-front {
    opacity: 1 !important;
  }

  html:not(.force-desktop) .value-section .value-card .card-back,
  html:not(.force-desktop) .value-section .value-card:hover .card-back {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 375px) {
  html:not(.force-desktop) .banner-swiper,
  html:not(.force-desktop) .banner-slide {
    height: 225px !important;
  }

  html:not(.force-desktop) .banner-content > p {
    font-size: 12px !important;
  }

  html:not(.force-desktop) .banner-content .big-title {
    font-size: 34px !important;
    letter-spacing: 1px !important;
  }

  html:not(.force-desktop) .banner-content > .input-group.brdf,
  html:not(.force-desktop) .banner-swiper .banner-content > .input-group.brdf {
    max-width: 250px !important;
    height: 38px !important;
  }

  html:not(.force-desktop) .banner-content > .input-group.brdf button,
  html:not(.force-desktop) .banner-content > .input-group.brdf button.consultBtn,
  html:not(.force-desktop) .banner-swiper .banner-content > .input-group.brdf button,
  html:not(.force-desktop) .banner-swiper .banner-content > .input-group.brdf button.consultBtn {
    width: 78px !important;
    flex-basis: 78px !important;
    font-size: 12px !important;
  }
}
