#comments .comments-list {
    max-height: 300px;
    overflow-y: auto;
}

body {
    background-color: #282a2c;
    color: #fff;
}

.card {
    background-color: #323335;
    border: 1px solid #155d7e;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(21, 93, 126, 0.2);
}

.bg-dark {
    background-color: #323335 !important;
}

.sidebar-widget.bg-dark {
    border: 1px solid #155d7e;
    border-radius: 8px;
}

.btn-primary {
    background-color: #155d7e;
    border-color: #155d7e;
}

.btn-primary:hover {
    background-color: #0f4560;
    border-color: #0f4560;
}

.nav-link {
    color: #fff;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #155d7e;
}

.gradient-1 {
    background: linear-gradient(45deg, #155d7e, #323335);
    border-radius: 8px;
}

.form-control {
    background-color: #282a2c;
    border: 1px solid #155d7e;
    color: #fff;
}

.form-control:focus {
    background-color: #282a2c;
    border-color: #155d7e;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(21, 93, 126, 0.25);
}

.input-group-text {
    background-color: #155d7e;
    border-color: #155d7e;
    color: #fff;
}

.badge {
    padding: 0.4em 0.8em;
    border-radius: 4px;
}

.badge-primary {
    background-color: #155d7e;
}

.badge-info {
    background-color: #17a2b8;
}

.badge-secondary {
    background-color: #6c757d;
}

.badge-success {
    background-color: #28a745;
}

.badge-warning {
    background-color: #ffc107;
    color: #000;
}

.badge-danger {
    background-color: #8B0000;
}

.item-quantity {
    width: 40px !important;
    min-width: 40px !important;
    height: 25px !important;
    padding: 0 !important;
    line-height: 25px !important;
}

.item-quantity-minus,
.item-quantity-plus {
    padding: 0 !important;
    height: 25px !important;
    width: 40px !important;
    line-height: 25px !important;
}

.media-title {
    font-size: 1.1rem;
}

.epin-icon {
    position: relative;
    display: inline-block;
    border: 1px solid #155d7e;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.epin-icon .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #323335;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 120%;
    margin-left: 0;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid #155d7e;
}

.epin-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.discount-icon {
    position: relative;
    display: inline-block;
    border: 1px solid #155d7e;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.discount-icon .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #323335;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 120%;
    margin-left: 0;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid #155d7e;
}

.discount-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.bonus-icon {
    position: relative;
    display: inline-block;
    border: 1px solid #155d7e;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.bonus-icon .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #323335;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 120%;
    margin-left: 0;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid #155d7e;
}

.bonus-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.about-section {
    background-color: #323335;
    border: 1px solid #155d7e;
    border-radius: 8px;
}

.comments-section {
    background-color: #323335;
    border: 1px solid #155d7e;
    border-radius: 8px;
}

/* ============================================================
   product-details.php — Sayfa Özgü Stiller
   Ortak stiller main.css'ten (.btn-gradient, .stat-card,
   .content-card, vb.) gelmektedir.
   ============================================================ */

/* --- Sayfa Taşıyıcı --- */
.store-single-page {
    background: #1e1e1e;
    min-height: 85vh;
    overflow-x: hidden;
}

/* --- Sol Sidebar (Sabit & Şık) --- */
.product-sidebar {
    position: sticky;
    top: 24px;
    z-index: 10;
}

.sidebar-hero-card {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sidebar-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sidebar-img-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-radius: 24px;
    border: 1px solid rgba(102, 126, 234, 0.4);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-img-wrap:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.sidebar-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.sidebar-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.sidebar-brand-badge {
    display: inline-block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

/* Ürün Tipi Rozetleri */
.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}
.type-badge.badge-epin {
    background: rgba(102, 126, 234, 0.15);
    color: #8fa3f5;
    border: 1px solid rgba(102, 126, 234, 0.3);
}
.type-badge.badge-cdkey {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.3);
}
.type-badge.badge-topup {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.type-badge.badge-server {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Sidebar Hızlı Eylemler (Favori & Paylaş) */
.sidebar-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-sidebar-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-sidebar-action:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.35);
    color: #fff;
    transform: translateY(-2px);
}

.btn-sidebar-action.active {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* Sidebar Navigasyon Menüsü */
.sidebar-nav-widget {
    background: #2a2a2a;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sidebar-nav-widget .nav-link {
    color: rgba(255, 255, 255, 0.65);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
    margin-bottom: 4px;
}

.sidebar-nav-widget .nav-link:last-child {
    margin-bottom: 0;
}

.sidebar-nav-widget .nav-link i {
    font-size: 1.1rem;
    color: #667eea;
    width: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.sidebar-nav-widget .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateX(4px);
}

.sidebar-nav-widget .nav-link:hover i {
    transform: scale(1.15);
}

/* --- Filtreleme & Sıralama Araç Çubuğu --- */
.filter-toolbar {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.filter-toolbar label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.filter-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    height: 44px !important;
    font-size: 0.9rem !important;
    transition: all 0.25s ease !important;
}

.filter-input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15) !important;
    outline: none !important;
}

.filter-input::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

.btn-filter-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    height: 44px;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-filter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* --- 5 Kolonlu Desktop Izgara --- */
@media (min-width: 1200px) {
    .col-xl-20 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* --- Ürün Kartı (Product Grid Card) --- */
.product-grid-card {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-grid-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(102, 126, 234, 0.15);
}

/* Tükendi Durumu */
.product-grid-card.out-of-stock {
    opacity: 0.75;
}

.stock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    padding: 6px 16px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.5);
    z-index: 10;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Ürün Görsel Kutusu */
.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    overflow: hidden;
}

.product-image-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-grid-card:hover .product-image-container img {
    transform: translate(-50%, -50%) scale(1.1);
}

/* İndirim Rozeti */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

/* Ürün İçerik Alanı */
.product-content {
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.72rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #fbbf24;
}

.product-rating .count {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.68rem;
    margin-left: 2px;
}

.product-platforms {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.5);
}

.product-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.product-price-box {
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.old-price {
    font-size: 0.78rem;
    color: rgba(239, 68, 68, 0.8);
    text-decoration: line-through;
}

.current-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.bonus-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #fbbf24;
    font-weight: 600;
    background: rgba(251, 191, 36, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Ürün Kartı Alt Butonu */
.product-footer {
    padding: 0 14px 14px;
    margin-top: auto;
}

.btn-card-view {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.btn-card-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.4);
    color: #fff !important;
}

.btn-card-notify {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-card-notify:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.45);
    color: #fca5a5;
    transform: translateY(-1px);
}

/* --- Hakkında & Yorumlar Bölümleri --- */
.detail-section {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 28px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.detail-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section-title i {
    color: #667eea;
}

.about-desc {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.info-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 16px 20px;
    height: 100%;
    transition: all 0.25s ease;
}

.info-stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.25);
}

.info-stat-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.info-stat-value {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Yorumlar Listesi */
.comment-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(102, 126, 234, 0.25);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.comment-username {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.2;
}

.comment-date {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 3px;
}

.comment-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Boş Durum */
.empty-products-box {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 60px 20px;
    text-align: center;
}

.empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Mobil İnce Ayarlar */
@media (max-width: 991px) {
    .product-sidebar {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 0.78rem;
        min-height: 32px;
    }
    .current-price {
        font-size: 0.95rem;
    }
    .btn-card-view, .btn-card-notify {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}
