/* Product cards (product-card.js): Shop page, Today's Special, "you may also like", wishlist. */
.fs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fs-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199px) { .fs-cards, .fs-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .fs-cards, .fs-cards--4 { grid-template-columns: minmax(0, 1fr); } }
.fs-cards [hidden] { display: none !important; }

/* the card: photo runs edge to edge at the top, details underneath */
.fs-cards .shop-list-inner { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; height: 100%; margin: 0; padding: 0; overflow: hidden; background: #fff; border: 1px solid #eee6d2; border-radius: 20px; text-align: left; box-shadow: 0 2px 12px rgba(30, 29, 35, .06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.fs-cards .shop-list-inner:hover { transform: translateY(-4px); border-color: #e4d9b8; box-shadow: 0 16px 36px rgba(30, 29, 35, .13); }

.fs-cards .thumb { position: relative; display: block; flex: none; width: 100%; aspect-ratio: 3 / 2; padding: 0; overflow: hidden; background: #f3efe3; }
.fs-cards .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.fs-cards .shop-list-inner:hover .thumb img { transform: scale(1.06); }
.fs-cards .thumb .sale-badge { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: #ED1C27; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; box-shadow: 0 4px 10px rgba(237, 28, 39, .35); }
.fs-cards .thumb .fs-heart { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #E64103; font-size: 15px; cursor: pointer; box-shadow: 0 3px 10px rgba(0, 0, 0, .16); transition: background .2s, color .2s, transform .2s; }
.fs-cards .thumb .fs-heart[hidden] { display: none; }
.fs-cards .thumb .fs-heart:hover { transform: scale(1.08); }
.fs-cards .thumb .fs-heart:hover, .fs-cards .thumb .fs-heart.is-saved { background: #E64103; color: #fff; }

.fs-cards .content { position: relative; display: flex; flex: 1 1 auto; flex-direction: column; width: 100%; margin: 0; padding: 14px 16px 16px; }
.fs-cards .content .cat-label { margin-bottom: 4px; overflow: hidden; color: #0B7A3B; font-size: 11.5px; font-weight: 800; letter-spacing: .8px; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.fs-cards .content .title { display: -webkit-box; margin: 0 0 4px; overflow: hidden; color: #1E1D23; font-size: 18px; font-weight: 700; line-height: 1.25; text-align: left; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fs-cards .content .desc { display: -webkit-box; margin: 0 0 12px; overflow: hidden; color: #7b7a72; font-size: 13px; line-height: 1.45; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.fs-cards .content .desc:empty { display: none; }

.fs-cards .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.fs-cards .card-foot .price-row { display: flex; flex-flow: row wrap; align-items: baseline; gap: 2px 8px; margin: 0; line-height: 1.1; }
.fs-cards .card-foot .price { color: #1E1D23; font-family: "Signika", sans-serif; font-size: 22px; font-weight: 700; white-space: nowrap; }
.fs-cards .card-foot .old-price { order: 2; color: #9a988e; font-size: 13px; text-decoration: line-through; }

.fs-cards .qty-wrap { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 6px; margin: 0; padding: 0; }
.fs-cards .add-cart-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 0; height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: #FFC222; color: #1E1D23; font-size: 14px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.fs-cards .add-cart-btn span { margin-left: 6px; font-size: 18px; font-weight: 700; line-height: 1; }
.fs-cards .add-cart-btn:hover { background: #0B7A3B; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 16px rgba(11, 122, 59, .3); }
.fs-cards .add-cart-btn[hidden] { display: none; }
.fs-cards .qty-stepper { display: inline-flex; align-items: center; justify-content: space-between; min-width: 100px; height: 38px; padding: 0 4px; border-radius: 999px; background: #0B7A3B; color: #fff; }
.fs-cards .qty-stepper[hidden] { display: none; }
.fs-cards .qty-stepper button { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; font-size: 18px; line-height: 1; cursor: pointer; transition: background .2s; }
.fs-cards .qty-stepper button:hover { background: rgba(255, 255, 255, .2); }
.fs-cards .qty-val { min-width: 24px; color: #fff; font-size: 15px; font-weight: 700; text-align: center; }
.fs-cards .qty-cart, .fs-cards .qty-size { display: none; }
.fs-cards .is-unavailable .thumb img { filter: grayscale(.7); opacity: .7; }
.fs-cards .sold-out-label { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: #efe9d8; color: #8a897f; font-size: 13px; font-weight: 800; white-space: nowrap; }
