/* Layout */
.yyk-filter-wrapper{
    display:flex;
    gap:24px;
    align-items:flex-start;
    }
    
    .yyk-filter-products{
    flex:1;
    }
    
    /* Sidebar */
    .yyk-filter-sidebar{
    width:280px;
    background:#fff;
    border-radius:10px;
    padding:20px;
    border:1px solid #eee;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
    }
    
    /* Products grid */
    .yyk-products-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    }
    
    /* Product card */
    .yyk-products-grid .product{
    background:#111;
    border-radius:10px;
    overflow:hidden;
    padding:15px;
    display:flex;
    flex-direction:column;
    transition:.2s ease;
    }
    
    .yyk-products-grid .product:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    }
    
    /* Image */
    .yyk-products-grid .woocommerce-loop-product__link img{
    width:100%;
    height:220px;
    object-fit:contain;
    background:#fff;
    border-radius:6px;
    }
    
    /* Title */
    .yyk-products-grid .woocommerce-loop-product__title{
    color:#fff !important;
    font-size:14px;
    margin-top:10px;
    min-height:40px;
    line-height:1.4;
    }
    
    /* Price */
    .yyk-products-grid .price{
    color:#fff !important;
    font-weight:600;
    margin-top:auto;
    margin-bottom:6px;
    }
    
    /* FIX BUTTON SIZE */
    .yyk-products-grid .product .button,
    .yyk-products-grid .product .add_to_cart_button,
    .yyk-products-grid .product .product_type_variable{
    margin-top:8px;
    width:100%;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    border-radius:6px;
    background:#fff;
    color:#111 !important;
    border:none;
    }
    
    .yyk-products-grid .product .button:hover{
    background:#eaeaea;
    }
    
    /* Pagination */
    .yyk-pagination{
    margin-top:30px;
    text-align:center;
    }
    
    .yyk-page{
    border:1px solid #ddd;
    background:#fff;
    padding:8px 12px;
    margin:0 3px;
    border-radius:6px;
    cursor:pointer;
    }
    
    .yyk-page.active{
    background:#111;
    color:#fff;
    border-color:#111;
    }
    
    /* Filter */
    .yyk-filter-box{
    margin-bottom:22px;
    }
    
    .yyk-filter-box h4{
    font-size:14px;
    margin-bottom:10px;
    font-weight:600;
    }
    
    .yyk-scroll{
    max-height:180px;
    overflow:auto;
    border:1px solid #eee;
    border-radius:6px;
    padding:8px;
    }
    
    .yyk-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:13px;
    margin-bottom:6px;
    }
    
    .yyk-search{
    width:100%;
    height:36px;
    padding:0 10px;
    border:1px solid #eee;
    border-radius:6px;
    margin-bottom:8px;
    }
    
    .yyk-count{
    color:#999;
    font-size:12px;
    }
    
    /* Sort */
    .yyk-sort-select{
    width:100%;
    height:42px;
    border:1px solid #eee;
    border-radius:6px;
    padding:0 10px;
    }
    
    /* Buttons */
    .yyk-apply-filter{
    width:100%;
    height:44px;
    background:#111;
    color:#fff;
    border:none;
    border-radius:6px;
    cursor:pointer;
    }
    
    .yyk-mobile-filter-btn{
    display:none;
    height:44px;
    padding:0 15px;
    background:#111;
    color:#fff;
    border:none;
    border-radius:6px;
    margin-bottom:15px;
    }
    
    /* Skeleton */
    .yyk-skeleton{
    height:300px;
    border-radius:10px;
    background:linear-gradient(90deg,#eee,#f5f5f5,#eee);
    background-size:200% 100%;
    animation:yyk-skeleton 1.2s infinite;
    }
    
    @keyframes yyk-skeleton{
    0%{background-position:200% 0}
    100%{background-position:-200% 0}
    }
    
    /* Header hidden on desktop */
    .yyk-filter-header{
    display:none;
    }
    
    .yyk-close-filter{
    background:none;
    border:none;
    font-size:20px;
    cursor:pointer;
    }
    
    /* MOBILE */
    @media(max-width:768px){
    
    .yyk-filter-wrapper{
    display:block;
    }
    
    .yyk-products-grid{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    }
    
    .yyk-mobile-filter-btn{
    display:flex;
    }
    
    .yyk-filter-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
    font-weight:600;
    position:sticky;
    top:0;
    background:#fff;
    padding-bottom:10px;
    z-index:5;
    }
    
    .yyk-filter-sidebar{
    display:none;
    }
    
    .yyk-filter-sidebar.active{
    display:block;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#fff;
    z-index:9999;
    overflow:auto;
    padding:20px;
    }
    
    }