/* Sayfa düzeni — footer her zaman en altta */
html { height: 100%; }
body {
    min-height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.site-page {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}
footer.site-footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: 0;
}

/* Header — iletişim ikonları (Loyaltim nav-icon-btn stili, yan yana) */
.nav-container .nav-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav-container .nav-social {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.nav-container .nav-social .nav-icon-btn {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-sizing: border-box;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.nav-container .nav-social .nav-icon-btn svg {
    width: 17px;
    height: 17px;
    display: block;
    flex-shrink: 0;
}
.nav-container .nav-social .nav-icon-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.55);
}
@media (max-width: 768px) {
    .nav-container .nav-social {
        gap: 5px;
    }
    .nav-container .nav-social .nav-icon-btn {
        width: 30px;
        height: 30px;
        min-width: 30px;
        border-radius: 8px;
    }
    .nav-container .nav-social .nav-icon-btn svg {
        width: 14px;
        height: 14px;
    }
}
.floating-contact {
    display: none !important;
}

/* İtem ilanı — yakında sayfası */
.coming-soon-main {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    min-height: 50vh;
    box-sizing: border-box;
}
.coming-soon-frame {
    text-align: center;
    max-width: 520px;
    width: 100%;
    padding: 48px 36px;
    border-radius: 20px;
    background: rgba(12, 10, 32, 0.72);
    border: 1px solid rgba(102, 126, 234, 0.22);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.coming-soon-icon {
    display: block;
    font-size: 3em;
    margin-bottom: 16px;
    line-height: 1;
}
.coming-soon-title {
    margin: 0 0 16px;
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.coming-soon-message {
    margin: 0 0 28px;
    font-size: 1.15em;
    color: #b8c5d6;
    line-height: 1.5;
}
.coming-soon-back {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.coming-soon-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.45);
}
@media (max-width: 768px) {
    .coming-soon-main { padding-top: 100px; }
    .coming-soon-frame { padding: 36px 24px; }
    .coming-soon-title { font-size: 1.65em; }
}

/* Çoklu sayfa, dropdown menü, ürün kartları, sohbet */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { cursor: default; }
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    margin-top: 8px;
    min-width: 220px;
    background: rgba(15, 12, 41, 0.98);
    border: 1px solid rgba(102, 126, 234, 0.35);
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 1100;
    list-style: none;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown,
.nav-item-dropdown.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
    display: block;
    padding: 10px 18px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.92em;
}
.nav-dropdown a:hover { background: rgba(102, 126, 234, 0.2); color: #fff; }
.nav-dropdown .dropdown-badge {
    float: right;
    font-size: 0.7em;
    color: #ef4444;
    font-weight: 700;
}
/* İtem İlanı — yakında rozeti (link hizasını bozmaz) */
.nav-links .nav-item-item-ilan {
    position: relative;
}
.nav-links .nav-item-item-ilan .nav-soon-badge {
    position: absolute;
    top: calc(100% - 0.2em);
    right: 0;
    font-size: 0.52em;
    line-height: 1;
    color: #fbbf24;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
/* Ana sayfa — hero & bölüm boşlukları */
body.home-page section.hero {
    max-width: 100%;
    padding: 88px 20px 32px;
    margin: 0;
}
/* Ana sayfa özellik kartları: byron-pro-ui.css */
body.home-page .section-block {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 24px;
    box-sizing: border-box;
}
body.home-page .section-subtitle-tight,
body.item-ilan-page .section-subtitle-tight {
    margin-bottom: 28px;
}
/* adımlar / özellik kartları: byron-pro-ui.css */
body.home-page #faq {
    padding-top: 48px;
}
@media (max-width: 520px) {
    body.home-page .section-block {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Ürün sayfası (urun.php) — tek stil kaynağı */
body.product-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.product-page .site-page {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}
body.product-page footer.site-footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: 0 !important;
}
/* Ürün sayfası üst menü — site.css ile uyumlu fixed */
body.product-page nav.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
body.product-page .product-layout-main {
    flex: 1 0 auto;
    padding: 100px 24px 70px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
body.product-page .product-page-frame {
    border-radius: 20px;
    padding: 28px 32px;
    box-sizing: border-box;
    background: rgba(12, 10, 32, 0.72);
    border: 1px solid rgba(102, 126, 234, 0.22);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 2;
    pointer-events: auto;
}
body.product-page .product-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
}
body.product-page .product-layout-divider {
    flex: 0 0 1px;
    width: 1px;
    margin: 0 28px;
    align-self: stretch;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(102, 126, 234, 0.2) 12%,
        rgba(118, 75, 162, 0.38) 50%,
        rgba(102, 126, 234, 0.2) 88%,
        transparent 100%
    );
}
body.product-page .product-sidebar {
    position: sticky;
    top: 88px;
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(102, 126, 234, 0.1) 0%, rgba(15, 12, 41, 0.65) 100%);
    border: 1px solid rgba(102, 126, 234, 0.18);
    box-shadow: none;
    backdrop-filter: blur(10px);
}
.product-sidebar-accent {
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: productSidebarShine 4s ease infinite;
}
@keyframes productSidebarShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
body.product-page .product-sidebar-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 26px 22px 24px;
}
body.product-page .product-sidebar-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.product-sidebar-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75em;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.35), rgba(118, 75, 162, 0.25));
    border: 1px solid rgba(102, 126, 234, 0.15);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
}
.product-sidebar-head-text { flex: 1; min-width: 0; }
.product-sidebar-badge {
    display: inline-block;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.35);
}
.product-sidebar-badge.is-free {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.35);
}
.product-sidebar-title {
    font-size: 1.45em;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    color: #fff;
}
.product-sidebar-desc {
    color: #b8c5d6;
    font-size: 0.92em;
    line-height: 1.6;
    margin: 0 0 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.product-sidebar-actions { display: flex; flex-direction: column; gap: 10px; }
.product-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.88em;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.product-sidebar-btn:hover { transform: translateY(-2px); }
.product-sidebar-btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}
.product-sidebar-btn-primary:hover {
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.5);
}
.product-sidebar-btn-outline {
    border: 1px solid rgba(102, 126, 234, 0.5);
    color: #e2e8f0;
    background: rgba(0, 0, 0, 0.2);
}
.product-sidebar-btn-outline:hover {
    background: rgba(102, 126, 234, 0.15);
    color: #fff;
}
body.product-page .product-sidebar-highlight {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.25);
}
body.product-page .product-sidebar-highlight-icon {
    flex-shrink: 0;
    color: #34d399;
    font-weight: 700;
    line-height: 1.35;
}
body.product-page .product-sidebar-highlight-text {
    color: #94d4b8;
    font-size: 0.82em;
    line-height: 1.45;
}
.product-sidebar-note {
    margin: 14px 0 0;
    font-size: 0.82em;
    color: #94a3b8;
    line-height: 1.45;
}
body.product-page .product-main {
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}
body.product-page .product-main-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.12);
    position: relative;
    z-index: 30;
    pointer-events: auto;
}
.product-page .product-main-tab {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    margin: 0;
    box-sizing: border-box;
    background: rgba(15, 12, 41, 0.9);
    border: 1px solid rgba(102, 126, 234, 0.35);
    color: #e2e8f0;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.92em;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    user-select: none;
}
body.product-page .product-tab-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
body.product-page .product-feature-tab {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    margin: 0;
    box-sizing: border-box;
    display: block;
    width: 100%;
    cursor: pointer;
    line-height: 1.3;
}
body.product-page .product-main-tab:hover { border-color: rgba(102, 126, 234, 0.7); color: #fff; }
body.product-page .product-main-panel {
    display: none !important;
    animation: productTabIn 0.25s ease;
    scroll-margin-top: 88px;
}
body.product-page #pmt-fiyat:checked ~ #pm-fiyat,
body.product-page #pmt-ozellikler:checked ~ #pm-ozellikler,
body.product-page #pmt-videolar:checked ~ #pm-videolar {
    display: block !important;
}
body.product-page #pmt-fiyat:checked ~ .product-main-tabs label[for="pmt-fiyat"],
body.product-page #pmt-ozellikler:checked ~ .product-main-tabs label[for="pmt-ozellikler"],
body.product-page #pmt-videolar:checked ~ .product-main-tabs label[for="pmt-videolar"] {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: #fff;
}
/* Ürün sayfasında sohbet sekmelerin üstüne binmesin */
body.product-page #chatPanel,
body.product-page #chatToggle {
    z-index: 500 !important;
}
@keyframes productTabIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
body.product-page .product-price-block { padding: 8px 0; }
body.product-page .product-price-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}
body.product-page .product-price-col-amount {
    flex: 0 0 220px;
    min-width: 180px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8px 32px 8px 8px;
    border-right: 1px solid rgba(102, 126, 234, 0.12);
    box-sizing: border-box;
}
body.product-page .product-price-col-desc {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 8px 8px 32px;
    box-sizing: border-box;
}
body.product-page .product-price-amount { font-size: 2em; margin: 0 0 10px; }
.product-price-note { color: #fbbf24; margin: 0; font-size: 0.95em; }
.product-price-desc { color: #e2e8f0; line-height: 1.65; margin: 0 0 12px; font-size: 0.98em; }
.product-price-desc-secondary { color: #a0aec0; line-height: 1.55; margin: 0; font-size: 0.9em; }
/* Fiyat sekmesi — Önemli Not (özelliklerdeki altın kart ile aynı stil) */
body.product-page .product-price-important-note.feature-cat-card {
    margin-top: 28px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: 14px;
    padding: 20px 22px;
    background: linear-gradient(
        145deg,
        rgba(251, 191, 36, 0.14) 0%,
        rgba(245, 158, 11, 0.07) 42%,
        rgba(15, 12, 41, 0.55) 100%
    );
    box-shadow:
        0 0 24px rgba(251, 191, 36, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
body.product-page .product-price-important-note.feature-cat-card:hover {
    border-color: rgba(251, 191, 36, 0.65);
    box-shadow:
        0 0 32px rgba(251, 191, 36, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
body.product-page .product-price-important-note .cat-header {
    margin-bottom: 12px;
    color: #fbbf24;
    font-size: 1.02em;
    font-weight: 700;
    letter-spacing: 0.02em;
}
body.product-page .product-price-important-note .cat-icon {
    font-size: 1.35em;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.35));
}
body.product-page .product-price-important-note > p {
    margin: 0;
    color: #e2e8f0;
    font-size: 0.94em;
    line-height: 1.7;
}
@media (max-width: 640px) {
    body.product-page .product-price-layout { flex-direction: column; align-items: stretch; }
    body.product-page .product-price-col-amount {
        flex: none;
        width: 100%;
        max-width: none;
        padding: 0 0 20px;
        border-right: none;
        border-bottom: 1px solid rgba(102, 126, 234, 0.12);
    }
    body.product-page .product-price-col-desc {
        padding: 20px 0 0;
    }
}

/* Özellik alt sekmeleri */
body.product-page .product-features-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}
body.product-page .product-feature-divider {
    flex: 0 0 1px;
    width: 1px;
    margin: 4px 20px;
    align-self: stretch;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(102, 126, 234, 0.25) 18%,
        rgba(102, 126, 234, 0.25) 82%,
        transparent
    );
}
body.product-page .product-feature-tabs {
    flex: 0 0 200px;
    width: 200px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 5;
    pointer-events: auto;
}
body.product-page .product-feature-tab-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
body.product-page .product-feature-panels {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}
body.product-page .product-feature-tab {
    text-align: left;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.08);
    background: rgba(0, 0, 0, 0.2);
    color: #cbd5e0;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.2s ease;
    display: block;
    user-select: none;
    pointer-events: auto;
}
body.product-page .product-feature-tab:hover {
    border-color: rgba(102, 126, 234, 0.4);
    color: #fff;
}
body.product-page .product-feature-panel {
    display: none !important;
    padding: 20px 22px;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.08);
    box-sizing: border-box;
}
body.product-page .product-feature-panel-body { color: #e2e8f0; font-size: 0.92em; line-height: 1.6; }
body.product-page .product-feature-panel-body ul {
    margin: 8px 0 8px 18px;
    padding: 0;
}
body.product-page .product-feature-panel-body li { margin-bottom: 6px; }
body.product-page .product-feature-panel-body p { margin: 8px 0; }
body.product-page .product-feature-panel-body strong { color: #cbd5e0; }
.product-page .cat-icon,
.product-page .upgrade-about-icon { display: none; }
.product-page .upgrade-about-card {
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.2);
}
.product-page .upgrade-about-title { color: #e2e8f0; display: block; margin-bottom: 6px; }
.product-page .upgrade-about-desc { color: #a0aec0; margin: 0; font-size: 0.9em; }

/* Videolar — Özellikler sekmesi ile aynı düzen ve stil */
body.product-page .video-tabs-container {
    margin-top: 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}
body.product-page .video-tabs-list {
    flex: 0 0 200px;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
    pointer-events: auto;
}
/* Ayraç: .product-feature-divider (Özellikler ile aynı margin: 4px 20px) */
body.product-page .video-tab,
body.product-page label.video-tab,
body.product-page .video-tab-group-label {
    text-align: left;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.08);
    background: rgba(0, 0, 0, 0.2);
    color: #cbd5e0;
    font-size: 0.85em;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
    user-select: none;
}
body.product-page label.video-tab {
    display: block;
    margin: 0;
    box-sizing: border-box;
}
body.product-page .video-tab:hover,
body.product-page .video-tab-group-label:hover {
    border-color: rgba(102, 126, 234, 0.4);
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
}
body.product-page .video-tab.active,
body.product-page .video-tab-group-label.active {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.55);
    color: #fff;
}
body.product-page .video-tab-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}
body.product-page .video-tab-group-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 0 4px 10px;
    border-left: 2px solid rgba(102, 126, 234, 0.35);
    margin-left: 4px;
}
body.product-page .video-tab-panels {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 20px 22px;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.03);
    border: 1px solid rgba(102, 126, 234, 0.08);
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}
body.product-page .video-tab-panel {
    display: none !important;
    flex-direction: column;
    gap: 14px;
}
body.product-page .video-tab-panel.active {
    display: flex !important;
}
body.product-page .video-tab-panel .video-player-wrap {
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.15);
}
body.product-page .video-tab-panel h3 {
    color: #a5b4fc !important;
    margin: 0 !important;
    font-size: 1.05em !important;
}
body.product-page .video-tab-panel .video-desc {
    color: #cbd5e0;
    font-size: 0.9em;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 960px) {
    body.product-page .product-page-frame { padding: 20px 18px; border-radius: 16px; }
    body.product-page .product-layout { flex-direction: column; }
    body.product-page .product-layout-divider {
        width: 100%;
        height: 1px;
        margin: 20px 0;
        flex: none;
        background: linear-gradient(
            to right,
            transparent,
            rgba(102, 126, 234, 0.28) 20%,
            rgba(118, 75, 162, 0.35) 50%,
            rgba(102, 126, 234, 0.28) 80%,
            transparent
        );
    }
    body.product-page .product-sidebar { position: static; width: 100%; max-width: none; flex: none; }
    body.product-page .product-main { padding: 0; }
    body.product-page .product-features-layout { flex-direction: column; }
    body.product-page .product-feature-divider {
        width: 100%;
        height: 1px;
        margin: 16px 0;
        flex: none;
        background: linear-gradient(
            to right,
            transparent,
            rgba(102, 126, 234, 0.22) 30%,
            rgba(102, 126, 234, 0.22) 70%,
            transparent
        );
    }
    body.product-page .product-feature-tabs {
        flex: none;
        width: 100%;
        max-width: none;
        flex-direction: row;
        flex-wrap: wrap;
    }
    body.product-page .product-feature-tab { flex: 1 1 auto; text-align: center; }
    body.product-page .video-tabs-container {
        flex-direction: column;
    }
    body.product-page .video-tabs-container .product-feature-divider {
        width: 100%;
        height: 1px;
        margin: 16px 0;
        flex: none;
        background: linear-gradient(
            to right,
            transparent,
            rgba(102, 126, 234, 0.22) 30%,
            rgba(102, 126, 234, 0.22) 70%,
            transparent
        );
    }
    body.product-page .video-tabs-list {
        flex: none;
        min-width: 0;
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0;
        border: none;
    }
    body.product-page .video-tab-panels {
        padding: 16px 14px;
    }
}
@media (max-width: 768px) {
    body.product-page .product-layout-main { padding-top: 80px; }
    body.product-page .product-main-tab { flex: 1 1 auto; text-align: center; padding: 10px 12px; font-size: 0.85em; }
}

/* Ürün yorumları — farm / merchant / upgrade */
body.product-page .product-reviews-section {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(102, 126, 234, 0.28);
    position: relative;
    z-index: 5;
    pointer-events: auto;
}
body.product-page .product-reviews-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 22px;
}
body.product-page .product-reviews-title {
    margin: 0;
    font-size: 1.35em;
    font-weight: 700;
    color: #e2e8f0;
}
body.product-page .product-reviews-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    color: #a0aec0;
}
body.product-page .product-reviews-avg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fbbf24;
}
body.product-page .product-reviews-avg strong {
    color: #e2e8f0;
    font-weight: 700;
}
body.product-page .product-reviews-form {
    background: rgba(15, 12, 41, 0.55);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 28px;
}
body.product-page .product-reviews-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
body.product-page .product-reviews-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    margin-bottom: 16px;
}
body.product-page .product-reviews-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body.product-page .product-reviews-label {
    font-size: 0.85em;
    font-weight: 600;
    color: #cbd5e0;
}
body.product-page .product-reviews-field input[type="text"],
body.product-page .product-reviews-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.35);
    background: rgba(8, 6, 24, 0.75);
    color: #e2e8f0;
    font: inherit;
    font-size: 0.92em;
    resize: vertical;
    min-height: 44px;
}
body.product-page .product-reviews-field textarea {
    min-height: 100px;
}
body.product-page .product-reviews-field input:focus,
body.product-page .product-reviews-field textarea:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.75);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}
body.product-page .star-picker {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
body.product-page .star-picker-radios {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: nowrap;
}
body.product-page .star-picker-radios .star-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
body.product-page .star-picker-radios label {
    cursor: pointer;
    font-size: 1.65em;
    line-height: 1;
    color: rgba(148, 163, 184, 0.45);
    transition: color 0.15s ease;
    padding: 2px 4px;
    user-select: none;
}
/* Seçili puan: soldan N yıldız sarı */
body.product-page .star-picker-radios:not(:hover) .star-radio:checked ~ label {
    color: #fbbf24;
}
/* Hover: soldan hover edilen yıldıza kadar sarı */
body.product-page .star-picker-radios:hover label {
    color: rgba(148, 163, 184, 0.45);
}
body.product-page .star-picker-radios label:hover,
body.product-page .star-picker-radios label:hover ~ label {
    color: #fbbf24;
}
body.product-page .star-picker-radios .star-radio:focus + label {
    outline: 2px solid rgba(102, 126, 234, 0.65);
    outline-offset: 2px;
    border-radius: 4px;
}
body.product-page .product-reviews-form-hint {
    min-height: 1.2em;
    margin: 0 0 12px;
    font-size: 0.85em;
    color: #94a3b8;
}
body.product-page .product-reviews-form-hint.is-error { color: #f87171; }
body.product-page .product-reviews-form-hint.is-success { color: #86efac; }
body.product-page .product-reviews-submit {
    display: inline-block;
    margin-top: 18px;
    padding: 11px 24px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font: inherit;
    font-size: 0.92em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.product-page .product-reviews-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.45);
}
body.product-page .product-reviews-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}
body.product-page .product-reviews-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
body.product-page .product-review-item {
    background: rgba(15, 12, 41, 0.45);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 16px 18px;
}
body.product-page .product-review-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin-bottom: 8px;
}
body.product-page .product-review-head-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
body.product-page .product-review-delete-form {
    margin: 0;
    display: inline-flex;
}
body.product-page .product-review-delete-btn {
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(248, 113, 113, 0.55);
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    font: inherit;
    font-size: 0.75em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
body.product-page .product-review-delete-btn:hover {
    background: rgba(248, 113, 113, 0.22);
    border-color: rgba(248, 113, 113, 0.85);
    color: #fecaca;
}
body.product-page .product-review-name {
    font-weight: 700;
    color: #e2e8f0;
    font-size: 0.95em;
}
body.product-page .product-review-stars,
body.product-page .product-reviews-avg {
    display: inline-flex;
    gap: 2px;
}
body.product-page .review-star {
    color: rgba(148, 163, 184, 0.35);
    font-size: 1em;
}
body.product-page .review-star.is-on {
    color: #fbbf24;
}
body.product-page .product-review-text {
    margin: 0 0 10px;
    color: #cbd5e0;
    font-size: 0.92em;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
}
body.product-page .product-review-time {
    font-size: 0.78em;
    color: #718096;
}
body.product-page .product-reviews-empty {
    margin: 0;
    text-align: center;
    color: #718096;
    font-size: 0.9em;
    padding: 24px 12px;
}
body.product-page .product-reviews-list:not(:empty) + .product-reviews-empty {
    display: none;
}
@media (max-width: 640px) {
    body.product-page .product-reviews-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Topluluk sohbeti — sağ alt sabit */
.chat-widget-root {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.chat-widget-toggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: #111;
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
    z-index: 99991;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-widget-toggle:hover {
    background: #222;
}
.chat-widget-toggle.is-hidden {
    display: none;
}
.chat-widget-toggle-icon {
    display: block;
}
.chat-panel {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 500px;
    max-height: calc(100vh - 40px);
    background: rgba(12, 12, 16, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px 14px 12px 12px;
    z-index: 99992;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    display: none;
}
.chat-panel.open {
    display: flex;
    animation: chat-panel-slide-up 0.28s ease;
    pointer-events: auto;
}
@keyframes chat-panel-slide-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.chat-minimize-bar {
    display: none;
}
.chat-panel-header {
    padding: 12px 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.chat-panel-header h4 {
    margin: 0;
    font-size: 0.92em;
    font-weight: 600;
    color: #fff;
    flex: 1;
}
.chat-close-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 1em;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.chat-messages-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    min-height: 0;
    background: transparent;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px;
    min-height: 0;
    scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar {
    width: 6px;
}
.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.45);
    border-radius: 3px;
}
.chat-empty-state {
    text-align: center;
    color: #64748b;
    font-size: 0.85em;
    line-height: 1.5;
    padding: 24px 12px;
    margin: 0;
}
.chat-empty-state[hidden] {
    display: none !important;
}
.chat-msg--pending {
    opacity: 0.75;
    transition: opacity 0.3s;
}
.chat-msg {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: flex-start;
}
.chat-msg:last-child {
    border-bottom: none;
}
.chat-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78em;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    text-transform: uppercase;
}
.chat-msg-body {
    flex: 1;
    min-width: 0;
}
.chat-msg-meta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}
.chat-msg-name {
    font-weight: 600;
    color: #c7d2fe;
    font-size: 0.82em;
}

/* Byron yönetici — sarı yıldız + kırmızı kalın altı çizili "Byron Admin" */
.chat-msg--admin {
    margin: 6px 0;
    padding: 10px 10px 10px 12px;
    border-radius: 10px;
    border-left: 3px solid #ef4444;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.14), rgba(239, 68, 68, 0.03));
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.08);
}
.chat-msg--admin .chat-msg-meta {
    margin-bottom: 6px;
}
.chat-msg-name--admin {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 0.9em;
}
.chat-admin-star {
    color: #facc15;
    font-size: 1.1em;
    line-height: 1;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.65);
}
.chat-admin-label {
    color: #ef4444 !important;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: #f87171;
    text-underline-offset: 3px;
    letter-spacing: 0.03em;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
}
.chat-msg-text--admin {
    color: #fee2e2;
}

/* Sistem — IP engeli bildirimi */
.chat-msg--system {
    margin: 8px 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.chat-system-notice {
    text-align: center;
    font-size: 0.8em;
    line-height: 1.45;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 8px;
    padding: 8px 12px;
}
.chat-system-notice--block {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.35);
}
.chat-system-notice--unblock {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.4);
}

/* Admin oturumu — mesaj yanı menü */
.chat-msg-meta {
    position: relative;
}
.chat-admin-actions {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
}
.chat-admin-menu-btn {
    border: none;
    background: rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    border-radius: 6px;
    width: 26px;
    height: 22px;
    line-height: 1;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
}
.chat-admin-menu-btn:hover {
    background: rgba(239, 68, 68, 0.35);
    color: #fecaca;
}
.chat-admin-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 30;
    margin-top: 4px;
    min-width: 160px;
    background: #1e1b3a;
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}
.chat-admin-dropdown-opt,
.chat-admin-block-opt,
.chat-admin-delete-opt,
.chat-admin-edit-opt {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 10px 12px;
    font-size: 0.78em;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.chat-admin-dropdown-opt:last-child,
.chat-admin-block-opt:last-child,
.chat-admin-delete-opt:last-child,
.chat-admin-edit-opt:last-child {
    border-bottom: none;
}
.chat-admin-edit-opt {
    color: #a5b4fc;
}
.chat-admin-edit-opt:hover {
    background: rgba(102, 126, 234, 0.25);
}
.chat-admin-delete-opt {
    color: #fcd34d;
}
.chat-admin-delete-opt:hover {
    background: rgba(251, 191, 36, 0.15);
}
.chat-admin-block-opt {
    color: #fca5a5;
}
.chat-admin-block-opt:hover {
    background: rgba(239, 68, 68, 0.2);
}
.chat-panel--admin-session .chat-server-hint {
    color: #a5b4fc;
}

.chat-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
}
.chat-panel-header h4 {
    flex: 1;
    min-width: 0;
}
.chat-admin-blocked-toggle {
    border: 1px solid rgba(74, 222, 128, 0.45);
    background: rgba(74, 222, 128, 0.12);
    color: #86efac;
    font-size: 0.68em;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}
.chat-admin-blocked-toggle:hover {
    background: rgba(74, 222, 128, 0.22);
}
.chat-admin-blocked-panel {
    margin: 0 10px 6px;
    padding: 8px;
    max-height: 140px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(15, 12, 41, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
}
.chat-admin-blocked-panel[hidden] {
    display: none !important;
}
.chat-admin-blocked-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75em;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 6px;
}
.chat-admin-blocked-close {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9em;
    padding: 2px 6px;
}
.chat-admin-blocked-list {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 110px;
}
.chat-admin-blocked-empty {
    font-size: 0.72em;
    color: #64748b;
    text-align: center;
    margin: 8px 0 0;
}
.chat-blocked-user-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 2px 8px;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.08);
    cursor: pointer;
    color: inherit;
}
.chat-blocked-user-item:hover {
    background: rgba(74, 222, 128, 0.12);
    border-color: rgba(74, 222, 128, 0.45);
}
.chat-blocked-user-names {
    grid-column: 1;
    font-size: 0.8em;
    font-weight: 700;
    color: #fecaca;
}
.chat-blocked-user-ip {
    grid-column: 1;
    font-size: 0.68em;
    color: #94a3b8;
    font-family: ui-monospace, Consolas, monospace;
}
.chat-blocked-user-action {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 0.65em;
    font-weight: 700;
    color: #4ade80;
    white-space: nowrap;
}
.chat-msg-time {
    color: #64748b;
    font-size: 0.72em;
}
.chat-msg-text {
    padding: 4px 0 6px;
    font-size: 0.88em;
    line-height: 1.5;
    color: #e2e8f0;
    word-break: break-word;
    background: transparent;
    border: none;
}
.chat-guest-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 58px;
    top: 0;
    background: rgba(15, 12, 41, 0.94);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 2;
}
.chat-guest-overlay[hidden] {
    display: none !important;
}
.chat-guest-form {
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-guest-title {
    color: #cbd5e0;
    font-size: 0.88em;
    text-align: center;
    margin: 0 0 4px;
    line-height: 1.45;
}
.chat-guest-form input {
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    font-size: 0.9em;
    outline: none;
    transition: border-color 0.15s ease;
}
.chat-guest-form input:focus {
    border-color: rgba(102, 126, 234, 0.65);
}
.chat-guest-form button {
    padding: 11px 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9em;
}
.chat-guest-form button:hover {
    filter: brightness(1.08);
}
.chat-guest-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.chat-error {
    color: #f87171;
    font-size: 0.8em;
    text-align: center;
    margin: 0;
}
.chat-input-row {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    background: transparent;
}
.chat-input-row input {
    flex: 1;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    font-size: 0.9em;
    outline: none;
    transition: border-color 0.15s ease;
}
.chat-input-row input:focus {
    border-color: rgba(102, 126, 234, 0.55);
}
.chat-input-row input:read-only {
    cursor: pointer;
    color: #94a3b8;
}
.chat-input-row button {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: filter 0.15s ease, opacity 0.15s ease;
    font-size: 0.82em;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}
.chat-input-row button:hover:not(:disabled) {
    filter: brightness(1.1);
}
.chat-input-row button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.chat-server-hint {
    margin: 0;
    padding: 6px 12px;
    font-size: 0.75em;
    line-height: 1.4;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border-top: 1px solid rgba(251, 191, 36, 0.2);
    flex-shrink: 0;
}
.chat-server-hint[hidden] {
    display: none !important;
}

/* ---- Boyutlandırma tutacağı ---- */
.chat-resize-handle {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    cursor: nw-resize;
    z-index: 10;
    border-radius: 14px 0 8px 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 4px 0 0 4px;
    opacity: 0.35;
    transition: opacity 0.15s;
}
.chat-resize-handle::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #94a3b8;
    border-left: 2px solid #94a3b8;
    border-radius: 2px 0 0 0;
}
.chat-panel:hover .chat-resize-handle {
    opacity: 0.75;
}
.chat-resize-handle:hover {
    opacity: 1 !important;
}

/* ---- Reaksiyon butonları ---- */
.chat-msg-reactions {
    display: flex;
    gap: 6px;
    margin-top: 5px;
}
.chat-reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    background: transparent;
    color: #64748b;
    font-size: 0.85em;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    line-height: 1.4;
}
.chat-reaction-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    color: #94a3b8;
}
.chat-reaction-active {
    background: rgba(102,126,234,0.15) !important;
    border-color: rgba(102,126,234,0.35) !important;
    color: #a5b4fc !important;
}
.chat-reaction-count {
    font-size: 0.8em;
    color: inherit;
    min-width: 6px;
}

/* ---- Mesaji Bildir butonu ---- */
.chat-report-btn {
    margin-left: auto;
    padding: 2px 8px;
    border: 1px solid rgba(102, 126, 234, 0.18);
    border-radius: 6px;
    background: rgba(102, 126, 234, 0.07);
    color: rgba(102, 126, 234, 0.5);
    font-size: 0.68em;
    font-family: inherit;
    letter-spacing: 0.02em;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
    line-height: 1.5;
    white-space: nowrap;
}
.chat-msg:hover .chat-report-btn {
    opacity: 1;
}
.chat-report-btn:hover {
    background: rgba(248, 113, 113, 0.12) !important;
    border-color: rgba(248, 113, 113, 0.35) !important;
    color: #f87171 !important;
    opacity: 1 !important;
}
@media (max-width: 768px) {
    .chat-widget-root {
        right: 10px;
        bottom: 10px;
    }
    .chat-panel {
        right: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
        height: min(500px, calc(100vh - 40px));
    }
    .chat-widget-toggle {
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 768px) {
    .nav-item-dropdown .nav-dropdown {
        position: static; transform: none; opacity: 1; visibility: visible;
        display: none; margin: 8px 0 0 16px;
    }
    .nav-item-dropdown.open .nav-dropdown { display: block; }
}
