/* Sayfa stili */
.wishlist-page {
    padding: 40px 0;
}

/* Grid düzeni */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Desktop için 3 sütun */
    gap: 2rem;
    margin: 2rem 0;
}

/* Tablet için 2 sütun */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobil için 1 sütun */
@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Ürün kartı stilleri */
.products-grid .product-card {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.products-grid .product-card .product-image {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
}

.products-grid .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.products-grid .product-card .product-content {
    padding: 0 1rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.products-grid .product-card .product-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1rem;
}

.products-grid .product-card .info-left {
    flex: 1;
}

.products-grid .product-card .info-right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.products-grid .product-card .product-title {
    margin: 0 0 0.15rem 0;
    font-size: 1rem;
    line-height: 1.4;
}

.products-grid .product-card .product-badges {
    margin-top: 0.15rem;
}

.products-grid .product-card .product-price {
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

/* Boş favori listesi */
.empty-wishlist {
    text-align: center;
    padding: 4rem 1rem;
}

.empty-wishlist svg {
    width: 64px;
    height: 64px;
    fill: #666;
    margin-bottom: 1rem;
}

.empty-wishlist h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.empty-wishlist p {
    color: #666;
    margin-bottom: 1.5rem;
}

.empty-wishlist .button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
}

.empty-wishlist .button:hover {
    background: var(--primary-accent-dark);
}

/* Boş favori listesi mesajı */
.no-products {
    text-align: center;
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 500px;
    font-size: 1.1rem;
    color: var(--primary-accent);
    font-weight: 500;
}

.no-products::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem auto;
    background-image: url('../assets/icons/empty-heart.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: pulse 2s infinite;
}

/* Kalp animasyonu */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mobil için düzenleme */
@media (max-width: 768px) {
    .no-products {
        margin: 1rem;
        padding: 2rem 1rem;
    }
}