/**
 * Trendyol Reviews - Modern Frontend CSS
 * Version: 2.0
 */

/* ============================================
   GENEL AYARLAR
   ============================================ */

.tri-reviews-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================
   ÖZET KARTI
   ============================================ */

.tri-summary-card {
    background: linear-gradient(135deg, var(--summary-grad-start, #667eea) 0%, var(--summary-grad-end, #764ba2) 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    color: white;
}

.tri-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.tri-summary-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.tri-review-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tri-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.tri-stat-badge svg {
    opacity: 0.9;
}

.tri-summary-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .tri-summary-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Rating Box */
.tri-rating-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px 40px;
    border-radius: 16px;
    min-width: 180px;
}

.tri-big-rating {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tri-rating-stars-large {
    font-size: 20px;
    margin-bottom: 10px;
}

.tri-rating-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

/* Rating Bars */
.tri-rating-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tri-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tri-bar-label {
    min-width: 50px;
    font-size: 14px;
    font-weight: 600;
}

.tri-progress-bar {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tri-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.tri-bar-count {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    font-size: 14px;
}

/* ============================================
   YORUM GRID
   ============================================ */

.tri-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .tri-reviews-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
        padding: 0;
    }
    
    .tri-review-card {
        padding: 14px;
        border-radius: 10px;
        margin: 0;
    }
    
    .tri-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .tri-review-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .tri-summary-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .tri-big-rating {
        font-size: 48px;
    }
    
    .tri-rating-box {
        padding: 20px 30px;
        min-width: auto;
    }
}

/* ============================================
   YORUM KARTI
   ============================================ */

.tri-review-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.tri-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.tri-review-card.has-photos {
    border-left: 3px solid #667eea;
}

/* Card Header */
.tri-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}

.tri-user-info {
    display: flex;
    gap: 12px;
    flex: 1;
}

.tri-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.tri-user-details {
    flex: 1;
    min-width: 0;
}

.tri-user-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tri-review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tri-review-date {
    font-size: 13px;
    color: #666;
}

.tri-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
}

.tri-verified svg {
    flex-shrink: 0;
}

.tri-card-rating {
    flex-shrink: 0;
}

/* Card Body */
.tri-card-body {
    flex: 1;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.tri-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 16px 0;
    word-wrap: break-word;
}

/* Photo Gallery */
.tri-photo-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.tri-gallery-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tri-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.tri-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tri-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
}

/* Card Footer */
.tri-card-footer {
    display: flex;
    gap: 15px;
    padding: 16px 20px 20px 20px;
    margin-top: auto;
    width: 100%;
}

.tri-product-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.tri-card-footer svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.tri-product-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tri-view-on-trendyol {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.tri-view-on-trendyol:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
    text-decoration: none;
}

.tri-view-on-trendyol svg {
    opacity: 1;
    width: 14px;
    height: 14px;
}

/* Ürüne Git Butonu */
.tri-view-product {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white !important;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.tri-view-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.5);
    text-decoration: none;
    color: white !important;
}

.tri-view-product:active {
    transform: translateY(0);
}

.tri-view-product svg {
    opacity: 1;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Tam Genişlik Ürüne Git Butonu */
.tri-view-product-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--button-grad-start, #f97316) 0%, var(--button-grad-end, #ea580c) 100%);
    color: white !important;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.tri-view-product-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.5);
    text-decoration: none;
    color: white !important;
}

.tri-view-product-full:active {
    transform: translateY(0);
}

.tri-view-product-full svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================
   YILDIZLAR
   ============================================ */

.tri-review-card {
    --rating-color: #fbbf24;
}

.tri-stars {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.tri-star {
    font-size: 16px;
    line-height: 1;
}

.tri-star-full {
    color: var(--rating-color, #fbbf24);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tri-star-half {
    color: var(--rating-color, #fbbf24);
    opacity: 0.5;
}

.tri-star-empty {
    color: #d1d5db;
}

.tri-rating-stars-large .tri-star {
    font-size: 20px;
}

/* ============================================
   SAYFALAMA
   ============================================ */

.tri-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.tri-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    background: white;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #667eea;
    font-size: 14px;
}

.tri-page-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.tri-page-numbers {
    display: flex;
    gap: 6px;
}

.tri-page-number {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: white;
    color: #666;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.tri-page-number:hover {
    background: #f3f4f6;
    color: #667eea;
    border-color: #667eea;
}

.tri-page-number.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ============================================
   LIGHTBOX (Simple CSS Lightbox)
   ============================================ */

.tri-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: triLightboxFadeIn 0.3s ease;
}

.tri-lightbox.active {
    display: flex;
}

@keyframes triLightboxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tri-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: triLightboxZoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 94px; /* 54px (buton genişliği) + 20px (boşluk) + 20px (ekran kenarı) */
}

@keyframes triLightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.tri-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.tri-lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10001;
    opacity: 0.9;
}

.tri-lightbox-close:hover {
    background: rgba(239, 68, 68, 0.95);
    opacity: 1;
    transform: scale(1.1);
}

.tri-lightbox-prev,
.tri-lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
    opacity: 0.9;
}

.tri-lightbox-prev {
    left: 20px;
}

.tri-lightbox-next {
    right: 20px;
}

.tri-lightbox-prev:hover,
.tri-lightbox-next:hover {
    background: rgba(59, 130, 246, 0.95);
    opacity: 1;
    transform: scale(1.15);
}

.tri-lightbox-counter {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10001;
}

.tri-lightbox-title {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 80%;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 25px;
    z-index: 10001;
}

/* Mobile için navigation butonları */
@media (max-width: 768px) {
    .tri-lightbox-close {
        top: 10px;
        right: 10px;
        width: 48px;
        height: 48px;
        font-size: 28px;
    }
    
    .tri-lightbox-prev,
    .tri-lightbox-next {
        top: auto;
        bottom: 100px;
        transform: none;
        width: 56px;
        height: 56px;
        font-size: 30px;
        background: rgba(0, 0, 0, 0.85);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .tri-lightbox-prev {
        left: 15px;
    }
    
    .tri-lightbox-next {
        right: 15px;
    }
    
    .tri-lightbox-counter {
        font-size: 12px;
        padding: 6px 14px;
    }
    
    .tri-lightbox-title {
        bottom: 15px;
        max-width: 90%;
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .tri-lightbox-counter {
        top: 10px;
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 640px) {
    .tri-summary-card {
        padding: 24px;
    }
    
    .tri-summary-header h2 {
        font-size: 22px;
    }
    
    .tri-big-rating {
        font-size: 42px;
    }
    
    .tri-review-card {
        padding: 20px;
    }
    
    .tri-photo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   DARK MODE (Opsiyonel)
   ============================================ */

@media (prefers-color-scheme: dark) {
    .tri-review-card {
        background: #1f2937;
        border-color: #374151;
    }
    
    .tri-user-name {
        color: #f3f4f6;
    }
    
    .tri-review-text {
        color: #e5e7eb;
    }
    
    .tri-card-footer {
        border-color: #374151;
        color: #9ca3af;
    }
}

/* ============================================
   CAROUSEL STILLER
   ============================================ */

.tri-carousel-wrapper {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
}

.tri-reviews-swiper {
    width: 100%;
    padding: 0 60px;
    overflow: hidden;
    min-height: 400px;
}

.tri-reviews-swiper .swiper-slide {
    height: auto;
    display: flex;
    min-height: 350px;
}

.tri-reviews-swiper .swiper-wrapper {
    align-items: stretch;
    min-height: 350px;
}

.tri-reviews-swiper .tri-review-card {
    width: 100%;
    height: 100%;
    min-height: 350px;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Carousel Navigation Buttons */
.tri-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--swiper-arrow-bg, #ffffff);
    opacity: var(--swiper-arrow-bg-opacity, 0.9);
    border: 2px solid var(--swiper-arrow-color, #667eea);
    color: var(--swiper-arrow-color, #667eea);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.tri-carousel-prev {
    left: 10px;
}

.tri-carousel-next {
    right: 10px;
}

.tri-carousel-prev:hover,
.tri-carousel-next:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px var(--swiper-arrow-color, rgba(102, 126, 234, 0.5));
    opacity: 1;
}

.tri-carousel-prev:active,
.tri-carousel-next:active {
    transform: translateY(-1px) scale(0.98);
}

.tri-carousel-prev.swiper-button-disabled,
.tri-carousel-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Carousel Pagination */
.tri-carousel-pagination {
    margin-top: 30px;
    text-align: center;
    position: relative;
}

.tri-carousel-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--swiper-pagination-inactive, #ddd);
    opacity: 1;
    transition: all 0.3s;
}

.tri-carousel-pagination .swiper-pagination-bullet-active {
    background: var(--swiper-pagination-color, #667eea);
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   KOPYALAMA BİLDİRİMİ
   ============================================ */

.tri-copy-notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    font-size: 14px;
    font-weight: 500;
    z-index: 999999;
    transition: bottom 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.tri-copy-notification.show {
    bottom: 30px;
}

/* Yoruma Git butonu stili - Dinamik */
.tri-view-review-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--review-btn-grad-start, #3b82f6) 0%, var(--review-btn-grad-end, #1d4ed8) 100%);
    color: var(--review-btn-text-color, #ffffff) !important;
    text-decoration: none;
    border-radius: var(--review-btn-radius, 8px);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tri-view-review-link:hover {
    transform: translateY(-2px) scale(var(--review-btn-hover, 1.05));
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: var(--review-btn-text-color, #ffffff);
    text-decoration: none;
    filter: brightness(1.1);
}

.tri-view-review-link svg {
    flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tri-reviews-swiper {
        padding: 0 50px;
    }
    
    .tri-carousel-prev,
    .tri-carousel-next {
        width: 40px;
        height: 40px;
    }
    
    .tri-carousel-prev svg,
    .tri-carousel-next svg {
        width: 18px;
        height: 18px;
    }
    
    .tri-carousel-prev {
        left: 5px;
    }
    
    .tri-carousel-next {
        right: 5px;
    }
    
    .tri-card-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .tri-view-product-full,
    .tri-view-review-link {
        width: 100%;
    }
    
    /* Lightbox butonlarını mobilde uyarla */
    .tri-lightbox-close {
        top: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 26px;
    }
    
    .tri-lightbox-prev,
    .tri-lightbox-next {
        bottom: 70px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    
    .tri-lightbox-prev {
        left: 15px;
    }
    
    .tri-lightbox-next {
        right: 15px;
    }
    
    .tri-lightbox-counter {
        top: 15px;
        font-size: 13px;
        padding: 8px 16px;
    }
}

/* ============================================
   YILDIZ RATING STİLLERİ
   ============================================ */

.tri-stars {
    display: inline-flex;
    gap: 2px;
    font-size: var(--star-size, 18px);
    line-height: 1;
}

.tri-star {
    color: var(--star-color, #fbbf24);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tri-star-full {
    color: var(--star-color, #fbbf24);
}

.tri-star-half {
    background: linear-gradient(90deg, var(--star-color, #fbbf24) 50%, var(--star-empty-color, #d1d5db) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tri-star-empty {
    color: var(--star-empty-color, #d1d5db);
}

.tri-rating-stars-large .tri-stars {
    font-size: var(--star-size-large, 24px);
    gap: 3px;
}

.tri-card-rating .tri-stars {
    font-size: var(--star-size-card, 16px);
}

/* Rating bars içindeki yıldızlar */
.tri-bar-label {
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
   FİYAT KARŞILAŞTIRMA
   ============================================ */

.tri-price-comparison {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.tri-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.tri-price-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.tri-price-value {
    font-size: 16px;
    font-weight: 700;
}

.tri-price-trendyol {
    color: #ef4444;
    text-decoration: line-through;
}

.tri-price-site {
    color: #10b981;
}

.tri-price-savings-row {
    border-top: 2px dashed #10b981;
    margin-top: 8px;
    padding-top: 12px;
}

.tri-price-savings {
    color: #10b981;
    font-size: 18px;
    font-weight: 800;
}

/* ============================================
   FİYAT KARŞILAŞTIRMA ÖZET
   ============================================ */

.tri-price-comparison-summary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    margin-top: 30px;
}

.tri-price-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tri-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.tri-price-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s;
}

.tri-price-item:hover {
    transform: translateY(-2px);
}

.tri-price-item .tri-price-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tri-price-item .tri-price-value {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.tri-price-trendyol-item .tri-price-value {
    color: #ef4444;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.tri-price-site-item .tri-price-value {
    color: #10b981;
}

.tri-price-savings-item {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.tri-price-savings-item .tri-price-label {
    color: rgba(255, 255, 255, 0.9);
}

.tri-price-savings-item .tri-price-value {
    color: white;
}

.tri-price-percentage {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
    opacity: 0.9;
}

@media (max-width: 640px) {
    .tri-price-grid {
        grid-template-columns: 1fr;
    }
}

