/* Müşteri yorumları bölümü (sürüm 185): inc/reviewsSection.php + assets/js/reviews.js. Stüdyo (gece/gündüz) ve Klasik tema. */
.rv-studio {
    --rv-surface: var(--st-surface); --rv-bg: var(--st-bg2); --rv-ink: var(--st-ink); --rv-muted: var(--st-muted);
    --rv-line: var(--st-line); --rv-accent: var(--st-accent); --rv-accent-ink: var(--st-accent-ink); --rv-accent-soft: var(--st-accent-soft);
    --rv-r: var(--st-r); --rv-shadow: var(--st-shadow);
}
.rv-classic {
    --rv-surface: #ffffff; --rv-bg: #f4f5f7; --rv-ink: #1f2328; --rv-muted: #6b7280; --rv-line: #e5e7eb;
    --rv-accent: #1f2328; --rv-accent-ink: #ffffff; --rv-accent-soft: rgba(31, 35, 40, .08);
    --rv-r: 16px; --rv-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 30px -20px rgba(0, 0, 0, .25);
    padding: 70px 0; font-family: inherit;
}
.rv-sec { --rv-star: #f5b301; }
.rv-classic .section-title-area { margin-bottom: 30px; }
.rv-classic .section-title-area .line { height: 4px; width: min(448px, 100%); margin-top: 20px; background: #e2e6eb; }
.rv-sec * { box-sizing: border-box; }
.rv { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; color: var(--rv-ink); }

/* özet */
.rv-sum { min-width: 0; position: sticky; top: 90px; background: var(--rv-surface); border: 1px solid var(--rv-line); border-radius: var(--rv-r); box-shadow: var(--rv-shadow); padding: 24px; }
.rv-avg { display: flex; align-items: center; gap: 16px; }
.rv-avg strong { font-size: 56px; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.rv-cnt { display: block; color: var(--rv-muted); font-size: 14px; margin-top: 4px; }
.rv-st { display: inline-flex; gap: 2px; flex: none; }
.rv-st svg { width: 16px; height: 16px; fill: var(--rv-line); }
.rv-st svg.on { fill: var(--rv-star); }
.rv-st-lg svg { width: 22px; height: 22px; }
.rv-dist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.rv-dist button { width: 100%; display: grid; grid-template-columns: 34px 1fr 36px; align-items: center; gap: 10px; padding: 6px 8px; margin: 0; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.rv-dist button:hover:not(:disabled) { background: var(--rv-bg); }
.rv-dist button[aria-pressed="true"] { background: var(--rv-accent-soft); }
.rv-dist button:disabled { cursor: default; opacity: .5; }
.rv-dk { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; }
.rv-dk svg { width: 13px; height: 13px; fill: var(--rv-star); }
.rv-bar { height: 8px; border-radius: 99px; background: var(--rv-bg); overflow: hidden; }
.rv-bar i { display: block; height: 100%; border-radius: inherit; background: var(--rv-star); }
.rv-dn { text-align: right; color: var(--rv-muted); font-variant-numeric: tabular-nums; }

/* araçlar */
.rv-tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.rv-filter { display: inline-flex; max-width: 100%; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; border-radius: 99px; background: var(--rv-accent-soft); font-weight: 600; font-size: 14px; margin-right: auto; }
.rv-filter[hidden] { display: none; }
.rv-filter button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--rv-surface); color: var(--rv-ink); cursor: pointer; font-size: 17px; line-height: 1; }
.rv-dd { position: relative; }
.rv-dd-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 14px; border-radius: 12px; border: 1.5px solid var(--rv-line); background: var(--rv-surface); color: var(--rv-ink); font: inherit; font-size: 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.rv-dd-btn:hover { border-color: color-mix(in srgb, var(--rv-accent) 45%, var(--rv-line)); }
.rv-dd-btn:focus-visible, .rv-dd.is-open .rv-dd-btn { outline: 0; border-color: var(--rv-accent); box-shadow: 0 0 0 4px var(--rv-accent-soft); }
.rv-dd-k { color: var(--rv-muted); font-weight: 600; }
.rv-dd-btn b { font-weight: 700; }
.rv-dd-btn svg { width: 16px; height: 16px; opacity: .6; transition: transform .2s; }
.rv-dd.is-open .rv-dd-btn svg { transform: rotate(180deg); }
.rv-dd-pop { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; min-width: 100%; margin: 0; padding: 6px; list-style: none; background: var(--rv-surface); border: 1px solid var(--rv-line); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35); animation: rvPop .15s ease both; }
.rv-dd-pop[hidden] { display: none; }
@keyframes rvPop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.rv-dd-pop li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; outline: 0; }
.rv-dd-pop li:hover, .rv-dd-pop li:focus { background: var(--rv-bg); }
.rv-dd-pop li[aria-selected="true"] { color: var(--rv-accent); }
.rv-dd-pop li[aria-selected="true"]::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / contain no-repeat; }

/* usta puanları (özet kutusunda; dokununca süzer) */
.rv-ex { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rv-line); }
.rv-ex-t { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rv-muted); margin-bottom: 8px; }
.rv-ex ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.rv-ex button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin: 0; border: 0; border-radius: 12px; background: transparent; color: inherit; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.rv-ex button:hover:not(:disabled) { background: var(--rv-bg); }
.rv-ex button[aria-pressed="true"] { background: var(--rv-accent-soft); }
.rv-ex button:disabled { cursor: default; }
.rv-ex img, .rv-ex-ph { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; background: var(--rv-bg); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--rv-muted); }
.rv-ex-n { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-ex-p { display: inline-flex; align-items: center; gap: 3px; flex: none; }
.rv-ex-p svg { width: 14px; height: 14px; fill: var(--rv-star); }
.rv-ex-p i { font-style: normal; color: var(--rv-muted); font-size: 12.5px; }

/* liste */
.rv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; align-items: start; transition: opacity .2s; }
.rv-list.is-loading { opacity: .45; }
/* masonry (reviews.js): sütunlar, kart en kısa sütuna */
.rv-list.is-mas { display: flex; gap: 16px; align-items: flex-start; }
.rv-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rv-card { background: var(--rv-surface); border: 1px solid var(--rv-line); border-radius: var(--rv-r); padding: 20px; box-shadow: var(--rv-shadow); animation: rvIn .35s ease both; }
@keyframes rvIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rv-card { animation: none; } }
.rv-hd { display: flex; align-items: center; gap: 12px; }
.rv-av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; background: var(--rv-accent-soft); color: var(--rv-accent); }
.rv-classic .rv-av { color: var(--rv-ink); }
.rv-who { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.rv-who b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-who time { color: var(--rv-muted); font-size: 13px; }
.rv-tx { margin: 14px 0 0; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
.rv-tx.is-clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv-readmore { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--rv-accent); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.rv-classic .rv-readmore { text-decoration: underline; }
.rv-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--rv-line); color: var(--rv-muted); font-size: 13px; }
.rv-usta { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--rv-ink); }
.rv-usta img, .rv-usta-ph { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; background: var(--rv-bg); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: var(--rv-muted); }
.rv-usta b { font-weight: 700; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-hz { padding: 3px 9px; border-radius: 99px; background: var(--rv-bg); font-weight: 600; font-size: 12.5px; white-space: nowrap; }

/* randevu adımında usta kartı puanı (app.js .label-rating) */
.expert-label .label-rating { display: inline-flex; align-items: center; justify-content: center; gap: 3px; margin: 2px 0; font-size: 13px; line-height: 1.2; }
.expert-label .label-rating svg { width: 13px; height: 13px; fill: #f5b301; flex: none; }
.expert-label .label-rating b { font-weight: 800; }
.expert-label .label-rating span { opacity: .65; }

/* ekip kartlarında usta puanı (Stüdyo .st-person, Klasik .expert-box) */
.rv-ubadge { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; color: inherit; text-decoration: none; }
.rv-ubadge svg { width: 14px; height: 14px; fill: #f5b301; }
.rv-ubadge b { font-weight: 800; }
.rv-ubadge span { color: var(--st-muted, #6b7280); }
.rv-ubadge:hover b { text-decoration: underline; }
.expert-box .rv-ubadge { justify-content: center; width: 100%; }
.rv-empty { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--rv-muted); border: 1px dashed var(--rv-line); border-radius: var(--rv-r); }
.rv-foot { display: flex; justify-content: center; margin-top: 22px; }
.rv-more { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 14px; border: 1.5px solid var(--rv-line); background: var(--rv-surface); color: var(--rv-ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, transform .2s; }
.rv-more:hover { background: var(--rv-bg); transform: translateY(-1px); }
.rv-more[hidden] { display: none; }
.rv-more:disabled { opacity: .6; cursor: progress; }

@media (max-width: 900px) {
    .rv { grid-template-columns: 1fr; gap: 20px; }
    .rv-sum { position: static; }
    .rv-classic { padding: 48px 0; }
}
@media (max-width: 420px) {
    .rv-list { grid-template-columns: 1fr; }
    .rv-avg strong { font-size: 46px; }
    .rv-card { padding: 16px; }
}
