/* Dizel jenerator liste sayfasi (Views/Home/GensetList.cshtml). Kaynak: _materials/ui_productlist_new.html */
:root {
    --kj-primary: #0e4380;
    --kj-primary-dark: #0a3363;
    --kj-secondary: #cc0500;
    --kj-secondary-hover: #aa0400;
    --kj-border: #e2e8f0;
    --kj-bg-soft: #f8fafc;
    --kj-text-dark: #0f172a;
    --kj-text-muted: #64748b;
}



.gl-page .symbol {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
}

/* ===== BUTTONS ===== */
.btn-navy {
    background-color: var(--kj-primary);
    border: 1px solid var(--kj-primary);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 0;
    transition: all 0.2s ease;
}

.btn-navy:hover {
    background-color: var(--kj-primary-dark);
    border-color: var(--kj-primary-dark);
    color: #ffffff !important;
}

.btn-outline-navy {
    background-color: #ffffff;
    border: 1px solid var(--kj-primary);
    color: var(--kj-primary) !important;
    font-weight: 600;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 0;
    transition: all 0.2s ease;
}

.btn-outline-navy:hover {
    background-color: var(--kj-primary);
    color: #ffffff !important;
}

/* ===== FILTER SIDEBAR ===== */
.filter-sidebar {
    background: #ffffff;
    border: 1px solid var(--kj-border);
    border-radius: 0;
    padding: 20px;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}

.filter-sidebar::-webkit-scrollbar {
    width: 4px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 0;
}

.filter-section {
    border-bottom: 1px solid #f1f5f9;
    padding: 14px 0;
}

.filter-section:first-child {
    padding-top: 0;
}

.filter-section:last-of-type {
    border-bottom: none;
}

.filter-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    color: var(--kj-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    user-select: none;
}

.filter-section-header .symbol {
    font-size: 20px;
    color: #94a3b8;
    transition: transform 0.25s ease;
}

.filter-section-header.collapsed .symbol {
    transform: rotate(-90deg);
}

.filter-section-body {
    margin-top: 12px;
}

.filter-range-inputs {
    display: flex;
    gap: 8px;
}

.filter-range-inputs input,
.filter-range-inputs select {
    width: 50%;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    padding: 6px 10px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.filter-range-inputs input:focus,
.filter-range-inputs select:focus {
    border-color: var(--kj-primary);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    user-select: none;
}

.filter-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--kj-primary);
    cursor: pointer;
    margin: 0;
}

.filter-checkbox .count {
    color: #94a3b8;
    font-size: 12px;
    margin-left: auto;
}

.filter-search-box {
    position: relative;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.filter-search-box input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    padding: 6px 10px 6px 30px;
    font-size: 13px;
    outline: none;
}

.filter-search-box input:focus {
    border-color: var(--kj-primary);
}

.filter-search-box .symbol {
    position: absolute;
    left: 8px;

    font-size: 16px;
    line-height: 1;
    color: #94a3b8;
    font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 24;
    pointer-events: none;
}

.mobile-search-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.mobile-search-row .filter-search-box {
    flex: 1 1 auto;
    min-width: 0;
}

.btn-filter-icon {
    flex-shrink: 0;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 0;
    background: #ffffff;
    color: var(--kj-primary);
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.btn-filter-icon:hover {
    background-color: var(--kj-bg-soft);
    border-color: var(--kj-primary);
}

.btn-filter-icon .symbol {
    font-size: 20px;
}

.filter-scrollable-list {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 4px;
}

.filter-scrollable-list::-webkit-scrollbar {
    width: 3px;
}

.filter-scrollable-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

/* ===== TOOLBAR & ACTIVE TAGS ===== */
.filter-toolbar {
    background: #ffffff;
}

.toolbar-right {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--kj-border);
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.toolbar-right>*+* {
    border-left: 1px solid var(--kj-border);
}

.toolbar-sort {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px 0 12px;
    background: #ffffff;
}

.toolbar-sort .symbol {
    font-size: 18px;
    color: #64748b;
}

.toolbar-sort-select {
    border: none;
    background: transparent;
    padding: 6px 4px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    outline: none;
    width: auto;
    min-width: 170px;
}

@media (max-width: 420.98px) {
    .toolbar-right {
        width: 100%;
    }

    .toolbar-sort {
        flex: 1 1 auto;
        min-width: 0;
    }

    .toolbar-sort-select {
        min-width: 0;
        flex: 1 1 auto;
    }
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f0fe;
    color: var(--kj-primary);
    border: 1px solid #c7d9f7;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
}

.active-filter-tag .close-tag {
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.active-filter-tag .close-tag:hover {
    opacity: 1;
    color: var(--kj-secondary);
}

.clear-filters-link {
    color: var(--kj-primary);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    border: none;
    background: none;
    padding: 0;
}

.clear-filters-link:hover {
    color: var(--kj-primary-dark);
}

/* ===== VIEW MODE TOGGLE ===== */
.view-mode-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: none;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.view-mode-btn .symbol {
    font-size: 18px;
}

.view-mode-btn:hover {
    background-color: var(--kj-bg-soft);
}

.view-mode-btn.active {
    background-color: var(--kj-text-muted);
    color: #ffffff;
}

/* ===== PRODUCT CARDS (3 COLUMNS GRID) ===== */
.product-card {
    border: 1px solid var(--kj-border);
    border-radius: 0;
    background: #ffffff;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.product-card.is-comparing {
    border-color: var(--kj-primary);
    box-shadow: 0 0 0 2px var(--kj-primary);
}

.product-card.is-comparing .product-card-top {
    background-color: #eef4fb;
}

.product-card-top {
    padding: 12px 16px 0;
}

.badge-brand {
    background-color: var(--kj-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 0px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-hz {
    background-color: #f1f5f9;
    color: #334155;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 0;
}

.badge-low-emission {
    background-color: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 0;
}

.btn-fav {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
}

.btn-fav:hover,
.btn-fav.active {
    color: #f59e0b;
}

.btn-fav.active .symbol {
    font-variation-settings: 'FILL' 1;
}

.product-card-img {
    padding: 16px;
    text-align: center;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.product-card-img img {
    max-height: 135px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.03);
}

.product-card-body {
    padding: 0 16px 14px;
}

.product-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--kj-text-dark);
    margin-bottom: 2px;
}

.product-card-kva {
    font-size: 16px;
    font-weight: 600;
    color: var(--kj-primary);
    margin-bottom: 10px;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: #64748b;
}

.spec-line {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spec-line .symbol {
    font-size: 16px;
    color: #94a3b8;
    flex-shrink: 0;
}

/* Card Action Buttons */
.product-card-footer {
    padding: 12px 16px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

.btn-card-detail {
    border: 1px solid var(--kj-border);
    background: #ffffff;
    color: #475569;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 8px 10px;
    border-radius: 0;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-card-detail:hover {
    background: #f8fafc;
    color: var(--kj-primary);
    border-color: #cbd5e1;
}

.btn-card-quote {
    background-color: var(--kj-secondary);
    border: 1px solid var(--kj-secondary);
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 8px 10px;
    border-radius: 0;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-card-quote:hover {
    background-color: var(--kj-secondary-hover);
    border-color: var(--kj-secondary-hover);
    color: #ffffff;
}

.btn-card-compare {
    background: none;
    border: 1px solid transparent;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 6px 0;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-card-compare:hover {
    color: var(--kj-primary);
}

.btn-card-compare.active {
    background-color: var(--kj-primary);
    border-color: var(--kj-primary);
    color: #ffffff;
    font-weight: 700;
}

.btn-card-compare.active:hover {
    background-color: var(--kj-primary-dark);
    border-color: var(--kj-primary-dark);
    color: #ffffff;
}

.btn-card-compare.active .symbol {
    font-variation-settings: 'FILL' 1;
}

/* ===== COMPARE TRAY (sabit alt bant) ===== */
.compare-tray {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    background: var(--kj-primary);
    color: #fff;
    border-top: 3px solid var(--kj-secondary);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.22);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
}

.compare-tray.show {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.3s ease, visibility 0s;
}

body.has-compare-tray {
    padding-bottom: 84px;
}

.compare-tray-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.compare-tray-count {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.compare-tray-badge {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--kj-primary);
    font-weight: 800;
    font-size: 16px;
}

.compare-tray-title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
}

.compare-tray-hint {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.3;
}

.compare-tray-items {
    display: flex;
    flex: 1;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

.compare-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 200px;
    padding: 5px 6px 5px 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.compare-chip span.chip-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

.compare-chip button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
}

.compare-chip button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.compare-chip .symbol {
    font-size: 16px;
}

.compare-tray-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.btn-tray-clear {
    background: none;
    border: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 6px;
}

.btn-tray-clear:hover {
    color: #fff;
}

.btn-tray-compare {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--kj-secondary);
    border: 1px solid var(--kj-secondary);
    border-radius: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-tray-compare:hover:not(:disabled) {
    background: var(--kj-secondary-hover);
    border-color: var(--kj-secondary-hover);
}

.btn-tray-compare:disabled {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
}

.btn-tray-compare.pulse {
    animation: trayPulse 1.2s ease-out 2;
}

@keyframes trayPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    100% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
}

@media (max-width: 767px) {
    .compare-tray-items { display: none; }
    .compare-tray-inner { gap: 10px; padding: 10px 0; }
    .compare-tray-hint { display: none; }
    .btn-tray-compare { padding: 10px 14px; font-size: 13px; }
}

/* ===== LIST VIEW (TABLE) ===== */
.product-list-wrapper {
    border: 1px solid var(--kj-border);
    border-radius: 8px;
    overflow: hidden;
}

.product-list-table {
    margin-bottom: 0;
}

.product-list-table thead th {
    background-color: var(--kj-bg-soft);
    color: var(--kj-text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    border: none;
    border-bottom: 2px solid var(--kj-border);
    padding: 12px 16px;
    white-space: nowrap;
}

.product-list-table tbody td {
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid var(--kj-border);
    vertical-align: middle;
    white-space: nowrap;
}

.product-list-table tbody tr:last-child td {
    border-bottom: none;
}

.product-list-table tbody tr:hover td {
    background-color: var(--kj-bg-soft);
}

.product-list-table tbody tr.is-comparing td {
    background-color: #eef4fb;
}

.product-list-model {
    font-weight: 700;
    color: var(--kj-text-dark);
}

.product-list-model-link {
    color: inherit;
    text-decoration: none;
}

.product-list-model-link:hover {
    color: var(--kj-primary);
    text-decoration: underline;
}

.product-list-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
}

.btn-list-fav {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
}

.btn-list-fav:hover,
.btn-list-fav.active {
    color: #f59e0b;
}

.btn-list-fav.active .symbol {
    font-variation-settings: 'FILL' 1;
}

.btn-list-compare {
    background: transparent;
    border: 1px solid var(--kj-border);
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    border-radius: 4px;
    display: flex;
    transition: background-color .2s, color .2s, border-color .2s;
}

.btn-list-compare:hover {
    border-color: var(--kj-primary);
    color: var(--kj-primary);
}

.btn-list-compare.active {
    background-color: var(--kj-primary);
    border-color: var(--kj-primary);
    color: #ffffff;
}

/* ===== EMPTY STATE (No Results) ===== */
.empty-state-cell {
    width: 100%;
    display: flex;
    justify-content: center;
}

.empty-state {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 16px;
}

.empty-state-illustration {
    width: 100%;
    max-width: 260px;
    height: auto;
    margin-bottom: 24px;
}

.empty-state h4 {
    max-width: 720px;
}

.empty-state p {
    max-width: 720px;
}

@keyframes loading-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .55; }
}

.loading-pulse {
    animation: loading-pulse 1.6s ease-in-out infinite;
}

/* ===== COMPARE TABLE ===== */
.compare-table-wrapper {
    border: 1px solid var(--kj-border);
    border-radius: 8px;
    overflow: hidden;
}

.compare-table {
    border-collapse: separate;
    border-spacing: 0;
}

.compare-table thead th {
    background-color: var(--kj-bg-soft);
    border: none;
    border-bottom: 2px solid var(--kj-border);
    padding: 16px 16px 14px;
    vertical-align: top;
}

.compare-table thead th:first-child {
    background-color: #ffffff;
}

.compare-th-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding-top: 4px;
}

.btn-compare-remove {
    position: absolute;
    top: -12px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e2e8f0;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background-color .2s ease, color .2s ease;
}

.btn-compare-remove .symbol {
    font-size: 14px;
}

.btn-compare-remove:hover {
    background-color: var(--kj-secondary);
    color: #ffffff;
}

.compare-table tbody td,
.compare-table tbody th {
    border: none;
    border-bottom: 1px solid var(--kj-border);
    padding: 12px 16px;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table tbody tr:hover td {
    background-color: var(--kj-bg-soft);
}

.compare-table tbody td:first-child {
    background-color: var(--kj-bg-soft);
    font-weight: 600;
    color: var(--kj-text-muted);
    white-space: nowrap;
}

.compare-table tbody tr:hover td:first-child {
    background-color: #eef2f7;
}

.compare-table .highlight-value {
    color: var(--kj-primary);
    font-weight: 700;
    font-size: 16px;
}

/* ===== PAGINATION ===== */
.pagination-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 6px;
    padding: 32px 0 16px;
}

.pagination-pages {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.pagination-count {
    justify-self: end;
    color: var(--kj-text-muted);
    font-size: 13px;
    white-space: nowrap;
}

.pagination-page-size {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
    white-space: nowrap;
}

.pagination-page-size label {
    color: var(--kj-text-muted);
    font-size: 13px;
    margin-bottom: 0;
}

.pagination-page-size select {
    border: 1px solid var(--kj-border);
    border-radius: 0;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background-color: #ffffff;
    cursor: pointer;
}

.pagination-page-size select:focus {
    outline: none;
    border-color: var(--kj-primary);
}

@media (max-width: 767.98px) {
    .pagination-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .pagination-page-size,
    .pagination-count {
        justify-self: auto;
    }
}

.page-num-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--kj-border);
    border-radius: 0;
    background: #ffffff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-num-btn:hover {
    border-color: var(--kj-primary);
    color: var(--kj-primary);
}

.page-num-btn.active {
    background-color: var(--kj-primary);
    border-color: var(--kj-primary);
    color: #ffffff;
}

.page-num-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Mobile Filter Modal/Drawer */
@media (max-width: 991.98px) {
    .filter-sidebar-wrapper {
        display: none;
    }

    .filter-sidebar-wrapper.show-mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        z-index: 1060;
        background: rgba(15, 23, 42, 0.6);
    }

    .filter-sidebar-wrapper.show-mobile .filter-sidebar {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 85%;
        max-width: 360px;
        max-height: 100vh;
        border-radius: 0;
    }
}

/* Sayfa ust aciklamasi (API: Desc2) */
.gl-intro { width: 100%; font-size: 0.95rem; line-height: 1.5; }
.gl-intro p:last-child { margin-bottom: 0; }

/* Arac cubugu: Favoriler/PDF grubu + Gorunum/Siralama grubu yan yana */
.toolbar-groups {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 8px;
}
.fav-count {
    min-width: 18px;
    padding: 1px 6px;
    border-radius: 9px;
    background: var(--kj-bg-soft);
    border: 1px solid var(--kj-border);
    color: var(--kj-primary);
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}
.view-mode-btn.active .fav-count {
    background: #ffffff;
    border-color: #ffffff;
}
#topFavBtn .symbol {
    color: #f59e0b;
}
#topFavBtn.active .symbol {
    color: #ffffff;
}
@media (max-width: 420.98px) {
    .toolbar-groups {
        width: 100%;
    }
    .toolbar-groups .view-mode-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}
