.web-content {
  line-height: 30px;
}

.productlist-category_view_cont {
  display: flex;
  gap: 20px;
  margin: 15px 0;
}

.productlist-product_view_cont {
  width: calc(80% - 20px);
}

.productlist-recommended_title {
  font-size: 1.5rem;
  padding: 10px 0 10px 0;
  margin-bottom: 30px;
  border-bottom: 1px solid #ccc;
}

.main-products {
  display: flex;
  justify-content: space-between;
  border-bottom: 0.2px solid #d8d8d8;
  padding: 20px 0 10px 0;
  margin-bottom: 10px;
}

.main-products-sticky {
  position: sticky;
  top: 130px;
  z-index: 5;
  background: #ffffff;
}

.left-main-products {
  align-items: center;
  justify-content: left;
  display: flex;
}

.left-sub {
  margin-left: 0.25rem !important;
}

.right-main-products {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mob-filter-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.productview-icons {
  font-size: 1.5rem;
  display: flex;
  gap: 0.5rem;
  color: var(--primary-color);
}

#productlist-gridview,
#productlist-listview {
  cursor: pointer;
}

.productlist-product_list_container {
  /* margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 10px; */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.product-list-grid-view {
  flex: 0 0 calc(20% - 26px) !important;
}

.productlist-product_item_container {
  padding-bottom: 1rem;
  display: flex;
  gap: 1rem;
  border: 1px solid transparent;
  width: 100%;
  margin-bottom: 1rem;
}

.productlist-product_item_container {
  border-bottom: 1px solid #f1f1f1;
}

.productlist-product_img_container {
  max-width: 150px;
}

.productlist-product_details {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.productlist-product-desc {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.productlist-product_title {
  font-size: 0.9rem;
  font-weight: bold;
}

.productlist-product_discount_off {
  color: red;
}

.productlist-product_action_cont {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: end;
}

.productlist-product_price {
  display: flex;
  flex-wrap: wrap;
  font-size: 20px;
  color: var(--primary-color);
  font-weight: bold;
  gap: 0.5rem;
  justify-content: end;
  align-items: center;
  white-space: nowrap;
}

.productlist-product_discount_price {
  text-decoration: line-through;
  font-size: 15px;
  font-weight: normal;
  color: black;
  opacity: 0.8;
}

.product-outofstock-wideview {
  color: var(--font-color);
  text-align: center;
  font-weight: bold;
  width: 135px;
  background: var(--red);
  border-radius: 5px;
  padding: 5px;
}

.prouductlist-cart_action_cont {
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.productlist-product_addtocart,
.productlist-product_buynow,
.show-result-button {
  background-color: var(--secondary-color);
  border: none;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border-radius: 5px;
  white-space: nowrap;
  width: -webkit-fill-available;
}

.show-result-button {
  margin: 10px;
  margin-bottom: 10px;
}

.productlist-product_buynow {
  background-color: var(--secondary-color-new);
}

.productlist-product_actions li {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  justify-content: space-between;
  align-items: center;
}

.filter-icons-container {
  display: flex;
  gap: 0.5rem;
}

.productlist-product_title,
.productlist-product_highlights {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sorting-dropdown {
  min-width: 11rem;
  position: relative;
}

.select {
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px #f1f1f1 solid;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #000;
  transition: 0.3s;
}

.caret-rotate {
  transform: rotate(180deg);
}

.sorting-menu {
  margin: 0;
  list-style: none;
  padding: 0.2em 0.5em;
  background: #fff;
  border: 1px #363a43 solid;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  border-radius: 0.5em;
  color: #000;
  position: absolute;
  top: 100%;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  opacity: 0;
  display: none;
  transition: 0.2s;
  z-index: 11;
}

.sorting-menu li {
  padding: 0.7em 0.5em;
  margin: 0.3em 0;
  border-radius: 0.5em;
  cursor: pointer;
}

.sorting-menu li:hover {
  background: var(--primary-color);
  color: white;
}

.sorting-menu-open {
  opacity: 1;
  display: block;
}

.product-filter-icon,
.product-sort-icon {
  display: none;
}

.load-more-button {
  background-color: var(--secondary-color);
  border: none;
  color: white;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  width: 100%;
  font-size: 16px;
}

@media screen and (max-width: 1024px) {
  .productlist-product_list_container {
    gap: 5px;
    grid-template-columns: repeat(2, 1fr);
  }

  .product-list-grid-view {
    flex: 0 0 calc(33.33% - 30px) !important;
  }

  .product-filter-icon,
  .product-sort-icon {
    display: flex;
    width: -webkit-fill-available;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 5px;
  }

  .filter-icons-container,
  .product-count-container,
  .sorting-dropdown {
    display: none;
  }

  .current-sort-option {
    background: var(--primary-color);
    color: white;
  }

  .main-products-sticky {
    top: 85px;
  }

  .right-main-products {
    width: -webkit-fill-available;
  }
}

@media (max-width: 749px) {
  .productlist-product_item_container {
    padding: 1rem;
    align-items: center;
  }

  .productlist-product_details {
    flex-direction: column;
  }

  .productlist-product-desc {
    width: -webkit-fill-available;
  }

  .productlist-product_action_cont {
    width: -webkit-fill-available;
    align-items: start;
  }

  .prouductlist-cart_action_cont {
    flex-direction: row;
    width: -webkit-fill-available;
  }

  .productlist-product_list_container {
    gap: 5px;
    grid-template-columns: repeat(2, 1fr);
  }

  .product-list-grid-view {
    flex: 0 0 calc(50% - 23px) !important;
  }
}

@media (max-width: 576px) {
  .main-products {
    flex-direction: column;
    gap: 0.5rem;
  }

  .main-products {
    padding: 10px 8px;
  }

  .productlist-product_item_container {
    flex-direction: column;
  }
}

.product-list-grid-view {
  box-shadow: 0px 0px 7px 0px rgb(38 43 41/25%);
  border-radius: 4px;
  gap: 4px;
}

.product-count-listing {
  font-weight: bold;
  font-size: 18px;
  color: #000000b0;
}

/* ------------------------------------------------------------------ */
.pf-product {
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  margin-bottom: 18px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* min-width: 220px; */
  max-width: 320px;
  /* min-height: 470px; */
  /* Ensures all cards are same height */
  /* height: 100%; */
}

.pf-product-img {
  object-fit: contain;
  margin-bottom: auto;
  background: #F3F3F3;
}

.pf-product-name {
  font-size: 16px;
  color: #222;
  text-align: left;
  padding: 8px 12px;
  font-weight: 300;
  margin-bottom: 2px;

}

.pf-product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0px 12px;
}

.pf-product-price {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  position: relative;
  top: 2px;
}

.pf-product-price-span {
  position: relative;
  top: -2px;
}

.pf-price-old {
  font-size: 14px;
  color: #000000;
  text-decoration: line-through;
  margin-left: 2px;
}

.pf-discount-badge {
  color: #f70000;
  font-size: 14px;
  font-weight: 500;
  /* padding: 2px 6px; */
  border-radius: 3px;
  margin-left: 4px;
  position: relative;
  top: 3px;
}

.pf-product-action-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  margin-top: 10px;
  padding: 0 12px 12px 12px;
}

.pf-product-qty-box {
  display: flex;
  align-items: center;
  border: 1px solid #d8d8d8;
  border-radius: 2px;
  background: #fff;
  height: 40px;
  min-width: 124px;
  max-width: 120px;
  margin-right: 0;
  margin-bottom: 0;
}

.pf-qty-btn {
  width: 36px;
  height: 38px;
  font-size: 18px;
  background: #fff;
  border: none;
  border-right: 1px solid #d8d8d8;
  border-left: 1px solid #d8d8d8;
  cursor: pointer;
  color: #222;
  font-weight: 700;
  transition: background 0.2s;
  outline: none;
}

.pf-qty-btn:first-child {
  border-left: none;
}

.pf-qty-btn:last-child {
  border-right: none;
}

.pf-qty-btn:hover {
  background: #f5f5f5;
}

.pf-product-qty-box span {
  width: 38px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #d8d8d8;
  min-width: 50px;
  border-left: 1px solid #d8d8d8;
  background: #fff;
  height: 100%;
}

@media (max-width: 1024px) {
  .pf-product-qty-box span::before {
    content: "Qty \00a0";
  }
}

.pf-product-add {
  width: 100%;
  height: 40px;
  background: #fff;
  color: #000;
  border: 1px solid #d8d8d8;
  font-size: 16px;
  font-weight: 700;
  border-radius: 0 2px 2px 0;
  padding: 0;
  cursor: pointer;
  margin-top: 0;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}

.pf-product-add:hover {
  background: #000000;
  color: #ffffff;
  transition: background 0.9s;
}

.pf-product-add-mobile {
  display: none;
}

.pf-product-add:active {
  background: #222;
}

/* ...existing code... */

.pf-package-item-name {
  font-weight: 600;
}

.pf-package-item-qty {
  display: flex;
  margin-top: 4px;
  align-items: center;
}

.pf-package-item-qty button {
  width: 24px;
  height: 24px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.pf-package-price {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
  font-weight: 700;
}

.pf-discount-badge {
  background: #fff;
  color: #FF6C18;
  font-size: 13px;
  font-weight: 700;
  margin-left: 0;
  padding: 0;
  margin-top: 5px;
  top: 0;
}

/* Add to Cart Button Styles */
.pf-product-add {
  transition: all 0.3s ease;
}

.pf-product-add.added {
  background-color: #000000;
  color: #ffffff;
}

.pf-product-add.disabled,
.pf-product-add:disabled {
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .pf-product-price {
    width: 100%;
  }

  .pf-product-price-row {
    flex-wrap: wrap;
  }
}