:root {
    --primary-color: #fc5021;
    --primary-color-low: rgba(252, 80, 33, 0.5);
    --primary-color-dark: #d43f0b;

    --secondary-color: #adb5bd;
    --secondary-color-low: rgba(173, 181, 189, 0.5);
    --secondary-color-dark: #6c757d;

    --tertiary-color: #e9ecef;
    --tertiary-color-low: rgba(233, 236, 239, 0.5);
    --tertiary-color-dark: #ced4da;

    --bg-color: #f2f4f8;
    --bg-color-low: rgba(248, 249, 250, 0.5);
    --bg-color-dark: #e4e7eb;

    --text-dark: #343a40;
    --text-dark-low: #495057b9;
    --text-dark-dark: #212529;

    --text-light: #f8f9fa;
    --text-light-low: rgba(248, 249, 250, 0.7);
    --text-light-dark: #e1e4e6;

    --button-color: #02337c;
    --button-color-low: rgba(2, 51, 124, 0.5);
    --button-color-dark: #001a4d;

    --card-bg: #ffffff;
    --card-bg-low: #f3f2f2;
    --smoothline-color: var(--bg-color);
}


.categoryArea {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.categoryArea .breadcrumbs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
    background: var(--card-bg);
    width: max-content;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.categoryArea .breadcrumbs a,
.categoryArea .breadcrumbs span {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.8rem;
}

.categoryArea .breadcrumbs a:hover {
    color: var(--primary-color);
}

.categoryArea .breadcrumbs span {
    font-weight: 600;
}

.categoryArea .breadcrumbs i {
    color: var(--text-dark-low);
    font-size: 0.7rem;
}

.categoryArea .categoryContentArea {
    background: var(--card-bg);
    padding: 1rem;

    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 2rem;
}

.categoryArea .sideBar {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.categoryArea .sideBar .filterContainer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.categoryArea .sideBar .filter .filterTitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
}

.categoryArea .sideBar .filter .filterTitle::after {
    content: "\f067";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--text-dark-low);
    margin-left: 0.5rem;
    float: right;
}

.categoryArea .sideBar .filter.active .filterTitle::after {
    content: "\f068";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--text-dark-low);
    margin-left: 0.5rem;
    float: right;
}


.categoryArea .sideBar .filter.active .filterContent {
    margin-top: 0.5rem;
}

/* Category Filter */

.categoryArea .sideBar .filter.categoryFilter .filterContent .title {
    padding-bottom: 0.5rem;
    font-size: 0.9rem;
    padding-left: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 0.5rem;
}

.categoryArea .sideBar .filter.categoryFilter .filterContent .title.active {
    border-bottom: 1px solid #d4d3d3;
    color: var(--primary-color);
}

.categoryArea .sideBar .filter.categoryFilter .filterContent .title.active::before {
    color: var(--primary-color);
}


.categoryArea .sideBar .filter.categoryFilter .filterContent .title::before {
    content: "\f067";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--text-dark-low);
    margin-right: 0.2rem;
}

.categoryArea .sideBar .filter.categoryFilter .categoryList {
    margin-left: 0.5rem;
    position: relative;
}

.categoryArea .sideBar .filter.categoryFilter .catLink {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-dark);
    padding: 0.5rem 0;
    cursor: pointer;
    margin-left: 0.4rem;
    text-transform: none;
    position: relative;
    transition: all 0.3s ease;
}

.categoryArea .sideBar .filter.categoryFilter .catLink::before {
    left: 6px;
    content: "";
    width: 15px;
    height: 15px;
    border: 1px solid #d4d3d3;
    border-radius: 2px;
    position: relative;
    top: -1px;
    transition: all 0.3s ease;
}

.categoryArea .sideBar .filter.categoryFilter .catLink:hover {
    color: var(--primary-color);
    padding: 7px !important;
}

.categoryArea .sideBar .filter.categoryFilter .catLink:hover,
.categoryArea .sideBar .filter.categoryFilter .catLink.active {
    min-height: 56px;
}

.categoryArea .sideBar .filter.categoryFilter .catLink:hover::after,
.categoryArea .sideBar .filter.categoryFilter .catLink.active::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--text-light);
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    left: 2px;
    width: 15px;
    height: 15px;
}

.categoryArea .sideBar .filter.categoryFilter .catLink:hover::before,
.categoryArea .sideBar .filter.categoryFilter .catLink.active::before {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* checkBoxFilter */

.categoryArea .sideBar .filter.checkBoxFilter .filterContent {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.categoryArea .sideBar .filter.checkBoxFilter .filterContent .filterSearch {
    width: 100%;
    border: 1px solid #d4d3d3;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    position: relative;
}

.categoryArea .sideBar .filter.checkBoxFilter .filterContent .filterSearch input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding-left: 1.2rem;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.categoryArea .sideBar .filter.checkBoxFilter .filterContent .filterSearch input::placeholder {
    color: var(--text-dark-low);
}

.categoryArea .sideBar .filter.checkBoxFilter .filterContent .filterSearch i {
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--text-dark-low);
}


.categoryArea .sideBar .filter.checkBoxFilter .filterContent .checkBox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.categoryArea .sideBar .filter.checkBoxFilter .filterContent .checkBox .label {
    font-size: 0.8rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.categoryArea .sideBar .filter.checkBoxFilter .filterContent .checkBox input[type="checkbox"] {
    width: 15px;
    height: 15px;
    border: 1px solid #d4d3d3;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0.2rem;
    position: relative;
    top: 2px;
}

.categoryArea .sideBar .filter.checkBoxFilter .filterContent .checkBox input[type="checkbox"]:hover,
.categoryArea .sideBar .filter.checkBoxFilter .filterContent .checkBox input[type="checkbox"]:checked {
    border: 1px solid var(--primary-color);
}

.categoryArea .sideBar .filter.checkBoxFilter .filterContent .checkBox input[type="checkbox"]:checked {
    background: var(--primary-color);
}


/* price Filter */

.categoryArea .sideBar .filter.priceFilter .filterContent {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.categoryArea .sideBar .filter.priceFilter .filterContent .inputRange {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.categoryArea .sideBar .filter.priceFilter .filterContent .inputRange input {
    width: 100%;
    border: 1px solid #eeecec;
    padding: 0.5rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.categoryArea .sideBar .filter.priceFilter .filterContent .inputRange input::placeholder {
    color: var(--text-dark-low);
}

.categoryArea .sideBar .filter.priceFilter .filterContent .inputRange span {
    font-size: 0.8rem;
    color: var(--text-dark-low);
}

.categoryArea .sideBar .filter.priceFilter .filterContent .inputRange .applyBtn {
    color: white;
    border: none;
    padding: 0.5rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.categoryArea .sideBar .filter.priceFilter .filterContent .inputRange .applyBtn:hover {
    background: var(--primary-color);
    color: var(--text-light);
}


/* category Content */

.categoryArea .categoryContent {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    grid-column: span 7;
}

.categoryArea .categoryContent .topBar {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.categoryArea .categoryContent .topBar .barRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.categoryArea .categoryContent .topBar .barRow .resultText {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.categoryArea .categoryContent .topBar .barRow .resultText .resultCount {
    font-weight: 600;
}

.categoryArea .categoryContent .topBar .barRow .resultText .searchText {
    font-weight: 600;
    color: var(--primary-color);
}


.categoryArea .categoryContent .topBar .barRow .sortingSelect {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #d4d3d3;
    border-radius: 2px;
    padding: 0.4rem 0.5rem;
    transition: all 0.3s ease;
}

.categoryArea .categoryContent .topBar .barRow .sortingSelect .icon {
    font-size: 0.8rem;
    color: var(--text-dark-low);
}

.categoryArea .categoryContent .topBar .barRow .sortingSelect .icon i {
    font-size: 0.8rem;
    color: var(--text-dark-low);
}

.categoryArea .categoryContent .topBar .barRow .sortingSelect select {
    border: none;
    outline: none;
    font-size: 0.8rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.categoryArea .categoryContent .topBar .barRow .filterCards {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    overflow-x: auto;
    padding: 0.3rem 0;
    margin-top: 0.5rem;
}

.categoryArea .categoryContent .topBar .barRow .filterCards::-webkit-scrollbar {
    height: 3px;
}

.categoryArea .categoryContent .topBar .barRow .filterCards .card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--bg-color-dark);
    background: var(--bg-color-low);
    font-size: 0.8rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.categoryArea .categoryContent .topBar .barRow .filterCards .card.active {
    background: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
}


.categoryArea .categoryContent .cardsGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

.sliderItem {
    width: 100%;
    padding: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-bg-low);
    position: relative;
    margin-bottom: 1px;
    box-sizing: border-box;
}

/* Responsive Styles */

/* Mobile Filter Toggle Button */
.mobile-filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.6rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 1rem;
    box-shadow: 0 3px 8px rgba(252, 80, 33, 0.2);
    transition: all 0.3s ease;
    border: none;
    width: 100%;
}

.mobile-filter-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-filter-toggle.active i {
    transform: rotate(180deg);
}

/* Large Desktop */
@media (max-width: 1400px) {
    .categoryArea .categoryContent .cardsGrid {
        grid-template-columns: repeat(3, 1fr);
    }

    .categoryArea .categoryContentArea {
        gap: 1.5rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .categoryArea .sideBar {
        grid-column: span 3;
    }

    .categoryArea .categoryContent {
        grid-column: span 6;
    }

    .categoryArea .categoryContent .cardsGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .categoryArea .categoryContentArea {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .categoryArea .sideBar {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }

    .categoryArea .sideBar.active {
        max-height: 2000px;
    }

    .mobile-filter-toggle {
        display: flex;
    }

    .categoryArea .categoryContent {
        width: 100%;
    }

    .categoryArea .categoryContent .cardsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .categoryArea .categoryContent .topBar .barRow {
        flex-wrap: wrap;
    }

    .categoryArea .categoryContent .topBar .barRow .resultText {
        width: 100%;
        margin-bottom: 0.8rem;
    }

    /* Optimize hover effects for touch devices */
    .categoryArea .sideBar .filter.categoryFilter .catLink:hover::after {
        display: none;
    }

    .categoryArea .sideBar .filter.categoryFilter .catLink:hover::before {
        background: transparent;
        border: 1px solid #d4d3d3;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .categoryArea {
        padding: 0.8rem 0;
    }

    .categoryArea .breadcrumbs {
        width: 100%;
        overflow-x: auto;
        padding: 0.5rem 0.8rem;
        scrollbar-width: none;
        /* Hide scrollbar for Firefox */
        -ms-overflow-style: none;
        /* Hide scrollbar for IE and Edge */
    }

    .categoryArea .breadcrumbs::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for Chrome and Safari */
    }

    .categoryArea .breadcrumbs a,
    .categoryArea .breadcrumbs span {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .categoryArea .categoryContentArea {
        padding: 0.8rem;
    }

    .categoryArea .categoryContent .topBar {
        margin-top: 1rem;
    }

    .categoryArea .categoryContent .cardsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .categoryArea .categoryContent .topBar .barRow .sortingSelect {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 0.8rem;
    }
}

/* Mobile Small */
@media (max-width: 576px) {
    .categoryArea .categoryContent .cardsGrid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .categoryArea .categoryContentArea {
        padding: 0.6rem;
    }

    .categoryArea .sideBar .filter .filterTitle {
        font-size: 0.9rem;
    }

    .categoryArea .categoryContent .topBar .barRow .filterCards .card {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
    }
}

/* Very Small Mobile */
@media (max-width: 375px) {
    .categoryArea .categoryContent .topBar .barRow .resultText {
        font-size: 0.8rem;
    }

    .categoryArea .sideBar .filter.checkBoxFilter .filterContent .checkBox .label {
        font-size: 0.75rem;
    }
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .categoryArea .categoryContentArea {
        gap: 1.5rem;
    }

    .categoryArea .categoryContent .cardsGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 1200px) {
    .categoryArea .categoryContentArea {
        gap: 1.2rem;
    }

    .categoryArea .sideBar {
        grid-column: span 3;
    }

    .categoryArea .categoryContent {
        grid-column: span 6;
    }

    .categoryArea .categoryContent .cardsGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .categoryArea .categoryContentArea {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .categoryArea .sideBar {
        width: 100%;
        order: 2;
    }

    .categoryArea .categoryContent {
        width: 100%;
        order: 1;
    }

    .categoryArea .categoryContent .cardsGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .categoryArea .sideBar .filterContainer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .categoryArea {
        padding: 0.8rem 0;
        gap: 0.8rem;
    }

    .categoryArea .breadcrumbs {
        width: 100%;
        margin-bottom: 0.8rem;
        overflow-x: auto;
        white-space: nowrap;
    }

    .categoryArea .categoryContentArea {
        padding: 0.8rem;
        gap: 1.2rem;
    }

    .categoryArea .sideBar .filterContainer {
        grid-template-columns: 1fr;
    }

    .categoryArea .categoryContent .cardsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .categoryArea .categoryContent .topBar .barRow {
        flex-wrap: wrap;
    }

    .categoryArea .categoryContent .topBar .barRow .resultText,
    .categoryArea .categoryContent .topBar .barRow .sortingSelect {
        width: 100%;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 576px) {
    .categoryArea {
        padding: 0.5rem 0;
    }

    .categoryArea .categoryContentArea {
        padding: 0.8rem;
        border-radius: 8px;
    }

    .categoryArea .categoryContent .topBar .barRow .filterCards {
        gap: 0.3rem;
    }

    .categoryArea .categoryContent .topBar .barRow .filterCards .card {
        padding: 0.2rem 0.3rem;
        font-size: 0.7rem;
    }

    .categoryArea .sideBar .filter .filterTitle {
        font-size: 0.9rem;
    }

    .categoryArea .sideBar .filter.categoryFilter .filterContent .title {
        font-size: 0.8rem;
    }

    .categoryArea .sideBar .filter.checkBoxFilter .filterContent .checkBox .label,
    .categoryArea .sideBar .filter.categoryFilter .catLink {
        font-size: 0.75rem;
    }
}


@media (max-width: 375px) {
    .categoryArea {
        padding: 0.3rem 0;
        gap: 0.5rem;
    }



    .categoryArea .breadcrumbs {
        padding: 0.3rem 0.5rem;
    }

    .categoryArea .breadcrumbs a,
    .categoryArea .breadcrumbs span,
    .categoryArea .breadcrumbs i {
        font-size: 0.7rem;
    }

    .categoryArea .categoryContentArea {
        padding: 0.5rem;
        gap: 0.8rem;
    }

    .categoryArea .categoryContent .cardsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .categoryArea .categoryContent .topBar {
        margin-top: 0.5rem;
    }

    .categoryArea .categoryContent .topBar .barRow {
        gap: 0.5rem;
    }

    .categoryArea .categoryContent .topBar .barRow .resultText {
        font-size: 0.7rem;
    }

    .categoryArea .categoryContent .topBar .barRow .sortingSelect {
        padding: 0.3rem 0.4rem;
    }

    .categoryArea .categoryContent .topBar .barRow .sortingSelect select,
    .categoryArea .categoryContent .topBar .barRow .sortingSelect .icon i {
        font-size: 0.7rem;
    }

    .categoryArea .categoryContent .topBar .barRow .filterCards .card {
        padding: 0.2rem 0.3rem;
        font-size: 0.65rem;
        border-radius: 3px;
    }

    .sliderItem {
        padding: 0.3rem;
    }

    .mobile-filter-toggle {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 4px;
        margin-bottom: 0.8rem;
    }

    .categoryArea .sideBar .filter .filterTitle {
        font-size: 0.8rem;
    }

    .categoryArea .sideBar .filter.categoryFilter .filterContent .title,
    .categoryArea .sideBar .filter.categoryFilter .catLink,
    .categoryArea .sideBar .filter.checkBoxFilter .filterContent .checkBox .label {
        font-size: 0.7rem;
    }
}


/* Mobil Menü Toggle Butonu */
.categoryArea .mobileFilterToggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.7rem 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 3px 10px rgba(252, 80, 33, 0.3);
}

@media (max-width: 992px) {
    .categoryArea .mobileFilterToggle {
        display: flex;
    }

    .categoryArea .sideBar {
        display: none;
    }

    .categoryArea .sideBar.active {
        display: flex;
    }
}