/* ============ CATEGORY STRIP SECTION ============ */
.category-strip-section {
    background-color: #f6f5fb;
  padding: 22px 0;
}

.category-strip {
  display: flex;
  align-items: stretch;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-strip::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--sp-white);
  border-radius: 14px;
  padding: 10px 18px 10px 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cat-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--sp-shadow);
}

.cat-pill-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.cat-pill-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat-pill-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.cat-pill-text strong {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--sp-text);
}
.cat-pill-text span {
  font-size: 11.5px;
  color: var(--sp-muted);
  margin-top: 2px;
}

/* ---- View All CTA pill ---- */
.cat-pill--cta {
  background: var(--sp-primary-soft);
}
.cat-pill--cta .cat-pill-text strong {
  color: var(--sp-primary-dark);
}
.cat-pill--cta .cat-pill-text span {
  color: var(--sp-primary);
}
.cat-pill--cta:hover {
  background: var(--sp-primary-soft);
  box-shadow: 0 12px 30px rgba(116, 86, 232, 0.22);
}

.cat-pill-cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sp-primary);
  font-size: 16px;
  flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .cat-pill {
    padding: 9px 14px 9px 9px;
  }
  .cat-pill-img {
    width: 46px;
    height: 46px;
  }
}
@media (max-width: 767px) {
  .category-strip-section {
    padding: 16px 0;
  }
  .cat-pill-text strong {
    font-size: 12.5px;
  }
  .cat-pill-text span {
    font-size: 10.5px;
  }
  .sp-container {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* =========================================================
   Invest Promo Card (right-side card next to Featured Properties)
   Uses SUKOON PROPERTY's existing root variables (hero.css)
========================================================= */

.invest-card {
    position: relative;
    height: 100%;
    min-height: 340px;
    border-radius: var(--sp-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--sp-primary);
    box-shadow: var(--sp-shadow);
}

.invest-card-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.invest-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.invest-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        var(--sp-primary-soft) 0%,
        rgba(116, 86, 232, 0.55) 45%,
        rgba(91, 64, 201, 0.85) 100%
    );
}

.invest-card-content {
    position: relative;
    z-index: 2;
    padding: 26px 24px 18px;
}

.invest-card-content h3 {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--sp-text);
    margin: 0 0 10px;
    max-width: 220px;
}

.invest-card-content p {
    font-size: 13px;
    color: var(--sp-muted);
    margin: 0 0 18px;
    max-width: 200px;
}

.invest-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sp-primary);
    color: var(--sp-white);
    font-size: 13.5px;
    font-weight: 700;
    padding: 11px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .15s ease;
}

.invest-card-btn:hover {
    background: var(--sp-primary-dark);
    color: var(--sp-white);
    text-decoration: none;
}

.invest-card-btn i {
    font-size: 13px;
}

.invest-card-stats {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
}

.invest-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    flex: 1;
}

.invest-stat i {
    font-size: 16px;
    color: var(--sp-primary);
}

.invest-stat span {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--sp-text);
    line-height: 1.2;
}

/* Responsive */
@media (max-width: 767px) {
    .type-pill {
        min-width: 190px;
        padding: 8px 12px 8px 8px;
    }

    .type-pill-thumb {
        width: 44px;
        height: 44px;
    }

    .explore-types-new {
        padding: 10px 0;
    }
    .invest-card {
        min-height: 300px;
        margin-top: 16px;
    }

    .invest-card-content h3 {
        font-size: 19px;
        max-width: none;
    }

    .invest-card-stats {
        padding: 14px 12px;
    }
}