.houseboats,
#houseboat-results {
  scroll-margin-top: 110px;
}

.houseboats .section-headings-left {
  max-width: 760px;
}

.houseboat-search {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin-top: 32px;
  padding: 20px;
  background: var(--color-background);
  border: 1px solid rgba(3, 15, 18, 0.08);
  box-shadow: 0 16px 40px rgba(3, 15, 18, 0.06);
}

.houseboat-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  color: var(--color-foreground-heading);
}

.houseboat-field select {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  color: var(--color-foreground-heading);
  font-family: var(--font-body--family);
  font-size: 16px;
}

.houseboat-search .button {
  min-width: 140px;
}

.houseboat-categories {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.houseboat-category {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  border: 1px solid rgba(3, 15, 18, 0.08);
  box-shadow: 0 12px 28px rgba(3, 15, 18, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  animation: houseboat-card-rise 0.55s ease both;
}

.houseboat-category::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-button-background), rgba(34, 146, 166, 0.45));
}

.houseboat-category img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.houseboat-category-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 18px;
}

.houseboat-category .heading {
  color: var(--color-foreground-heading);
}

.houseboat-category:hover,
.houseboat-category:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(3, 15, 18, 0.14);
  border-color: rgba(3, 15, 18, 0.16);
  outline: none;
}

.houseboat-category:hover img,
.houseboat-category:focus-visible img {
  transform: scale(1.06);
}

.houseboat-category.is-active {
  border-color: rgba(34, 146, 166, 0.45);
  box-shadow: 0 18px 38px rgba(34, 146, 166, 0.18);
}

.houseboat-results {
  margin-top: 64px;
}

.houseboat-count {
  margin-top: 8px;
}

.houseboat-empty {
  margin-top: 24px;
}

.houseboat-carousel {
  position: relative;
  margin-top: 28px;
}

.houseboat-carousel .swiper {
  overflow: hidden;
}

.houseboat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(3, 15, 18, 0.08);
  box-shadow: 0 12px 28px rgba(3, 15, 18, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.houseboat-card:hover,
.houseboat-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(3, 15, 18, 0.14);
  border-color: rgba(3, 15, 18, 0.16);
}

.houseboat-card-media {
  display: block;
  overflow: hidden;
}

.houseboat-card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.houseboat-card:hover .houseboat-card-media img,
.houseboat-card:focus-within .houseboat-card-media img {
  transform: scale(1.05);
}

.houseboat-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
}

.houseboat-card-body .heading a {
  color: var(--color-foreground-heading);
  text-decoration: none;
}

.houseboat-price {
  margin: 4px 0 0;
  color: var(--color-primary-button-background);
}

.houseboat-code {
  margin: 0 0 8px;
}

.houseboat-card .button {
  margin-top: auto;
  justify-content: center;
}

.houseboat-carousel .swiper-button-prev,
.houseboat-carousel .swiper-button-next {
  position: absolute;
  top: 110px;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 0;
  border-radius: 100%;
}

.houseboat-carousel .swiper-button-prev {
  left: 12px;
}

.houseboat-carousel .swiper-button-next {
  right: 12px;
}

.houseboat-carousel .swiper-button-prev svg,
.houseboat-carousel .swiper-button-next svg {
  width: 18px;
  height: 18px;
}

.houseboat-carousel .swiper-button-disabled {
  opacity: 0.45;
}

@media (max-width: 991px) {
  .houseboat-search {
    grid-template-columns: 1fr;
  }

  .houseboat-search .button {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .houseboat-results {
    margin-top: 48px;
  }

  .houseboat-card-media img,
  .houseboat-category img {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .houseboat-category,
  .houseboat-card,
  .houseboat-category img,
  .houseboat-card-media img,
  .cat-beds a,
  .lq-filters a {
    transition: none;
    animation: none;
  }
}

@keyframes houseboat-card-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
