.cet-tabs-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  gap: 10px;
}

.cet-tabs-nav li {
  padding: 8px 15px;

  cursor: pointer;
  border-radius: 4px;
}

.cet-tab-panel {
  display: none;
}

.cet-tab-panel.active {
  display: block;
  overflow: hidden;
}

.cet-category-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  /* padding-left: 6.319vw; */
}

.cet-post {
  width: 120px;
  text-align: center;
}

.cet-post img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 5px;
}

.property-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.cet-tabs .swiper-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

.cet-tabs .swiper-slide {
  width: 100%;
  max-width: calc((100% - 60px) / 4);
  min-width: 300px;
}

.cet-tabs .property-listing .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  max-width: 100%;
  justify-content: center;
  gap: 20px;
  row-gap: 25px;
}

.cet-category-posts {
  padding-bottom: 10px;
  justify-content: flex-start;
  scrollbar-width: none;
}

.cet-category-posts::-webkit-scrollbar {
  height: 4px;
}
.cet-category-posts::-webkit-scrollbar-track {
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
}
.cet-category-posts::-webkit-scrollbar-thumb {
  background: rgba(5, 102, 222, 1);
  border-radius: 10px;
}
.cet-category-posts::-webkit-scrollbar-thumb:hover {
  background: #b30000;
}

.cet-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.2;
}

.cet-tabs-nav li {
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter Tight", sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(14px, 1.11vw, 1.3vw) !important;
  line-height: clamp(15px, 1.11vw, 1.3vw) !important;
  letter-spacing: 0px !important;
}

.cet-tabs-nav li .tab-icon {
  display: inline-flex;
  align-items: center;
}

.cet-tabs-nav li .tab-icon svg,
.cet-tabs-nav li .tab-icon i {
  width: 40.29px;
  height: 40.29px;
}

@media (max-width: 768px) {
  .cet-tabs-nav li .tab-icon svg,
  .cet-tabs-nav li .tab-icon i {
    width: 30px;
    height: 30px;
  }
}

.cet-section-link-wrapper {
  margin-top: 20px;
  text-align: center;
}

.cet-section-link {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.3s ease;
  margin-top: 3.403vw;
}

.cet-section-link:hover {
  color: #0073aa;
}

@media (max-width: 768px) {
  .cet-section-link {
    font-size: 0.9rem;
  }
}

/* Header and Tabs Wrapper */
/* Header Wrapper */
.cet-tabs-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-left: 6.319vw;
}

@media (min-width: 768px) {
  .cet-tabs-header {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* adjust values as needed */
  }
}

/* Heading */
.cet-section-title {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin: 0;
  flex-shrink: 0;
}

/* Tabs Container */
.cet-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Individual Tab */
.cet-tabs-nav li {
  display: flex;
  flex-direction: column; /* icon above text */
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  color: #2c2c2c;
  cursor: pointer;
  position: relative;
  text-align: center;
  min-width: 90px;
  transition: background-color 0.3s ease;
}

.cet-tabs-nav li > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0.4rem;
}

/* Active Tab Styling */
.cet-tabs-nav li.active {
  color: #000;
}

/* Blue underline indicator for active tab */
.cet-tabs-nav li.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 5px;
  background-color: #0566de;
  border-radius: 2px;
}

/* Icon inside Tab */
.tab-icon {
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ------------------ Responsive Layout ------------------ */
@media screen and (min-width: 768px) {
  .cet-tabs-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cet-section-title {
    font-size: 36px;
  }

  .cet-tabs-nav {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 767px) {
  .cet-tabs-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .cet-section-title {
    font-size: 24px;
  }

  .cet-tabs-nav {
    /* justify-content: flex-start; */
    box-shadow: 2px 2px 4px 0px #00000026;
    width: 100%;
    justify-content: center;
  }

  .cet-tabs-nav li {
    font-size: 14px;
    padding: 0.75rem;
  }
}

.cet-section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cet-section-link:hover {
  color: #ff5500; /* optional hover color */
}

.cet-section-link::after {
  content: "›";
  font-size: 18px;
  line-height: 1;
}

.home-design-price-tab-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 120%;
  color: rgb(0, 0, 0);
  font-size: clamp(0.7rem, 0.9vw, 1rem);
  gap: 0px;
}

.tab-card h6 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.7vw, 20.774px, 2rem);
  line-height: 24px;
  color: var(--black);
  text-transform: capitalize;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
  width: 100%;
}

.property-card.tab-card .icons {
  flex-wrap: nowrap;
}

.tab-card sup {
  position: relative !important;
  top: -0.5em !important;
  left: -0.8em !important;
}

@media (max-width: 767px) {
  .cet-category-posts {
    scrollbar-width: auto;
  }

  .hide-bg-mobile .cet-tabs-header {
    margin-bottom: 0;
  }
  .hide-bg-mobile .cet-tabs-content {
    background-color: #f4f1ee;
    padding-top: 35px;
  }

  .cet-tab-panel.active {
    padding-bottom: 35px;
  }

  .hide-bg-mobile .cet-tabs-content {
    position: relative;
  }

  .hide-bg-mobile .cet-tabs-content::before {
    content: "";
    background-color: #f4f1ee;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -6.32vw;
    width: 6.32vw;
  }

  .hide-bg-mobile .cet-tab-panel {
    position: relative;
    z-index: 1;
  }

  .cet-tabs-header {
    padding: 0;
  }

  .cet-tabs-header h2 {
    text-align: center;
    width: 100%;
    padding: 30px 6.319vw;
    border-bottom: 1px solid #d9d9d9;
  }

  .cet-tabs-header .cet-tabs-nav {
    gap: 10px;
    padding-bottom: 4px;
  }

  .cet-tabs-nav li.active::after {
    border-radius: 0;
    background-color: #0566de;
  }

  .cet-tabs-header .cet-tabs-nav li {
    max-width: calc((100% - 30px) / 4);
    min-width: unset;
  }

  .cet-section-link-container-mobile {
    display: block;
  }
  .cet-section-link-container-desktop {
    display: none !important;
  }

  .cet-tabs .swiper-wrapper {
    overflow-x: auto;
  }
}

.cet-tabs-cta {
  display: flex;
  justify-content: center;
  background-color: #f4f1ee;
  padding-bottom: 38px !important;
}

.cet-section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: #101820;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.cet-section-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #f47c55;
}

.cet-section-link svg {
  width: 8px;
  height: 16px;
  transition: transform 0.2s ease;
}

.cet-section-link:hover svg {
  transform: translateX(4px);
}

@media (min-width: 1024px) {
  .cet-tabs-nav {
    margin-right: 10.417vw;
  }
}

/* Tablet and Desktop */
@media (min-width: 768px) {
  .cet-tabs-cta {
    background-color: unset;
  }
  .cet-section-link-container-mobile {
    display: none;
  }
}

.cet-tabs-content {
  padding-left: 6.319vw;
}

.cet-category-posts .property-card {
  height: auto;
}

.cet-tabs-nav li.active svg path {
  stroke: #0566de !important;
}



