/* ── Single Post / Recipe Detail ─────────────────────────── */

/* Single sayfada tüm içerik sütunu arka planı */
body.single #primary {
    background: #fdfdfd;
}

/* Breadcrumb — başlık üstünde, içerik içinde */
.recipe-single .breadcrumb-wrap {
    background: none;
    padding: 0;
    margin-bottom: 8px;
}

.recipe-single .breadcrumb-inner {
    max-width: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
}

/* Leaderboard banner — içerik genişliğinde, hem masaüstü hem mobil */
.single-leaderboard-ad {
    max-width: 900px;
    margin: 16px auto 16px;
    text-align: center;
    overflow: hidden;
    min-height: 90px;   /* reklam yüklenene kadar yer tutar */
}

/* Override parent grid — single sayfada sidebar yok, tam genişlik kullan */
.single-page-wrap {
    display: block !important;
    grid-template-columns: none !important;
}

/* single-content-area tam genişlik (1280px max — page skin pozisyonu için) */
.single-content-area {
    width: 100%;
    padding: 12px 16px 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .single-content-area { padding: 8px 8px 16px; }
    .single-breadcrumb-bar { padding: 6px 8px; }
}

/* İçerik okuma genişliğini 900px'de merkezle */
.recipe-single {
    max-width: 900px;
    margin: 0 auto;
}

/* Öne çıkan görsel */
.single-featured-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative; /* overlay için */
}

.single-featured-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

/* ── Yayın / Güncelleme Tarihi — görsel altı, sol hizalı ─────── */
.single-post-dates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: -16px 0 14px;
}

.single-post-dates span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .75rem;
    color: #888;
    white-space: nowrap;
}

.single-post-dates .spd-mod {
    color: #aaa;
}

.single-post-dates i {
    font-size: .7rem;
}

/* Başlık */
.entry-header { margin-bottom: 12px; }

/* ── Rating — overlay içinde SVG yıldızlar ───────────────────── */
.imo-stars-row {
    display: inline-flex;
    align-items: center;
    pointer-events: auto;
}

.imo-stars-row .post-ratings {
    display: inline-flex !important;
    align-items: center;
    gap: 1px;
}

.imo-stars-row .post-ratings-image,
.imo-stars-row .post-ratings img {
    display: inline-block !important;
    width: 26px !important;
    height: 26px !important;
    vertical-align: middle;
    transition: transform .15s;
}
.imo-stars-row .post-ratings img:hover { transform: scale(1.15); }

.imo-stars-row .post-ratings img[src*="rating_on"] {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z' fill='%23F5A623'/%3E%3C/svg%3E");
}
.imo-stars-row .post-ratings img[src*="rating_off"] {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z' fill='%23D8D8D8'/%3E%3C/svg%3E");
}
.imo-stars-row .post-ratings img[src*="rating_over"] {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z' fill='%23FFB800'/%3E%3C/svg%3E");
}
.imo-stars-row .post-ratings img[src*="rating_half"] {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='h'%3E%3Cstop offset='50%25' stop-color='%23F5A623'/%3E%3Cstop offset='50%25' stop-color='%23D8D8D8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z' fill='url(%23h)'/%3E%3C/svg%3E");
}

.imo-stars-row table,
.imo-stars-row td,
.imo-stars-row tr {
    display: inline-flex !important;
    align-items: center;
}

@media (max-width: 480px) {
    .imo-stars-row .post-ratings img { width: 22px !important; height: 22px !important; }
}

/* Başlık */
.entry-title {
    font-size: 1.9rem;
    margin: 8px 0 12px;
    line-height: 1.2;
}

/* ── Malzeme / Yapılış Kartları ─────────────────────────────── */

.recipe-section-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px 24px 24px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

/* Başlık + alışveriş butonu satırı
   - position:relative sadece burada (kartta değil) → stacking context yok, reklam etkilenmez
   - display:block → dış float'a sıkışmaz, tam genişlik alır
   - ::after yok → clearfix gerekmez çünkü buton absolute */
.recipe-section-card .rsc-head {
    position: relative;
    display: block;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
}

.recipe-section-card .rsc-heading {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    padding: 0 170px 0 0;   /* buton genişliği kadar sağ boşluk → çakışmaz */
    border: none;
}

/* Alış-veriş listesi butonu — absolute, rsc-head içinde kırmızı çizgi hariç ortalı */
.alisveris-liste-btn {
    position: absolute;
    top: -10px;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, transform .1s;
    line-height: 1.3;
    /* z-index YOK → stacking context yok, reklam etkilenmez */
}
.alisveris-liste-btn:hover  { background: #1ebe5a; }
.alisveris-liste-btn:active { transform: translateY(1px); }
.alisveris-liste-btn i      { font-size: .9rem; }

/* ── Alış-veriş Lightbox ─────────────────────────────────── */
.alisveris-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9998;
}
.alisveris-overlay.open { display: block; }

.alisveris-lightbox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.96);
    z-index: 9999;
    background: #fff;
    border-radius: 16px;
    width: min(480px, 94vw);
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 40px rgba(0,0,0,.22);
    opacity: 0;
    transition: opacity .25s, transform .25s;
    overflow: hidden;
}
.alisveris-lightbox[hidden] { display: none; }
.alisveris-lightbox.open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Başlık */
.alisveris-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.alisveris-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.alisveris-title i { color: #25D366; font-size: 1.15rem; }
.alisveris-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .15s, color .15s;
}
.alisveris-close:hover { background: #f5f5f5; color: #333; }

/* Alt başlık */
.alisveris-subtitle {
    margin: 0;
    padding: 10px 20px 4px;
    font-size: .88rem;
    color: var(--color-text-soft);
    flex-shrink: 0;
}

/* Başlık sağ taraf (porsiyon + kapat) */
.alisveris-head-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Porsiyon satırı — header içinde */
.alisveris-portion-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    color: var(--color-text-soft);
}
.alisveris-portion-row i { color: var(--color-primary); font-size: .9rem; }
.alisveris-portion-row select {
    border: 1.5px solid var(--color-border);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: .82rem;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-bg);
    cursor: pointer;
    outline: none;
}
.alisveris-portion-row select:focus {
    border-color: var(--color-primary);
}

/* Tümünü seç satırı */
.alisveris-select-all-row {
    padding: 6px 20px 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-text);
    flex-shrink: 0;
}
.alisveris-select-all-row label { cursor: pointer; display: flex; align-items: center; gap: 8px; }

/* Liste */
.alisveris-list {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 8px 20px;
}
.alisveris-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    border-bottom: 1px solid #f5f5f5;
    font-size: .92rem;
    color: var(--color-text);
    cursor: pointer;
    transition: background .12s;
    border-radius: 6px;
}
.alisveris-item:last-child { border-bottom: none; }
.alisveris-item:hover { background: #fafafa; }
.alisveris-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: #25D366;
    flex-shrink: 0;
}
/* Miktar etiketi */
.al-qty {
    font-size: .8rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(214,43,43,.07);
    border-radius: 4px;
    padding: 2px 7px;
    white-space: nowrap;
    flex-shrink: 0;
}
.al-qty--unit {
    color: var(--color-text-soft);
    background: var(--color-bg);
}
.al-name {
    flex: 1;
}

/* İşaretlenince üstü çizili görünsün */
.alisveris-item input[type="checkbox"]:checked ~ span,
.alisveris-item:has(input:checked) {
    color: #aaa;
    text-decoration: line-through;
}

/* Footer / gönder butonu */
.alisveris-footer {
    padding: 14px 20px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}
.alisveris-gonder-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 20px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.alisveris-gonder-btn:hover { background: #1ebe5a; }
.alisveris-gonder-btn i { font-size: 1.1rem; }

@media (max-width: 600px) {
    /* Mobil: absolute kaldır, başlığın altında tam genişlik */
    .recipe-section-card .rsc-head {
        padding-bottom: 44px;  /* buton için alt boşluk */
    }
    .recipe-section-card .rsc-heading {
        padding-right: 0;
    }
    .alisveris-liste-btn {
        position: absolute;
        top: auto;
        bottom: 6px;
        right: 0;
        left: 0;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .alisveris-lightbox { width: 96vw; max-height: 90vh; border-radius: 12px; }
}

/* Alt başlıklar (kreması için, keki için…) */
.recipe-section-card h2:not(.rsc-heading),
.recipe-section-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 20px 0 8px;
}

/* Malzeme listesi */
.ingredients-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

/* Yapılış listesi */
.instructions-card ol {
    padding-left: 28px;
    margin-bottom: 0;
}

/* ── İçerik */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text);
}

.entry-content h2 {
    font-size: 1.4rem;
    margin: 24px 0 10px;
    color: var(--color-primary);
}

.entry-content h3 {
    font-size: 1.2rem;
    margin: 20px 0 8px;
}

.entry-content ul, .entry-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.entry-content li { margin-bottom: 6px; }

.entry-content img {
    border-radius: 8px;
    margin: 12px auto;
    display: block;
}

/* Recipe snippet — sadece yıldızlar */
.recipe-snippet {
    padding: 6px 0 10px;
    margin-bottom: 4px;
}

/* Yıldız rating eklentisi çıktılarını yatay hizala */
.recipe-snippet .post-ratings {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}

.recipe-snippet .post-ratings-image,
.recipe-snippet .post-ratings img {
    display: inline !important;
    vertical-align: middle;
}

/* Rating eklentisi tablo çıktısı varsa inline yap */
.recipe-snippet table,
.recipe-snippet td,
.recipe-snippet tr {
    display: inline !important;
}

/* Hazırlık/pişirme/porsiyon meta bar */
.tarif-meta-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(12px, 3vw, 28px);
    padding: 8px 0;
    margin: 20px 0;
    font-size: clamp(0.72rem, 2.2vw, 0.92rem);
    color: var(--color-text-soft);
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.tarif-meta-bar span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 1;
    min-width: 0;
}

.tarif-meta-bar i { color: var(--color-primary); flex-shrink: 0; }
.tarif-meta-bar strong { color: var(--color-text); }
.tarif-meta-bar a { color: var(--color-primary); font-weight: 700; text-decoration: none; }

/* Pratik bilgiler accordion */
.pratik-bilgiler-wrap { margin: 24px 0; }

.pratik-accordion { margin-top: 10px; }

.pratik-item {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    margin-bottom: 6px;
    background: var(--color-bg-card);
    overflow: hidden;
}

.pratik-soru {
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .95rem;
    user-select: none;
}

.pratik-soru::-webkit-details-marker { display: none; }
.pratik-soru::after { content: '+'; font-size: 1.2rem; color: var(--color-primary); flex-shrink: 0; margin-left: 8px; }
.pratik-item[open] > .pratik-soru::after { content: '−'; }

.pratik-cevap {
    padding: 12px 16px;
    border-top: 1px solid var(--color-border);
    font-size: .92rem;
    line-height: 1.65;
    color: var(--color-text);
}

.pratik-cevap p:last-child { margin-bottom: 0; }

/* Ad zones inside content */
.webreklam {
    float: right;
    margin: 0 0 16px 16px;
}

/* Float içeren kartın yüksekliğini float'a göre genişlet */
.recipe-section-card::after {
    content: '';
    display: block;
    clear: both;
}

/* Malzeme altı reklam — sadece mobilde görünür */
.mobilwebreklam {
    display: none;
}

/* Separator clearfix */
.entry-content .clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* Desktop comments vs mobile accordion */
.desktop-comments-section { display: block; }

@media (max-width: 768px) {
    .desktop-comments-section { display: none; }
    .entry-title { font-size: 1.5rem; }
    /* Malzeme üstü reklam (desktop float) mobilde gizle */
    .webreklam { display: none; }
    /* Malzeme altı reklam mobilde göster */
    .mobilwebreklam { display: block; margin: 16px 0; }
}

/* ── Görsel üzeri meta overlay ──────────────────────────────── */

.image-meta-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: rgba(0, 0, 0, .52);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 8px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}

.imo-meta-row {
    display: inline-flex;
    align-items: center;
}

.imo-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.imo-item i { font-size: 12px; opacity: .85; }
.imo-item strong { font-weight: 700; }

.imo-sep {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,.35);
    margin: 0 10px;
}

/* ── 4'lü Eylem Çubuğu (recipe-action-bar) ─────────────────── */

.recipe-action-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: visible;
    margin: 0 0 24px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.rab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 8px 12px;
    gap: 4px;
    text-decoration: none;
    color: var(--color-text);
    cursor: pointer;
    border-right: 1px solid var(--color-border);
    position: relative;
    transition: background .16s;
    user-select: none;
}

.rab-item:last-child { border-right: none; }

.rab-item:hover { background: var(--color-bg); }

/* Icon kapsayıcı */
.rab-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff8f5;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-primary);
    transition: border-color .16s, background .16s;
    margin-bottom: 2px;
}

.rab-item:hover .rab-icon-wrap,
.rab-item.rab-share.is-open .rab-icon-wrap {
    border-color: var(--color-primary);
    background: #fff0eb;
}

.rab-icon-wrap svg { color: var(--color-primary); }

.rab-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    line-height: 1.2;
}

.rab-count {
    font-size: 11px;
    color: var(--color-secondary);
    font-weight: 700;
}

/* ── Simple Favorite Button → action bar ikonu ─────────────── */

/* Wrapper sıfırla */
.rab-save .rab-icon-wrap {
    overflow: visible;
    position: relative;
}

/* Eklenti butonu — daireye doldur, görünmez yap */
.rab-save .rab-icon-wrap button.simplefavorite-button {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    opacity: 0 !important;
    z-index: 2;
}

/* Kendi yer tutucu ikonumuz — eklentinin üstünde görünür */
.rab-save .rab-icon-wrap::before {
    content: '\f02e'; /* fa-bookmark */
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;  /* regular = outline */
    font-size: 20px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    pointer-events: none;
    transition: color .15s;
}

/* Favorilendi durumu — solid bookmark */
.rab-save.is-favorited .rab-icon-wrap::before {
    font-weight: 900;
    color: var(--color-primary);
}

/* Eklenti sayısını rab-count olarak yeniden konumlandır */
.rab-save .simplefavorite-button-count {
    display: none !important; /* JS ile ayrı gösteriliyor */
}

/* Deftere eklenme sayısı */
.rab-fav-count {
    font-size: 10px;
    color: var(--color-text-soft);
    text-align: center;
    line-height: 1.2;
    margin-top: 1px;
}

/* Favorilendi → label kırmızıya dönsün */
.rab-save.is-favorited .rab-label {
    color: var(--color-primary);
}

/* Paylaş dropdown */
.rab-share-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
    z-index: 999;
    min-width: 160px;
    overflow: hidden;
}

.rab-share.is-open .rab-share-dropdown { display: block; }

.rsd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.15);
    transition: filter .15s;
}

.rsd-item:last-child { border-bottom: none; }
.rsd-item:hover { filter: brightness(.88); }

.rsd-item i, .rsd-item svg { flex-shrink: 0; }

.rsd-whatsapp  { background: #25d366; }
.rsd-facebook  { background: #1877f2; }
.rsd-x         { background: #000; }
.rsd-pinterest { background: #e60023; }

/* Mobil */
@media (max-width: 480px) {
    .rab-item { padding: 12px 4px 10px; }
    .rab-icon-wrap { width: 34px; height: 34px; font-size: 16px; }
    .rab-label { font-size: 10px; }
    .rab-count { font-size: 10px; }
    .rab-share-dropdown { left: auto; right: 0; transform: none; }
}

/* ── Daha Fazla Göster butonu yükleniyor durumu ─────────────── */

#load-more-comments.is-loading {
    opacity: .75;
    cursor: wait;
    pointer-events: none;
}

.ig-btn-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ig-spin .6s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes ig-spin {
    to { transform: rotate(360deg); }
}

/* ── Mobil Yorum Lightbox ─────────────────────────────────── */

.comment-lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9998;
    backdrop-filter: blur(2px);
}

.comment-lb {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: var(--color-bg-card, #fff);
    z-index: 9999;
    flex-direction: column;
    overflow: hidden;
}

.comment-lb-overlay.open { display: block; }
.comment-lb.open         { display: flex; }

body.comment-lb-open     { overflow: hidden; }

/* Sadece mobilde aktif — masaüstünde hiç render etme */
@media (min-width: 769px) {
    .comment-lb,
    .comment-lb-overlay { display: none !important; }
}

/* Başlık */
.comment-lb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border, #e5e5e5);
    flex-shrink: 0;
    background: var(--color-bg-card, #fff);
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Tab butonları */
.comment-lb-tabs {
    display: flex;
    gap: 4px;
    background: var(--color-bg, #f5f5f5);
    border-radius: 8px;
    padding: 3px;
}

.comment-lb-tab {
    padding: 7px 14px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-text-soft, #888);
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
}

.comment-lb-tab.active {
    background: var(--color-primary, #c81e1e);
    color: #fff;
}

/* Kapat butonu */
.comment-lb-close {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--color-bg, #f5f5f5);
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text, #222);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* İçerik paneli */
.comment-lb-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.comment-lb-pane {
    display: none;
    padding: 16px;
}

.comment-lb-pane.active {
    display: block;
}

.comment-lb-empty {
    text-align: center;
    color: var(--color-text-soft, #888);
    padding: 32px 0;
    font-size: .9rem;
}

.comment-lb-top-info {
    font-size: .78rem;
    color: var(--color-text-soft, #888);
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border, #e5e5e5);
}

/* ── Yorum listesi (lightbox içi) ─────────────────────────── */
.comment-lb-pane .comment-list,
.comment-lb-pane ol.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-lb-pane .comment-list li,
.comment-lb-pane ol.commentlist li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border, #e5e5e5);
}

.comment-lb-pane .comment-list li:last-child,
.comment-lb-pane ol.commentlist li:last-child {
    border-bottom: none;
}

.comment-lb-pane .comment-author .fn {
    font-weight: 700;
    font-size: .88rem;
}

.comment-lb-pane .comment-meta,
.comment-lb-pane .comment-metadata {
    font-size: .75rem;
    color: var(--color-text-soft, #888);
    margin-bottom: 6px;
}

.comment-lb-pane .comment-content p {
    font-size: .88rem;
    line-height: 1.55;
    margin: 0;
}

.comment-lb-pane .comment-author img {
    display: none; /* avatar gizle */
}

/* ── Yorum formu (lightbox içi) ───────────────────────────── */
#respond-lb {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

/* ── Lightbox yorum pagination ────────────────────────────── */
.comment-lb-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 0 4px;
    border-top: 1px solid var(--color-border, #e5e5e5);
    margin-top: 8px;
}

.comment-lb-pg-btn {
    padding: 6px 18px;
    border: 1px solid var(--color-border, #ddd);
    border-radius: 6px;
    background: var(--color-bg-card, #fff);
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-text, #222);
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.comment-lb-pg-btn:hover:not(:disabled) {
    border-color: var(--color-primary, #c81e1e);
    color: var(--color-primary, #c81e1e);
}

.comment-lb-pg-btn:disabled {
    opacity: .35;
    cursor: default;
}

.comment-lb-pg-info {
    font-size: .8rem;
    color: var(--color-text-soft, #888);
}

#respond-lb .comment-reply-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--color-text, #222);
}

#respond-lb .comment-reply-title small { display: none; }

#respond-lb .comment-notes,
#respond-lb .logged-in-as {
    font-size: .8rem;
    color: var(--color-text-soft, #888);
    margin-bottom: 12px;
}

#respond-lb .comment-form-comment label,
#respond-lb .comment-form-author  label,
#respond-lb .comment-form-email   label,
#respond-lb .comment-form-url     label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-text, #222);
}

#respond-lb textarea,
#respond-lb input[type="text"],
#respond-lb input[type="email"],
#respond-lb input[type="url"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--color-border, #ddd);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: .9rem;
    color: var(--color-text, #222);
    background: var(--color-bg, #f9f9f9);
    outline: none;
    transition: border-color .15s;
    font-family: inherit;
    resize: vertical;
}

#respond-lb textarea:focus,
#respond-lb input[type="text"]:focus,
#respond-lb input[type="email"]:focus {
    border-color: var(--color-primary, #c81e1e);
    background: #fff;
}

#respond-lb textarea { min-height: 100px; }

#respond-lb .comment-form-author,
#respond-lb .comment-form-email,
#respond-lb .comment-form-url {
    margin-bottom: 12px;
}

#respond-lb .comment-form-comment {
    margin-bottom: 14px;
}

#respond-lb .comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .78rem;
    color: var(--color-text-soft, #888);
    margin-bottom: 14px;
}

#respond-lb .form-submit {
    margin: 0;
}

#respond-lb .form-submit input[type="submit"],
#respond-lb #submit-lb {
    width: 100%;
    padding: 12px;
    background: var(--color-primary, #c81e1e);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s;
}

#respond-lb .form-submit input[type="submit"]:hover,
#respond-lb #submit-lb:hover {
    opacity: .88;
}
