/* ─── İndirim yüzdesi rozeti (%25) ─── */
.df-price-row { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: nowrap; }
.df-price-stack { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.df-price-stack .old-price { text-decoration: line-through; opacity: .6; font-weight: 600; font-size: .82em; margin: 0 !important; }
.df-price-stack .current-price { font-weight: 800; }
.df-discount-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: #111; color: #fff; font-weight: 800; letter-spacing: -.2px;
    font-variant-numeric: tabular-nums; line-height: 1; border-radius: 2px; flex-shrink: 0;
    white-space: nowrap;
}
.df-discount-badge--sm { min-width: 38px; height: 34px; padding: 0 6px; font-size: .82rem; }
.df-discount-badge--md { min-width: 44px; height: 38px; padding: 0 8px; font-size: .92rem; }
.df-discount-badge--lg { min-width: 54px; height: 46px; padding: 0 10px; font-size: 1.08rem; }
@media (max-width: 480px) {
    .df-price-row { gap: 6px; }
    .df-discount-badge--sm { min-width: 32px; height: 30px; font-size: .72rem; padding: 0 5px; }
}

/* ─── Sayfalı ürün listeleri: satırlar hep dolu, son sayfadaki eksik satır ortalanır ─── */
.product-grid.product-grid--paged {
    --pg-cols: 5; --pg-gap: 24px;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: var(--pg-gap) !important;
    grid-template-columns: none !important;
}
.product-grid.product-grid--paged > .product-card {
    flex: 0 0 calc((100% - (var(--pg-cols) - 1) * var(--pg-gap)) / var(--pg-cols));
    max-width: calc((100% - (var(--pg-cols) - 1) * var(--pg-gap)) / var(--pg-cols));
    min-width: 0;
}
.product-grid.product-grid--paged > p,
.product-grid.product-grid--paged > div:not(.product-card) { flex: 1 0 100%; text-align: center; }
@media (max-width: 1300px) { .product-grid.product-grid--paged { --pg-cols: 4; --pg-gap: 20px; } }
@media (max-width: 1024px) { .product-grid.product-grid--paged { --pg-cols: 3; --pg-gap: 16px; } }
@media (max-width: 768px)  { .product-grid.product-grid--paged { --pg-cols: 2; --pg-gap: 10px; } }
@media (max-width: 480px)  { .product-grid.product-grid--paged { --pg-cols: 2; --pg-gap: 8px; } }

/* ─── Ürün kartı: görsel bağlantısı + üstteki butonlar (butonlar artık linkin dışında) ─── */
.product-card-image > .product-card-image-link { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-decoration: none; color: inherit; z-index: 1; }
.product-card-image > .product-card-image-link img { width: 100%; height: 100%; object-fit: cover; }
.product-card-image > .product-cart-overlay { z-index: 3; }
.btn-add-wishlist { transition: transform .2s ease, color .2s ease, background .2s ease; }
.btn-add-wishlist.is-pulsing { animation: dfHeartPop .45s cubic-bezier(.22,1,.36,1); }
@keyframes dfHeartPop { 0% { transform: scale(1); } 35% { transform: scale(1.32); } 100% { transform: scale(1); } }
.btn-add-cart.is-loading, .btn-add-wishlist.is-loading { opacity: .75; pointer-events: none; }
.btn-add-cart.is-added { background: #4a7c59 !important; color: #fff !important; }
