body { font-family: 'Montserrat', sans-serif; color: #333; }

.product-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Kutu 1: Intro (Üst Kısım) */
.hero-box {
    display: flex;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}
.hero-img-col {
    flex: 0 0 350px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-img-col img#main-product-img { 
    width: 280px; 
    height: 280px;
    object-fit: contain;
    mix-blend-mode: multiply; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* GALERİ STİLLERİ */
.thumbnails-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 5px;
    width: 100%;
    margin-top: 15px;
    scrollbar-width: none; /* Firefox */
}
.thumbnails-strip::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.thumbnail-item {
    flex: 0 0 60px;
    height: 60px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}
.thumbnail-item img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumbnail-item.active { border: 2px solid #2f483c; transform: scale(1.05); }

.set-primary-btn {
    margin-top: 15px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}
.set-primary-btn:hover { background: #2f483c; color: #fff; border-color: #2f483c; }

.hero-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.brand-name {
    font-size: 1.1rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
}
.product-title {
    font-size: 2rem;
    color: #111;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* Hemen Al Butonu */
.buy-button {
    background: #000;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 10px;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.buy-button:hover {
    transform: scale(1.05);
    background: #2f483c;
}

/* ── Ürün aksiyon barı: birincil (Satın Al) + hayalet ikincil (Karşılaştır / Rutine Ekle) ── */
.act-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.act-primary {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
    background: #2f483c; color: #fff; border: none; border-radius: 10px;
    padding: 13px 24px; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700;
    cursor: pointer; box-shadow: 0 6px 16px rgba(47,72,60,0.20); transition: background 0.18s;
}
.act-primary:hover { background: #24382e; color: #fff; box-shadow: 0 9px 22px rgba(47,72,60,0.30); transform: translateY(-1px); }
.act-primary svg { width: 18px; height: 18px; }
.act-caret { transition: transform 0.2s ease; }
.act-primary.open .act-caret { transform: rotate(90deg); }
.act-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: #2f483c; border: none; border-radius: 10px;
    padding: 11px 14px; font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600;
    cursor: pointer; transition: background 0.18s, color 0.18s;
}
.act-ghost:hover { background: #eef2ef; }
.act-ghost svg { width: 18px; height: 18px; }
.act-ghost:disabled { opacity: 0.5; cursor: default; }
.act-added {
    display: inline-flex; align-items: center; gap: 8px;
    color: #2f483c; font-weight: 700; font-size: 0.95rem; padding: 11px 14px;
    animation: actPop 0.25s ease;
}
.act-added svg { width: 18px; height: 18px; }
@keyframes actPop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
.act-fade-out { opacity: 0 !important; transition: opacity 0.5s ease; }
@media (max-width: 768px) {
    .act-primary, .act-ghost, .act-added { font-size: 0.9rem; }
    .act-primary { padding: 11px 18px; }
}

/* Adresses These Concerns */
.concerns-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 30px;
}
.concerns-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; }
.concerns-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.c-pill {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Ratings & Attributes */
.ratings-attrs-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 30px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
.ratings-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.r-score { font-size: 3rem; font-weight: 700; color: #111; line-height: 1; margin-bottom: 8px; }
.r-stars { color: #f39c12; font-size: 1.2rem; letter-spacing: 2px; }
.r-count { font-size: 0.85rem; color: #888; margin-top: 5px; }

.attrs-col {
    flex: 1;
}
.attrs-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; }
.attrs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.a-pill {
    border: 1px solid #eef0f2;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
    background: #fdfdfd;
}

/* Picky Analysis Widget */
.analysis-superbox {
    background: #fff;
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.a-left { flex: 1; min-width: 350px; }
.a-right { flex: 1; min-width: 300px; }

.section-head { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; }
.section-sub { font-size: 0.85rem; color: #888; margin-bottom: 25px; }

.donut-flex {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* SVG DOUGHNUT */
.svg-donut {
    width: 140px;
    height: 140px;
    transform: rotate(-90deg);
}
.donut-ring { stroke: #f0f0f0; stroke-width: 15; fill: transparent; }
.donut-segment {
    stroke-width: 15;
    fill: transparent;
    transition: stroke-dashoffset 1s ease-in-out;
}
.d-green { stroke: #4caf50; }
.d-teal { stroke: #14b8a6; }
.d-yellow { stroke: #ffc107; }
.d-red { stroke: #f44336; }
.d-grey { stroke: #eceff0; }

.legend-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.lg-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.lg-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; margin-top:2px; }
.lg-p.green { background: #4caf50; }
.lg-p.teal { background: #14b8a6; }
.lg-p.yellow { background: #ffc107; }
.lg-p.red { background: #f44336; }
.lg-p.grey { background: #d7dcdd; }

.lg-text { font-size: 0.9rem; font-weight: 600; color: #444; cursor: pointer; display: flex; flex-direction: column; }
.lg-text:hover { color: #000; }
.lg-count { margin-right: 5px; font-weight: 700; }

.lg-expandable {
    display: none;
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    font-weight: 400;
    line-height: 1.4;
    background: #f9f9f9;
    padding: 8px;
    border-radius: 6px;
    width: 250px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}
.lg-text.open .lg-expandable { display: block; }

/* Compatibility Accordions */
.compat-acc { display: flex; flex-direction: column; gap: 10px; }
.ca-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
}
.ca-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ca-title {
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ca-icon { font-size: 1.2rem; }
.ca-badges { display: flex; gap: 10px; }
.bdg { font-size: 0.8rem; padding: 4px 10px; border-radius: 12px; font-weight: 600; }
.bdg.good { color: #0d6efd; background: #e6f2ff; }
.bdg.bad { color: #dc3545; background: #fceced; }

.ca-body {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eaeaea;
    font-size: 0.9rem;
}
.ca-item.open .ca-body { display: block; }

.ing-row { margin-bottom: 10px; }
.ing-row strong { display: block; margin-bottom: 4px; }
.ing-r-good { color: #0d6efd; }
.ing-r-bad { color: #dc3545; }

/* Horizontal Scrollbar Styling */
.horizontal-scroll::-webkit-scrollbar {
    height: 4px;
}
.horizontal-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.horizontal-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}
.horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

@media(max-width: 768px) {
    .product-container {
        overflow-x: hidden !important;
    }
    .hero-box, .ratings-attrs-box, .analysis-superbox { 
        flex-direction: column; 
        padding: 20px !important; 
        gap: 20px !important;
    }
    /* Donut ve Legend mobilde de yan yana kalsın */
    .donut-flex { 
        flex-direction: row !important; 
        align-items: center; 
        gap: 15px !important;
        justify-content: flex-start !important;
    }
    .svg-donut {
        width: 90px !important;
        height: 90px !important;
        flex-shrink: 0;
    }
    .legend-list {
        gap: 8px !important;
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    .lg-item {
        max-width: 100%;
        overflow: hidden;
    }
    .lg-text {
        font-size: 0.8rem !important;
        max-width: 100%;
        overflow: hidden;
    }
    .lg-expandable {
        width: auto !important;
        max-width: calc(100vw - 80px) !important;
        overflow-y: auto;
        max-height: 250px;
    }
    .a-left, .a-right {
        min-width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }
    
    .hero-img-col { flex: 0 0 auto; width: 100%; height: auto; margin-bottom: 20px; }
    
    .concerns-col, .attrs-col {
        min-width: 100% !important;
        flex: 1 1 100% !important;
    }

    .muadiller-section > div {
        /* Slider yapısı için grid yerine flex kullandığımızdan burayı güncelliyoruz */
        display: flex !important;
    }

    /* Mobil alt menü arkasına gizlenmesin */
    .product-container {
        padding-bottom: 100px !important;
    }

    /* Rating popup ve Satın Al dropdown mobil tab bar üstünde olsun */
    #rating-popup {
        z-index: 10001 !important;
    }
    #buy-dropdown-menu {
        z-index: 10001 !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   YORUM SİSTEMİ (product_reviews)
   ═══════════════════════════════════════════════════════════ */

#reviews-section {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.rv-section-inner { max-width: 860px; }

.rv-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.rv-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin: 0;
}

/* ── Özet çubukları ── */
.rv-summary {
    display: flex;
    gap: 32px;
    align-items: center;
    background: #fafafa;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.rv-avg-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 80px;
}

.rv-avg-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.rv-avg-stars { display: flex; gap: 2px; }

.rv-avg-count { font-size: 0.82rem; color: #888; }

.rv-bars { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 6px; }

.rv-bar-row { display: flex; align-items: center; gap: 8px; }

.rv-bar-label { font-size: 0.8rem; color: #555; width: 22px; text-align: right; flex-shrink: 0; }

.rv-bar-track {
    flex: 1;
    height: 8px;
    background: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
}

.rv-bar-fill {
    height: 100%;
    background: #f5a623;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.rv-bar-pct { font-size: 0.78rem; color: #888; width: 32px; text-align: right; flex-shrink: 0; }

/* ── Sıralama çubuğu ── */
.rv-sort-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rv-sort-label { font-size: 0.85rem; color: #888; margin-right: 4px; }

.rv-sort-btn {
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 0.82rem;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
}

.rv-sort-btn:hover { border-color: #aaa; color: #111; }

.rv-sort-btn.rv-sort-active {
    background: #2f483c;
    border-color: #2f483c;
    color: #fff;
}

/* ── Yorum kartı ── */
.rv-list { display: flex; flex-direction: column; gap: 16px; }

.rv-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 22px 24px;
}

.rv-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.rv-avatar {
    flex-shrink: 0;
    display: flex;
}

.rv-avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rv-meta { flex: 1; }

.rv-meta-name { font-weight: 700; font-size: 0.92rem; color: #111; }

.rv-meta-date { font-size: 0.78rem; color: #aaa; margin-top: 1px; }

.rv-card-stars { display: flex; gap: 1px; align-items: center; margin-left: auto; flex-shrink: 0; }

.rv-title { font-weight: 700; font-size: 1rem; color: #111; margin-bottom: 6px; }

.rv-body { font-size: 0.92rem; color: #444; line-height: 1.65; margin: 0 0 14px; white-space: pre-wrap; }

.rv-card-footer { display: flex; gap: 10px; align-items: center; }

/* ── Faydalı butonu ── */
.rv-helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 0.82rem;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
}

.rv-helpful-btn:hover { border-color: #2f483c; color: #2f483c; }

.rv-helpful-btn.rv-voted { background: #2f483c; border-color: #2f483c; color: #fff; }

.rv-helpful-count { font-weight: 600; }

/* ── Yanıtla butonu ── */
.rv-reply-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 0.82rem;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
}

.rv-reply-toggle:hover { border-color: #555; color: #111; }

/* ── Silme butonu ── */
.rv-delete-btn, .rv-delete-reply-btn {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #ccc;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.15s;
}

.rv-delete-btn:hover, .rv-delete-reply-btn:hover { color: #e31837; background: #fff0f0; }

/* ── Yanıt bölümü ── */
.rv-replies {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rv-replies { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; }

.rv-reply-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 2px;
}
.rv-reply-input-wrap { margin-top: 6px; }

.rv-reply-avatar { flex-shrink: 0; display: flex; }

.rv-reply-body { flex: 1; }

.rv-reply-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 0.82rem;
}

.rv-reply-meta strong { color: #111; font-weight: 700; }

.rv-dot { color: #ccc; }

.rv-date { color: #aaa; }

.rv-reply-text { font-size: 0.88rem; color: #444; margin: 0; line-height: 1.55; }

/* ── Yanıt yazma alanı ── */
.rv-reply-input-wrap {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 8px;
}

.rv-reply-input-avatar { flex-shrink: 0; display: flex; }

.rv-reply-form { flex: 1; display: flex; flex-direction: column; gap: 6px; }

.rv-reply-textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 0.88rem;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.rv-reply-textarea:focus { border-color: #2f483c; }

.rv-reply-submit {
    align-self: flex-end;
    padding: 6px 16px;
    border-radius: 8px;
    border: none;
    background: #2f483c;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.rv-reply-submit:hover { opacity: 0.88; }

.rv-reply-submit:disabled { opacity: 0.5; cursor: default; }

/* ── Yorum yazma formu ── */
.rv-write-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 22px 24px;
    margin-bottom: 24px;
}

.rv-write-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rv-write-avatar { flex-shrink: 0; display: flex; }

.rv-write-title { font-weight: 700; font-size: 1rem; color: #111; }

/* ── Yıldız seçici ── */
.rv-star-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
}

.rv-star-pick {
    cursor: pointer;
    transition: transform 0.12s;
    display: block;
}

.rv-star-pick:hover { transform: scale(1.2); }

.rv-star-label {
    font-size: 0.85rem;
    color: #888;
    margin-left: 8px;
}

.rv-write-input {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-family: inherit;
    outline: none;
    margin-bottom: 10px;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.rv-write-input:focus { border-color: #2f483c; }

.rv-write-textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-family: inherit;
    resize: vertical;
    outline: none;
    margin-bottom: 14px;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.rv-write-textarea:focus { border-color: #2f483c; }

.rv-write-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.rv-write-hint { font-size: 0.78rem; color: #aaa; }

.rv-write-submit {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    background: #2f483c;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.rv-write-submit:hover { opacity: 0.88; }

.rv-write-submit:disabled { opacity: 0.5; cursor: default; }

/* ── Giriş CTA ── */
.rv-login-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 0.92rem;
    color: #555;
    flex-wrap: wrap;
}

.rv-auth-trigger {
    margin-left: auto;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid #2f483c;
    background: #fff;
    color: #2f483c;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.15s;
}

.rv-auth-trigger:hover { background: #2f483c; color: #fff; }

/* ── Boş durum ── */
.rv-empty {
    text-align: center;
    color: #aaa;
    font-size: 0.95rem;
    padding: 32px 0;
}

/* ── Mobil uyum ── */
@media (max-width: 600px) {
    .rv-summary { flex-direction: column; gap: 16px; }
    .rv-avg-block { flex-direction: row; gap: 12px; align-items: center; }
    .rv-avg-num { font-size: 2rem; }
    .rv-write-footer { flex-direction: column; align-items: flex-start; }
    .rv-write-submit { width: 100%; }
    .rv-login-cta { flex-direction: column; align-items: flex-start; }
    .rv-auth-trigger { margin-left: 0; width: 100%; }
}

@media(max-width: 480px) {
    .concerns-list {
        grid-template-columns: 1fr !important;
    }
    .a-pill, .c-pill {
        font-size: 0.8rem !important;
        padding: 8px !important;
        overflow-wrap: anywhere;
    }
    .product-title {
        font-size: 1.5rem !important;
    }
}

@media(max-width: 400px) {
    .hero-box, .ratings-attrs-box, .analysis-superbox { padding: 16px !important; }
    .product-title { font-size: 1.32rem !important; }
    .attrs-title { font-size: 1rem !important; }
    .a-pill, .c-pill { font-size: 0.75rem !important; }
    /* İçerik analizi / cilt uyumu satırları taşmasın */
    .ca-title, .ca-body, .ing-r-good, .ing-r-bad, .lg-text, .bdg {
        overflow-wrap: anywhere; word-break: break-word;
    }
}

/* ==========================================================================
   TRENDYOL TARZI — Ürün Değerlendirmeleri (.pr-*) + Ürün Tartışması (.pd-*)
   ========================================================================== */

#reviews-section { margin-top: 40px; border-top: 1px solid #eee; padding-top: 34px; }
.pr-inner { max-width: 100%; }

/* Düz Inter — Montserrat/kalın "garip font" görünümünü ez */
#reviews-section, .discussions-section, .pr-modal, .pd-modal,
#reviews-section button, #reviews-section input, #reviews-section textarea,
.pr-modal button, .pr-modal input, .pr-modal textarea, .pd-modal button {
    font-family: 'Inter', sans-serif;
}

/* Başlık satırı (başlık solda, buton sağda) */
.pr-head, .pd-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 18px;
}
.pr-title, .pd-title { font-family: 'Inter', sans-serif; font-size: 1.3rem; font-weight: 600; color: #111; margin: 0; }
.pr-cta, .pd-newbtn {
    flex-shrink: 0; padding: 10px 20px; border-radius: 10px; border: none;
    background: #2f483c; color: #fff; font-weight: 700; font-size: 0.9rem; cursor: pointer;
    transition: opacity 0.15s;
}
.pr-cta:hover, .pd-newbtn:hover { opacity: 0.9; }

/* Puan özet çubuğu */
.pr-summary-bar {
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(90deg, #fff8ec, #fdf3df);
    border: 1px solid #f2e6c9; border-radius: 14px; padding: 14px 22px; margin-bottom: 18px;
}
.pr-sb-avg { display: flex; align-items: center; gap: 8px; }
.pr-sb-avg b { font-size: 1.4rem; color: #111; }
.pr-sb-dot { color: #caa; }
.pr-sb-count { font-size: 0.95rem; color: #555; font-weight: 600; }

/* Yatay kaydırma satırı */
.hs-wrap { position: relative; }
.pr-hscroll, .pd-hscroll {
    display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 6px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
}
.pr-hscroll::-webkit-scrollbar, .pd-hscroll::-webkit-scrollbar { display: none; }
.hs-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e5e5e5; background: #fff;
    color: #2f483c; font-size: 1.4rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12); transition: background 0.15s;
}
.hs-arrow:hover { background: #f4f6f4; }
.hs-left { left: -6px; }
.hs-right { right: -6px; }

/* AI özet kutusu */
.pr-ai {
    flex: 0 0 320px; max-width: 320px; height: 248px; overflow: hidden; cursor: pointer;
    scroll-snap-align: start;
    background: linear-gradient(160deg, #efe9ff, #f6ecff); border: 1px solid #e4dbff;
    border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column;
}
/* Kompakt kutuda madde listesini flex ile temiz kırp (line-clamp UL'de satırları
   üst üste bindiriyordu). min-height:0 → UL küçülüp taşan kısmı gizler, "Devamını Gör" görünür kalır. */
.pr-ai-clamp { overflow: hidden; min-height: 0; }
.pr-ai-more { margin-top: auto; padding-top: 8px; color: #6a4fa0; font-size: 0.85rem; font-weight: 600; }
/* Modal içindeki tam sürüm — sabit yükseklik yok */
.pr-ai-full { flex: none; max-width: none; width: 100%; height: auto; overflow: visible; cursor: default; margin-bottom: 20px; }
.pr-ai-para { margin: 8px 0 0; font-size: 0.9rem; color: #3d3457; line-height: 1.55; }
.pr-ai-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pr-ai-badge {
    width: 26px; height: 26px; border-radius: 8px; background: #7a5ba6; color: #fff;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pr-ai-title { font-weight: 800; color: #4a2f7a; font-size: 1rem; }
.pr-ai-info { color: #9b86c4; font-size: 0.85rem; cursor: help; }
.pr-ai-bullets { margin: 0; padding-left: 18px; color: #3d3457; font-size: 0.9rem; line-height: 1.55; flex: 1; }
.pr-ai-bullets li { margin-bottom: 6px; }
.pr-ai-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pr-ai-q { font-size: 0.82rem; color: #6a5b8c; margin-right: auto; }
.pr-ai-vote {
    display: inline-flex; align-items: center; gap: 5px;
    border: none; background: none; padding: 4px 6px;
    font-size: 0.85rem; cursor: pointer; color: #999; transition: color 0.15s;
}
.pr-ai-vote:hover:not(:disabled) { color: #555; }
.pr-ai-vote.active { color: #2f483c; }
.pr-ai-vote:disabled { cursor: default; }

/* Kompakt yorum kartı */
.pr-card {
    flex: 0 0 320px; max-width: 320px; height: 248px; overflow: hidden;
    scroll-snap-align: start; cursor: pointer;
    background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 16px 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04); transition: box-shadow 0.15s, transform 0.15s;
    display: flex; flex-direction: column;
}
.pr-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.08); transform: translateY(-2px); }
.pr-card-scroll { flex: 1; overflow: hidden; }
.pr-card-title { font-size: 0.92rem; font-weight: 600; color: #111; margin-bottom: 5px; }
.pr-card-body {
    font-size: 0.88rem; color: #444; line-height: 1.5; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.pr-card-foot { display: flex; align-items: center; margin-top: 10px; }
.pr-card-helpful { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; color: #888; }

/* Kart başlığı (tartışma kartı gibi): sol ad+yaş/cilt, sağ tarih+yıldız, ince çizgi */
.rvh { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.rvh-left { min-width: 0; }
.rvh-name { font-size: 0.92rem; font-weight: 600; color: #111; }
.rvh-sub { display: flex; align-items: center; gap: 6px; margin-top: 2px; flex-wrap: wrap; }
.rvh-age { font-size: 0.8rem; color: #555; font-weight: 500; }
.rvh-skin { font-size: 0.78rem; color: #555; font-weight: 600; background: #f0f0f0; padding: 2px 8px; border-radius: 5px; }
.rvh-right { text-align: right; flex-shrink: 0; }
.rvh-date { font-size: 0.75rem; color: #888; }
.rvh-stars { margin-top: 3px; display: inline-flex; gap: 1px; }
.rvh-divider { height: 1px; background: #f0f0f0; margin: 10px 0 12px; }

.pr-empty { color: #aaa; padding: 24px 0; }

/* "Tümünü Göster" pill butonları */
.pr-showall-wrap, .pd-showall-wrap { display: flex; justify-content: center; margin-top: 8px; }
.pr-showall, .pd-showall {
    padding: 12px 34px; border-radius: 24px; border: 1px solid #ddd; background: #fff;
    color: #2f483c; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all 0.15s;
}
.pr-showall:hover, .pd-showall:hover { border-color: #2f483c; background: #f6f8f6; }

/* ── Ürün Tartışması ── */
.pd-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 6px; -webkit-overflow-scrolling: touch; }
.pd-tabs::-webkit-scrollbar { height: 5px; }
.pd-tabs::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
.pd-tab {
    flex-shrink: 0; padding: 8px 16px; border-radius: 20px; border: 1px solid #e0e0e0;
    background: #fff; color: #555; font-size: 0.85rem; font-weight: 600; cursor: pointer;
    white-space: nowrap; transition: all 0.15s;
}
.pd-tab span { color: #aaa; font-weight: 500; }
.pd-tab:hover { border-color: #2f483c; }
.pd-tab.active { background: #2f483c; border-color: #2f483c; color: #fff; }
.pd-tab.active span { color: rgba(255,255,255,0.7); }

/* Kompakt tartışma kartı (yatay geniş) */
.pd-card {
    flex: 0 0 480px; max-width: 480px; scroll-snap-align: start; cursor: pointer;
    background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 18px 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04); transition: box-shadow 0.15s, transform 0.15s;
    display: flex; flex-direction: column;
}
.pd-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.08); transform: translateY(-2px); }

/* Ortak tartışma başlığı: sol ad+yaş+cilt, sağ üst tarih + altında kategori, ince çizgi */
.pd-head-row { display: flex; align-items: flex-start; gap: 10px; }
.pd-card-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pd-card-who { flex: 1; min-width: 0; }
.pd-card-name { font-weight: 600; font-size: 0.92rem; color: #111; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pd-age { font-size: 0.8rem; color: #555; font-weight: 500; }
.pd-card-sub { margin-top: 3px; }
.pd-skin { font-size: 0.78rem; color: #555; font-weight: 600; background: #f0f0f0; padding: 2px 8px; border-radius: 5px; }
.pd-head-right { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.pd-card-date { font-size: 0.75rem; color: #888; }
.pd-card-cat { background: #f0f2f1; color: #2f483c; font-size: 0.66rem; font-weight: 700; padding: 4px 9px; border-radius: 20px; text-transform: uppercase; }
.pd-divider { height: 1px; background: #f0f0f0; margin: 12px 0 14px; }

.pd-card-title { font-size: 1rem; font-weight: 600; color: #111; margin: 0 0 6px; line-height: 1.4; }
.pd-card-content {
    font-size: 0.9rem; color: #444; line-height: 1.5; margin: 0 0 14px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.pd-card .dc-actions { margin-top: auto; }
.pd-card .dc-action-btn, .pd-modal-list .dc-action-btn { background: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: #666; font-size: 0.85rem; padding: 4px; transition: color 0.15s; }
.pd-card .dc-action-btn svg, .pd-modal-list .dc-action-btn svg { width: 18px; height: 18px; }
.pd-card .dc-action-btn:hover, .pd-modal-list .dc-action-btn:hover { color: #2f483c; }
.pd-card .upvote-btn.upvoted, .pd-modal-list .upvote-btn.upvoted { color: #2f9e44; }

/* ── "Tümünü Göster" modalları (solda ürün, sağda liste) ── */
.pr-modal-overlay, .pd-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 12000;
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.pr-modal, .pd-modal {
    background: #fff; border-radius: 18px; width: 100%; max-width: 1080px; max-height: 90vh;
    display: flex; flex-direction: column; overflow: hidden;
}
.pr-modal-head, .pd-modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-bottom: 1px solid #eee; font-size: 1.1rem; font-weight: 800; color: #111;
}
.pr-modal-close, .pd-modal-close {
    border: none; background: none; width: 34px; height: 34px; border-radius: 50%;
    font-size: 1.5rem; line-height: 1; cursor: pointer; color: #666;
}
.pr-modal-close:hover, .pd-modal-close:hover { color: #111; }
.pr-modal-body, .pd-modal-body { display: flex; gap: 24px; padding: 22px 24px; overflow: hidden; flex: 1; min-height: 0; }
.pr-modal-product, .pd-modal-product {
    flex: 0 0 250px; align-self: flex-start; position: sticky; top: 0;
    background: #fafafa; border: 1px solid #eee; border-radius: 14px; padding: 16px;
}
.pr-mp-imgwrap, .pd-mp-imgwrap { width: 100%; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: #fff; margin-bottom: 12px; }
.pr-mp-imgwrap img, .pd-mp-imgwrap img { width: 100%; height: 100%; object-fit: contain; }
.pr-mp-brand, .pd-mp-brand { font-size: 0.75rem; color: #888; font-weight: 700; text-transform: uppercase; }
.pr-mp-name, .pd-mp-name { font-size: 0.95rem; color: #111; font-weight: 700; margin: 3px 0 8px; line-height: 1.35; }
.pr-mp-rating { font-size: 0.85rem; color: #555; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
/* Ürün kartı alt satırı: yıldız + yuvarlak sağ-ok (Ürüne git) */
.pr-mp-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.pd-mp-bottom { display: flex; align-items: center; justify-content: flex-end; margin-top: 12px; }
.pr-mp-arrow, .pd-mp-arrow {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: #2f483c; color: #fff;
    display: flex; align-items: center; justify-content: center; text-decoration: none; transition: opacity 0.15s;
}
.pr-mp-arrow svg, .pd-mp-arrow svg { width: 16px; height: 16px; }
.pr-mp-arrow:hover, .pd-mp-arrow:hover { opacity: 0.88; }
.pr-modal-list, .pd-modal-list { flex: 1; overflow-y: auto; min-width: 0; padding-right: 4px; }

/* Sırala yazıları düz Inter */
.rv-sort-bar, .rv-sort-label, .rv-sort-btn { font-family: 'Inter', sans-serif; font-weight: 500; }
/* Yıldız grupları: kendi içinde çok ufak aralık (flex gap'ten etkilenmesin) */
.rv-stars, .rvh-stars { display: inline-flex; gap: 1px; }

/* Modal tam kartında sil butonu sağ üstte */
.pr-modal-list .rv-card { position: relative; }
.pr-modal-list .rv-card > .rv-delete-btn { position: absolute; top: 14px; right: 14px; z-index: 2; }

/* "Değerlendirme yapın" tetik çubuğu (modal üstü) */
.rv-write-trigger {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    border: 1px solid #e5e5e5; border-radius: 12px; background: #fafafa;
    padding: 14px 18px; color: #666; font-size: 0.95rem; margin-bottom: 16px;
    transition: border-color 0.15s, background 0.15s;
}
.rv-write-trigger:hover { border-color: #2f483c; background: #fff; color: #2f483c; }
.rv-write-wrap { margin-bottom: 16px; }

/* Modal içi tartışma başlatma formu */
.pd-write-wrap { margin-bottom: 18px; }
.pd-modal-input {
    width: 100%; box-sizing: border-box; margin-bottom: 10px;
    border: 1px solid #e0e0e0; border-radius: 10px; padding: 10px 14px;
    font-family: 'Inter', sans-serif; font-size: 0.92rem; outline: none; background: #fafafa;
}
.pd-modal-input:focus { border-color: #2f483c; }
textarea.pd-modal-input { resize: vertical; min-height: 90px; }

/* Tüm tıklanabilir alanlar buton hissi */
.pr-ai-more, .pr-card-helpful, .pd-card, .pr-card, .pr-ai,
.hs-arrow, .pd-tab, .pr-showall, .pd-showall, .pr-cta, .pd-newbtn,
.rv-sort-btn, .pr-ai-vote, .rv-write-trigger { cursor: pointer; }
.pr-ai-more:hover { text-decoration: underline; }

/* ── Mobil ── */
@media (max-width: 768px) {
    .pr-title, .pd-title { font-size: 1.15rem; }
    .pr-cta, .pd-newbtn { padding: 8px 14px; font-size: 0.82rem; }
    .pr-ai { flex-basis: 82vw; max-width: 82vw; }
    .pr-card { flex-basis: 78vw; max-width: 78vw; }
    .pd-card { flex-basis: 84vw; max-width: 84vw; }
    .pr-modal-overlay, .pd-modal-overlay { padding: 0; }
    .pr-modal, .pd-modal { max-width: 100%; width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
    /* Mobilde: ürün ÜSTTE, liste ALTTA */
    .pr-modal-body, .pd-modal-body { flex-direction: column; gap: 16px; overflow-y: auto; padding: 16px; }
    .pr-modal-product, .pd-modal-product { position: static; width: 100%; flex: none; display: flex; gap: 14px; align-items: center; }
    .pr-mp-imgwrap, .pd-mp-imgwrap { width: 84px; height: 84px; margin-bottom: 0; flex-shrink: 0; }
    .pr-modal-list, .pd-modal-list { overflow: visible; }
}
