/**
 * Frontend Stil Dosyası
 * WhatsApp Ürün Stok Takip
 */

/* ================================
   CSS Variables - Tema Uyumlu
================================ */
:root {
    /* Tema Renkleri */
    --wust-primary: var(--color-primary, #0d47a1);
    --wust-primary-light: var(--color-primary-light, #1976d2);
    --wust-primary-dark: var(--color-primary-dark, #01579b);
    --wust-secondary: var(--color-secondary, #1565c0);
    --wust-secondary-light: var(--color-secondary-light, #42a5f5);
    --wust-accent: var(--color-accent, #00ACC1);
    
    /* WhatsApp Rengi */
    --wust-whatsapp: #25D366;
    --wust-whatsapp-dark: #20ba5a;
    
    /* Durum Renkleri */
    --wust-success: var(--color-accent, #00ACC1);
    --wust-warning: var(--color-primary, #ffc107);
    --wust-danger: #dc3545;
    
    /* Nötr Renkler */
    --wust-dark: var(--color-dark, #1a1a1a);
    --wust-gray: var(--color-gray, #6b7280);
    --wust-light: var(--color-light, #f9fafb);
    --wust-white: var(--color-white, #ffffff);
    
    /* Gradient'ler */
    --wust-gradient-primary: var(--gradient-primary, linear-gradient(135deg, #0d47a1 0%, #1565c0 100%));
    --wust-gradient-card: var(--gradient-card, linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%));
    
    /* Shadow'lar */
    --wust-shadow-sm: var(--shadow-sm, 0 2px 4px 0 rgba(13, 71, 161, 0.1));
    --wust-shadow-md: var(--shadow-md, 0 4px 12px -1px rgba(13, 71, 161, 0.15));
    --wust-shadow-lg: var(--shadow-lg, 0 10px 20px -3px rgba(13, 71, 161, 0.2));
    --wust-shadow-glow: var(--shadow-glow, 0 0 25px rgba(13, 71, 161, 0.4));
}

/* ================================
   Genel Stiller
================================ */
.wust-single-product {
    margin-bottom: 40px;
}

.wust-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--wust-gray);
    margin-bottom: 12px;
}

.wust-breadcrumb a {
    color: var(--wust-primary);
    text-decoration: none;
    font-weight: 600;
}

.wust-breadcrumb a:hover {
    color: var(--wust-primary-dark);
    text-decoration: underline;
}

.wust-breadcrumb-sep {
    color: var(--wust-gray);
    padding: 0 2px;
}

.wust-breadcrumb-current {
    color: var(--wust-dark);
    font-weight: 600;
}

.wust-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0;
    padding: 6px;
    background: var(--wust-gradient-card);
    border-radius: 4px;
    box-shadow: var(--wust-shadow-sm);
}

.wust-product-meta > div {
    font-size: 10px;
}

.wust-product-meta .dashicons {
    font-size: 12px;
    width: 12px;
    height: 12px;
}

.wust-meta-label {
    color: var(--wust-gray);
    font-weight: 600;
}

/* ================================
   Ürün Layout
================================ */
.wust-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

/* Single Ürün Sayfası - Sidebar ile */
.wust-single-container .wust-product-layout {
    display: block;
}

.wust-single-container .wust-product-image {
    margin-bottom: 30px;
}

.wust-single-container .wust-product-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.wust-single-container .wust-product-info {
    width: 100%;
}

@media (max-width: 768px) {
    .wust-product-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.wust-product-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--wust-shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wust-no-lightbox {
    pointer-events: none;
}

.wust-product-image img:hover {
    transform: translateY(-5px);
    box-shadow: var(--wust-shadow-glow);
}

.wust-product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wust-product-description {
    font-size: 16px;
    line-height: 1.8;
}

/* ================================
   Ürün Özellikleri
================================ */
.wust-product-specs {
    background: var(--wust-gradient-card);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--wust-shadow-sm);
}

.wust-product-specs h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

.wust-product-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wust-product-specs ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(13, 71, 161, 0.1);
}

.wust-product-specs ul li:last-child {
    border-bottom: none;
}

/* ================================
   WhatsApp Butonu
================================ */
.wust-whatsapp-container {
    background: var(--wust-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--wust-shadow-md);
    border: 2px solid rgba(13, 71, 161, 0.1);
}

.wust-stok-bilgi {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.wust-stok-bilgi.stok-var {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    color: #006064;
    border: 2px solid var(--wust-accent);
    box-shadow: 0 0 15px rgba(0, 172, 193, 0.2);
}

.wust-stok-bilgi.stok-yok {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #b71c1c;
    border: 2px solid var(--wust-danger);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.2);
}

.wust-stok-icon {
    font-weight: bold;
    font-size: 18px;
}

.wust-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--wust-whatsapp);
    color: var(--wust-white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.wust-whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.wust-whatsapp-button:hover::before {
    left: 100%;
}

.wust-whatsapp-button:hover {
    background: var(--wust-whatsapp-dark);
    color: var(--wust-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

.wust-whatsapp-button.wust-button-unavailable {
    background: var(--wust-gray);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.wust-whatsapp-button.wust-button-unavailable:hover {
    background: #5a6268;
    box-shadow: 0 6px 16px rgba(108, 117, 125, 0.4);
}

.wust-whatsapp-icon {
    width: 20px;
    height: 20px;
}

.wust-whatsapp-info {
    margin-top: 15px;
    text-align: center;
    color: #6c757d;
}

/* ================================
   QR Kod
================================ */
.wust-qr-code-container {
    background: var(--wust-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--wust-shadow-md);
    border: 2px solid rgba(13, 71, 161, 0.1);
    text-align: center;
}

.wust-qr-code-container h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
}

.wust-qr-code-image {
    margin: 15px 0;
}

.wust-qr-code-image img {
    border: 2px solid var(--wust-primary-light);
    border-radius: 8px;
    box-shadow: var(--wust-shadow-sm);
}

.wust-qr-code-info,
.wust-qr-code-download {
    margin-top: 10px;
}

/* ================================
   Ürün Grid (Arşiv Sayfası)
================================ */
/* Eski filtre sistemi kaldırıldı - Yeni sidebar sistemi kullanılıyor */

/* ================================
   Shop Layout - Sidebar + Grid
================================ */
.wust-shop-container {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    align-items: flex-start;
}

/* Sidebar - Sol Filtreler */
.wust-shop-sidebar {
    flex: 0 0 280px;
    max-width: 280px;
    position: sticky;
    top: 100px;
}

.wust-sidebar-toggle {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: var(--wust-primary);
    color: var(--wust-white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--wust-shadow-md);
    transition: all 0.3s ease;
}

.wust-sidebar-toggle:hover {
    background: var(--wust-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--wust-shadow-lg);
}

.wust-toggle-icon {
    font-size: 20px;
}

.wust-sidebar-content {
    background: var(--wust-white);
    border-radius: 12px;
    box-shadow: var(--wust-shadow-md);
    overflow: hidden;
    border: 2px solid rgba(13, 71, 161, 0.1);
}

.wust-filter-section {
    border-bottom: 2px solid rgba(13, 71, 161, 0.08);
}

.wust-filter-section:last-child {
    border-bottom: none;
}

.wust-filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--wust-primary);
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    cursor: pointer;
    user-select: none;
}

.wust-filter-toggle {
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    color: var(--wust-primary);
    transition: transform 0.3s ease;
}

.wust-filter-toggle .wust-arrow {
    display: inline-block;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.wust-filter-section.collapsed .wust-filter-toggle .wust-arrow {
    transform: rotate(-90deg);
}

.wust-filter-content {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.wust-filter-section.collapsed .wust-filter-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.wust-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wust-filter-item {
    border-bottom: 1px solid rgba(13, 71, 161, 0.05);
    transition: background-color 0.2s ease;
}

.wust-filter-item:last-child {
    border-bottom: none;
}

.wust-filter-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--wust-dark);
    text-decoration: none;
    transition: all 0.2s ease;
}

.wust-filter-item:hover {
    background: rgba(13, 71, 161, 0.05);
}

.wust-filter-item.active a {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--wust-primary);
    font-weight: 600;
}

.wust-filter-name {
    flex: 1;
    font-size: 14px;
}

.wust-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: rgba(13, 71, 161, 0.1);
    color: var(--wust-primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
}

.wust-filter-item.active .wust-filter-count {
    background: var(--wust-primary);
    color: var(--wust-white);
}

/* Sağ Taraf - Ürün Grid */
.wust-shop-content {
    flex: 1;
    min-width: 0;
}

.wust-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/* Responsive Tasarım */
@media (max-width: 1400px) {
    .wust-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .wust-shop-sidebar {
        flex: 0 0 240px;
        max-width: 240px;
    }
    
    .wust-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .wust-shop-container {
        flex-direction: column;
    }
    
    .wust-shop-sidebar {
        flex: 1;
        max-width: 100%;
        position: relative;
        top: 0;
    }
    
    .wust-sidebar-toggle {
        display: flex;
    }
    
    .wust-sidebar-content {
        display: none;
    }
    
    .wust-sidebar-content.active {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .wust-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .wust-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .wust-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

.wust-product-item {
    background: var(--wust-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--wust-shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.wust-product-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--wust-shadow-lg);
    border-color: var(--wust-primary-light);
}

.wust-stock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    z-index: 10;
}

.wust-stock-badge.in-stock {
    background: linear-gradient(135deg, #00ACC1 0%, #0097a7 100%);
    color: var(--wust-white);
    box-shadow: 0 2px 8px rgba(0, 172, 193, 0.3);
}

.wust-stock-badge.low-stock {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: var(--wust-dark);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.wust-stock-badge.out-of-stock {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: var(--wust-white);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.wust-product-thumbnail {
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    position: relative;
}

.wust-product-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(13, 71, 161, 0.1) 100%);
    pointer-events: none;
}

.wust-product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
}

.wust-product-item:hover .wust-product-thumbnail img {
    transform: scale(1.1);
}

.wust-product-details {
    padding: 8px;
}

.wust-product-title {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.2;
}

.wust-product-title a {
    color: var(--wust-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.wust-product-title a:hover {
    color: var(--wust-primary);
}

.wust-stock-code {
    display: inline-block;
    padding: 2px 6px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
    color: var(--wust-primary);
    border: 1px solid var(--wust-primary-light);
}

.wust-product-excerpt {
    margin: 6px 0;
    font-size: 11px;
    color: var(--wust-gray);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================
   Arşiv - Fiyat ve Değerlendirme (Kompakt)
================================ */
.wust-archive-price-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 0;
    margin: 6px 0;
    border-top: 1px solid rgba(13, 71, 161, 0.08);
    border-bottom: 1px solid rgba(13, 71, 161, 0.08);
}

.wust-archive-price {
    flex-shrink: 0;
}

.wust-price-value {
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.wust-archive-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.wust-archive-stars {
    display: inline-flex;
    gap: 0.5px;
    font-size: 11px;
    line-height: 1;
}

.wust-star-icon {
    display: inline-block;
}

.wust-star-icon.wust-star-full {
    color: #fbbf24;
}

.wust-star-icon.wust-star-half {
    position: relative;
    color: #e5e7eb;
}

.wust-star-icon.wust-star-half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #fbbf24;
}

.wust-star-icon.wust-star-empty {
    color: #e5e7eb;
}

.wust-archive-rating-value {
    font-size: 10px;
    font-weight: 600;
    color: var(--wust-dark);
    background: rgba(13, 71, 161, 0.06);
    padding: 2px 5px;
    border-radius: 4px;
}

/* ================================
   Kategori Listesi
================================ */
.wust-category-list {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.wust-category-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    width: min(880px, 100%);
}

.wust-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--wust-gradient-card);
    border: 1px solid rgba(13, 71, 161, 0.15);
    box-shadow: var(--wust-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wust-category-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--wust-shadow-md);
}

.wust-category-item a {
    color: var(--wust-primary);
    font-weight: 600;
    text-decoration: none;
}

.wust-category-item a:hover {
    color: var(--wust-primary-dark);
    text-decoration: underline;
}

.wust-category-count {
    background: var(--wust-gradient-primary);
    color: var(--wust-white);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.wust-whatsapp-info {
    margin-top: 15px;
    text-align: center;
    color: var(--wust-gray);
}

.wust-product-actions {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.wust-button {
    flex: 1;
    padding: 6px 8px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.wust-button-secondary {
    background: var(--wust-gradient-primary);
    color: var(--wust-white);
    border: 2px solid transparent;
}

.wust-button-secondary:hover {
    background: var(--wust-primary-dark);
    color: var(--wust-white);
    transform: translateY(-2px);
    box-shadow: var(--wust-shadow-md);
}

.wust-button-whatsapp {
    background: var(--wust-whatsapp);
    color: var(--wust-white);
}

.wust-button-whatsapp:hover {
    background: var(--wust-whatsapp-dark);
    color: var(--wust-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* ================================
   Sayfalama
================================ */
.wust-pagination {
    margin: 40px 0;
    text-align: center;
}

.wust-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wust-pagination a,
.wust-pagination span {
    display: inline-block;
    padding: 10px 15px;
    background: var(--wust-white);
    border: 2px solid var(--wust-secondary-light);
    border-radius: 8px;
    color: var(--wust-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.wust-pagination a:hover {
    background: var(--wust-gradient-primary);
    color: var(--wust-white);
    border-color: var(--wust-primary);
    transform: translateY(-2px);
    box-shadow: var(--wust-shadow-sm);
}

.wust-pagination .current {
    background: var(--wust-gradient-primary);
    color: var(--wust-white);
    border-color: var(--wust-primary);
    box-shadow: var(--wust-shadow-sm);
}

/* ================================
   Ürün Sayfası Temizliği
================================ */
.single-urun .widget_pages,
.single-urun .widget_archive {
    display: none;
}

.post-type-archive-urun .widget_pages,
.post-type-archive-urun .widget_archive,
.post-type-archive-urun .widget_categories {
    display: none;
}

/* ================================
   Admin Stiller
================================ */
.wust-stok-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.wust-stokta-var {
    background: #d4edda;
    color: #155724;
}

.wust-stok-yok {
    background: #f8d7da;
    color: #721c24;
}

/* ================================
   Fiyat ve Değerlendirme
================================ */
.wust-product-price-rating {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 20px;
    padding: 32px 28px;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px -4px rgba(13, 71, 161, 0.12), 0 2px 8px -2px rgba(13, 71, 161, 0.08);
    border: 1px solid rgba(13, 71, 161, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wust-no-price-rating .wust-product-price-rating {
    display: none;
}

.wust-product-price-rating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d47a1 0%, #1565c0 50%, #42a5f5 100%);
}

.wust-product-price-rating:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -6px rgba(13, 71, 161, 0.18), 0 4px 12px -2px rgba(13, 71, 161, 0.12);
}

.wust-product-price {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(13, 71, 161, 0.06);
}

.wust-price-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--wust-primary);
    line-height: 1.1;
    display: inline-block;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 60%, #42a5f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(13, 71, 161, 0.1);
    position: relative;
}

.wust-price-amount::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0d47a1 0%, transparent 100%);
    border-radius: 2px;
}

.wust-product-rating {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.wust-stars {
    display: inline-flex;
    gap: 3px;
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.2));
}

.wust-star {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wust-star-full {
    color: #fbbf24;
    filter: drop-shadow(0 1px 2px rgba(251, 146, 60, 0.4));
}

.wust-star-half {
    position: relative;
    color: #d1d5db;
}

.wust-star-half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #fbbf24;
    filter: drop-shadow(0 1px 2px rgba(251, 146, 60, 0.4));
}

.wust-star-empty {
    color: #e5e7eb;
}

.wust-rating-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--wust-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wust-review-count {
    font-size: 14px;
    font-weight: 500;
    color: var(--wust-gray);
    background: rgba(13, 71, 161, 0.06);
    padding: 4px 12px;
    border-radius: 12px;
    white-space: nowrap;
}

/* Hover Animasyonları */
.wust-stars:hover .wust-star-full,
.wust-stars:hover .wust-star-half {
    animation: starPulse 0.6s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.wust-stars .wust-star:nth-child(1) { animation-delay: 0s; }
.wust-stars .wust-star:nth-child(2) { animation-delay: 0.1s; }
.wust-stars .wust-star:nth-child(3) { animation-delay: 0.2s; }
.wust-stars .wust-star:nth-child(4) { animation-delay: 0.3s; }
.wust-stars .wust-star:nth-child(5) { animation-delay: 0.4s; }

/* ================================
   Responsive
================================ */
@media (max-width: 768px) {
    .wust-product-price-rating {
        padding: 24px 20px;
        margin-bottom: 20px;
    }
    
    .wust-price-amount {
        font-size: 36px;
    }
    
    .wust-stars {
        font-size: 22px;
    }
    
    .wust-rating-text {
        font-size: 16px;
    }
    
    .wust-archive-price-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .wust-price-value {
        font-size: 18px;
    }
    
    .wust-archive-stars {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .wust-product-actions {
        flex-direction: column;
    }
    
    .wust-whatsapp-button {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .wust-product-price-rating {
        padding: 20px 16px;
        border-radius: 16px;
    }
    
    .wust-price-amount {
        font-size: 32px;
    }
    
    .wust-stars {
        font-size: 20px;
        gap: 2px;
    }
    
    .wust-rating-text {
        font-size: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .wust-review-count {
        font-size: 13px;
        padding: 3px 10px;
    }
    
    .wust-archive-price-rating {
        padding: 10px 0;
    }
    
    .wust-price-value {
        font-size: 17px;
    }
    
    .wust-archive-stars {
        font-size: 12px;
    }
    
    .wust-archive-rating-value {
        font-size: 12px;
        padding: 2px 6px;
    }
}
