/* ==========================================================================
   Setli Features Page Styling (Flexbox Layout Only)
   ========================================================================== */

/* Main Section Background & Curves */
.pm__features--section {
  position: relative;
  background: radial-gradient(85% 65% at 50% 0%, #edf4ff 0%, #f8fafc 100%);
  padding: 4.5rem 1.5rem 6rem;
  overflow: hidden;
  width: 100%;
}

.pm__features--bg-curve-left {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(219, 234, 254, 0.6) 0%, rgba(219, 234, 254, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pm__features--bg-curve-right {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(219, 234, 254, 0.5) 0%, rgba(219, 234, 254, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pm__features--container {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header Section */
.pm__features--header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.pm__features--tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0052ff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pm__features--tagline-dash {
  width: 22px;
  height: 2px;
  background-color: #0052ff;
  border-radius: 2px;
  display: inline-block;
}

.pm__features--title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.pm__features--title-blue {
  color: #0052ff;
}

.pm__features--subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  font-weight: 400;
}

/* Toolbar: Filter Buttons & Search Box */
.pm__features--toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.pm__features--filter-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.pm__features--tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.pm__features--tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  text-decoration: none;
}

.pm__features--tab-btn:hover {
  border-color: #cbd5e1;
  color: #0f172a;
}

.pm__features--tab-btn.active {
  background-color: #0052ff;
  color: #ffffff;
  border-color: #0052ff;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.28);
}

.pm__features--search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.55rem 1.15rem;
  gap: 0.6rem;
  min-width: 240px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pm__features--search-box:focus-within {
  border-color: #0052ff;
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.12);
}

.pm__features--search-icon {
  display: flex;
  align-items: center;
  color: #94a3b8;
}

.pm__features--search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.875rem;
  color: #0f172a;
  width: 100%;
}

.pm__features--search-input::placeholder {
  color: #94a3b8;
}

/* Main Grid Layout (2 Large Cards per Row) */
.pm__features--list-container {
  width: 100%;
}

.pm__features--grid-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
}

.pm__features--grid-row .pm__features--featured-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 calc(50% - 0.75rem);
  max-width: calc(50% - 0.75rem);
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #eff6ff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.035);
  padding: 1.35rem;
  gap: 1.75rem;
}

.pm__features--card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.pm__features--card-header-left {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.pm__features--icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
}

/* Feature Category Icon Colors & Boxes */
.pm__features--icon-blue,
.pm__features--icon-box-blue {
  background-color: #eff6ff;
  color: #0052ff;
}

.pm__features--icon-green,
.pm__features--icon-box-green {
  background-color: #dcfce7;
  color: #16a34a;
}

.pm__features--icon-purple,
.pm__features--icon-box-purple {
  background-color: #f3e8ff;
  color: #9333ea;
}

.pm__features--icon-sky,
.pm__features--icon-box-sky {
  background-color: #e0f2fe;
  color: #0284c7;
}

.pm__features--icon-orange,
.pm__features--icon-box-orange {
  background-color: #ffedd5;
  color: #ea580c;
}

.pm__features--icon-magenta,
.pm__features--icon-box-magenta {
  background-color: #fce7f3;
  color: #db2777;
}

.pm__features--card-meta {
  display: flex;
  flex-direction: column;
}

.pm__features--card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0052ff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.pm__features--card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.pm__features--card-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.pm__features--action-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background-color: #eff6ff;
  color: #0052ff;
  border: 1px solid #dbeafe;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pm__features--action-circle:hover {
  background-color: #0052ff;
  color: #ffffff;
  border-color: #0052ff;
}

/* Middle Mockup Box */
.pm__features--mockup-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f8fafc;
  border-radius: 18px;
  border: 1px solid #f1f5f9;
  padding: 1.25rem;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.pm__features--mockup-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 12px;
  background-color: #ffffff;
  padding: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pm__features--mockup-fallback {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pm__features--mockup-properties {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pm__features--mockup-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.pm__features--mockup-active-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pm__features--mockup-icon-square {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background-color: #eff6ff;
  color: #0052ff;
}

.pm__features--mockup-blue-line {
  height: 5px;
  background-color: #4f46e5;
  border-radius: 10px;
  flex: 2;
}

.pm__features--mockup-gray-line {
  height: 5px;
  background-color: #e2e8f0;
  border-radius: 10px;
  flex: 1;
}

.pm__features--mockup-rent-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #ffffff;
  border-radius: 14px;
  padding: 1.15rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.pm__features--mockup-rent-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pm__features--rent-lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
}

.pm__features--rent-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.pm__features--rent-period {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
}

.pm__features--rent-sub {
  font-size: 0.75rem;
  color: #94a3b8;
}

.pm__features--mockup-dashed {
  border-top: 1px dashed #e2e8f0;
  margin: 0.1rem 0;
}

.pm__features--split-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.pm__features--split-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.pm__features--split-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #eff6ff;
  color: #0052ff;
}

.pm__features--split-pct {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}

/* Bottom Action Link Button */
.pm__features--view-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #eff6ff;
  color: #0052ff;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pm__features--view-btn:hover {
  background-color: #0052ff;
  color: #ffffff;
  border-color: #0052ff;
}

/* Empty State */
.pm__features--empty-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
}

.pm__features--empty-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px dashed #cbd5e1;
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pm__features--empty-icon-wrap {
  margin-bottom: 1.25rem;
}

.pm__features--empty-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.pm__features--empty-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Pagination Wrapper & Buttons matching Blog Design */
.pm__features--pagination nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.pm__features--pagination nav > div:first-child {
  display: none;
}

.pm__features--pagination nav > div:last-child {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1.25rem;
}

.pm__features--pagination nav p {
  font-size: 0.95rem;
  color: #475569;
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.pm__features--pagination nav p span {
  font-weight: 700;
  color: #0f172a;
}

.pm__features--pagination ul.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pm__features--pagination ul.pagination li .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #475569;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  text-decoration: none;
}

.pm__features--pagination ul.pagination li .page-link:hover {
  border-color: #00ba63;
  color: #00ba63;
  background-color: #e6f9ee;
}

.pm__features--pagination ul.pagination li.active .page-link {
  background-color: #00ba63;
  border-color: #00ba63;
  color: #ffffff;
}

.pm__features--pagination ul.pagination li.disabled .page-link {
  background-color: #ffffff;
  color: #cbd5e1;
  border-color: #f1f5f9;
  cursor: not-allowed;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .pm__features--pagination nav > div:last-child {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .pm__features--grid-row .pm__features--featured-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Filter Toggle Button for Mobile (< 768px) */
.pm__features--filter-toggle-btn {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  background-color: #ffffff;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  width: auto;
}

.pm__features--filter-toggle-btn:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

.pm__features--filter-toggle-btn .pm__filter-chevron {
  transition: transform 0.2s ease;
}

.pm__features--filter-toggle-btn.active .pm__filter-chevron {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .pm__features--section {
    padding: 3rem 1rem 4rem;
  }

  .pm__features--title {
    font-size: 2.15rem;
  }

  .pm__features--toolbar {
    gap: 0.75rem;
  }

  .pm__features--filter-wrapper {
    position: relative;
    width: auto;
  }

  .pm__features--filter-toggle-btn {
    display: inline-flex;
  }

  .pm__features--tabs {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 320px;
    max-width: calc(100vw - 2rem);
    flex-direction: column;
    margin-top: 0;
    background: #ffffff;
    padding: 0.75rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    gap: 0.5rem;
    z-index: 100;
  }

  .pm__features--tabs.show {
    display: flex;
  }

  .pm__features--tab-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    border-radius: 10px;
  }
}

@media (max-width: 575px) {
  .pm__features--toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .pm__features--filter-wrapper {
    width: 100%;
  }

  .pm__features--tabs {
    width: 100%;
    max-width: 100%;
  }

  .pm__features--filter-toggle-btn,
  .pm__features--search-box {
    width: 100%;
  }
  .pm__features--card-header-left {
    flex-wrap: wrap;
  }
}

    @media (min-width: 769px){
    .pm__features--section .container.pm__features--container {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    align-items: flex-start;
    max-width: 82.5rem;
}
 
.pm__features--section .pm__features--header {
    max-width: 100%;
    flex: 0 0 100%;
}
 
.pm__features--section #feature-list-container {
    flex: 0 0 calc(100% - 300px);
}
 
.pm__features--section .pm__features--toolbar {
    max-width: 250px;
    flex: 0 0 250px;
    flex-direction: column;
    position: sticky;
    top: 20px;
}
 
.pm__features--section .pm__features--search-box {
    order: -1;
    width: 100%;
}
 
.pm__features--section a.pm__features--tab-btn {width: 100%;}
 
section.pm__features--section {
    overflow: inherit;
}
}
 
.pm__features--bg-curve-left, .pm__features--bg-curve-right {
    display: none;
}