/* ✨ Modern Sekme Tasarımı */
.product-tabs-modern {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 31, 63, 0.08);
    display: inline-flex;
    gap: 8px;
}

.product-tabs-modern .nav-link {
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 500;
    color: #001f3f;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-tabs-modern .nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 31, 63, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.product-tabs-modern .nav-link:hover::before {
    width: 100%;
    height: 100%;
}

.product-tabs-modern .nav-link:hover {
    color: #001f3f;
    transform: translateY(-2px);
}

.product-tabs-modern .nav-link.active {
    background: linear-gradient(135deg, #001f3f 0%, #2c4a6d 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 31, 63, 0.25);
    transform: translateY(-2px);
}

/* 🎨 Modern Yorum Kartları */
.review-card-modern {
    background: white;
    border: 1px solid rgba(0, 31, 63, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 16px;
}

.review-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 31, 63, 0.12);
    border-color: rgba(0, 31, 63, 0.15);
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #001f3f 0%, #2c4a6d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

/* ⭐ Modern Yıldız Stilleri */
.star-rating-modern {
    display: inline-flex;
    gap: 4px;
}

.star-rating-modern i {
    font-size: 1.1rem;
    transition: all 0.3s;
}

.star-rating-modern i:hover {
    transform: scale(1.2) rotate(10deg);
}

/* 📊 Modern İlerleme Çubukları */
.progress-modern {
    height: 10px;
    border-radius: 10px;
    background: rgba(0, 31, 63, 0.08);
    overflow: hidden;
}

.progress-bar-modern {
    background: linear-gradient(90deg, #ffc107 0%, #ffb300 100%);
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

/* 🛒 Modern Sepete Ekle Butonu */
.btn-add-cart-modern {
    background: linear-gradient(135deg, #ffea00 0%, #ffea00 100%);
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #001f3f;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-add-cart-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-cart-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-add-cart-modern:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 193, 7, 0.4);
}

.btn-add-cart-modern:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-add-cart-modern:disabled {
    background: linear-gradient(135deg, #ccc 0%, #aaa 100%);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* 🎯 Modern Beden Seçici */
.size-chip-modern {
    position: relative;
}

.size-chip-modern input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.size-btn-modern {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid rgba(0, 31, 63, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    color: #001f3f;
    background: white;
    min-width: 60px;
    text-align: center;
}

.size-chip-modern input[type="radio"]:checked + .size-btn-modern {
    background: linear-gradient(135deg, #001f3f 0%, #2c4a6d 100%);
    color: white;
    border-color: #001f3f;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 31, 63, 0.25);
}

.size-chip-modern:hover .size-btn-modern {
    border-color: #001f3f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 31, 63, 0.15);
}

/* 💝 Modern Favori Butonu */
.btn-favorite-modern {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: 2px solid rgba(0, 31, 63, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-favorite-modern:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
}

.btn-favorite-modern .fav-icon {
    font-size: 1.5rem;
    transition: all 0.3s;
}

/* 📦 Modern Kart Tasarımı */
.info-card-modern {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0, 31, 63, 0.08);
    transition: all 0.4s;
}

.info-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 31, 63, 0.12);
}

/* 🎪 Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.size-out-of-stock {
    opacity: 0.4;
    cursor: not-allowed !important;
}

.size-out-of-stock input[type="radio"] {
    cursor: not-allowed !important;
}

.size-out-of-stock .size-btn-modern {
    cursor: not-allowed !important;
    background-color: #f8f9fa !important;
    color: #6c757d !important;
}

.size-stock-badge {
    display: block;
    font-size: 0.65rem;
    margin-top: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

.size-stock-badge.out {
    color: #dc3545;
}

.size-stock-badge.low {
    color: #ffc107;
}

/* Puan dağılımı – arka plan şeridi */
.progress-modern {
    width: 100%;
    height: 0.55rem;
    border-radius: 999px;
    background-color: #eef1f7;   /* açık gri track */
    overflow: hidden;
    position: relative;
}

/* Dolu kısım */
.progress-bar-modern {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #22c55e); /* mavi-yeşil gradient, istersen tek renk yap */
    border-radius: 999px;
    transition: width 0.25s ease-out;
}
