/* =========================
   FunIceland day tours filter UX
   2026-07-09
========================= */
#app .fi-active-filters {
  margin: 0 0 14px !important;
}

#app .fi-filter-wrapper > .fi-active-filters {
  display: none !important;
}

#app .fi-active-filter-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
}

#app .fi-filter-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  max-width: 100% !important;
  min-height: 30px !important;
  padding: 6px 10px !important;
  border: 1px solid #cbd7e3 !important;
  border-radius: 4px !important;
  background: #eef3f7 !important;
  color: #254f78 !important;
  font: inherit !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  text-align: left !important;
  cursor: pointer !important;
}

#app .fi-filter-chip:hover,
#app .fi-filter-chip:focus {
  border-color: #2f5f91 !important;
  background: #e3edf5 !important;
  color: #1f4f7d !important;
  outline: none !important;
}

#app .fi-filter-chip span {
  font-size: 17px !important;
  line-height: 1 !important;
}

#app .fi-active-filter-summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  color: #5d6b78 !important;
  font-size: 13px !important;
}

#app .fi-results-count {
  color: #2f5f91 !important;
  font-weight: 700 !important;
}

#app .fi-active-filter-summary a {
  color: #f36c21 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

#app .fi-active-filter-summary a:hover,
#app .fi-active-filter-summary a:focus {
  text-decoration: underline !important;
}

#app .fi-filter-wrapper h3 {
  margin-top: 0 !important;
}

#app .fi-filter-wrapper .filter-group-areas h4,
#app .fi-filter-wrapper .filter-group-activities h4 {
  color: #2f5f91 !important;
}

#app .fi-mobile-filter-apply {
  display: none !important;
}

#app .fi-mobile-filter-apply a {
  display: block !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 13px 16px !important;
  border-radius: 4px !important;
  background: #f36c21 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-decoration: none !important;
}

#app .fi-mobile-filter-apply a:hover,
#app .fi-mobile-filter-apply a:focus {
  background: #e45f16 !important;
  color: #fff !important;
  text-decoration: none !important;
}

@media (min-width: 768px) {
  #app .fi-filter-wrapper .filter-group-areas,
  #app .fi-filter-wrapper .filter-group-activities {
    display: block !important;
  }

  #app .fi-filter-wrapper .filter-toggler {
    display: none !important;
  }
}

@media (max-width: 767px) {
  #app .fi-filter-wrapper {
    margin-bottom: 18px !important;
  }

  #app .fi-filter-wrapper > .fi-active-filters {
    display: block !important;
  }

  #app .fi-filter-wrapper.filters-open > .fi-active-filters {
    display: block !important;
  }

  #app .fi-results-active-filters {
    display: none !important;
  }

  #app .fi-active-filters-empty {
    display: none !important;
  }

  #app .fi-filter-wrapper .filter-group-areas,
  #app .fi-filter-wrapper .filter-group-activities {
    border-radius: 4px !important;
    padding-bottom: 16px !important;
  }

  #app .fi-filter-wrapper .filter-group-activities {
    padding-bottom: 78px !important;
  }

  #app .fi-filter-wrapper .filter-group-areas svg {
    max-height: 210px !important;
    margin-bottom: 12px !important;
  }

  #app .fi-filter-wrapper .filter-group-areas h4,
  #app .fi-filter-wrapper .filter-group-activities h4 {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  #app .fi-filter-wrapper .category-item {
    min-height: 34px !important;
  }

  #app .fi-filter-wrapper .category-item label {
    font-size: 15px !important;
  }

  #app .fi-filter-wrapper .toggler {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
    padding-right: 0 !important;
    margin-top: 6px !important;
    text-align: right !important;
  }

  #app .fi-filter-wrapper .toggler a {
    color: #2f5f91 !important;
    font-weight: 700 !important;
    display: inline-block !important;
    line-height: 1.3 !important;
    margin-left: auto !important;
    padding: 2px 0 !important;
  }

  #app .fi-mobile-filter-apply {
    display: block !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 5 !important;
    margin: 16px -16px -16px !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid #d9e1e8 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 -6px 18px rgba(31, 56, 76, 0.12) !important;
  }
}
