/* GRID */
.dp-grid {
    display: grid;
    gap: 30px;
    padding: 20px 0;
}

/* ÜRÜN KARTI */
.dp-cat-card {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,.04);
    transition: all .25s ease;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.dp-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,.14);
}

/* RESİM */
.dp-cat-card img {
    width: 100%;
    border-radius: 14px;
    transition: transform .35s ease;
}
.dp-cat-card:hover img {
    transform: scale(1.07);
}

/* BAŞLIK */
.dp-title {
    margin: 10px 0 4px;
    font-size: 15px;
    font-weight: 600;
}

/* FİYAT */
.dp-price {
    font-size: 18px;
    font-weight: 700;
    color: #e6007e;
}

/* BADGE */
.dp-badge {
    background: #7a3cff;
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    border-radius: 20px;
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 10px;
}

/* FAVORİ */
.dp-fav-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.85);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    opacity: 0;
    transform: scale(.7);
    z-index: 2;
}
.dp-cat-card:hover .dp-fav-icon {
    opacity: 1;
    transform: scale(1);
}

.dp-heart {
    width: 18px;
    height: 18px;
    display: inline-block;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23aaa" ... />');
    background-size: cover;
}

/* FAVORİ AKTİF */
.dp-fav-icon.active .dp-heart {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ff3b6b" ... />');
    transform: scale(1.2);
}

/* FİYAT TREND */
.dp-price-change {
    color: #0bbf60;
    font-size: 13px;
    margin-top: 6px;
    opacity: 0;
    transform: translateY(10px);
    transition: all .25s ease-out;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.dp-cat-card:hover .dp-price-change {
    opacity: 1;
    transform: translateY(0);
}

.dp-price-change .arrow {
    font-weight: bold;
    margin-right: 4px;
    animation: arrowBounce 1s infinite alternate ease-in-out;
}

@keyframes arrowBounce {
    from { transform: translateY(-2px); }
    to   { transform: translateY(2px); }
}
