
/*
|--------------------------------------------------------------------------
| SHOP PAGE
|--------------------------------------------------------------------------
*/

.shop-page{

    padding:48px 40px 120px;

}

.shop-layout{

    display:grid;

    grid-template-columns:280px minmax(0,1fr);

    gap:42px;

    width:100%;

    max-width:1600px;

    margin:0 auto;

    align-items:start;

}

/*
|--------------------------------------------------------------------------
| SIDEBAR
|--------------------------------------------------------------------------
*/

.shop-sidebar{

    position:sticky;

    top:116px;

    height:fit-content;

    background:#fff;

    border-radius:28px;

    padding:28px;

    box-shadow:
        0 18px 46px rgba(2,0,17,.05);

    width:100%;

    max-width:100%;

}

.shop-sidebar h3{

    margin-bottom:24px;

    font-size:24px;

}

.sidebar-categories{

    display:flex;

    flex-direction:column;

    gap:12px;

    list-style:none;

}

.sidebar-category{

    width:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:16px 18px;

    border-radius:16px;

    background:#f8f8f8;

    transition:all .25s ease;

}

.sidebar-category span:first-child{

    min-width:0;

    overflow-wrap:anywhere;

    line-height:1.25;

}

.sidebar-category span:last-child{

    flex:0 0 auto;

    margin-left:12px;

}

.sidebar-category:hover{

    background:rgba(237,127,26,.08);

}

.sidebar-category.active{

    background:var(--orange);

    color:#fff;

}

/*
|--------------------------------------------------------------------------
| SHOP MAIN
|--------------------------------------------------------------------------
*/

.shop-main{

    width:100%;

    min-width:0;

    padding-top:0;

}

/*
|--------------------------------------------------------------------------
| PRODUCTS GRID
|--------------------------------------------------------------------------
*/

.shop-page .products-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fill,minmax(260px,1fr));

    width:100%;

    gap:24px;

    align-items:stretch;

}

/*
|--------------------------------------------------------------------------
| PRODUCT CARD SHOP
|--------------------------------------------------------------------------
*/

.shop-page .product-card{

    border-radius:26px;

    min-height:100%;

}

.shop-page .product-image{

    aspect-ratio:1/1;

}

.shop-page .product-content{

    padding:20px;

}

.shop-page .product-content h3{

    font-size:18px;

    line-height:1.35;

    margin-bottom:16px;

    min-height:49px;

}

.shop-page .product-content h3 a,
.related-products-section .product-content h3 a{

    overflow-wrap:anywhere;

    hyphens:auto;

}

.shop-page .product-price{

    font-size:20px;

}

.shop-page .product-bottom{

    flex-direction:column;

    align-items:stretch;

    justify-content:flex-end;

    gap:16px;

}

.shop-page .product-actions{

    width:100%;

    min-height:48px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:8px;

}

.shop-page .product-card .novaro-qty{

    min-height:42px;

    padding:3px;

    background:#F5F0E8;

    box-shadow:inset 0 0 0 1px rgba(2,0,17,.04);

}

.shop-page .product-card .novaro-qty__btn{

    width:30px;

    height:30px;

    font-size:17px;

}

.shop-page .product-card .novaro-qty__input{

    width:32px;

    font-size:14px;

}

.shop-page .product-cart-btn{

    width:48px;

    height:48px;

    min-width:48px;

    min-height:48px;

    border-radius:16px;

}

.shop-page .product-cart-btn::after{

    width:16px;

    height:16px;

    background:
        linear-gradient(#fff,#fff) center/100% 3px no-repeat,
        linear-gradient(#fff,#fff) center/3px 100% no-repeat;

}

.shop-page .product-meta{

    font-size:12px;

    margin-bottom:8px;

}

.shop-page .product-meta,
.related-products-section .product-meta{

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

    min-height:34px;

    line-height:1.4;

}

.shop-page .product-meta a,
.related-products-section .product-meta a{

    overflow-wrap:anywhere;

}

.shop-page .product-wishlist{

    width:40px;

    height:40px;

    top:14px;

    right:14px;

}

/*
|--------------------------------------------------------------------------
| EMPTY STATE
|--------------------------------------------------------------------------
*/

.shop-empty{

    background:#fff;

    border-radius:28px;

    padding:80px;

    text-align:center;

    box-shadow:var(--shadow-sm);

}

.shop-empty h3{

    margin-bottom:14px;

}

.shop-empty p{

    max-width:500px;

    margin:0 auto;

}

.shop-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin:46px auto 0;
    width:100%;
}

.shop-pagination .page-numbers,
.woocommerce nav.woocommerce-pagination ul.page-numbers a,
.woocommerce nav.woocommerce-pagination ul.page-numbers span{
    min-width:46px;
    height:46px;
    padding:0 16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:16px;
    background:#fff;
    border:1px solid rgba(2,0,17,.08);
    color:var(--text);
    font-size:15px;
    font-weight:800;
    box-shadow:0 10px 24px rgba(0,0,0,.045);
    transition:transform .2s ease, border-color .2s ease, color .2s ease;
    text-decoration:none;
    line-height:1;
}

.woocommerce nav.woocommerce-pagination{
    margin:46px auto 0;
    width:100%;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin:0;
    padding:0;
    border:0;
    list-style:none;
}

.woocommerce nav.woocommerce-pagination ul.page-numbers li{
    margin:0;
    padding:0;
    border:0;
    list-style:none;
}

.shop-pagination .page-numbers:hover,
.shop-pagination .page-numbers:focus-visible,
.woocommerce nav.woocommerce-pagination ul.page-numbers a:hover,
.woocommerce nav.woocommerce-pagination ul.page-numbers a:focus-visible{
    transform:translateY(-2px);
    border-color:rgba(237,127,26,.36);
    color:var(--orange);
    outline:0;
}

.shop-pagination .page-numbers.current,
.woocommerce nav.woocommerce-pagination ul.page-numbers .current{
    background:var(--button-gradient);
    color:#fff;
    border-color:transparent;
}

.shop-pagination .page-numbers.prev,
.shop-pagination .page-numbers.next,
.woocommerce nav.woocommerce-pagination ul.page-numbers .prev,
.woocommerce nav.woocommerce-pagination ul.page-numbers .next{
    min-width:112px;
}

.shop-pagination .page-numbers.dots,
.woocommerce nav.woocommerce-pagination ul.page-numbers .dots{
    min-width:32px;
    background:transparent;
    border-color:transparent;
    box-shadow:none;
    color:var(--text-light);
}

@media (max-width: 900px){
    .shop-page{
        padding:28px 18px 90px;
    }

    .shop-layout{
        grid-template-columns:1fr;
        gap:28px;
    }

    .shop-sidebar{
        position:relative;
        top:auto;
    }
}
