/* Featured rentals — Luxe-style horizontal slider (homepage only) */
.featured-rentals-section {
  padding: 60px 0;
  background: #fff;
}

.featured-rentals-section__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 30px;
}

@media (max-width: 767px) {
  .featured-rentals-section__inner {
    padding: 0 20px;
  }
}

.featured-rentals-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.featured-rentals-section__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark-1, #051036);
}

@media (max-width: 767px) {
  .featured-rentals-section__title {
    font-size: 32px;
    text-align: center;
    width: 100%;
  }

  .featured-rentals-section__header {
    flex-direction: column;
    align-items: center;
  }
}

.featured-rentals-section__nav {
  display: none;
  gap: 8px;
}

@media (min-width: 768px) {
  .featured-rentals-section__nav {
    display: flex;
  }
}

.featured-rentals-section__nav-icon {
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
}

.featured-rentals-section__nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #c6c6cd;
  background: #fff;
  color: var(--color-dark-1, #051036);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.featured-rentals-section__nav-btn:hover {
  background: #f2f4f6;
}

.featured-rentals-section__nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.featured-rentals-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.featured-rentals-slider::-webkit-scrollbar {
  display: none;
}

.featured-rental-card {
  flex: 0 0 auto;
  width: min(320px, calc(100vw - 48px));
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .featured-rental-card {
    width: calc(50% - 12px);
  }
}

@media (min-width: 1024px) {
  .featured-rental-card {
    width: calc(33.333% - 16px);
  }
}

.featured-rental-card:hover {
  transform: translateY(-4px);
}

.featured-rental-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(25, 28, 30, 0.08);
  padding: 0 0 16px;
  height: 100%;
  transition: box-shadow 0.2s ease;
}

.featured-rental-card:hover .featured-rental-card__link {
  box-shadow: 0 10px 25px -5px rgba(25, 28, 30, 0.15);
}

.featured-rental-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.featured-rental-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-rental-card:hover .featured-rental-card__media img {
  transform: scale(1.05);
}

.featured-rental-card__rating {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-dark-1, #051036);
}

.featured-rental-card__rating-star {
  color: var(--color-yellow-5, #f9d849);
  font-size: 14px;
  line-height: 1;
}

.featured-rental-card__rating-count {
  font-weight: 400;
  color: #6b7280;
}

.featured-rental-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 16px;
}

.featured-rental-card__title {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark-1, #051036);
}

.featured-rental-card__subtitle {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-rental-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6b7280;
}

.featured-rental-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.featured-rental-card__meta-item i {
  font-size: 16px;
}

.featured-rental-card__footer {
  margin-top: auto;
  padding: 0 16px;
}

.featured-rental-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.featured-rental-card__price-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-dark-1, #051036);
}

.featured-rental-card__price-unit {
  font-size: 14px;
  color: #6b7280;
}

.featured-rental-card__cta {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: var(--color-yellow-5, #f9d849);
  color: #000;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.featured-rental-card__cta:hover {
  filter: brightness(0.97);
  color: #000;
}

.featured-rental-card__cta:active {
  transform: scale(0.98);
}

.featured-rentals-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .featured-rentals-dots {
    display: none;
  }
}

.featured-rentals-dots__dot {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.featured-rentals-dots__dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 999px;
  background: #c6c6cd;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.featured-rentals-dots__dot.is-active::after {
  width: 24px;
  margin-left: -12px;
  background: var(--color-dark-1, #051036);
}
