/* HOME DESIGNS */

.page-template .project-list {
    margin-bottom: 80px;
    /*color: #f0ede8;*/
}

/*.page-template .project-list label span {*/
/*    color: #f0ede8 !important;*/
/*}*/


.page-template .homesize .filter-icon,
.page-template .lotsize .filter-icon {
    display: flex;
}


.page-template .project-list .filter-p {
    font-size: 22px;
    font-weight: 500;
    padding-bottom: 15px;
} 
 
 
.page-template .project-list select {
  /*background-color: rgba(87, 93, 78, 0.20);*/
  border: 1px solid #5E6251;
  padding: 8px;
  font-size: 14px;
  border-radius: 5px;
}

/*.page-template .project-list select option {*/
/*  background-color: rgba(240, 237, 232, 0.90);*/
/*  color: #575D4E;*/
/*}*/

.page-template-home-design select:focus {
    border: 1px solid #F0EDE8 !important;
}

select:focus {
    box-shadow: none !important;
}


.flex.filter-icon.hd-size-1-div,
.flex.filter-icon.hd-size-2-div {
  display: flex;
  gap: 10px;
}

.flex.filter-icon.hd-size-1-div .cust,
.flex.filter-icon.hd-size-2-div .cust {
  flex: 1;
  min-width: 0;
}

.flex.filter-icon.hd-size-1-div .cust select,
.flex.filter-icon.hd-size-2-div .cust select {
  width: 100%;
  box-sizing: border-box;
}


.page-template .project-list .filter-icon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.page-template .project-list .filter-icon .cust {
    width: 100%;
}


.page-template .project-list .filter-check,
.page-template .project-list .filter-button {
  flex: 0 0 auto;
}


.page-template .project-list .filter-check .checkWrap,
.page-template .project-list .filter-button .checkWrap {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.page-template .project-list .filter-check input[type="checkbox"],
.page-template .project-list .filter-button input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #5E6251;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  box-sizing: border-box;
}

.page-template .project-list .filter-check input[type="checkbox"]:checked,
.page-template .project-list .filter-button input[type="checkbox"]:checked {
  background-color: #F0EDE8;
  border-color: #5E6251;
}

.page-template .project-list .filter-check input[type="checkbox"]:checked::after,
.page-template .project-list .filter-button input[type="checkbox"]:checked::after {
  content: '✔';
  color: #575D4E;
  font-size: 14px;
  line-height: 1;
}

/* Optional: Make number label same height */
.page-template .project-list .filter-check .check-span,
.page-template .project-list .filter-button .check-span {
  line-height: 1;
  font-size: 14px;
}

.page-template .project-list .filter-check .checkWrap,
.page-template .project-list .filter-button .checkWrap,
.page-template .project-list .filter-icon .to {
  display: flex;
    align-items: center;
}


.page-template .project-list button.clear-btn {
    padding: 15px 50px !important;
    border-radius: 50px !important;
    text-transform: uppercase;
    font-weight: normal;
    background-color: #ab6e53;
    color: #f0ede8;
    border: 1px solid #ab6e53 !important;
    font-size: 16px;
    line-height: 22px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.page-template .project-list button.clear-btn:hover {
    transform: none;
    box-shadow: none !important;
    background-color: #575D4E !important;
    color: #f0ede8;
    cursor: pointer;
    border: 1px solid #f0ede8 !important;
}


.page-template #upcoming-projects {
    width: 100%;
    display: block;
}


#filter-heading {
    margin-top: 30px;
    border-bottom: 1px solid rgba(94, 98, 81, .2);
    color: #5E6251;
    margin-bottom: 30px;
}

#toggle-filters {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

#toggle-icon {
    font-weight: bold;
    font-size: 1.3rem;
    color: #5E6251;
}


.hd-filter-grid .clear-wrapper {
    position: relative;
}

.hd-filter-grid {
    display: none;
    flex-wrap: wrap;
    gap: 20px 60px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(94, 98, 81, .2);
    padding-bottom: 30px;
}

.hd-filter-grid > div {
  flex: 0 0 calc((100% - 120px) / 3);
  max-width: calc((100% - 120px) / 3);
}


.hd-filter-grid .hometypes {
  flex: 0 0 75%;
  max-width: calc(75% - 30px);
}

.hd-filter-grid .clear-wrapper {
  flex: 0 0 25%;
  max-width: calc(25% - 30px);
}




@media only screen and (max-width: 999px) {
  .hd-filter-grid {
    gap: 20px 30px;
  }

  .hd-filter-grid > div {
    flex: 0 0 calc((100% - 30px) / 2);
    max-width: calc((100% - 30px) / 2);
  }
  
  .page-template .project-list .filter-p {
    font-size: 20px;
    padding-bottom: 10px;
  }
  
  .hd-filter-grid .hometypes {
    max-width: calc(75% - 15px);
    }

    .hd-filter-grid .clear-wrapper {
        max-width: calc(25% - 15px);
    }  
}


@media only screen and (max-width: 690px) {
  
    .page-template .project-list .filter-p {
        font-size: 16px;
        padding-bottom: 5px;
    }  
    
    .hd-filter-grid {
        gap: 15px;
        margin-bottom: 40px;
    }    
    
    .page-template .project-list .filter-icon {
        gap: 2px 8px;
    }
    
    .page-template .project-list .filter-check input[type="checkbox"],
    .page-template .project-list .filter-button input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }   
    
    .page-template .project-list button.clear-btn {
        font-size: 12px;
        padding: 10px 20px !important;
    }   
    
  .hd-filter-grid .hometypes,
  .hd-filter-grid .clear-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
    }
    
    .hd-filter-grid > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
      .page-template .project-list button.clear-btn {
        position: relative;
    } 
}

@media only screen and (max-width: 425px) {
    .page-template .project-list select {
        font-size: 12px;
    }   
}


@media only screen and (max-width: 375px) {
    .page-template .project-list button.clear-btn {
        position: relative;
    }  
}






