body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.genricContainer {
  display: flex;
  flex-wrap: nowrap;
  padding: 20px;
}

.genericTwoButtons {
  display: flex;
  justify-content: space-between;
}

.dropArrow {
  display: none;
}
.genItemContainer {
  padding-top: 10px;
  padding-left: 10px;
  height: 500px;
  overflow-y: auto;
  scrollbar-gutter: stable;
  box-sizing: border-box;
}
.genericAttributType,
.vl,
.genericAttributImages {
  margin-right: 20px;
}

.genericAttributImages {
  display: flex;
  flex-direction: column;
  width: 75%;
}

.vl {
  border-left: 2px solid #d9d9d9;
  height: auto;
}

.genDropdown {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
  color: #565a5c;
  font-family: Inter;
  font-size: 16px;
  font-weight: 600;
  line-height: 23.21px;
  text-align: left;
}

.dropdown-content {
  display: block;
  max-height: 0;
  overflow: hidden;
  background-color: #f9f9f9;
  min-width: 200px;
  padding: 0 16px;
  z-index: 1;
  border-left: none;
  border-right: none;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.genDropdown.active .dropdown-content {
  max-height: 300px;
  padding: 12px 16px;
}

.cl-btn {
  cursor: pointer;
  font-family: "Inter";
  font-size: 18px;
  font-weight: 600;
  line-height: 23.21px;
  text-align: left;
}

.closeAndTwo {
  display: flex;
  justify-content: space-between;
}
.selectAndClear {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: "Inter";
  font-size: 16px;
  font-weight: 400;
  line-height: 23.21px;
}

.genAttItem {
  margin-top: 10px;
  color: #47823d;
  font-family: "Inter";
  font-size: 16px;
  font-weight: 400;
  line-height: 23.21px;
  text-align: left;
}

.price-radio {
  margin-bottom: 10px;
  margin-right: 5px;
}

/* Product Items Styles */
.upperPart {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.partName {
  font-size: 24px;
  font-weight: bold;
  color: #47823d;
}

.sortingList select {
  outline: none;
}
.sortingList select {
  padding: 8px;
}

.belowPart {
  justify-content: space-between;
  margin-top: 20px;
}

.productItemContainer {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.productitems {
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 5px;
  aspect-ratio: 1/1; /* Ensures the card is square */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.productitems:hover {
  box-shadow: 0 1px 4.6px 0 #47823d;
}

.productitems img {
  width: 100%;
  height: 100%; /* Adjust as needed */
  object-fit: contain;
  margin: auto;
  aspect-ratio: 1/1 !important;
}

.likeItem {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: background-color 0.2s ease; /* Smooth transitions */
}

.likeItem:hover {
  background-color: #fff;
}

.likeItem i {
  font-size: 18px;
  color: #fff;
  transition: color 0.2s ease;
}

.likeItem:hover i {
  color: #ff6b81;
}

.product-info {
  flex-grow: 1; /* Allows the product info to take up remaining space */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Aligns content to the bottom */
}

.product-name-rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
}

.product-name {
  font-weight: bold;
  margin: 0;
}

.rating {
  display: flex;
  align-items: center;
  color: #47823d;
  position: absolute;
  right: 0;
  top: -20px;
}

.star {
  font-size: 18px;
  margin-right: 5px;
}

.rating-value,
.comment {
  font-size: 14px;
}

.product-description {
  color: #565a5c;
  font-size: 14px;
  margin: 0;
  padding: 5px 0;
}

.price-offer {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.original-price {
  color: #000;
  font-size: 18px;
  font-weight: bold;
  margin-right: 10px;
}

.discounted-price {
  text-decoration: line-through;
  color: #565a5c;
  font-size: 14px;
  margin-right: 10px;
}

.discount {
  color: #47823d;
  font-size: 14px;
}

.addCart button {
  margin-left: -10px !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.addCart button:hover {
  color: #fff;
  background-color: #47823d !important;
}

.DescriptionContainer {
  display: none;
}

.descContainer {
  padding: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.descContainer p {
  font-size: 16px;
  line-height: 24px;
  color: #565a5c;
}

main {
  padding: 20px;
  text-align: center;
}

main h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #47823d;
}

.wishlist-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.wishlist-item {
  background: white;
  border-radius: 15px;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  padding: 1rem;
  overflow: hidden;
  position: relative;
  width: 250px;
  min-width: 250px;
  max-height: 360px;
  height: 360px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wishlist-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.wishlist-item img {
  background-position: 0px 0;
  width: 100%;
  height: 150px;
  border-radius: 10px;
  background-color: grey;
}

.wishlist-item h3 {
  font-size: 18px;
  margin: 10px 0;
  color: #333;
}

.wishlist-item p {
  color: #878787;
  font-size: 14px;
  margin: 10px 0;
}

.wishlist-item .fa-heart-o {
  position: absolute;
  top: 5px;
  right: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  transition: color 0.3s;
  background-color: black;
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
}

.wishlist-item .fa-heart-o:hover {
  color: #fff;
  background-color: #47823d;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 50px;
  right: 10px;
  background-color: white;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  z-index: 1;
}

.dropdown-menu .dropdown-item {
  padding: 10px;
  cursor: pointer;
  color: #333;
  font-size: 14px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f0f0f0;
}
.empty-message {
  margin: 50px;
}
.empty-message span {
  padding: 10px;

  background-color: #ff7518;
  width: 50px;
  text-align: center;
  color: #ffff;
}
#continue-shopping-btn span {
  background-color: #47823d;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.product-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.product {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  box-sizing: border-box;
}

.Heart {
  display: flex;
  justify-content: flex-end;
}

.Heart span {
  cursor: pointer;
}

.product img {
  width: 100%;
  height: 200px; /* Fixed height */
  object-fit: cover;
}

.MainDetails {
  margin-top: 10px;
}

.mainPrice {
  font-size: 20px;
  font-weight: bold;
}

.strikePrice strike {
  color: #888;
}

.addCart button:hover {
  background-color: #0056b3;
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
}

.add-to-cart-btn i {
  margin-right: 5px;
}

.fa-arrow-down {
  opacity: 0;
}

@media (max-width: 768px) {
  .genItemContainer {
    height: 0;
    transition: height 0.3s ease-in-out;
  }

  .fa-arrow-down {
    opacity: 1;
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
  }

  .fa-arrow-down.active {
    transform: rotate(180deg);
  }

  .genricContainer {
    flex-direction: column;
    padding: 10px;
  }
  .genricContainer {
    flex-direction: column;
    padding: 10px;
  }

  .genericAttributType,
  .genericAttributImages {
    width: 100%;
    margin-right: 0;
  }

  .vl {
    display: none;
  }

  .product-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .upperPart {
    align-items: center;
  }

  .partName {
    font-size: 20px;
  }

  .sortingList select {
    width: 100%;
  }
  .productItemContainer {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 480px) {
  .productitems,
  .product {
    grid-column: span 1;
  }

  .partName {
    font-size: 18px;
  }

  .sortingList select {
    width: 100%;
  }
}

/* price selector slider */

.price-filter-container {
  width: 300px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}

.slider-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-range {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.price-range input {
  width: 100px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
}

.range-slider {
  position: relative;
  height: 30px;
}

.range-slider input {
  position: absolute;
  width: 100%;
  height: 5px;
  margin: 10px 0;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  z-index: 2;
}

/* The dynamic track between the two thumbs */
.range-slider .range-track {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 5px;
  background: #ccc; /* Default track color */
  transform: translateY(-50%);
  border-radius: 5px;
  z-index: 1;
}

/* Style the slider thumbs */
.range-slider input::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 3px solid #1b53c0;
  background-color: #fff;
  pointer-events: auto;
  -webkit-appearance: none;
}

.range-slider input::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 3px solid #1b53c0;
  background-color: #fff;
  pointer-events: auto;
  -moz-appearance: none;
}

.ipc_ProductList {
  font-family: sans-serif;
}
.ipc_carousel-section {
  max-width: 100%;
}

.ipc_carousel-container {
  position: relative;
  padding: 0 2px;
}

.ipc_carousel-track-container {
  overflow: hidden;
  position: relative;
}

.ipc_carousel-track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ipc_carousel-track.ipc_is-transitioning {
  transition: transform 0.5s ease-in-out;
}

.ipc_carousel-slide {
  width: 100%;
  padding: 10px 10px;
}

.ipc_product-card {
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  overflow: hidden;
  width: 100%; /* Make card take full width of slide */
}

.ipc_product-card:hover {
  box-shadow: 0 1px 4.6px 0 #47823d;
}

.ipc_product-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
}

.ipc_product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1/1;
  border-radius: 15px; /* Apply to image if it's the top visual element */
}

.ipc_likeItem {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
  z-index: 10;
}

.ipc_likeItem:hover {
  background-color: #fff;
}

.ipc_likeItem:hover i {
  color: #880808;
}

.ipc_product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  font-family: Arial, sans-serif;
}

.ipc_carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #47823d;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s ease;
  color: #fff;
}

.ipc_product-name-rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
}

.ipc_product-name {
  font-weight: bold;
  font-size: 16px;
  margin: 0;
  overflow: hidden;
}

.ipc_rating {
  align-items: center;
  color: #47823d;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 2px 5px;
  border-radius: 5px;
}

.ipc_star {
  font-size: 15px;
  color: rgba(239, 191, 4);
  text-shadow: 0 0 1px #ffd700, 0 0 2px #ffd700, 0 0 5px #ffbf00;
}

.ipc_rating-value,
.ipc_comment {
  font-size: 15px;
  font-weight: bold;
}

.ipc_product-description {
  color: #565a5c;
  font-size: 14px;
  margin: 0;
  padding: 5px 0;
}

.ipc_product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 128, 0, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 4;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.ipc_product_Name {
  position: absolute;
  bottom: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 10px;
  color: #ffffff;
  z-index: 5;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.ipc_product_Name p {
  color: #ffffff;
  font-size: 14px;
  margin: 0;
  padding: 5px 0;
}

.ipc_product-image-container:hover .ipc_product-overlay,
.ipc_product-image-container:hover .ipc_product_Name {
  opacity: 1;
}
.ipc_product-image-container:hover .ipc_rating {
  background-color: rgba(255, 255, 255, 1);
}
.ipc_price-offer {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.ipc_addCart {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-around;
  margin-top: 10px;
}

.ipc_addCart button {
  background-color: transparent;
  border-width: 0.61px;
  border-style: solid;
  border-color: rgb(0, 0, 0);
  border-image: initial;
  border-radius: 15px;
  padding: 6px 9px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ipc_addCart button:hover {
  color: #fff;
  border-color: #565a5c;
  background-color: #47823d !important;
}

.ipc_size-and-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.ipc_product-size {
  font-size: 14px;
  color: #333;
}

.ipc_brand-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
  position: relative;
}

.ipc_top-icons {
  margin-right: 10px;
  padding: 5px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.ipc_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22.5px;
  height: 22.5px;
  display: inline-block;
  border-radius: 50%;
}

.ipc_safe-fulfilled {
  width: 22.5px;
  height: 22.5px;
}

.ipc_green-tick i {
  font-size: 25px !important;
  color: #47823d !important;
}

.ipc_status-dot {
  width: 22.5px;
  height: 22.5px;
  border-radius: 50%;
}

.ipc_status-dot.ipc_green {
  background-color: green;
}

.ipc_status-dot.ipc_yellow {
  background-color: yellow;
}

.ipc_status-dot.ipc_red {
  background-color: red;
}

.ipc_tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.ipc_tooltip .ipc_tooltip-text {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  font-size: 11px;
  border-radius: 4px;
  padding: 4px 6px;
  position: absolute;
  z-index: 15;
  bottom: 125%;
  left: 50%;
  transform: translateX(-40%);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.ipc_tooltip:hover .ipc_tooltip-text {
  visibility: visible;
  opacity: 1;
}

.ipc_best-price-label {
  font-size: 14px;
  color: #47823d;
  display: block;
  font-weight: 800;
}

.ipc_gst-info {
  font-size: 12px;
  color: #565a5c;
  font-weight: 500;
}

.ipc_quantity-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ipc_quantity-selector button {
  border: none;
  outline: none;
  border-radius: 0% !important;
}

.ipc_quantity-selector button:first-child {
  border-top-left-radius: 5px !important;
  border-bottom-left-radius: 5px !important;
}

.ipc_quantity-selector button:last-child {
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}

.ipc_quantity-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  height: 30px;
  width: 30px;
  font-size: 21px;
  cursor: pointer;
  background-color: #47823d !important;
  transition: background-color 0.3s ease;
  outline: none;
}

.ipc_quantity-btn:hover {
  background-color: rebeccapurple !important;
}

.ipc_quantity-input {
  width: 30px;
  height: 30px;
  text-align: center;
  font-size: 16px;
  border: none;
  outline: none;
  border: 2px solid #47823d;
  transition: background-color 0.3s ease;
}

.ipc_quantity-input:hover {
  background-color: #ccc;
  color: #000000;
  cursor: grab;
}

@media (max-width:1174px) {
  .ipc_carousel-track {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:878px) {
  .ipc_carousel-track {
    grid-template-columns: repeat(1,1fr);
  }
}