/**
 * Kategori sayfası — üst bar + açılır filtre paneli + tam genişlik katalog
 */

.category-page {
    padding: 0 0 48px;
    background: #fff;
}

.category-page .category-page__container {
    max-width: 1600px;
    padding-left: 40px;
    padding-right: 40px;
}

/* ——— Üst bar ——— */
.category-page__topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 20px 32px;
    padding: 28px 0 24px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.category-page__topbar-left {
    justify-self: start;
}

.category-page__topbar-center {
    justify-self: center;
    text-align: center;
    min-width: 0;
}

.category-page__topbar-right {
    justify-self: end;
}

.category-page__topbar--center-only {
    grid-template-columns: 1fr;
}

.category-page__topbar-center--full {
    width: 100%;
    justify-self: stretch;
}

.category-page__filter-btn,
.category-page__sort-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.category-page__filter-btn:hover,
.category-page__filter-btn:focus-visible,
.category-page__sort-btn:hover,
.category-page__sort-btn:focus-visible {
    background: #1e293b;
    outline: none;
}

.category-page__filter-btn i:first-child,
.category-page__sort-btn i:first-child {
    font-size: 0.8125rem;
    opacity: 0.92;
}

.category-page__filter-chevron,
.category-page__sort-btn > .fa-chevron-down:last-child {
    font-size: 0.625rem;
    margin-left: 2px;
    transition: transform 0.25s ease;
}

body.page-category--filters-open,
body.page-products--filters-open,
body.page-new-products--filters-open,
body.page-campaigns--filters-open,
body.page-brand--filters-open,
body.page-campaign-detail--filters-open {
    overflow: hidden;
}

.category-page__filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
}

body.page-category--filters-open .category-page__filter-btn,
body.page-products--filters-open .category-page__filter-btn,
body.page-new-products--filters-open .category-page__filter-btn,
body.page-campaigns--filters-open .category-page__filter-btn,
body.page-brand--filters-open .category-page__filter-btn,
body.page-campaign-detail--filters-open .category-page__filter-btn {
    background: #1e293b;
}

body.page-category--filters-open .category-page__filter-chevron,
body.page-products--filters-open .category-page__filter-chevron,
body.page-new-products--filters-open .category-page__filter-chevron,
body.page-campaigns--filters-open .category-page__filter-chevron,
body.page-brand--filters-open .category-page__filter-chevron,
body.page-campaign-detail--filters-open .category-page__filter-chevron {
    transform: rotate(180deg);
}

.category-page__title {
    margin: 0;
    font-size: clamp(1.375rem, 2.2vw, 1.875rem);
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}

.category-page__count {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #64748b;
    white-space: nowrap;
}

.category-page__crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #64748b;
}

.category-page__crumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.category-page__crumb a:hover {
    color: #0f172a;
}

.category-page__crumb-sep {
    color: #cbd5e1;
    user-select: none;
}

.category-page__crumb .is-current {
    color: var(--primary-color);
    font-weight: 600;
}

.category-page__desc {
    margin: 0;
    padding: 16px 0 0;
    max-width: 720px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #64748b;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ——— Sıralama dropdown ——— */
.category-page__sort {
    position: relative;
}

.category-page__sort-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 30;
    min-width: 240px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 4px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.category-page__sort.is-open .category-page__sort-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-page__sort-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: #334155;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.category-page__sort-menu a:hover {
    background: #f8fafc;
    color: #0f172a;
}

.category-page__sort-menu a.is-active {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(var(--primary-color-rgb), 0.06);
}

/* ——— Premium filtre overlay ———
   Alt header düzenleri .header = 1100; overlay bunun üstünde olmalı
   (mobil menü / sepet panelleri ~10070+ altında kalsın) */
.category-page__filters-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

body.page-category--filters-open .category-page__filters-overlay,
body.page-products--filters-open .category-page__filters-overlay,
body.page-new-products--filters-open .category-page__filters-overlay,
body.page-campaigns--filters-open .category-page__filters-overlay,
body.page-brand--filters-open .category-page__filters-overlay,
body.page-campaign-detail--filters-open .category-page__filters-overlay {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.category-page__filters-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.category-page__filters-panel {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    max-height: min(78vh, 720px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

@media (min-width: 769px) {
    .category-page__filters-overlay {
        padding: 0 32px;
    }

    .category-page__filters-panel {
        border-radius: 0 0 12px 12px;
    }
}

body.page-category--filters-open .category-page__filters-panel,
body.page-products--filters-open .category-page__filters-panel,
body.page-new-products--filters-open .category-page__filters-panel,
body.page-campaigns--filters-open .category-page__filters-panel,
body.page-brand--filters-open .category-page__filters-panel,
body.page-campaign-detail--filters-open .category-page__filters-panel {
    transform: translateY(0);
    opacity: 1;
}

/* Üst bar — referans görsel */
.category-page__filters-premium-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 72px;
    padding: 0 clamp(16px, 3vw, 40px);
    background: #525252;
    color: #fff;
    flex-shrink: 0;
}

.category-page__filters-premium-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    background: #fff;
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 2px;
}

.category-page__filters-premium-tab i {
    font-size: 0.8125rem;
    opacity: 0.85;
}

.category-page__filters-premium-tab .category-page__filter-badge {
    background: #0f172a;
    color: #fff;
}

.category-page__filters-premium-meta {
    min-width: 0;
    text-align: center;
}

.category-page__filters-premium-title {
    margin: 0;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.category-page__filters-premium-count {
    font-weight: 400;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.82);
}

.category-page__filters-premium-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.72);
}

.category-page__filters-premium-crumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.category-page__filters-premium-crumb a:hover {
    color: #fff;
}

.category-page__filters-premium-crumb .is-current {
    color: #fff;
    font-weight: 600;
}

.category-page__filters-premium-close {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.category-page__filters-premium-close i {
    font-size: 1rem;
}

.category-page__filters-premium-close:hover,
.category-page__filters-premium-close:focus-visible {
    opacity: 0.82;
    outline: none;
}

.category-page__filters-panel-body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ——— Premium filtre formu ——— */
.category-filters--premium {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.category-filters__shell {
    display: grid;
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    flex: 1;
    min-height: 0;
}

.category-filters__nav {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    background: #fafafa;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.category-filters__nav-btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 16px 20px;
    border: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: transparent;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.category-filters__nav-btn:hover {
    background: rgba(15, 23, 42, 0.04);
    color: #0f172a;
}

.category-filters__nav-btn.is-active {
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #0f172a;
}

.category-filters__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: #fff;
}

.category-filters__toolbar {
    order: -1;
}

.category-filters__pane-title {
    display: none;
}

.category-filters__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.category-filters__result {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.category-filters__toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.category-filters__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 22px;
    border: none;
    border-radius: 2px;
    background: #0f172a;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.category-filters__submit:hover,
.category-filters__submit:focus-visible {
    background: #1e293b;
    outline: none;
}

.category-filters__reset {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: none;
    border-radius: 2px;
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.category-filters__reset:hover,
.category-filters__reset:focus-visible {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.04);
    outline: none;
}

.category-filters__panes {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px 24px 24px;
    -webkit-overflow-scrolling: touch;
}

.category-filters__pane {
    display: none;
}

.category-filters__pane.is-active {
    display: block;
}

.category-filters__check--main .category-filters__label {
    font-weight: 600;
    color: #0f172a;
}

.category-filters__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.category-filters__input {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.9375rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 2px;
    background: #fff;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-filters__fields {
    width: 100%;
    max-width: none;
}

.category-filters__fields--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    column-gap: 28px;
    row-gap: 0;
    align-items: start;
}

.category-filters__field {
    min-width: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 12px 4px;
}

.category-filters__field--price {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: default;
}

.category-filters__field-name {
    display: block;
    font-size: 0.9375rem;
    line-height: 1.35;
    color: #334155;
}

.category-filters__pane--search .category-filters__input,
.category-filters__field--price .category-filters__input {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #334155;
    box-shadow: none;
}

.category-filters__pane--search .category-filters__input::placeholder,
.category-filters__field--price .category-filters__input::placeholder {
    color: #94a3b8;
}

.category-filters__pane--search .category-filters__input:focus,
.category-filters__field--price .category-filters__input:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.category-filters__input:focus {
    outline: none;
    border-color: rgba(15, 23, 42, 0.28);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.category-filters__hint {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.5;
}

.category-filters__hint--field {
    margin: 0;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 0.875rem;
    color: #64748b;
}

.category-filters__hint--pane {
    max-width: none;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.category-filters__checks {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 480px;
}

.category-filters__cat-groups {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    column-gap: 28px;
    row-gap: 0;
    width: 100%;
    max-width: none;
    align-items: start;
}

.category-filters__cat-group {
    min-width: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.category-filters__cat-group-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-filters__cat-group-head .category-filters__label--main {
    flex: 1;
    min-width: 0;
    font-weight: inherit;
    color: #334155;
    padding: 12px 4px;
    margin: 0;
    border: 0;
}

.category-filters__sub-toggle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    min-width: 28px;
    margin: 0 4px 0 0;
    padding: 0 8px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 0.6875rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.category-filters__sub-toggle:hover,
.category-filters__sub-toggle:focus-visible {
    border-color: rgba(15, 23, 42, 0.22);
    color: #0f172a;
    outline: none;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.category-filters__sub-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
}

.category-filters__sub-selected {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
}

.category-filters__sub-toggle.has-selection {
    border-color: rgba(15, 23, 42, 0.24);
    color: #0f172a;
}

.category-filters__sub-chevron {
    font-size: 0.5625rem;
    transition: transform 0.22s ease;
}

.category-filters__cat-group.is-open .category-filters__sub-chevron {
    transform: rotate(180deg);
}

.category-filters__sub-panel {
    padding: 0 4px 4px 28px;
}

.category-filters__sub-panel[hidden] {
    display: none !important;
}

.category-filters__subchecks {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: min(220px, 38vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.category-filters__subchecks li {
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.category-filters__label--sub {
    padding: 8px 4px;
    font-size: 0.875rem;
    color: #475569;
}

.category-filters__checks--toggles {
    max-width: none;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    column-gap: 28px;
    row-gap: 0;
    align-items: start;
}

.category-filters__checks--toggles li {
    min-width: 0;
}

.category-filters__checks li {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.category-filters__checks--brands {
    max-width: none;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    column-gap: 28px;
    row-gap: 0;
    align-items: start;
    max-height: none;
    overflow: visible;
}

.category-filters__checks--brands li {
    min-width: 0;
}

.category-filters__label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 4px;
    font-size: 0.9375rem;
    color: #334155;
    cursor: pointer;
    transition: color 0.15s ease;
}

.category-filters__label:hover {
    color: #0f172a;
}

.category-filters__label input[type="checkbox"] {
    margin-top: 0.2em;
    width: 16px;
    height: 16px;
    accent-color: #0f172a;
    flex-shrink: 0;
}

.category-filters__col--nav .category-nav__list,
.category-filters__pane .category-nav__list {
    max-height: min(360px, 52vh);
    overflow-y: auto;
}

/* ——— Nav (filtre paneli içi) ——— */
.category-sidebar__title {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 10px;
}

.category-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-nav__item {
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.category-nav__item:last-child {
    border-bottom: 0;
}

.category-nav__row {
    display: flex;
    align-items: center;
    gap: 2px;
    min-height: 40px;
}

.category-nav__link {
    flex: 1;
    min-width: 0;
    display: block;
    padding: 8px 10px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    color: #334155;
    text-decoration: none;
    border-radius: 6px;
    border-left: 2px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.category-nav__link:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.04);
}

.category-nav__link.is-active {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(var(--primary-color-rgb), 0.08);
    border-left-color: var(--primary-color);
}

.category-nav__toggle {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #94a3b8;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s ease, background 0.2s ease;
}

.category-nav__toggle:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.06);
}

.category-nav__toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.category-nav__toggle i {
    font-size: 10px;
    transition: transform 0.25s ease;
}

.category-nav__item--branch.is-open .category-nav__toggle i {
    transform: rotate(180deg);
}

.category-nav__sub {
    list-style: none;
    margin: 0 0 4px 14px;
    padding: 0 0 6px 12px;
    border-left: 1px solid rgba(15, 23, 42, 0.08);
}

.category-nav__item--branch:not(.is-open) .category-nav__sub {
    display: none;
}

.category-nav__sublink {
    display: block;
    padding: 6px 10px;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: #64748b;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.category-nav__sublink:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.04);
}

.category-nav__sublink.is-active {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(var(--primary-color-rgb), 0.06);
}

.category-brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    color: #334155;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
}

.category-brand-link:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.04);
}

.category-brand-link__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 28px;
}

.category-brand-link__logo img {
    max-width: 72px;
    max-height: 24px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.category-brand-link__icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}

.category-brand-link__name {
    flex: 1;
    min-width: 0;
}

/* ——— Ürün alanı ——— */
.category-page__main {
    padding-top: 28px;
}

.category-page__main .products-grid {
    width: 100%;
}

.category-page .no-products {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    margin: 20px 0 40px;
}

.category-page .no-products-icon {
    font-size: 72px;
    color: #94a3b8;
    margin-bottom: 16px;
    opacity: 0.45;
}

.category-page .no-products h3 {
    font-size: 1.375rem;
    color: #0f172a;
    margin: 0 0 12px;
    font-weight: 700;
}

.category-page .no-products p {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0 0 24px;
    line-height: 1.6;
}

.category-page__brand-head {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.category-page__brand-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    max-width: 140px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}

.category-page__brand-logo img {
    display: block;
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.category-page__brand-text {
    flex: 1 1 220px;
    min-width: 0;
}

.category-page__brand-text .category-page__title {
    margin-bottom: 4px;
}

.category-page__brand-website {
    margin: 0;
    font-size: 0.875rem;
}

.category-page__brand-website a {
    color: #64748b;
    text-decoration: none;
}

.category-page__brand-website a:hover {
    color: var(--primary-color, #0f172a);
    text-decoration: underline;
}

/* ——— Responsive ——— */
@media (max-width: 1200px) {
    .category-page .category-page__container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 992px) {
    .category-page__filters-panel {
        max-height: min(88vh, 800px);
    }

    .category-filters__shell {
        grid-template-columns: minmax(168px, 200px) minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    body.page-category--filters-open,
body.page-products--filters-open,
body.page-new-products--filters-open,
body.page-campaigns--filters-open,
body.page-brand--filters-open,
body.page-campaign-detail--filters-open {
        overflow: hidden;
    }

    .category-page__filters-overlay {
        align-items: stretch;
        justify-content: flex-start;
        padding: 0;
    }

    .category-page__filters-backdrop {
        background: rgba(15, 23, 42, 0.45);
        animation: categoryFilterBackdropIn 0.2s ease;
    }

    .category-page__filters-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: min(100%, 380px);
        max-width: 100%;
        height: 100%;
        max-height: 100dvh;
        transform: translateX(-100%);
        opacity: 1;
        transition: transform 0.28s ease;
        box-shadow: 8px 0 32px rgba(15, 23, 42, 0.08);
    }

    body.page-category--filters-open .category-page__filters-panel,
body.page-products--filters-open .category-page__filters-panel,
body.page-new-products--filters-open .category-page__filters-panel,
body.page-campaigns--filters-open .category-page__filters-panel,
body.page-brand--filters-open .category-page__filters-panel,
body.page-campaign-detail--filters-open .category-page__filters-panel {
        transform: translateX(0);
    }

    .category-page__filters-premium-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 0;
        padding: 16px;
        background: #fff;
        color: #0f172a;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .category-page__filters-premium-tab {
        min-height: auto;
        padding: 0;
        background: transparent;
        color: #475569;
        font-size: 0.8125rem;
        font-weight: 500;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        border-radius: 0;
    }

    .category-page__filters-premium-tab i {
        opacity: 1;
        color: #64748b;
    }

    .category-page__filters-premium-tab .category-page__filter-badge {
        background: #0f172a;
        color: #fff;
    }

    .category-page__filters-premium-meta {
        display: none;
    }

    .category-page__filters-premium-close {
        color: #475569;
        font-size: 1rem;
    }

    .category-page__filters-premium-close span {
        display: none;
    }

    .category-page__filters-panel-body {
        flex: 1;
        min-height: 0;
        overflow: hidden;
    }

    .category-filters--premium {
        height: 100%;
        min-height: 0;
    }

    .category-filters__shell {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr);
        height: 100%;
        min-height: 0;
    }

    .category-filters__nav {
        display: none;
    }

    .category-filters__content {
        flex: 1;
        min-height: 0;
    }

    .category-filters__toolbar {
        order: 1;
        flex-shrink: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 0;
        padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        border-bottom: none;
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
    }

    .category-filters__result {
        display: none;
    }

    .category-filters__toolbar-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .category-filters__submit,
    .category-filters__reset {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        border-radius: 8px;
        font-size: 0.8125rem;
        font-weight: 500;
        letter-spacing: 0.02em;
    }

    .category-filters__reset {
        background: #e2e8f0;
        color: #1e293b;
    }

    .category-filters__reset:hover,
    .category-filters__reset:focus-visible {
        background: #cbd5e1;
        color: #0f172a;
    }

    .category-filters__panes {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 16px;
    }

    .category-filters__pane {
        display: block !important;
        padding-bottom: 14px;
        margin-bottom: 14px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }

    .category-filters__pane:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .category-filters__pane-title {
        display: block;
        margin: 0 0 8px;
        font-size: 0.625rem;
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #94a3b8;
    }

    .category-filters__hint--pane {
        display: none;
    }

    .category-filters__fields--grid {
        display: block;
    }

    .category-filters__pane--search .category-filters__input,
    .category-filters__field--price .category-filters__input {
        padding: 9px 12px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 8px;
        background: #f8fafc;
    }

    .category-filters__pane--search .category-filters__input:focus,
    .category-filters__field--price .category-filters__input:focus {
        background: #fff;
        border-color: rgba(0, 142, 217, 0.45);
        box-shadow: 0 0 0 1px rgba(0, 142, 217, 0.2);
    }

    .category-filters__input {
        border-radius: 8px;
        background: #f8fafc;
    }

    .category-filters__input:focus {
        background: #fff;
        border-color: rgba(0, 142, 217, 0.45);
        box-shadow: 0 0 0 1px rgba(0, 142, 217, 0.2);
    }

    .category-filters__checks--brands {
        display: block;
        max-width: none;
    }

    .category-filters__checks--toggles {
        display: block;
        max-width: none;
    }

    .category-filters__cat-groups {
        grid-template-columns: 1fr;
    }

    .category-page__topbar {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "center center"
            "filter sort";
        gap: 16px;
        padding-top: 20px;
        padding-bottom: 18px;
    }

    .category-page__topbar-center {
        grid-area: center;
    }

    .category-page__topbar-left {
        grid-area: filter;
        justify-self: stretch;
    }

    .category-page__topbar-right {
        grid-area: sort;
        justify-self: stretch;
    }

    .category-page__filter-btn,
    .category-page__sort-btn {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 0.8125rem;
    }

    .category-page__sort {
        width: 100%;
    }

    .category-page__sort-menu {
        left: 0;
        right: 0;
        min-width: 0;
    }

    .category-page__count {
        display: block;
        margin-top: 4px;
        white-space: normal;
    }
}

@keyframes categoryFilterBackdropIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* —— Arama sayfası —— */
.page-search .search-page-form {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto 24px;
}

.page-search .search-page-form__input {
    flex: 1 1 220px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 2px;
    font-size: 0.9375rem;
    color: #0f172a;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-search .search-page-form__input:focus {
    outline: none;
    border-color: var(--secondary-color, #008ed9);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary-color, #008ed9) 22%, transparent);
}

.page-search .search-page-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 2px;
}

.page-search .search-page-empty__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.page-search .search-page-empty__links .btn-secondary {
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.18);
}

.page-search .search-page-empty__links .btn-secondary:hover {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

.page-search .search-no-results__tip {
    margin: -12px 0 24px !important;
    font-size: 0.875rem !important;
    color: #94a3b8 !important;
}

@media (max-width: 768px) {
    .page-search .category-page__topbar:not(.category-page__topbar--center-only) {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .page-search .category-page__topbar-left {
        display: none;
    }

    .page-search .category-page__topbar-right {
        justify-self: center;
    }
}

