.hfp-featured-product-section {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    min-width: 267px;
}

.hfp-container {
    max-width: 500px;
    margin: 0 auto;
}

.hfp-title {
    color: #147be3 !important;
    margin-bottom: 1.25rem;
    font-size: 1.75rem !important;
    font-weight: bold;
}

.hfp-product-wrapper {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
}

.hfp-product-image-wrapper {
    position: relative;
    border-radius: 0.375rem;
    overflow: hidden;
    width: 100%;
}

.hfp-product-image-wrapper img {
    width: 100% !important;
}

.hfp-product-info {
    padding-top: 1.25rem;
}

.hfp-badge {
    border: 1px solid #147be3;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 0.125rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: #147be3;
}

.hfp-product-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1rem !important;
}

.hfp-product-title-link {
    color: #383836;
    text-decoration: none;
}

.hfp-product-title-link:hover,
.hfp-product-title-link:active {
    color: #147be3;
}

.hfp-price-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-weight: bold;
    color: #147be3;
}

.hfp-price-history {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.25rem;
    font-size: 0.75rem;
    color: #999;
}

.hfp-line-through {
    text-decoration: line-through;
}

.hfp-sale-timer {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.hfp-timer-segment{
    background-color: #FBFBFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    min-width: 41px;
}

.hfp-timer-segment p {
    margin: 0 !important;
}

.hfp-timer-num {
    font-size: 0.75rem;
    color: #555;
}

.hfp-timer-label {
    font-size: 0.625rem;
    color: #888888;
}

.hfp-add-to-cart {
    margin-top: 0.5rem;
}

.hfp-timer-title {
    font-size: 0.75rem;
}

.hfp-round-start {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    width: 100%;
}

.hfp-round-end {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.overflow-hidden {
    overflow: hidden;
}


.grid-landing-page ul {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    margin-bottom: 0 !important;
}

.grid-landing-page ul::before {
    display: none !important;
}

.hfp-sale-badge {
    border: 1px solid #147be3;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    height: fit-content;
    width: 38px;
    height: 28px;
    position: relative;
}

.hfp-sale-badge small{
    font-weight: 400;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    line-height: 0;
}

.hfp-add-to-cart-btn{
    width: 100% !important;
    text-align: center;
}

.hfp-cursor-grabbing{
    cursor: grabbing !important;
}

.hfp-filter-container{
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

}

.hfp-filter {
  min-width: 20rem;
  width: 100% !important;  
  height: fit-content; 
  background-color: #f5f5f5; 
  border-radius: 1rem;
  padding: 1.25rem; 
  box-sizing: border-box;
}

.hfp-results{
    width: fit-content ;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.hfp-pagination {
  display: flex;
  justify-content: center;
  background-color: #f5f5f5; 
  width: fit-content;
  margin: 1.25rem auto 0 auto; 
  border-radius: 0.5rem; 
  overflow: hidden;
  padding: 0 !important;
  list-style: none;
  box-sizing: border-box;
  margin: 0 auto;
}

.hfp-pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold; 
  cursor: pointer;
  border-right: 1px solid #e0e0e0; 
  text-decoration: none !important;
  transition: background-color 0.3s, color 0.3s;
}

.hfp-pagination .page-link a, .hfp-pagination .page-link span{
  padding: 0.5rem 0.75rem !important;
  text-decoration: none !important;
}

.hfp-pagination .page-link:last-child {
  border-right: none;
}

.hfp-pagination .page-link .page-numbers:not(.current,.dots) {
  color: inherit !important;
}

.hfp-pagination .page-link.current {
  color: #147be3 !important;
  background-color: #e0e7ff; 
}

.hfp-pagination .page-link.dots {
  color: #9ca3af;
  cursor: default;
}

.hfp-pagination .page-link:not(.current):not(.dots):hover {
  background-color: #e5e7eb; /* light hover gray */
}

@media (min-width:1180px){
    .hfp-round-start{
        min-width: 120px;
    }
	
	.hfp-featured-product-section {
        width: min-content;
    }
}

@media (min-width: 1024px) { 
  .hfp-filter-container {
    flex-direction: row;
  }
  .hfp-filter {
    max-width: 14.375rem;
    min-width: none;
  }
}

@media (max-width:64rem) {
    .grid-landing-page ul {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width:781px) {
    .grid-landing-page ul {
        display: flex !important;
    }
}