* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.cb-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 0;
  font-family: Poppins, sans-serif;
}

.cb-carousel {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 90px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cb-carousel::-webkit-scrollbar {
  display: none;
}

.cb-card {
  flex: 0 0 calc(33.333% - 22px);
  min-width: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  transition: .35s ease;
  scroll-snap-align: start;
}

.cb-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.cb-image {
  position: relative;
  height: 230px;
}

.cb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cb-price {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #FF6E37;
  color: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}

.cb-content {
  padding: 22px;
}

.cb-content h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 8px;
  font-weight: 600;
  color: #222;
}

.cb-location {
  font-size: 14px;
  line-height: 1.5;
  opacity: .7;
  margin-bottom: 12px;
}

.cb-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
}

.cb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #222;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  transition: .3s ease;
}

.cb-left {
  left: 20px;
}

.cb-right {
  right: 20px;
}

.cb-arrow:hover {
  background: #FF6E37;
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

@media (max-width:1024px) {
  .cb-carousel {
    padding: 0 70px;
    gap: 24px;
  }

  .cb-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width:600px) {
  .cb-carousel-wrap {
    padding: 40px 0;
  }

  .cb-carousel {
    gap: 16px;
    padding: 0 16px;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
  }

  .cb-card {
    flex: 0 0 calc(100% - 32px);
    border-radius: 18px;
  }

  .cb-image {
    height: 220px;
  }

  .cb-content {
    padding: 18px;
  }

  .cb-content h3 {
    font-size: 16px;
  }

  .cb-location,
  .cb-features {
    font-size: 13px;
  }

  .cb-arrow {
    width: 46px;
    height: 46px;
    font-size: 24px;
    top: auto;
    bottom: -8px;
    transform: none;
  }

  .cb-arrow:hover {
    transform: scale(1.05);
  }

  .cb-left {
    left: 16px;
  }

  .cb-right {
    right: 16px;
  }
}
