/* =========================================================
   VZUTA_UA — CATALOG.CSS
   catalog / search page / filters / favorites listing
   ========================================================= */

.catalog,
.catalog-page,
.favorites-page,
.search-results-page{
    padding:54px 0 90px;
    background:#f6f6f6;
}

.catalog-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom:24px;
}

.catalog-title,
.search-page-title h1{
    font-size:38px;
    font-weight:800;
}

.catalog-subtitle,
.search-page-title p{
    margin-top:8px;
    color:#777;
    font-size:15px;
    font-weight:600;
}

.search-page-title{
    margin-bottom:24px;
}

.search-page-form{
    position:relative;
    height:56px;
    margin:24px 0 30px;
}

.search-page-form input{
    width:100%;
    height:56px;
    padding:0 58px 0 20px;
    border:1px solid #dedede;
    border-radius:18px;
    background:#fff;
    color:#111;
    font-size:16px;
    outline:none;
}

.search-page-form input:focus{
    border-color:#111;
    box-shadow:0 0 0 4px rgba(0,0,0,.04);
}

.search-page-form button{
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%);
    border:0;
    background:none;
    color:#111;
    font-size:21px;
}

.search-page-clear{
    position:absolute;
    right:52px;
    top:50%;
    transform:translateY(-50%);
    color:#111;
    font-size:26px;
    line-height:1;
}

.search-catalog-layout,
.catalog-page-with-filters .search-catalog-layout{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:36px;
    align-items:start;
}

.catalog-results{
    min-width:0;
}

.catalog-sidebar{
    position:sticky;
    top:86px;
    overflow:hidden;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:18px;
    box-shadow:0 10px 28px rgba(0,0,0,.04);
}

.filter-block{
    padding:20px;
    border-bottom:1px solid #e5e5e5;
}

.filter-block h3{
    margin-bottom:16px;
    color:#111;
    font-size:15px;
    font-weight:900;
}

.filter-block label{
    display:block;
    margin-bottom:12px;
    color:#111;
    font-size:14px;
    font-weight:700;
}

.filter-block input[type="number"]{
    width:100%;
    height:38px;
    margin-bottom:8px;
    padding:0 12px;
    border:1px solid #111;
    border-radius:10px;
    outline:none;
}

.filter-apply-btn{
    width:100%;
    height:42px;
    margin-top:8px;
    border:0;
    border-radius:12px;
    background:#111;
    color:#fff;
    font-weight:900;
}

.filter-option,
.filter-option-link{
    width:100%;
    min-height:44px;
    margin-bottom:10px;
    padding:12px 18px;
    border:1px solid #ddd;
    border-radius:999px;
    background:#fff;
    color:#111;
    font-size:15px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
}

.filter-option:hover,
.filter-option.active,
.filter-option-link:hover,
.filter-option-link.active{
    border-color:#111;
    background:#111;
    color:#fff;
}

.size-filter-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
}

.size-filter-grid button{
    height:48px;
    border:1px solid #111;
    border-radius:999px;
    background:#fff;
    color:#111;
    font-weight:800;
}

.size-filter-grid button:hover,
.size-filter-grid button.active{
    background:#111;
    color:#fff;
}

.color-filter-list{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    margin-top:16px;
}

.color-filter{
    width:40px;
    height:40px;
    padding:0;
    border:0;
    background:transparent;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:0;
}

.color-filter span{
    width:32px;
    height:32px;
    display:block;
    border-radius:50%;
    border:1px solid #d8d8d8;
}

.filter-reset-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    height:46px;
    color:#111;
    font-weight:900;
}

.catalog-empty{
    grid-column:1 / -1;
    background:#fff;
    padding:60px 24px;
    text-align:center;
    border-radius:14px;
}

.catalog-empty h2{
    font-size:28px;
    margin-bottom:10px;
}

.catalog-empty p{
    color:#777;
    margin-bottom:24px;
}

.catalog-empty a{
    display:inline-flex;
    background:#111;
    color:#fff;
    padding:14px 22px;
    border-radius:8px;
    font-weight:800;
}

.mobile-filter-open,
.mobile-filter-close,
.filter-overlay{
    display:none;
}
.catalog-top-search{
    width:100%;
    height:52px;
    margin:-6px 0 22px;
    display:grid;
    grid-template-columns:1fr 52px;
    border-bottom:1px solid #d8d8d8;
}

.catalog-top-search input{
    width:100%;
    height:52px;
    border:0;
    background:transparent;
    color:#111;
    font-size:18px;
    outline:none;
}

.catalog-top-search input::placeholder{
    color:#a7adb5;
}

.catalog-top-search button{
    width:52px;
    height:52px;
    border:0;
    background:transparent;
    color:#111;
    font-size:20px;
}