.product-card{background:#fff;border:1px solid #d9d9d9;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;transition:border-color .3s ease;text-decoration:none;color:inherit;position:relative}
.product-card:hover{border-color:var(--main-color)}
.product-card:hover .product-card__title{color:var(--main-color)}
.product-card__gallery{display: flex;justify-content: center;position:relative;width:100%;aspect-ratio:1 / 1;background:#f9f9f9;overflow:hidden;flex:0 0 auto;border-radius:20px 20px 0 0}
.product-card__gallery img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:opacity .4s ease,transform .5s ease}
.product-card__gallery .gallery-img-second{opacity:0;z-index:2}
.product-card:hover .product-card__gallery .gallery-img-first{opacity:0}
.product-card:hover .product-card__gallery .gallery-img-second{opacity:1;transform:scale(1.05)}
.product-card__gallery.single-img:hover .gallery-img-first,.product-card:hover .product-card__gallery.single-img .gallery-img-first{opacity:1;transform:scale(1.05)}
.product-card__discount-badge{position:absolute;top:10px;left:10px;z-index:5;background:#e63946;color:#fff;font-size:12px;font-weight:700;padding:4px 10px;border-radius:20px;line-height:1.4}
.product-card__body{padding:10px 12px 12px;display:grid;grid-template-rows:21px 45px 14px 44px 24px;row-gap:0;flex:1 1 auto;align-content:start}
.product-card__category{display:inline-flex;font-size:11px;color:#505049;line-height:15px;height:21px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:300;justify-content:flex-start;align-content:center;align-items:baseline;gap:5px}
.product-card__title{font-size:15px;font-weight:500;color:#1D1D1B;line-height:25px;height:45px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .3s ease}
.product-card__stock{font-size:11px;color:#505049;font-weight:300;text-align:left;line-height:14px;height:14px;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.product-card__price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;height:44px}
.product-card__price-box{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;align-items:flex-start}
.product-card__price{font-size:16px;font-weight:500;color:#505049;line-height:20px;height:20px;display:flex;align-items:center;gap:3px;justify-content:flex-start}
.product-card__price svg{width:16px;height:16px;fill:#505049;flex-shrink:0}
.product-card__old-price{font-size:13px;font-weight:500;color:#c0c2c5;text-decoration:line-through;line-height:12px;height:12px;order:2}
.product-card__price--unavailable{color:#8F9192!important;font-weight:500;font-size:16px}
.product-card__cart-btn{width:40px;height:40px;border-radius:50%;background:transparent;color:var(--main-color);display:flex;align-items:center;justify-content:center;border:1.5px solid var(--main-color);cursor:pointer;flex-shrink:0;transition:background .25s ease,transform .25s ease,color .25s ease;padding:0}
.product-card__cart-btn:hover{background:var(--main-color);color:#fff;transform:scale(1.08)}
.product-card__cart-btn svg{width:16px;height:16px;stroke:currentColor}
.product-card__cart-btn--disabled{border-color:#8F9192;color:#8F9192;cursor:not-allowed;pointer-events:none}
.product-card__timer{display:flex;direction:ltr;align-items:center;justify-content:center;gap:4px;background:#fff0f0;border:1px solid #ffd6d6;border-radius:6px;padding:0 6px;height:24px;font-size:15px;color:#e63946;font-weight:700;font-variant-numeric:tabular-nums}
.product-card__timer--empty{visibility:hidden}
.product-card__timer svg{width:15px;height:15px;stroke:#e63946;flex-shrink:0}
@media (max-width: 991px) {
    .product-card__body{padding:8px 10px 10px;grid-template-rows:21px 45px 14px 40px 22px}
    .product-card__category span{font-size:11px}
    .product-card__title{font-size:14px}
    .product-card__price-row{height:40px}
    .product-card__cart-btn{width:34px;height:34px}
    .product-card__cart-btn svg{width:14px;height:14px}
    .product-card__timer{height:22px;font-size:10px}
    .product-card__discount-badge{font-size:11px;padding:3px 8px}
}
@media (max-width: 576px) {
    .product-card__gallery{
        width: 120px;
        min-width: 120px;
    }
    .product-card{
        flex-direction: row;
    }
}