/*==========================================
PAGE BANNER
==========================================*/

.page-banner {

    height: 300px;

    background: url("../images/shopbann.png") center center/cover no-repeat;

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

}

.page-banner::before {

    content: "";

    position: absolute;

    inset: 0;

    background: rgba(18, 10, 35, .38);

}

.page-banner .container {

    position: relative;

    z-index: 2;

    width: 100%;

}

.page-banner-content {

    text-align: center;

}

.page-banner h1 {

    margin: 0;

    color: #fff;

    font-size: 64px;

    font-weight: 700;

    font-family: "Cinzel", serif;

    text-shadow: 0 4px 12px rgba(0, 0, 0, .35);

}

.breadcrumb {

    margin-top: 14px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

}

.breadcrumb a {

    color: #fff;

    text-decoration: none;

    font-size: 16px;

    transition: .3s;

}

.breadcrumb a:hover {

    color: #d8a128;

}

.breadcrumb i {

    color: #d8a128;

    font-size: 12px;

}

.breadcrumb .active {

    color: #d8a128;

    font-weight: 600;

}

/*==========================================
RESPONSIVE
==========================================*/

@media(max-width:992px) {

    .page-banner {

        height: 150px;

    }

    .page-banner h1 {

        font-size: 48px;

    }

}

@media(max-width:768px) {

    .page-banner {

        height: 130px;

    }

    .page-banner h1 {

        font-size: 36px;

    }

    .breadcrumb {

        font-size: 14px;

        gap: 8px;

    }

}

/*==========================================
SHOP LAYOUT
==========================================*/

.shop-section {
    padding: 3%;
    background: #faf8f5;
}

.shop-wrapper {

    display: grid;

    grid-template-columns: 300px 1fr;

    gap: 35px;

    align-items: start;

}

/*============================*/

.shop-sidebar {

    position: sticky;

    top: 20px;

}

/*============================*/

.shop-content {

    width: 100%;

}

/*============================*/

.shop-toolbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 30px;

    flex-wrap: wrap;

    gap: 20px;

}

.shop-results {

    font-size: 16px;

    color: #444;

    font-weight: 500;

}

/*============================*/

.shop-toolbar-right {

    display: flex;

    align-items: center;

    gap: 12px;

}

/*============================*/

.shop-sort {

    height: 48px;

    min-width: 220px;

    border: 1px solid #ddd;

    border-radius: 8px;

    padding: 0 16px;

    background: #fff;

    font-size: 15px;

    cursor: pointer;

}

/*============================*/

.grid-btn,
.list-btn {

    width: 48px;

    height: 48px;

    border: none;

    border-radius: 8px;

    background: #fff;

    color: #555;

    cursor: pointer;

    transition: .3s;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);

}

.grid-btn.active {

    background: #d8a128;

    color: #fff;

}

.grid-btn:hover,
.list-btn:hover {

    background: #d8a128;

    color: #fff;

}

/*============================*/

.products-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

}

/*============================*/

@media(max-width:1200px) {

    .products-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}

@media(max-width:992px) {

    .shop-wrapper {

        grid-template-columns: 1fr;

    }

    .shop-sidebar {

        position: relative;

        top: 0;

    }

    .products-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width:768px) {

    .shop-toolbar {

        flex-direction: column;

        align-items: flex-start;

    }

    .shop-toolbar-right {

        width: 100%;

    }

    .shop-sort {

        flex: 1;

        min-width: auto;

    }

    .products-grid {

        grid-template-columns: 1fr;

    }

}

/*==========================================
SHOP PAGE ANIMATION
==========================================*/

.shop-section{

    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

.shop-widget{

    animation:slideLeft .8s ease;
}

.shop-widget:nth-child(2){

    animation-delay:.15s;
}

.shop-widget:nth-child(3){

    animation-delay:.3s;
}

.shop-widget:nth-child(4){

    animation-delay:.45s;
}

@keyframes slideLeft{

    from{

        opacity:0;
        transform:translateX(-40px);

    }

    to{

        opacity:1;
        transform:translateX(0);

    }

}

.product-card{

    animation:productFade .7s ease both;
}

.product-card:nth-child(2){

    animation-delay:.1s;

}

.product-card:nth-child(3){

    animation-delay:.2s;

}

.product-card:nth-child(4){

    animation-delay:.3s;

}

.product-card:nth-child(5){

    animation-delay:.4s;

}

.product-card:nth-child(6){

    animation-delay:.5s;

}

.product-card:nth-child(7){

    animation-delay:.6s;

}

.product-card:nth-child(8){

    animation-delay:.7s;

}

@keyframes productFade{

    from{

        opacity:0;

        transform:translateY(60px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


.product-card{

    overflow:hidden;

}

.product-card::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:70%;

    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.55),
        transparent
    );

    transform:skewX(-25deg);

    transition:.8s;

}

.product-card:hover::before{

    left:130%;

}

.wishlist-btn{

    transition:.35s;
}

.wishlist-btn:hover{

    animation:heartBeat .6s;

}

@keyframes heartBeat{

    0%{

        transform:scale(1);

    }

    25%{

        transform:scale(1.2);

    }

    50%{

        transform:scale(.9);

    }

    75%{

        transform:scale(1.15);

    }

    100%{

        transform:scale(1);

    }

}

.cart-btn{

    position:relative;

    overflow:hidden;

}

.cart-btn::before{

    content:"";

    position:absolute;

    left:-100%;

    top:0;

    width:100%;

    height:100%;

    background:rgba(255,255,255,.25);

    transform:skewX(-25deg);

    transition:.6s;

}

.cart-btn:hover::before{

    left:120%;

}

.cart-btn:hover{

    transform:translateY(-3px);

}


.shop-widget{

    transition:.35s;

}

.shop-widget:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.08);

}


.category-list li{

    transition:.3s;

}

.category-list li:hover{

    transform:translateX(8px);

}


.price-slider{

    transition:.3s;

}

.price-slider:hover{

    transform:scaleY(1.5);

}



.page-btn{

    overflow:hidden;

    position:relative;

}

.page-btn::before{

    content:"";

    position:absolute;

    inset:0;

    background:#d8a128;

    transform:scale(0);

    transition:.35s;

    border-radius:50%;

    z-index:-1;

}

.page-btn:hover::before{

    transform:scale(1);

}
/*==========================================
SHOP WIDGET
==========================================*/

.shop-widget {

    background: #fff;

    border-radius: 14px;

    padding: 25px;

    margin-bottom: 25px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);

}

/*========================*/

.widget-title {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;

}

.widget-title h3 {

    margin: 0;

    font-size: 24px;

    font-weight: 700;

    color: #222;

}

.widget-title button {

    border: none;

    background: none;

    cursor: pointer;

    font-size: 18px;

    color: #555;

}

/*========================*/

.category-list {

    list-style: none;

    margin: 0;

    padding: 0;

}

.category-list li {

    margin-bottom: 18px;

}

.category-list li:last-child {

    margin-bottom: 0;

}

.category-list a {

    display: flex;

    justify-content: space-between;

    align-items: center;

    text-decoration: none;

    color: #333;

    transition: .3s;

}

.category-list .left {

    display: flex;

    align-items: center;

    gap: 12px;

}

.category-list i {

    color: #d8a128;

    width: 18px;

    text-align: center;

}

.category-list span {

    font-size: 15px;

}

.category-list .count {

    color: #888;

    font-size: 14px;

}

.category-list a:hover {

    color: #d8a128;

    padding-left: 6px;

}

.category-list a:hover .count {

    color: #d8a128;

}


/*==========================================
PRICE FILTER
==========================================*/

.price-range {

    margin-top: 10px;

}

/*============================*/

.price-slider {

    width: 100%;

    appearance: none;

    -webkit-appearance: none;

    height: 4px;

    background: #e5e5e5;

    border-radius: 50px;

    outline: none;

}

/* Chrome */

.price-slider::-webkit-slider-thumb {

    -webkit-appearance: none;

    width: 16px;

    height: 16px;

    border-radius: 50%;

    background: #d8a128;

    cursor: pointer;

    border: 3px solid #fff;

    box-shadow: 0 0 0 2px #d8a128;

}

/* Firefox */

.price-slider::-moz-range-thumb {

    width: 16px;

    height: 16px;

    border-radius: 50%;

    background: #d8a128;

    border: none;

    cursor: pointer;

}

/*============================*/

.price-label {

    display: flex;

    justify-content: space-between;

    margin: 15px 0;

    color: #555;

    font-size: 14px;

}

/*============================*/
.price-inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin: 18px 0;
}

.price-inputs input {
    width: calc(50% - 15px);
    height: 44px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    text-align: center;
    outline: none;
    box-sizing: border-box;
}

.price-inputs span {
    width: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #888;
    flex-shrink: 0;
}

/*============================*/

.filter-btn {

    width: 100%;

    height: 46px;

    border: none;

    border-radius: 8px;

    background: #d8a128;

    color: #fff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;

    letter-spacing: .5px;

}

.filter-btn:hover {

    background: #be8c13;

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(216, 161, 40, .25);

}

/*==========================================
SORT WIDGET
==========================================*/

.sort-options {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.sort-item {

    display: flex;

    align-items: center;

    cursor: pointer;

    position: relative;

    user-select: none;

}

.sort-item input {

    display: none;

}

/*========================*/

.radio {

    width: 18px;

    height: 18px;

    border: 2px solid #bfbfbf;

    border-radius: 50%;

    position: relative;

    transition: .3s;

}

.radio::after {

    content: "";

    position: absolute;

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: #d8a128;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%) scale(0);

    transition: .3s;

}

/*========================*/

.sort-item input:checked+.radio {

    border-color: #d8a128;

}

.sort-item input:checked+.radio::after {

    transform: translate(-50%, -50%) scale(1);

}

/*========================*/

.text {

    margin-left: 12px;

    color: #333;

    font-size: 15px;

    transition: .3s;

}

.sort-item:hover .text {

    color: #d8a128;

}

.sort-item:hover .radio {

    border-color: #d8a128;

}

.sort-item input:checked~.text {

    color: #d8a128;

    font-weight: 600;

}

/*========================*/

.sort-item {

    padding: 4px 0;

    transition: .3s;

}

.sort-item:hover {

    transform: translateX(5px);

}






/*==========================================
PRODUCT CARD
==========================================*/

.product-card {

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    transition: .4s;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);

    position: relative;

}

.product-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 20px 45px rgba(0, 0, 0, .12);

}

/*============================*/

.product-image {

    position: relative;

    overflow: hidden;

}

.product-image img {

    width: 100%;

    display: block;

    transition: .6s;

}

.product-card:hover img {

    transform: scale(1.08);

}

/*============================*/

.product-badge {

    position: absolute;

    top: 15px;

    left: 15px;

    background: #d8a128;

    color: #fff;

    padding: 6px 14px;

    border-radius: 50px;

    font-size: 13px;

    font-weight: 600;

    z-index: 5;

}

/*============================*/

.wishlist-btn {

    position: absolute;

    top: 15px;

    right: 15px;

    width: 42px;

    height: 42px;

    border: none;

    border-radius: 50%;

    background: #fff;

    cursor: pointer;

    transition: .35s;

    z-index: 5;

}

.wishlist-btn:hover {

    background: #d8a128;

    color: #fff;

}

/*============================*/

.product-overlay {

    position: absolute;

    left: 0;

    bottom: -100%;

    width: 100%;

    padding: 18px;

    background: rgba(0, 0, 0, .55);

    transition: .4s;

    text-align: center;

}

.product-card:hover .product-overlay {

    bottom: 0;

}

.quick-view {

    color: #fff;

    text-decoration: none;

    font-weight: 600;

}

/*============================*/

.product-content {

    padding: 22px;

}

.product-category {

    color: #999;

    font-size: 14px;

}

.product-content h4 {

    margin: 12px 0;

    font-size: 20px;

    line-height: 1.5;

}

.product-content h4 a {

    color: #222;

    text-decoration: none;

}

.product-content h4 a:hover {

    color: #d8a128;

}

/*============================*/

.product-rating {

    display: flex;

    align-items: center;

    gap: 4px;

    margin: 15px 0;

}

.product-rating i {

    color: #f7b500;

    font-size: 14px;

}

.product-rating span {

    margin-left: 8px;

    color: #777;

}

/*============================*/

.product-price {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

}

.new-price {

    font-size: 24px;

    color: #d8a128;

    font-weight: 700;

}

.old-price {

    color: #999;

    text-decoration: line-through;

}

/*============================*/

.cart-btn {

    width: 100%;

    height: 48px;

    border: none;

    border-radius: 10px;

    background: #d8a128;

    color: #fff;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: .35s;

}

.cart-btn:hover {

    background: #111;

}


/*==========================================
PAGINATION
==========================================*/

.shop-pagination {

    margin-top: 60px;

    display: flex;

    justify-content: center;

    align-items: center;

}

.pagination {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

}

.page-btn {

    width: 48px;

    height: 48px;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    text-decoration: none;

    font-size: 16px;

    font-weight: 600;

    color: #333;

    background: #fff;

    border: 1px solid #e5e5e5;

    transition: .35s;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .05);

}

.page-btn:hover {

    background: #d8a128;

    color: #fff;

    border-color: #d8a128;

    transform: translateY(-4px);

    box-shadow: 0 15px 30px rgba(216, 161, 40, .25);

}

.page-btn.active {

    background: #d8a128;

    color: #fff;

    border-color: #d8a128;

}

.dots {

    font-size: 20px;

    color: #888;

    padding: 0 5px;

}

.prev,
.next {

    font-size: 18px;

}

@media(max-width:768px) {

    .pagination {

        gap: 8px;

    }

    .page-btn {

        width: 42px;

        height: 42px;

        font-size: 14px;

    }

}

/* =========================================
MOBILE VIEW FIX - SHOP PAGE
Add this at the END of your CSS
========================================= */

/* Tablet */
@media (max-width: 992px) {
    .shop-section {
        padding: 40px 20px;
    }

    .shop-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .shop-sidebar {
        position: relative;
        top: 0;
        width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .shop-section {
        padding: 25px 15px;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        margin-bottom: 20px;
    }

    .shop-toolbar-right {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .shop-sort {
        width: 100%;
        min-width: 100%;
        height: 44px;
        font-size: 14px;
    }

    .shop-widget {
        padding: 18px;
        margin-bottom: 18px;
        border-radius: 12px;
    }

    .widget-title h3 {
        font-size: 18px;
    }

    .category-list span {
        font-size: 14px;
    }

    .price-inputs {
        gap: 6px;
    }

    .price-inputs input {
        width: calc(50% - 12px);
        height: 40px;
        font-size: 13px;
        padding: 0 8px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-card {
        border-radius: 14px;
    }

    .product-content {
        padding: 14px;
    }

    .product-content h4 {
        font-size: 15px;
        margin: 8px 0;
        line-height: 1.4;
    }

    .product-category {
        font-size: 12px;
    }

    .product-rating {
        margin: 10px 0;
        gap: 2px;
    }

    .product-rating i {
        font-size: 11px;
    }

    .product-rating span {
        font-size: 12px;
        margin-left: 4px;
    }

    .product-price {
        gap: 6px;
        margin-bottom: 12px;
        flex-wrap: wrap;
    }

    .new-price {
        font-size: 18px;
    }

    .old-price {
        font-size: 13px;
    }

    .cart-btn {
        height: 42px;
        font-size: 13px;
        border-radius: 8px;
    }

    .wishlist-btn {
        width: 34px;
        height: 34px;
        top: 10px;
        right: 10px;
        font-size: 13px;
    }

    .product-badge {
        top: 10px;
        left: 10px;
        padding: 4px 10px;
        font-size: 11px;
    }

    .shop-pagination {
        margin-top: 35px;
    }

    .pagination {
        gap: 6px;
        justify-content: center;
    }

    .page-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* Extra small phones */
@media (max-width: 480px) {

    .shop-section {
        padding: 20px 12px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-content {
        padding: 12px;
    }

    .product-content h4 {
        font-size: 14px;
    }

    .new-price {
        font-size: 16px;
    }

    .cart-btn {
        height: 38px;
        font-size: 12px;
    }

    .shop-results {
        font-size: 14px;
        text-align: center;
    }
}
/* =========================================
MOBILE FILTER MODAL
========================================= */

.mobile-filter-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: #d8a128;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.filter-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.filter-modal.active {
    display: block;
}

.filter-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.filter-modal-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 90%;
    max-width: 400px;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    animation: slideInRight .3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.filter-modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.filter-modal-header button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 18px;
}

.filter-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.filter-modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
}

/* Desktop */
@media (min-width: 993px) {
    .filter-modal {
        display: none !important;
    }
}

/* Mobile */
@media (max-width: 992px) {

    /* hide desktop sidebar */
    .shop-sidebar {
        display: none;
    }

    /* show filter button */
    .mobile-filter-btn {
        display: flex;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-toolbar-right {
        width: 100%;
    }

    .shop-sort {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .filter-modal-content {
        width: 100%;
        max-width: 100%;
    }
}