.mtvs-shop-layout { display: block; }
.mtvs-shop-layout.mtvs-has-filters {
display: flex;
align-items: flex-start;
gap: 28px;
}
.mtvs-products-col { flex: 1; min-width: 0; }
.mtvs-filters-sidebar {
width: 240px;
flex-shrink: 0;
position: sticky;
top: 100px;
max-height: calc(100vh - 120px);
overflow-y: auto;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(26,31,46,0.06);
scrollbar-width: thin;
scrollbar-color: #cbd5e1 transparent;
}
.mtvs-filters-sidebar::-webkit-scrollbar { width: 4px; }
.mtvs-filters-sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }
.mtvs-sidebar-inner { padding: 20px; }
.mtvs-sidebar-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 18px;
padding-bottom: 14px;
border-bottom: 1px solid #e2e8f0;
}
.mtvs-sidebar-title {
font-family: 'Montserrat', sans-serif;
font-size: 14px;
font-weight: 700;
color: #1a1f2e;
margin: 0;
display: flex;
align-items: center;
gap: 8px;
letter-spacing: 0.3px;
}
.mtvs-sidebar-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
background: #3b82f6;
color: #fff;
border-radius: 50%;
font-size: 11px;
font-weight: 700;
}
.mtvs-sidebar-reset-all {
font-family: 'Inter', sans-serif;
font-size: 12px;
color: #3b82f6;
text-decoration: none;
font-weight: 500;
white-space: nowrap;
}
.mtvs-sidebar-reset-all:hover { text-decoration: underline; }
.mtvs-filter-section {
margin-bottom: 18px;
padding-bottom: 18px;
border-bottom: 1px solid #f1f5f9;
}
.mtvs-filter-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.mtvs-filter-label {
font-family: 'Montserrat', sans-serif;
font-size: 11px;
font-weight: 700;
color: #64748b;
text-transform: uppercase;
letter-spacing: 0.8px;
margin-bottom: 10px;
transition: color 0.2s;
}
.mtvs-filter-section-active .mtvs-filter-label { color: #3b82f6; }
.mtvs-checkbox-group { display: flex; flex-direction: column; gap: 4px; }
.mtvs-cb-label {
display: flex;
align-items: center;
font-family: 'Inter', sans-serif;
font-size: 13px;
color: #374151;
cursor: pointer;
padding: 5px 6px;
border-radius: 6px;
transition: background 0.15s;
user-select: none;
}
.mtvs-cb-label:hover { background: #f8fafc; }
.mtvs-cb-label input[type="checkbox"] { display: none; }
.mtvs-cb-label span {
display: flex;
align-items: center;
gap: 9px;
}
.mtvs-cb-label span::before {
content: '';
flex-shrink: 0;
display: inline-block;
width: 16px;
height: 16px;
border: 2px solid #d1d5db;
border-radius: 4px;
background: #fff;
transition: all 0.18s;
}
.mtvs-cb-checked { background: #eff6ff; }
.mtvs-cb-checked span::before {
background: #3b82f6;
border-color: #3b82f6;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center;
background-size: 10px 8px;
}
.mtvs-range-display {
display: flex;
justify-content: space-between;
font-family: 'Montserrat', sans-serif;
font-size: 13px;
font-weight: 600;
color: #1a1f2e;
margin-bottom: 12px;
}
.mtvs-range-track-wrap {
position: relative;
height: 36px;
display: flex;
align-items: center;
}
.mtvs-range-track {
position: absolute;
left: 0; right: 0;
height: 6px;
background: #e2e8f0;
border-radius: 999px;
box-shadow: inset 0 1px 2px rgba(15,23,42,0.08);
}
.mtvs-range-fill {
position: absolute;
height: 100%;
background: linear-gradient(90deg, #3b82f6, #60a5fa);
border-radius: 999px;
}
input[type="range"].mtvs-range-input {
position: absolute;
width: 100%;
height: 18px;
margin: 0;
padding: 0;
border: 0;
background: transparent !important;
box-shadow: none !important;
pointer-events: none;
-webkit-appearance: none;
appearance: none;
outline: none;
}
input[type="range"].mtvs-range-input::-webkit-slider-runnable-track {
width: 100% !important;
height: 6px !important;
background: transparent !important;
border: 0 !important;
border-radius: 999px;
box-shadow: none !important;
}
input[type="range"].mtvs-range-input::-webkit-slider-thumb {
-webkit-appearance: none;
pointer-events: all;
width: 16px !important;
height: 16px !important;
margin-top: -5px !important;
background: #fff !important;
border: 3px solid #3b82f6 !important;
border-radius: 50%;
cursor: pointer;
box-shadow: 0 1px 4px rgba(15,23,42,0.18), 0 0 0 2px #fff !important;
transition: box-shadow 0.2s;
}
input[type="range"].mtvs-range-input::-webkit-slider-thumb:hover,
input[type="range"].mtvs-range-input:focus::-webkit-slider-thumb {
box-shadow: 0 0 0 4px rgba(59,130,246,0.15) !important;
}
input[type="range"].mtvs-range-input::-moz-range-thumb {
pointer-events: all;
width: 12px !important;
height: 12px !important;
background: #fff !important;
border: 3px solid #3b82f6 !important;
border-radius: 50%;
cursor: pointer;
box-shadow: 0 1px 4px rgba(15,23,42,0.18), 0 0 0 2px #fff !important;
}
input[type="range"].mtvs-range-input::-moz-range-track,
input[type="range"].mtvs-range-input::-moz-range-progress {
height: 6px !important;
background: transparent !important;
border: 0 !important;
border-radius: 999px;
box-shadow: none !important;
}
.mtvs-sidebar-footer {
margin-top: 18px;
padding-top: 16px;
border-top: 1px solid #e2e8f0;
display: flex;
flex-direction: column;
gap: 8px;
}
.mtvs-btn-apply {
width: 100%;
padding: 10px;
background: #3b82f6;
color: #fff;
border: none;
border-radius: 8px;
font-family: 'Montserrat', sans-serif;
font-size: 13px;
font-weight: 700;
letter-spacing: 0.3px;
cursor: pointer;
transition: background 0.2s;
}
.mtvs-btn-apply:hover { background: #2563eb; }
.mtvs-btn-reset {
display: block;
text-align: center;
padding: 8px;
color: #64748b;
font-family: 'Inter', sans-serif;
font-size: 12px;
text-decoration: none;
border-radius: 6px;
transition: background 0.15s, color 0.15s;
}
.mtvs-btn-reset:hover { background: #f1f5f9; color: #1a1f2e; }
.mtvs-filter-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
background: #3b82f6;
color: #fff;
border-radius: 50%;
font-size: 10px;
font-weight: 700;
margin-left: 2px;
}
.mtvs-mobile-filter-toggle {
display: none;
align-items: center;
gap: 8px;
padding: 10px 16px;
background: #1a1f2e;
color: #fff;
border: none;
border-radius: 8px;
font-family: 'Montserrat', sans-serif;
font-size: 14px;
font-weight: 600;
cursor: pointer;
margin-bottom: 16px;
transition: background 0.2s;
}
.mtvs-mobile-filter-toggle:hover { background: #2d3748; }
.mtvs-toggle-arrow { font-size: 10px; transition: transform 0.3s; }
.mtvs-mobile-filter-toggle[aria-expanded="true"] .mtvs-toggle-arrow { transform: rotate(180deg); }
.mtvs-no-results-filter { padding: 16px 0; }
.mtvs-no-results-filter > p {
font-family: 'Inter', sans-serif;
font-size: 14px;
color: #64748b;
margin-bottom: 12px;
}
@media (max-width: 860px) {
.mtvs-shop-layout.mtvs-has-filters { flex-direction: column; }
.mtvs-mobile-filter-toggle { display: flex; }
.mtvs-filters-sidebar {
width: 100%;
position: relative;
top: auto;
max-height: none;
display: none;
}
.mtvs-filters-sidebar.mtvs-sidebar-open { display: block; }
.mtvs-sidebar-inner { padding: 16px; }
}
