.my-woo-grid-wrapper {
    width: 100%;
}

.my-woo-grid-container {
    display: flex;
    gap: 30px;
}

.my-woo-grid {
    display: grid;
    width: 100%;
    flex: 1 1 auto;
}

.my-woo-grid-content {
    flex: 1;
    position: relative;
}

.product-filters {
    border-radius: 8px;
}

.filter-left,
.filter-right {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
}

.filter-wrapper {
    position: sticky;
    top: 20px;
}

.filter-group {
    margin-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.filter-group:last-of-type {
    border-bottom: none;
}

.filter-group-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-group.collapsible .filter-group-title {
    cursor: pointer;
    user-select: none;
}

.filter-group.collapsible .filter-group-title:hover {
    color: #0066cc;
}

.toggle-icon {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s;
}

.filter-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-search {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.product-search:focus {
    outline: none;
    border-color: #0066cc;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
    user-select: none;
}

.filter-checkbox:hover {
    color: #0066cc;
}

.filter-checkbox input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.price-filter-wrapper {
    padding: 10px 0;
}

.price-slider-container {
    position: relative;
    height: 5px;
    margin: 20px 0;
    background: #e0e0e0;
    border-radius: 5px;
}

.price-slider-min,
.price-slider-max {
    position: absolute;
    width: 100%;
    height: 5px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    top: 50%;
    left: 0;
    margin: 0;
    padding: 0;
    outline: none;
    transform: translateY(-50%);
}

.price-slider-min::-webkit-slider-thumb,
.price-slider-max::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    background: #0066cc;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.5);
    margin-top: -6.5px;
}

.price-slider-min::-moz-range-thumb,
.price-slider-max::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    background: #0066cc;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.5);
}

.price-slider-min::-webkit-slider-thumb:hover,
.price-slider-max::-webkit-slider-thumb:hover {
    background: #0052a3;
}

.price-slider-min::-moz-range-thumb:hover,
.price-slider-max::-moz-range-thumb:hover {
    background: #0052a3;
}

.price-slider-min::-webkit-slider-runnable-track,
.price-slider-max::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    background: transparent;
    border: none;
}

.price-slider-min::-moz-range-track,
.price-slider-max::-moz-range-track {
    width: 100%;
    height: 5px;
    background: transparent;
    border: none;
}

.price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    color: #333;
}

.filter-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.apply-filters-btn,
.reset-filters-btn {
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    display: block;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;
}

.apply-filters-btn {
    background: #0066cc;
    color: white;
}

.reset-filters-btn {
    background: #f0f0f0;
    color: #333;
}

.reset-filters-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.filter-loading {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0066cc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.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-info {
    padding: 15px 0;
}

.product-title {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-title a:hover {
    color: #0066cc;
}

.product-price {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.product-price del {
    opacity: 0.6;
    margin-right: 5px;
}

.product-actions {
    margin-top: 10px;
}

.add-to-cart-button,
.add-to-cart-button.button,
a.add-to-cart-button {
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px 24px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    line-height: 1.5;
    box-sizing: border-box;
    margin: 0;
}

.add-to-cart-button:hover,
.add-to-cart-button.button:hover,
a.add-to-cart-button:hover {
    background-color: #333;
    color: #fff;
}

.add-to-cart-button.loading {
    opacity: 0.6;
    cursor: wait;
    pointer-events: none;
}

.add-to-cart-button.added {
    background-color: #27ae60;
    color: #fff;
}

.added_to_cart,
a.added_to_cart {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    text-align: center;
    width: 100%;
    transition: all 0.3s ease;
    box-sizing: border-box;
    padding: 12px 24px;
    background-color: #0066cc;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    line-height: 1.5;
}

.added_to_cart:hover,
a.added_to_cart:hover {
    background-color: #0052a3;
    color: #fff;
}

.no-products-found {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

@media (max-width: 1024px) {
    .my-woo-grid-container {
        gap: 20px;
    }
    
    .filter-left,
    .filter-right {
        min-width: 240px;
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .my-woo-grid-container {
        flex-direction: column;
    }
    
    .filter-left,
    .filter-right {
        min-width: 100%;
        max-width: 100%;
        order: -1;
    }
    
    .filter-wrapper {
        position: static;
    }
}

.filter-top {
    width: 100%;
    margin-bottom: 30px;
}

.filter-top .filter-wrapper {
    position: static !important;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    top: auto !important;
}

.filter-top .filter-group {
    flex: 1;
    min-width: 200px;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-top .filter-group-title {
    margin-bottom: 10px;
}

.filter-top .filter-actions {
    flex-basis: 100%;
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .filter-top .filter-wrapper {
        flex-direction: column;
    }
    
    .filter-top .filter-group {
        min-width: 100%;
    }
    
    .filter-top .filter-actions {
        flex-direction: column;
    }
}

.product-card.hover-none:hover {
    transform: none;
}

.product-card.hover-lift:hover {
    transform: translateY(-5px);
}

.product-card.hover-zoom:hover {
    transform: none;
}

.product-card.hover-zoom:hover .product-image img {
    transform: scale(1.05);
}

.product-card.hover-lift_zoom:hover {
    transform: translateY(-5px);
}

.product-card.hover-lift_zoom:hover .product-image img {
    transform: scale(1.05);
}

.product-card.hover-shadow-yes:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}