/* Discount code badges on product thumbnails */
.home-product-media {
    position: relative;
}
.product-coupon-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: calc(100% - 72px);
    pointer-events: none;
}
.product-coupon-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(24,20,18,.95), rgba(12,10,9,.96));
    border: 1px solid rgba(204, 158, 95, .95);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}
.product-coupon-badge__percent {
    color: #f2c98e;
    font-weight: 800;
    letter-spacing: .01em;
}
.product-coupon-badge__code {
    color: #fff;
    font-weight: 800;
    letter-spacing: .04em;
}
/* Move sale flag away from top-left badges */
.home-product-media:has(.product-coupon-badges) > .home-product-badge {
    top: auto;
    bottom: 10px;
    left: 10px;
}
/* Price row: old price first, new price second */
.home-product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.home-product-price-row del {
    color: #8d8d8d;
    font-size: 14px;
    font-weight: 600;
    text-decoration-thickness: 2px;
}
.home-product-price-row strong {
    color: #111827;
    font-size: 16px;
    font-weight: 800;
}
@media (max-width: 680px) {
    .product-coupon-badges {
        top: 8px;
        left: 8px;
        gap: 5px;
        max-width: calc(100% - 56px);
    }
    .product-coupon-badge {
        min-height: 24px;
        padding: 5px 8px;
        gap: 5px;
        font-size: 10px;
    }
    .home-product-price-row del {
        font-size: 13px;
    }
    .home-product-price-row strong {
        font-size: 15px;
    }
}
