﻿.pagination-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding-left: 0;
    gap: 8px; /* Sayfa numaraları arasına boşluk ekler */
}

/* İndirim Rozeti Stilleri */
.badge-item.discount {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 12px rgba(231, 76, 60, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: discount-pulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.badge-item.discount::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: discount-shine 2s infinite;
}

.badge-item.new {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    font-weight: 600;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-box {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: calc(100% - 24px);
}

.badge-box .badge-item {
    display: block;
    width: fit-content;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

/* Animasyonlar */
@keyframes discount-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 12px rgba(231, 76, 60, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(231, 76, 60, 0.6);
    }
}

@keyframes discount-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Hover efekti */
.card_product-wrapper:hover .badge-item.discount {
    animation-duration: 1.5s;
    transform: scale(1.1);
}

/* Kategoriye özel indirim rozeti renkleri */
.badge-item.discount.category-jewelry {
    background: linear-gradient(135deg, #8e44ad 0%, #732d91 100%);
}

.badge-item.discount.category-flowers {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.badge-item.discount.category-accessories {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .badge-box {
        top: 8px;
        left: 8px;
    }
    
    .badge-item.discount,
    .badge-item.new {
        font-size: 10px;
        padding: 3px 6px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .badge-item.discount,
    .badge-item.new {
        font-size: 9px;
        padding: 2px 5px;
    }
}

/* Özel indirim yüzdelerine göre renkler */
.badge-item.discount[data-discount="high"] {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
}

.badge-item.discount[data-discount="medium"] {
    background: linear-gradient(135deg, #f57c00 0%, #e65100 100%);
}

.badge-item.discount[data-discount="low"] {
    background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
}