
/* Catalog Layout */
.catalog-page {
    padding-top: 140px;
    padding-bottom: 80px;
}

.catalog-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
}

/* Sidebar Filters */
.filters-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    background: #fff;
    border-radius: 30px;
    padding: 35px;
    border: 1px solid rgba(0,0,0,0.04);
}

.filter-group {
    margin-bottom: 35px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-title ion-icon {
    font-size: 18px;
    color: var(--gold);
}

/* Search Box Filter */
.filter-search-box {
    position: relative;
}

.filter-search-box input {
    width: 100%;
    height: 50px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 0 20px 0 45px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-search-box input:focus {
    background: #fff;
    border-color: var(--gold);
    outline: none;
}

.filter-search-box ion-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Checkbox & Radio Styles */
.custom-check, .custom-radio {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    transition: all 0.2s ease;
}

.custom-check:hover, .custom-radio:hover {
    color: var(--black);
}

.custom-check input, .custom-radio input {
    display: none;
}

.checkmark, .radiomark {
    width: 20px;
    height: 20px;
    border: 2px solid #eee;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s ease;
}

.radiomark {
    border-radius: 50%;
}

.custom-check input:checked + .checkmark, 
.custom-radio input:checked + .radiomark {
    border-color: var(--gold);
    background: var(--gold);
}

.checkmark:after, .radiomark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-check input:checked + .checkmark:after,
.custom-radio input:checked + .radiomark:after {
    display: block;
}

.checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.radiomark:after {
    left: 5px;
    top: 5px;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

/* Catalog Toolbar */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #fff;
    padding: 15px 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.04);
}

.results-count {
    font-size: 14px;
    font-weight: 800;
    color: #888;
}

.results-count span {
    color: var(--black);
}

.catalog-sort {
    display: flex;
    align-items: center;
    gap: 30px;
}

.catalog-sort span {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #999;
    white-space: nowrap;
}

/* Mobile Filter Toggle */
.mobile-filter-btn {
    display: none;
    width: 100%;
    height: 54px;
    background: var(--black);
    color: #fff;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 800;
    margin-bottom: 20px;
    cursor: pointer;
}

@media (max-width: 1199px) {
    .catalog-wrapper {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 991px) {
    .catalog-wrapper {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        display: none; /* Initially hidden on mobile */
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 10001;
        border-radius: 0;
        overflow-y: auto;
    }
    
    .filters-sidebar.active {
        display: block;
    }
    
    .mobile-filter-btn {
        display: flex;
    }
    
    .catalog-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}
