/* Shared storefront product card. */
.product-card.iw-product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid #e4e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
  min-width: 0;
  height: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.product-card.iw-product-card:hover { transform: translateY(-2px); border-color: #dec989; box-shadow: 0 10px 28px #2023290b; }
.product-card.iw-product-card .product-thumb {
  height: auto;
  aspect-ratio: 1.25;
  margin: 10px 10px 0;
  padding: 18px;
  border-radius: 11px;
  background: #f7f8fa;
  position: relative;
}
.product-card.iw-product-card .product-thumb img { object-fit: contain; mix-blend-mode: multiply; }
.product-card.iw-product-card:hover .product-thumb img { transform: scale(1.03); }
.product-card.iw-product-card .product-content { display: flex; flex-direction: column; flex: 1; padding: 16px; margin: 0; gap: 14px; }
.product-card.iw-product-card .product-before-content { display: flex; flex-direction: column; flex: 1; background: transparent; }
.iw-product-card__brand { color: #747b86; font-size: 10px; line-height: 16px; letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card.iw-product-card .product-content .title { display: block !important; font-size: 13px; line-height: 20px; font-weight: 500; height: 60px; margin: 0 0 12px; }
.product-card.iw-product-card .title a { -webkit-line-clamp: 3; line-clamp: 3; overflow-wrap: break-word; color: #283346; }
.product-card.iw-product-card .single_content__info { text-align: left; margin-top: auto; }
.product-card.iw-product-card .product-content .price { color: #202329; font-size: 16px; font-weight: 600; line-height: 24px; white-space: normal; overflow: visible; min-height: 24px; }
.product-card.iw-product-card .ratings-area { display: flex; align-items: center; gap: 5px; margin-top: 10px; }
.product-card.iw-product-card .ratings-area span { font-size: 11px; line-height: 18px; }
.product-card.iw-product-card .ratings { color: #a77900; }
.product-card.iw-product-card .rating-count { color: #747b86; }
.product-card.iw-product-card .add-to-cart-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: auto 0 0; width: 100%; min-height: 40px; padding: 9px 8px;
  border: 1px solid #ecd99a; border-radius: 9px;
  background: #fff9e9; color: #594515; font-size: 12px; font-weight: 600; line-height: 20px;
}
.product-card.iw-product-card .add-to-cart-btn i { color: #a57900; font-size: 17px; }
.product-card.iw-product-card .add-to-cart-btn:hover { background: #f8c100; border-color: #f8c100; color: #202329; }
.product-card.iw-product-card .add-to-cart-btn:hover i { color: #202329; }
.product-card.iw-product-card :is(a,button):focus-visible { outline: 2px solid #ab8000; outline-offset: 3px; }
.product-card.iw-product-card .product-card-buttons { top: 8px; right: 8px; z-index: 2; }
.product-card.iw-product-card .single_content { display: none; }
.top-selling-products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.list-view-active .product-card.iw-product-card { flex-direction: row; }
.list-view-active .product-card.iw-product-card .product-thumb { width: 220px; flex: 0 0 220px; }
.list-view-active .product-card.iw-product-card .product-content { flex: 1; }
.list-view-active .product-card.iw-product-card .add-to-cart-btn { max-width: 220px; }
@media(max-width:991px) { .top-selling-products { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:575px) {
  .product-card.iw-product-card .product-thumb { padding: 12px; }
  .product-card.iw-product-card .product-content { padding: 12px; gap: 12px; }
  .product-card.iw-product-card .product-content .title { font-size: 12px; line-height: 18px; height: 54px; margin-bottom: 10px; }
  .product-card.iw-product-card .product-content .price { font-size: 14px; line-height: 21px; min-height: 21px; }
  .product-card.iw-product-card .add-to-cart-btn { font-size: 12px; }
  .top-selling-products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .list-view-active .product-card.iw-product-card .product-thumb { width: 110px; flex-basis: 110px; }
}
@media(prefers-reduced-motion:reduce) { .product-card.iw-product-card, .product-card.iw-product-card img { transition: none; } .product-card.iw-product-card:hover { transform: none; } }


.product-card.iw-product-card .price del { color: #8b94a3; font-size: 12px; font-weight: 400; }
.list-view-active .product-card.iw-product-card .product-thumb { margin: 10px; }
.list-view-active .product-card.iw-product-card .product-content .title { height: auto; min-height: 40px; }

.product-card.iw-product-card .iw-card-rating { gap: 7px; min-height: 22px; flex-wrap: wrap; }
.product-card.iw-product-card .iw-rating-stars { display: inline-flex; gap: 2px; line-height: 1; }
.iw-rating-star { display: inline-block; position: relative; width: 15px; height: 15px; }
.iw-rating-star > svg { width: 15px; height: 15px; fill: #d8dee7; display: block; }
.iw-rating-star-fill { position: absolute; left: 0; top: 0; height: 15px; overflow: hidden; }
.iw-rating-star-fill svg { width: 15px; height: 15px; max-width: none; fill: #dba000; display: block; }
.product-card.iw-product-card .iw-rating-value { font-size: 12px; font-weight: 600; color: #344054; }
.product-card.iw-product-card .iw-card-rating .rating-count { font-size: 11px; color: #7b8493; }
@media(max-width:575px) { .product-card.iw-product-card .iw-rating-empty { flex-basis: 100%; } }

