.product-item {
  padding: 9px;
  flex-direction: column;
  display: flex;
  background-color: var(--body-background);
  flex: 0 0 calc(100% - 18px);
  position: relative;
  justify-content: space-between;
  box-shadow: 0px 0px 7px 0px rgb(38 43 41/25%);
}

.center-image-component {
  scroll-behavior: smooth;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.center-image-component::-webkit-scrollbar {
  display: none;
}

.no-transition {
  scroll-behavior: auto;
}

.slider-container .left-image,
.slider-container .right-image {
  justify-content: center;
  top: 50%;
  height: 44px;
  width: 44px;
  color: #343f4f;
  cursor: pointer;
  font-size: 1.15rem;
  position: absolute;
  line-height: 44px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.1s linear;
  box-shadow: 0px 0px 7px 0px rgb(38 43 41/25%);
  z-index: 10;
}

.slider-container .left-image:active,
.slider-container .right-image:active {
  transform: translateY(-50%) scale(0.9);
}

.slider-container .left-image:hover,
.slider-container .right-image:hover {
  background: #f2f2f2;
}

.slider-container .left-image {
  left: -15px;
}

.slider-container .right-image {
  right: -15px;
}

.product-item:hover .hidden-attribute,
.product-item:active .hidden-attribute { 
  opacity: 1 !important;
  pointer-events: all !important;
  transition: opacity 0.3s ease-in-out !important;
}

.product-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: solid thin #f1e8e8;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-item:hover::before {
  border: solid thin var(--primary-color);
}

.product-item-img {
  position: relative;
  max-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-item-price {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.product-wide-img {
  height: auto;
}

.product-item-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-item-img a {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 0 15px;
}

.product-item-option {
  position: absolute;
  background-color: #edeeef;
  bottom: 0;
  height: 0px;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: space-around;
  border-radius: 10px 10px 0 0;
  box-shadow: 0px 0px 41px 0px rgb(38 43 41/58%);
}

.product-item-option a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  height: 40px;
  margin: auto;
}

.product-item-option a:hover {
  border-radius: 100px;
  color: var(--font-color);
  background-color: var(--primary-color);
  padding: 0 15px;
  width: fit-content;
  cursor: pointer;
}

.product-item:hover .product-item-option {
  height: 43px;
  transition: height 0.5s;
}

/* product card icon text */
.hover-effect i,
.hover-effect .hover-icon-text {
  opacity: 1;
  transition: opacity 0.3s ease-in-out, display 0.3s ease-in-out;
  display: inline-block;
}

.hover-effect .hover-icon-text {
  opacity: 0;
  display: none;
}

.product-item-info p {
  --max-lines: 2;
  display: block;
  font-size: 14px;
  line-height: 1.2em;
  max-height: calc(1.1em * var(--max-lines));
  overflow: hidden;
  padding: 0 1rem 5px 0;
  font-weight: 600;
}

.product-item-info {
  position: relative;
}

.product-item-info a {
  --max-lines: 2;
  color: var(--secondary-font-color);
  display: block;
  font-size: 12px;
  line-height: 1.2em;
  margin: 0;
  max-height: calc(1.2em * var(--max-lines));
  overflow: hidden;
  margin: 0 1rem 5px 0;
  font-weight: 600;
}

.rating {
  padding: 5px;
  color: #edb867;
  padding-left: 0px;
}

.product-item-label {
  background-color: var(--secondary-color-new);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  color: var(--font-color);
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

.product-expressDelivery-container {
  position: absolute;
  bottom: 1px;
  left: 0px;
  background-color: #add156;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 3px;
  color: #292828;
  font-weight: 600;
  font-size: 11px;
  border-radius: 3px;
}

.product-collection-icon {
  position: absolute;
  top: 0%;
  left: -3%;
  width: 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1px 8px;
  color: #292828;
  font-weight: 600;
  font-size: 12px;
  border-radius: 3px;
}

.product-expressDelivery-search {
  background-color: #add156;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 2px;
  color: #292828;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 5px;
}

.price {
  text-decoration: line-through;
  font-size: 12px;
}

.product-item-price span {
  padding-right: 1px;
}

.deals-offer-percentage {
  display: flex;
  align-items: center;
}

.text-style {
  color: black;
  font-weight: 600;
}

.product-item-price-percentage {
  color: var(--font-color);
  background-color: var(--secondary-color);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 5px;
  border-radius: 5px;
  width: 20px;
  height: 20px;
}

.product-item-stock {
  color: rgb(255, 0, 0);
  padding: 4px;
  font-size: 12px;
  font-weight: 600;
}

.rateProgresBar {
  border-radius: 0px;
  width: 100%;
}

.rateProgresBar::-webkit-progress-value {
  background-color: var(--primary-color);
}

.rateProgresBar::-moz-progress-bar {
  background-color: var(--primary-color);
}

.rateProgresBar::-ms-fill {
  background-color: var(--primary-color);
}

.discount-price {
  color: #f14706;
  font-weight: 800;
  font-size: 14px;
}

.product {
  display: flex;
}

.product-outofstock-container {
  width: 0;
  height: 0;
  border-top: 90px solid var(--red);
  border-bottom: 90px solid transparent;
  border-right: 90px solid transparent;
  position: absolute;
  left: 0;
  top: 0;
}

.product-outofstock-label {
  position: absolute;
  top: 16px;
  width: 50px;
  left: 6px;
  text-align: center;
  transform: rotate(-45deg);
  display: block;
  z-index: 1;
  color: var(--font-color);
  font-size: 12px;
}

@media (min-width: 300px) {
  .product-item {
    flex: 0 0 calc(50% - 18px);
  }
}

@media (min-width: 745px) {
  .product-item {
    flex: 0 0 calc(100% / 3 - 18px);
  }
}

@media (min-width: 965px) {
  .product-item {
    flex: 0 0 calc(25% - 18px);
  }
}

@media (min-width: 1185px) {
  .product-item {
    flex: 0 0 calc(20% - 18px);
  }
}

@media (min-width: 1400px) {
  .product-item {
    flex: 0 0 calc(100% / 5 - 18px);
  }
}

@media (min-width: 1625px) {
  .product-item {
    flex: 0 0 calc(100% / 5 - 18px);
  }
}

.timer {
  margin: 5px 0px;
  display: inline-block;
  text-decoration: none;
  border-radius: 3px;
  color: var(--secondary-font-color);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 0px;
}

.product-item-container,
.slider-container {
  background-color: var(--body-background);
  display: flex;
  justify-content: start;
  margin: 20px 0;
  position: relative;
}

.product-item-container-left,
.product-item-container-right {
  display: flex;
  align-items: center;
  font-size: 30px;
}

.product-item-card-slider {
  flex: 1;
  overflow: hidden;
}

.product-horizontal {
  display: flex;
  gap: 15px;
  padding: 10px;
}

.product-column {
  max-width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-horizontal:hover {
  background-color: antiquewhite;
}

.search-product-price {
  display: flex;
  flex-direction: column;
}

.search-products-info a {
  color: var(--secondary-font-color);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: bold;
}

.product-prices {
  position: relative;
  font-size: 12px;
  color: var(--secondary-font-color);
  margin-left: 10px;
  font-weight: bold;
}

.product-prices::after {
  border-top: 1px solid;
  position: absolute;
  content: "";
  right: 0;
  top: 50%;
  left: 0;
  opacity: 0.5;
}

@media screen and (min-width: 1306px) {
  .product-column img {
    max-width: 50px;
  }

  .hover-effect:hover i {
    opacity: 0;
    display: none;
  }

  .hover-effect:hover .hover-icon-text {
    opacity: 1;
    display: inline-block;
  }
}

@media screen and (max-width: 500px) {
  .discount-price {
    font-size: 11px;
  }

  .price {
    font-size: 9px;
  }

  .product-item-label {
    padding: 4px;
    font-size: 8px;
  }

  .slider-container .left-image,
  .slider-container .right-image {
    height: 27px;
    width: 27px;
    font-size:15px
  }
}

@media screen and (max-width: 800px) {
  .slider-container .left-image,
  .slider-container .right-image {
    height: 27px;
    width: 27px;
    font-size:15px;
  }
}


.tabby {
  padding-top: 10px;
}

.postPayDiv {
  padding-top: 10px;
  max-width: 720px;
}

.postpay-widget {
  border: 1px solid #d6d6d3;
  border-radius: 6px;
}

.disable-quick-action {
  pointer-events: none;
  opacity: 0.5;
}

#quotationSearch {
  position: absolute;
  z-index: 1;
  background-color: whitesmoke;
  width: 98.5%;
}

.vertical-product-slider {
  margin: 0 20px;
  flex: 1;
  flex-direction: column;
}

.vertical-product-up-icon {
  top: 0 !important;
  transform: translate(-50%, -50%) !important;
  left: 50% !important;
}

.vertical-product-down-icon {
  top: auto !important;
  transform: translate(-50%, 50%) !important;
  left: 50% !important;
  bottom: 0 !important;
}

.product-listing-attribute {
  max-height: 200px; 
  overflow-y: auto;
}

.product-listing-attribute::-webkit-scrollbar {
  width: 15px; 
}

.product-listing-attribute::-webkit-scrollbar-thumb {
  background-color: black;
}

.product-listing-attribute::-webkit-scrollbar-track {
  background-color: #e2e0e0; 
  border-radius: 4px;
}

/* Product List Attribute Container */
.product-listing-attribute {
  position: absolute;
  left: 10px;
  width: calc(100% - 10px);
  border-radius: 5px;
  padding: 5px;
}

.attribute-listing-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.attribute-text-list {
  background-color: rgba(255, 255, 255, 0.9); 
  padding: 10px 10px;
  text-align: center;
  border-radius: 5px;
  font-size: 15px;
  color: #000000;
  flex: 0 0 calc(23% - 8px); 
  max-width: calc(23% - 8px);
}

.attribute-text-list a {
  text-decoration: none;
  color: inherit;
  border-radius: 0px;
}

.hidden-attribute{
  opacity: 0;
  pointer-events: "none";
  transition: "opacity 2s ease-in-out";
}

@media (max-width: 768px) { 
  .attribute-listing-container {
    margin-top:10px;
    justify-content: center;
    gap: 8px; 
  }
  .attribute-text-list {
    flex: 0 0 calc(28% - 8px); 
    max-width: calc(28% - 8px);
    text-align: center;
  }
   
}