/* =====================================================
   ICON BANNER
===================================================== */
.IconBanner_scrollContainer__S3rob {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 1rem;
  padding: 0 1rem;
  overflow-x: hidden;
  /* ✅ ჰორიზონტალური სქროლის თავიდან ასაცილებლად */
}

.IconBanner_iconButton__ieJJv {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #333;
  transition: transform 0.25s ease;
}

.IconBanner_iconButton__ieJJv:hover,
.IconBanner_iconButton__ieJJv:focus {
  transform: translateY(-0.25rem);
  outline: none;
}

.IconBanner_iconButton__ieJJv img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.IconBanner_iconLabel__c6BKc {
  font-size: 0.75rem;
  font-weight: 600;
  color: #222;
  user-select: none;
}


/* =====================================================
   SWIPER SLIDER
===================================================== */
.swiper {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 26rem;
  margin: 1px auto;
  border-radius: 2px;
  overflow: visible;
  /* აუცილებელია slide-ის ღილაკებისთვის */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.swiper-slide {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* სურათის ჩაჭრისთვის */
}

.slide-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.swiper-scrollbar-drag {
  background: #ff7b00;
}


/* =====================================================
   SLIDE OVERLAY
===================================================== */
.slide-text {
  position: absolute;
  top: 40%;
  left: 5%;
  z-index: 5;
  max-width: min(80%, 720px);
  padding: 2.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 1.25rem;
  backdrop-filter: blur(5px);
}


/* =====================================================
   SEARCH BOX
===================================================== */
.search-box {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 2.5rem;
}

.search-input,
.city-input {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 1rem;
  padding-left: 0.625rem;
  color: #000;
}

.divider {
  width: 1px;
  height: 1.75rem;
  background: #ddd;
  margin: 0 0.9rem;
}

.search-btn {
  position: relative;
  z-index: 9999;
  flex-shrink: 0;
  width: 2.625rem;
  height: 2.625rem;
  border: none;
  border-radius: 50%;
  background: #ff6b4a;
  color: #fff;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 0.25rem;
}


/* =====================================================
   TABLET
===================================================== */
@media (max-width: 768px) {

  .swiper {
    height: 14.5rem;
  }

  .slide-text {
    top: 22%;
    padding: 1.25rem;
  }

  .slide-text h2 {
    font-size: 1.25rem;
  }

  .search-box {
    padding: 0.5rem 0.75rem;
    border-radius: 2rem;
  }

  .search-input,
  .city-input {
    font-size: 0.85rem;
  }

  .search-btn {
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }

  .divider {
    display: none;
  }

  .IconBanner_scrollContainer__S3rob {
    grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
    gap: 0.5rem;
    padding: 0 0.5rem;
    overflow-x: hidden;
    /* ✅ აქაც */
  }
}


/* =====================================================
   SMALL MOBILE
===================================================== */
@media (max-width: 576px) {

  .swiper {
    height: 15.5rem;
  }

  .slide-text {
    top: 15%;
    padding: 0.75rem;
    max-width: 70%;
  }

  .slide-text h2 {
    font-size: 1.1rem;
  }

  .search-input,
  .city-input {
    font-size: 0.75rem;
  }

  .search-btn {
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
  }
 
      .IconBanner_scrollContainer__S3rob {
        display: flex !important;
        /* Grid -> flex */
        overflow-x: auto !important;
        /* Scroll */
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll iOS */
        gap: 0.5rem;
        padding: 0 0.5rem;
      }
  
      .IconBanner_iconButton__ieJJv {
        flex: 0 0 auto;
        /* Width არ დაიწმინდება */
        min-width: 4.5rem;
      }
    }