.products-category-header{
height: 350px;
background-color: #F5F5F5;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
padding: 20px;
border-radius: 10px;
margin-bottom: 20px;
margin-top: -100px;
}
.woocommerce-products-filter-page {
max-width: 1400px;
margin: 0 auto;
padding: 20px;
}
.woocommerce img, .woocommerce-page img{
height: 100%;
max-width: 100%;
object-fit: cover;
}
.products-filter-container {
display: flex;
gap: 30px;
align-items: flex-start;
} .filter-toggle-mobile {
display: none;
width: 100%;
padding: 15px;
background: #000;
color: white;
border: none;
border-radius: 4px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
margin-bottom: 20px;
transition: background 0.3s;
}
.filter-toggle-mobile:hover {
background: #333;
}
.filter-toggle-mobile.active {
background: #c3b8a5;
}
.filter-toggle-mobile .filter-toggle-icon {
font-size: 20px;
margin-left: 10px;
} .products-filter-sidebar {
width: 280px;
flex-shrink: 0;
background: #f8f8f8;
padding: 20px;
border-radius: 4px;
position: sticky;
top: 20px;
max-height: calc(100vh - 40px);
overflow-y: auto;
}
.filter-header {
background: #000;
color: white;
padding: 15px;
margin: -20px -20px 20px -20px;
border-radius: 4px 4px 0 0;
}
.filter-header h2 {
margin: 0;
font-size: 18px;
font-weight: bold;
text-align: center;
}
.filter-section {
margin-bottom: 25px;
border-bottom: 1px solid #ddd;
padding-bottom: 15px;
}
.filter-section:last-child {
border-bottom: none;
}
.filter-title {
font-size: 14px;
font-weight: 600;
margin: 0 0 15px 0;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
text-transform: uppercase;
}
.filter-title .toggle-icon {
font-weight: bold;
font-size: 18px;
}
.filter-content {
display: block;
max-height: 206px;
overflow-y: scroll;
}
.filter-content.hidden {
display: none;
}
.filter-checkbox {
display: block;
margin-bottom: 10px;
cursor: pointer;
font-size: 14px;
}
.filter-checkbox input[type="checkbox"],
.filter-checkbox input[type="radio"] {
margin-right: 8px;
cursor: pointer;
}
.filter-checkbox span {
vertical-align: middle;
} .size-buttons {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.size-button {
padding: 10px 20px;
border: 2px solid #ddd;
background: #fff;
cursor: pointer;
border-radius: 4px;
font-size: 14px;
transition: all 0.3s;
display: inline-block;
}
.size-button input[type="checkbox"] {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.size-button:hover {
border-color: #333;
}
.size-button.active {
background: #333;
color: #fff;
border-color: #333;
} .filter-actions {
margin-top: 20px;
display: flex;
flex-direction: column;
gap: 10px;
}
.filter-submit {
background: #000;
color: white;
border: none;
padding: 12px 20px;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
transition: background 0.3s;
}
.filter-submit:hover {
background: #c3b8a5;
}
.filter-reset {
text-align: center;
color: #666;
text-decoration: underline;
font-size: 14px;
}
.filter-reset:hover {
color: #333;
} .products-main-content {
flex: 1;
min-width: 0;
}
.products-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
flex-wrap: wrap;
gap: 20px;
}
.page-title {
font-size: 36px;
font-weight: bold;
margin: 0;
text-transform: uppercase;
}
.products-info {
display: flex;
align-items: center;
gap: 20px;
flex-wrap: wrap;
}
.results-count {
font-size: 14px;
color: #666;
}
.orderby {
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
background: white;
cursor: pointer;
} .products-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
list-style: none;
padding: 0;
margin: 0 0 40px 0;
}
.product-item {
background: white;
border: 1px solid #eee;
border-radius: 4px;
overflow: hidden;
transition: transform 0.3s, box-shadow 0.3s;
}
.product-item:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.product-link {
text-decoration: none;
color: inherit;
display: block;
}
.product-image-wrapper {
position: relative;
width: 100%;
padding-top: 100%;
overflow: hidden;
background: #f8f8f8;
}
.product-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}
.product-item:hover .product-image {
transform: scale(1.05);
}
.sale-badge {
position: absolute;
top: 10px;
right: 10px;
background: #e74c3c;
color: white;
padding: 5px 10px;
border-radius: 3px;
font-size: 12px;
font-weight: bold;
z-index: 1;
}
.product-title {
font-size: 16px;
font-weight: 600;
margin: 15px 15px 10px 15px;
color: #333;
line-height: 1.4;
} .products-pagination {
margin-top: 40px;
text-align: center;
}
.products-pagination .page-numbers {
display: inline-flex;
flex-wrap: wrap;
gap: 5px;
list-style: none;
padding: 0;
margin: 0;
justify-content: center;
}
.products-pagination .page-numbers li {
display: inline-block;
}
.products-pagination .page-numbers a,
.products-pagination .page-numbers span {
display: inline-block;
padding: 10px 15px;
border: 1px solid #ddd;
border-radius: 4px;
text-decoration: none;
color: #333;
transition: all 0.3s;
}
.products-pagination .page-numbers a:hover {
background: #333;
color: white;
border-color: #333;
}
.products-pagination .page-numbers .current {
background: #000000;
color: white;
border-color: #000000;
} .no-products {
text-align: center;
padding: 60px 20px;
font-size: 18px;
color: #666;
}  @media (max-width: 1024px) {
.woocommerce-products-filter-page {
padding: 15px;
}
.products-filter-container {
gap: 20px;
}
.products-filter-sidebar {
width: 250px;
}
.products-grid {
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
} @media (max-width: 768px) {
.woocommerce-products-filter-page {
padding: 15px;
}
.filter-toggle-mobile {
display: block;
}
.products-filter-container {
flex-direction: column;
gap: 20px;
}
.products-filter-sidebar {
width: 100%;
position: static;
max-height: none;
padding: 15px;
display: none; }
.products-filter-sidebar.show {
display: block; }
.filter-header {
margin: -15px -15px 15px -15px;
padding: 12px;
}
.filter-header h2 {
font-size: 16px;
}
.products-grid {
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.page-title {
font-size: 28px;
}
.product-title {
font-size: 14px;
margin: 12px 12px 8px 12px;
}
.sale-badge {
font-size: 11px;
padding: 4px 8px;
top: 8px;
right: 8px;
}
.products-main-content{
width: 100%;
}
.product-image-wrapper {
padding-top: 70%;
}
} @media (max-width: 480px) {
.woocommerce-products-filter-page {
padding: 10px;
}
.products-filter-sidebar {
padding: 12px;
}
.filter-header {
margin: -12px -12px 12px -12px;
padding: 10px;
}
.filter-section {
margin-bottom: 20px;
padding-bottom: 12px;
}
.filter-title {
font-size: 13px;
margin-bottom: 12px;
}
.filter-checkbox {
font-size: 13px;
margin-bottom: 8px;
}
.size-button {
padding: 8px 15px;
font-size: 13px;
}
.filter-submit {
padding: 10px 15px;
font-size: 13px;
}
.products-grid {
grid-template-columns: 1fr;
gap: 15px;
}
.page-title {
font-size: 24px;
}
.products-pagination .page-numbers a,
.products-pagination .page-numbers span {
padding: 8px 12px;
font-size: 13px;
}
}