/* ASTELLA ÜRÜN GALERİSİ - YENİ TASARIM */

.astella-product-card {
    position: relative;
    background: #fff;
    border: 1px solid #e7e7e7;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.astella-product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #ccc;
}

.astella-product-media {
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f8f8f8;
}

.astella-product-link {
    display: block;
    position: relative;
    text-decoration: none;
}

.astella-product-code {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,255,255,0.9);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    border-radius: 3px;
}

/* RESIM GALERİSİ */
.astella-image-gallery {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.astella-gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.astella-gallery-img.active {
    opacity: 1;
    pointer-events: auto;
}

/* ETIKETLER */
.astella-product-labels {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.astella-label {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    text-align: center;
}

.astella-label-outofstock {
    background: #e74c3c;
    color: #fff;
}

.astella-label-discount {
    background: #27ae60;
    color: #fff;
}

/* ÜRÜN DETAYLARI */
.astella-product-details {
    padding: 15px;
}

.astella-product-title {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.astella-product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.astella-product-title a:hover {
    color: #e74c3c;
}

/* YILDIZLAR */
.astella-product-rating {
    margin-bottom: 10px;
}

.astella-stars {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 14px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><path fill="%23ddd" d="M7 0l1.545 4.755h5l-4.045 2.94 1.545 4.755L7 9.51 2.955 12.45l1.545-4.755L.455 4.755h5z"/></svg>') repeat-x;
    background-size: 14px;
}

.astella-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><path fill="%23ffc107" d="M7 0l1.545 4.755h5l-4.045 2.94 1.545 4.755L7 9.51 2.955 12.45l1.545-4.755L.455 4.755h5z"/></svg>') repeat-x;
    background-size: 14px;
}

/* FİYAT */
.astella-product-price-container {
    margin-bottom: 12px;
}

.astella-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
}

/* BUTONLAR */
.astella-product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.astella-btn-wishlist {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #666;
    transition: all 0.3s;
    text-decoration: none;
}

.astella-btn-wishlist:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

.astella-btn-details {
    flex: 1;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
    text-decoration: none;
}

.astella-btn-details:hover {
    background: #e74c3c;
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .astella-image-gallery {
        height: 220px;
    }
    
    .astella-product-title {
        font-size: 13px;
    }
    
    .astella-product-price {
        font-size: 16px;
    }
}
