.bp-featured {
  position: relative;
  margin: 0 auto;
}

.bp-featured__band {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 100vw;
  /* ~top third of hero area so heading sits on navy, cards bridge navy → white */
  height: clamp(200px, 32vw, 320px);
  background: linear-gradient(
    180deg,
    var(--bp-featured-navy-deep) 0%,
    var(--bp-featured-navy) 55%,
    var(--bp-featured-navy) 100%
  );
  pointer-events: none;
}

.bp-featured__inner {
  position: relative;
  z-index: 1;
}

.bp-featured__swiper-wrap {
  position: relative;
}

.bp-featured-swiper {
  padding-bottom: 1px;
}

.bp-featured-swiper .swiper-slide {
  height: auto;
}

.bp-featured-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.bp-featured-card__media {
  position: relative;
  width: 100%;
  height: 213px;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.bp-featured-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bp-featured-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 15px;
  gap: 15px;
  background-color: var(--white);
  border: 1px solid var(--black);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.bp-featured-card__location {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #1e1e1e;
  line-height: 1.4;
}

.bp-featured-card__location svg {
  margin-top: 2px;
}

.bp-featured-card__location span {
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.bp-featured-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: #1E1E1E;
}

.bp-featured-card__specs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.bp-featured-card__specs svg {
  color: var(--white);
  opacity: 0.75;
  flex-shrink: 0;
}

.bp-featured-card__desc {
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: ver(--black);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

@media (max-width: 767px) {
  .bp-featured-card__desc {
    text-align: left;
  }
}

.bp-featured-card__see-more {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.bp-featured-card__see-more:hover,
.bp-featured-card__see-more:focus-visible {
  text-decoration: underline;
}

.bp-featured-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 10px;
}

.bp-featured-card__footer .elementor-button {
  display: block !important;
  font-size: 12px !important;
  padding: 10px 24px !important;
  height: 44px !important;
  line-height: 22px !important;
}

.bp-featured-card__footer .elementor-button span {
  white-space: nowrap;
}

.bp-featured-card__price {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 3px 2px;
  text-align: right;
  line-height: 1.2;
}

.bp-featured-card__price-amount {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: -3px;
}

.bp-featured-card__price-note {
  font-size: 10px;
  font-weight: bold;
  white-space: nowrap;
  text-transform: uppercase;
  opacity: 0.92;
}

/* Swiper pagination */
.bp-featured-pagination {
  position: relative;
  margin-top: 20px;
}

.bp-featured-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 5px;
  background: rgba(15, 23, 41, 0.25);
  opacity: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bp-featured-pagination .swiper-pagination-bullet-active {
  background: var(--bp-featured-navy, #0f1729);
  transform: scale(1.15);
}

@media (max-width: 767px) {
  .bp-featured-pagination {
    margin-top: 16px;
  }

  .bp-featured-card {
    height: auto;
    min-height: 420px;
  }

  .bp-featured-card__media {
    flex: 0 0 auto;
    aspect-ratio: 380 / 227;
    height: auto;
    max-height: 52vw;
  }

  .bp-featured-card__specs {
    flex-wrap: wrap;
  }

  .bp-featured-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.75);
  }

  .bp-featured-pagination .swiper-pagination-bullet-active {
    background: var(--white);
  }
}

.bp-featured__loading {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 10px 0 50px;
}

.bp-featured__spinner {
  animation: bp-featured-spin 0.75s linear infinite;
  border: 3px solid #e8e8e8;
  border-radius: 50%;
  border-top-color: var(--primary, #c9a227);
  flex-shrink: 0;
  height: 28px;
  width: 28px;
}

@keyframes bp-featured-spin {
  to {
    transform: rotate(360deg);
  }
}

.bp-featured__content.is-loading .bp-featured__loading {
  display: flex;
}

.bp-featured__content.is-loading .bp-featured-swiper,
.bp-featured__content.is-loading .bp-featured-pagination,
.bp-featured__content.is-loading .bp-featured__empty,
.bp-featured__content.is-loading .bp-featured__error {
  display: none;
}

.bp-featured__empty,
.bp-featured__error {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  text-align: center;
  margin: 15px 0 0;
}

.bp-featured__error {
  color: #b45309;
}
