.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  z-index: 0;
}

.product-card {
  min-height: 25rem;
}

.card-wrapper {
  color: inherit;
  position: relative;
  text-decoration: none;
}

.card .card__inner {
  position: relative;
  background-color: rgba(var(--color-page-background));
  border-radius: 0 !important;
  border: 1px solid #eaecf0;
}

.product-card .card__inner {
  background-color: #f4f7fa;
}

.card .card__media_box {
  position: absolute;
  bottom: 0;
  top: 0;
  right: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
  background-color: rgb(var(--color-image-background));
}

.card .card__media_box > img {
  height: 100%;
  object-fit: var(--image-fill-type, cover);
  object-position: var(--image-object-position, center center);
  width: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.card .card__media_box > img.blur-image {
  object-fit: fill !important;
  opacity: 0.25;
  filter: blur(4px);
  -webkit-filter: blur(4px);
  z-index: 0;
}

.card .card__media_box > .placeholder {
  width: 100%;
  height: 100%;
  background-color: rgb(var(--color-image-background));
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .card__media_box.media--hover-effect > img + img {
  /* opacity: 0; */
}

.card__tags {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 15px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.card__tag {
  font-weight: 600;
  font-size: 11px;
  color: #00B67A;
  background-color: #daeeeb;
  padding: 1px 5px;
}

.card__tag-gold {
  color: #ffffff;
  background-color: #bfa475;
  border-radius: 1px;
}

.card__tag-pdp {
  display: inline-block;
  margin-top: 0px;
  transform: translateY(-2px);
  margin-bottom: 15px;
}

.product-card .card__media {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 70%;
}

.product-card .card__media > img {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  object-fit: contain;
  object-position: bottom;
}

.card .card__badge:not(:empty) {
  position: absolute;
  padding: 4px 12px;
  background-color: rgb(
    var(--card-badge-bg, var(--color-discount-tag-background))
  );
  color: rgb(var(--card-badge-text-color, var(--color-discount-tag-text)));
  border-radius: var(--badge-border-radius);
}

.card .card__badge.sold-out-message {
  --card-badge-text-color: var(--color-page-background);
  --card-badge-bg: var(--color-text);
}

.card .card__badge.left_top {
  top: 20px;
  left: 20px;
}

.card .card__badge.left_bottom {
  bottom: 20px;
  left: 20px;
}

.card .card__badge.right_top {
  top: 20px;
  right: 20px;
}

.card .card__badge.right_bottom {
  bottom: 20px;
  right: 20px;
}

@media (max-width: 959px) {
  .card .card__badge.left_top {
    top: 10px;
    left: 10px;
  }
  .card .card__badge.left_bottom {
    bottom: 10px;
    left: 10px;
  }
  .card .card__badge.right_top {
    top: 10px;
    right: 10px;
  }
  .card .card__badge.right_bottom {
    bottom: 10px;
    right: 10px;
  }

  .product-card .card__inner {
    min-height: 25rem;
  }

  .product-card .card__media {
    top: 40%;
    left: 30%;
  }
}

.card .card__content {
  margin-top: 8px;
  margin-bottom: 5px;
  font-size: 15px;
}

.card .card__content .product__title {
  margin: 0;
  margin-bottom: 8px;
  font-size: 12px;
  font-family: century-gothic-regular;
}

.card .card__content .product__price {
  margin-bottom: 3px;
}

.card .card__content .product__price * {
  font-size: 16px;
  letter-spacing: 0;
}

.card .card__content .product__price .price + div {
  display: none !important;
}

.product-card-link {
  margin-bottom: 53px;
}

.product-card-link .quick-add {
  left: 50%;
  transform: translateX(-50%);
  right: auto !important;
  padding: 0 !important;
  bottom: 20%;
  white-space: nowrap;
  display: none;
}

.product-card-link:hover .quick-add {
  display: block;
}

.product-card-link .quick-add .icon {
  display: none;
}

.product-card-link .quick-add__submit {
  border-radius: 0 !important;
  padding: 13px 26px !important;
  width: auto !important;
  height: auto !important;
  font-weight: 600;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.28) !important;
  color: #ffffff !important;
  letter-spacing: 1px;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.94);
}

.product-card-link .quick-add__submit::before {
  content: "QUICK ADD";
}

.card .card__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #D0D5DD;
  height: 53px;
  position: absolute;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

.card .card__info > * {
  height: 100%;
}

.card .card__info .price + div{
  width: auto !important;
  height: 100%;
}

.card .card__info .card__media + button{
  position: relative !important;
  right: unset !important;
  bottom: unset !important;
}

.card .card__info .card__media,
.card .card__info .price {
  display: none;
}

.card .card__info .product-plugin-comment-rate-star > div:last-child {
  display: none;
}

.card .card__info .product-plugin-comment-rate-star {
  border-left: 1px solid #D0D5DD;
  height: 100% !important;
  margin: 0 !important;
  justify-content: center !important;
}

.card .card__info .card__info-stock {
  padding: 16px 20px;
}

.card__info-stock .low-stock,
.card__info-stock .in-stock,
.card__info-stock .out-stock {
  display: inline-flex;
  align-items: center;
  translate: 0px -1px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.card__info-stock .low-stock::before,
.card__info-stock .in-stock::before,
.card__info-stock .out-stock::before {
  --icon-size: 10px;
  content: "";
  display: block;
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  background-color: currentColor;
  margin: calc((1em * var(--body-line-height) - var(--icon-size)) / 2) 0;
  margin-right: 8px;
  flex-shrink: 0;
  border: 1px solid #ffffff;
}
.card__info-stock .low-stock::before {
  background-color: #fe9e0f;
  box-shadow: 0px 0px 2px #fe9e0f;
}
.card__info-stock .in-stock::before {
  background-color: #35c08e;
  box-shadow: 0px 0px 2px #35c08e;
}
.card__info-stock .out-stock::before {
  color: #f86140;
  box-shadow: 0px 0px 2px #f86140;
}

.card .card__info .card__info-rating {
  flex-grow: 1;
  width: 64px;
}
.card .card__info .card__info-wish {
  padding: 0;
  border-left: 1px solid #D0D5DD;
}

.card .card__info .card__info-wish > button {
  height: 100%;
  padding: 0 17px;
}

@media (max-width: 749px) {
  .filter-plugin-con.left-position + div {
    padding-left: 0;
  }
  .collection > .grid {
    gap: 10px;
  }
}

.collection > .grid {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 1419px) {

  .product-card-link {
    margin-bottom: 40px;
  }

  .card .card__info {
    height: 40px;
  }

  .card__info-stock .low-stock,
  .card__info-stock .in-stock,
  .card__info-stock .out-stock {
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  .card .card__info .card__info-stock {
    padding: 10px 16px;
  }

  .card .card__info .product-plugin-comment-rate-star > div {
    transform: scale(0.5, 0.5);
    margin-top: 3px;
  }

  .card .card__info .card__info-wish > button {
    padding: 0 13px;
  }
}

@media (max-width: 1194px) {
  .card__info-stock .low-stock span,
  .card__info-stock .in-stock span,
  .card__info-stock .out-stock span {
    display: none;
  }
  .card .card__info .card__info-stock {
    width: 42px;
  }
}

@media (max-width: 387px) {
  .product-card-link {
    margin-bottom: 30px;
  }

  .card .card__info {
    height: 30px;
  }

  .card .card__info .card__info-stock {
    padding: 5px 12px;
  }

  .card .card__info .card__info-stock {
    width: 34px;
  }

  .card .card__info .card__info-wish > button {
    padding: 0 8px;
  }
}

product-recommendations .card .card__info .card__info-wish {
  border: none;
}

product-recommendations .product-card-wrapper {
  border: 1px solid #D0D5DD;
}

.product-recommendations {
  background-color: #fff;
  margin-top: 80px;
}

.product-card .card__content {
  position: absolute;
  margin: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.product-card .card__content h3.product__title, .product-card .card__content p {
  margin: 0;
}

.product-card .card__content a {
  background-color: #0A2749;
  color: #fff;
  padding: 1rem 3rem;
}

.product-card .card__content a:hover {
  opacity: 0.8;
}

.product-card .card__content {
  position: absolute;
  margin: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.product-card .card__content h3.product__title, .product-card .card__content p {
  margin: 0;
}

.product-card .card__content a {
  background-color: #0A2749;
  color: #fff;
  padding: 1rem 3rem;
  font-family: 'century-gothic-bold';
}

.card .quick-add {
  position: absolute;
  right: 0;
  padding: 15px;
}

@media (max-width: 959px) {
  .card .quick-add {
    padding: 10px;
  }
}

.card .quick-add__submit {
  border-radius: 50px;
  padding: 2px;
  width: 40px;
  height: 40px;
  background-color: rgb(var(--color-button-secondary-background));
  color: rgb(var(--color-button-secondary-text));
  border: 1px solid rgb(var(--color-button-secondary-border));
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.card .quick-add__submit .icon-cart {
  width: 14px;
  height: 16px;
}

.card .quick-add__submit.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.card .quick-add__submit.loading > .icon-cart {
  display: none;
}

@media (min-width: 960px) {
  .card:hover
    .card__media_box.media--hover-effect
    > img:first-child:not(:only-child) {
    opacity: 0.3;
  }

  .hover-effect-container .hover-effect-target,
  .card .card__media_box.media--hover-effect > img:only-child,
  .card:hover .card__media_box.media--hover-effect > img + img {
    --duration-long: 400ms;
    transition: transform var(--duration-long) ease;
  }

  .hover-effect-container:hover .hover-effect-target,
  .card:hover .card__media_box.media--hover-effect > img:only-child,
  .card:hover .card__media_box.media--hover-effect > img + img {
    opacity: 1;
    transform: scale(1.1);
  }
}

.display-1-row,
.display-2-rows {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  padding-right: 4px;
  -webkit-box-orient: vertical;
}

.display-1-row {
  -webkit-line-clamp: 1;
}

.display-2-rows {
  -webkit-line-clamp: 2;
}

.product-card-wrapper {
  background-color: #fff;
}

.product-card-wrapper .card__content {
  padding: 10px 15px;
  margin-top: 4px;
}

@media (max-width: 426px) {
  .product-card-wrapper .card__content {
    padding: 10px;
  }
}
/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */
