/*
************
*************************
16. shop
******************************************************* 
*************************************************************** */
 @use '../abstracts/variables' as *;

 .bz {
    &-breadcrumb {
        &-wrap {
            border-bottom: 1px solid var(--clr-bg-gray-8);

            @media #{$xs}{
                display: block !important;
            }
        }
        &-content {
            padding-top: 30px;
            padding-bottom: 40px;

            @media #{$xs}{
                padding-bottom: 20px;
            }

            &-title {
                font-size: 34px;
                margin-bottom: 10px;
                color: var(--clr-common-black);

                @media #{$xs}{
                    font-size: 30px;
                }
                @media #{$sm}{
                    font-size: 32px;
                }
            }
            &-subtitle {
                color: var(--clr-body-text);
                display: inline-block;
            }
        }

        &-list {
            @media #{$xs}{
                padding-bottom: 25px;
            }
            & a {
                font-size: 16px;
                display: inline-block;
                color: var(--clr-body-text);
                position: relative;
                padding-right: 14px;

                &:hover {
                    color: var(--clr-theme-primary);
                }

                &::after {
                    position: absolute;
                    top: 0;
                    right: 0;
                    content: "/";
                }
            }

            & span {
                display: inline-block;
                color: var(--clr-theme-primary);
            }
        }
    }

    &-shop-topbar {

        &-filter-wrapper {
            &.pt-60 {
                @media #{$xs}{
                    padding-top: 40px;
                }
            }
        }

        &-left {
            @media #{$xs}{
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            @media #{$sm}{
                display: block;
            }
            
            &-icon {
                @media #{$xs}{
                    margin-bottom: 0;
                }

                & i {
                    color: var(--clr-common-black-deep);
                    font-size: 17px;
                    margin-right: 5px;
                    display: inline-block;
                    width: 15px;
                }
                & span {
                    color: var(--clr-common-black-deep);
                    font-size: 16px;
                    font-weight: 500;
                }
            }

            &-text {
                color: var(--clr-body-text);
                font-size: 14px;
                line-height: 19px;
                display: inline-block;
            }
        }

        &-right {

            &-sorting {
                &.nice-select .option.selected {
                    font-weight: 500;
                }

                &.nice-select.has-nice-select {
                    padding-right: 18px;
                }
                &.nice-select.has-nice-select::after {
                    margin-top: -4px;
                }
                &.nice-select .list {
                    margin-top: 10px;
                }
            }
           
            & nav {
                position: relative;
                margin-left: 40px;
                padding-left: 10px;

                &::before {
                    position: absolute;
                    content: "";
                    top: 50%;
                    left: 0;
                    width: 1px;
                    height: 22px;
                    background-color: var(--clr-bg-gray-8);
                    transform: translateY(-50%);
                }
            }

            & .bz-shop-nav {
                border-bottom: none;
                
                position: relative;

                &-btn {
                    background: transparent;
                    border: none;
                    outline: none;
                    padding: 0;
                    margin-left: 10px;
                    font-size: 22px;
                    color: var(--clr-bg-gray-8);
                    transition: .3s;
                    &.active {
                        color: var(--clr-theme-primary);
                    }
                }
                
            }
        }

        &-middle {
            &-text {
                color: var(--clr-body-text);
                font-size: 14px;
                line-height: 19px;
                display: inline-block;
            }
        }
    }

    &-shop {
        &-item{
            &-grid {
               
    
                &-img {
                    position: relative;
    
                    & img {}
                    & .trend {
                        position: absolute;
                        left: 20px;
                        top: 20px;
                        background-color: var(--clr-theme-primary);
                        color: var(--clr-common-white);
                        border-radius: 3px;
                        font-size: 14px;
                        cursor: pointer;
                        width: 70px;
                        text-align: center;
                        height: 30px;
                        line-height: 30px;
                    }
                    & .sale {
                        position: absolute;
                        left: 20px;
                        top: 20px;
                        background-color: var(--clr-color-orange);
                        color: var(--clr-common-white);
                        border-radius: 3px;
                        font-size: 14px;
                        cursor: pointer;
                        width: 70px;
                        text-align: center;
                        height: 30px;
                        line-height: 30px;
                    }
                    & .dis {
                        position: absolute;
                        left: 20px;
                        top: 20px;
                        background-color: var(--clr-color-orange);
                        color: var(--clr-common-white);
                        border-radius: 3px;
                        font-size: 14px;
                        cursor: pointer;
                        width: 70px;
                        text-align: center;
                        height: 30px;
                        line-height: 32px;
                    }
    
                    &-icon {
                        position: absolute;
                        left: 0;
                        right: 0;
                        bottom: 0;
                        text-align: center;
                        background-color: var(--clr-common-white);
                        width: 130px;
                        height: 50px;
                        line-height: 50px;
                        margin: auto;
                        border-radius: 30px;
                        opacity: 0;
                        visibility: hidden;
                        transition: .3s;
    
                        & a {
                            margin-right: 14px;
                            display: inline-block;
                            &:last-child {
                                margin-right: 0;
                            }
                        }
                    }

                    &:hover &-icon{
                        opacity: 1;
                        visibility: visible;
                        bottom: 30px;
                    }
                }  
                &-content {
    
    
                    &-title {
                        font-size: 18px;
                        font-weight: 600;
                        display: inline-block;
                        color: var(--clr-common-black-deep);
                        margin-bottom: 15px;

                        &:hover {
                            color: var(--clr-theme-primary);
                        }
                    }
    
                    &-rating {
                        margin-bottom: 15px;
                        & a {
                            font-size: 18px;
                            color: #FEC558;
                            margin-bottom: 0;
                            margin-right: 5px;
                            display: inline-block;
                        }
                        & span {
                            display: inline-block;
                            margin-left: 15px;
                            color: var(--clr-common-black-deep);
                            font-weight: 500;
                        }
                    }
    
                    & .price-bottom {
                        font-size: 16px;
                        font-weight: 500;
                        color: var(--clr-common-black-deep);
                        transition: .3s ease-in-out;
                        line-height: 1;
                        display: inline-block;
                    }
                } 
    
                &-hover {
                    opacity: 0;
                    visibility: hidden;
                    transition: .3s;
                    justify-content: space-between;
                    display: flex;
    
                    &-cart {
                        & a {
                            color: var(--clr-common-black);
                            font-size: 16px;
                            display: inline-block;
                            font-weight: 500;
                            transition: .3s;
        
                            &:hover {
                                color: var(--clr-theme-primary);
                                text-decoration: underline;
                            }
                        }
                    }
                    &-price {
                        & span {
                            color: var(--clr-common-black);
                            font-size: 16px;
                            font-weight: 500;
                        }
                        & del {
                            color: #919191;
                        }
                    }
                }
    
    
                &:hover &-hover {
                    opacity: 1;
                    visibility: visible;
                    margin-bottom: 15px;
                    margin-top: 20px;
    
                }
    
                &:hover &-content{
                    & .price-bottom {
                        display: none;
                    }
                }
                
            }
            &-list {
                
                &-img {
                    position: relative;

                    & .trend {
                        position: absolute;
                        left: 20px;
                        top: 20px;
                        background-color: var(--clr-theme-primary);
                        color: var(--clr-common-white);
                        border-radius: 3px;
                        font-size: 14px;
                        cursor: pointer;
                        width: 70px;
                        text-align: center;
                        height: 30px;
                        line-height: 30px;
                    }
                    & .sale {
                        position: absolute;
                        left: 20px;
                        top: 20px;
                        background-color: var(--clr-color-orange);
                        color: var(--clr-common-white);
                        border-radius: 3px;
                        font-size: 14px;
                        cursor: pointer;
                        width: 70px;
                        text-align: center;
                        height: 30px;
                        line-height: 30px;
                    }
                    & .dis {
                        position: absolute;
                        left: 20px;
                        top: 20px;
                        background-color: var(--clr-color-orange);
                        color: var(--clr-common-white);
                        border-radius: 3px;
                        font-size: 14px;
                        cursor: pointer;
                        width: 70px;
                        text-align: center;
                        height: 30px;
                        line-height: 32px;
                    }
    
                    &-icon {
                        position: absolute;
                        left: 0;
                        right: 0;
                        bottom: 0;
                        text-align: center;
                        background-color: var(--clr-common-white);
                        width: 130px;
                        height: 50px;
                        line-height: 50px;
                        margin: auto;
                        border-radius: 30px;
                        opacity: 0;
                        visibility: hidden;
                        transition: .3s;
    
                        & a {
                            margin-right: 14px;
                            display: inline-block;
                            &:last-child {
                                margin-right: 0;
                            }
                            &:hover {
                                color: var(--clr-color-orange);
                            }
                        }
                    }

                    &:hover &-icon{
                        opacity: 1;
                        visibility: visible;
                        bottom: 30px;
                    }
                } 

                &-title {
                    margin-bottom: 25px;
                    color: var(--clr-common-black);
                    font-size: 18px;
                    display: inline-block;
                    font-weight: 600;
                    transition: .3s;

                    &:hover {
                        a {
                            color: var(--clr-theme-primary);
                        }
                    }   
                } 
                &-hover {
                    margin-bottom: 20px;
                    display: flex;
                    align-items: center;
                    gap: 160px;
                    transition: .4s ease-in-out;

                    @media #{$xl} {
                        gap: 130px;
                    }
                    @media #{$lg} {
                        gap: 80px;
                    }
                    @media #{$md} {
                        gap: 60px;
                    }
                    @media #{$xs} {
                        gap: 60px;
                    }
                    @media #{$sm} {
                        gap: 160px;
                    }
                    

                    &-price {
                        margin-left: 0;
                        transition: .3s ease-in-out;
                        & span {
                            color: var(--clr-common-black-deep);
                            font-size: 16px;
                            font-weight: 500;
                            display: inline-block;
                            margin-right: 5px;
                        }
                        & del {
                            color: #919191;
                        }
                    }
                }
                &-content {
                    &-text {
                        margin-bottom: 25px;

                        @media #{$lg} {
                            margin-bottom: 25px;
                        }
                    }
    
                    &-rating {
                        margin-bottom: 25px;

                        @media #{$lg} {
                            margin-bottom: 25px;
                        }
                        & a {
                            font-size: 18px;
                            color: #FEC558;
                            margin-bottom: 0;
                            margin-right: 5px;
                            display: inline-block;
                        }
                        & span {
                            display: inline-block;
                            margin-left: 15px;
                            color: var(--clr-common-black-deep);
                            font-weight: 500;
                        }
                    }

                    &-cart {
                        color: var(--clr-theme-primary);
                        font-size: 16px;
                        font-weight: 600;
                        position: relative;
                        z-index: 1;
                        &:before {
                            position: absolute;
                            left: 0;
                            bottom: 0;
                            width: 0%;
                            height: 1.5px;
                            background-color: var(--clr-common-black-deep);
                            content: "";
                            transition: 0.3s;
                            opacity: 0;
                            visibility: hidden;
                        }
                        &:after {
                            position: absolute;
                            left: 0;
                            bottom: 0;
                            width: 100%;
                            height: 1.5px;
                            background-color: var(--clr-theme-primary);
                            content: "";
                            transition: 0.3s;  
                        }
                        &:hover {
                            color: var(--clr-common-black-deep);
                            text-decoration: none;
                            &:before {
                                width: 100%;
                                visibility: visible;
                                opacity: 1;
                                color: var(--clr-common-black-deep);
                            }
                            &:after {
                                width: 0%;
                                opacity: 0;
                                visibility: hidden;
                                color: var(--clr-common-black-deep);
                            }
                        }
                    }
    
                
                } 
   
            }
            
        }

        &-paginate {
            & span, & a{
                width: 40px;
                height: 40px;
                display: inline-block;
                background: var(--clr-theme-primary);
                line-height: 40px;
                text-align: center;
                color: var(--clr-common-white);
                font-size: 16px;
                font-weight: 500;
                margin-right: 15px; 
            }
            & a {
                &:hover {
                    background-color: var(--clr-color-orange);
                    color: var(--clr-common-white);
                }
                &:last-child {
                    margin-right: 0;
                }
            }
        }

        &-feature{
            &-item{
                &-heading {
                    margin-bottom: 15px;
                    display: flex;
                    align-items: center;
                    i {
                        display: inline-block;
                        font-size: 35px;
                        margin-right: 15px;
                        color: var(--clr-theme-primary);
                    }
                    &-title {
                        display: inline-block;
                        font-size: 24px;
                        line-height: 1.16;
                        margin-bottom: 0;
                        &:hover {
                            a {
                                color: var(--clr-theme-primary);
                            }
                        }
                    }
                }
                &-text {
                    margin-bottom: 0;
                }
            }
        }

        &-border{
            border: 1px solid var(--clr-bg-gray-8);
        }
        &-sidebar {

            @media #{$xs}{
                padding: 20px;
            }
            
            &-categories {
                &-title {
                    font-size: 22px;
                    line-height: 30px;
                    padding-bottom: 15px;
                    border-bottom: 1px solid var(--clr-bg-gray-8);
                    margin-bottom: 20px;
                }
                &-list {
                    & ul {
                        & li {
                            display: block;
                            & a {
                                display: inline-block;
                                color: var(--clr-body-text);  
                                position: relative;
                                z-index: 1;
                                &:before {
                                    position: absolute;
                                    left: 0;
                                    bottom: 0;
                                    width: 0;
                                    height: 1.5px;
                                    content: "";
                                    background-color: var(--clr-theme-primary);
                                    transition: 0.3s;
                                }
                                &:hover {
                                    color: var(--clr-theme-primary);
                                    &:before {
                                        width: 100%;
                                    }
                                }
                            }
                            &:not(:last-child) {
                                margin-bottom: 12px;
                            }
                        }
                    }
                }
            }

            &-color {
                &-title {
                    font-size: 22px;
                    line-height: 30px;
                    padding-bottom: 15px;
                    border-bottom: 1px solid var(--clr-bg-gray-8);
                    margin-bottom: 30px;
                }
                &-list {
                    & ul {
                        & li {
                            width: 18px;
                            height: 18px;
                            position: relative;
                            margin-bottom: 15px;
                            display: block;
                            
                            &:last-child {
                                margin-bottom: 0;
                            }
                            
                            &::before {
                                position: absolute;
                                content: "";
                                width: 18px;
                                height: 18px;
                                background: var(--clr-common-white);
                                box-sizing: border-box;
                                border: 1px solid #dddfe3;
                                border-radius: 50%;
                            }

                            &::after {
                                position: absolute;
                                content: "";
                                width: 8px;
                                height: 8px;
                                border-radius: 50%;
                                background: var(--clr-common-black-deep);
                                top: 5px;
                                left: 5px;
                            }


                            & a {
                                display: block;
                                padding-left: 30px;
                                display: block;
                                color: var(--clr-body-text);
                                font-size: 12px;
                                line-height: 20px; 
                                position: relative;
                                z-index: 1;
                                &:before {
                                    position: absolute;
                                    left: 30px;
                                    bottom: 0;
                                    width: 0%;
                                    height: 1px;
                                    content: "";
                                    background-color: var(--clr-theme-primary);
                                    transition: 0.3s; 
                                    opacity: 0;
                                    visibility: hidden;
                                }
                                &:hover {
                                    &:before {
                                        width: 100%;
                                        opacity: 1;
                                        visibility: visible;
                                    }
                                }
                            }
                        }
                    }
                }
            }
            &-size{
                &-title {
                    font-size: 22px;
                    line-height: 30px;
                    padding-bottom: 15px;
                    border-bottom: 1px solid var(--clr-bg-gray-8);
                    margin-bottom: 30px;
                }
                &-list {

                   
                    & .radio {
                        margin-bottom: 10px;

                        & input {
                            margin-right: 10px;

                            
                        }
                        & input[name="optradio"] {
                            accent-color: var(--clr-theme-primary);
                        }
                        

                        &:last-child {
                            margin-bottom: 0;
                        }
                    }
                    
                }
            }

            &-price {
                &-title {
                    font-size: 22px;
                    line-height: 30px;
                    padding-bottom: 15px;
                    border-bottom: 1px solid var(--clr-bg-gray-8);
                    margin-bottom: 30px;
                }

                
                & .ui-slider-range {
                    height: 4px;
                    background-color: var(--clr-theme-primary);
                }
                & .ui-widget.ui-widget-content {
                    height: 4px;
                    border: 0;
                    background: var(--clr-bg-gray-13);
                }
                & .ui-widget-content .ui-state-default {
                    width: 14px;
                    height: 14px;
                    border: 0;
                    border-radius: 0;
                    background: var(--clr-common-white);
                    border: 2px solid #829B85;

                    &:focus {
                        outline: 0;
                    }
                }

                
                & .slider-range-amount {
                    & .price {
                        font-size: 16px;
                        color: var(--clr-body-text);
                        display: inline-block;
                        margin-right: 5px;
                    }
                    & .amount {
                        border: 0;
                        padding: 0;
                        font-weight: 500;
                        font-size: 16px;
                        color: var(--clr-body-text);
                        display: inline-block;
                    }
                }
            }

            &-offer {
                &.pl-90 {
                    @media #{$lg}{
                        padding-left: 30px;
                    }
                    @media #{$md}{
                        padding-left: 0px;
                    }
                    @media #{$xs}{
                        padding-left: 0px;
                    }
                }

                &-overlay {
                    position: relative;
                    width: 100%;

                    @media #{$xs}{
                        width: 100%;
                    }

                }
                & .sidebar-overlay {
                    @media #{$lg}{
                    }
                }
                &-img {
                    position: relative;
                    img {
                        max-height: 450px;
                        object-fit: cover;
                    }
                    & .offer-price {
                        position: absolute;
                        top: 70px;
                        left: 50px;
                        width: 60px;
                        height: 60px;
                        display: inline-block;
                        background: #F27003;
                        line-height: 60px;
                        text-align: center;
                        color: #fff;
                        border-radius: 50%;
                        @media #{$xl} {
                            left: 20px;
                        }
                        @media #{$lg} {
                            top: 40px;
                            left: 20px;
                        }
                        @media #{$xs} {
                            left: 20px;
                        }
                        @media #{$sm} {
                            left: 50px;
                        }
                        
                    }

                    & .bz-overlay {
                        position: absolute;
                        left: 0;
                        top: 0;
                        width: 100%;
                        height: 140px;
                        background: #F4F4F4;
                        opacity: 0.8;
                        border-bottom-left-radius: 80%;                       
                    }
                }
                &-content {
                    position: absolute;
                    top: 0;
                    right: 0;
                    text-align: right;
                    width: 70%;
                    padding: 20px;

                    

                    &-text {
                        display: block;
                        font-size: 14px;
                        line-height: 22px;
                        margin-bottom: 20px;
                        color: var(--clr-common-black-deep);
                    }
                }

            }

        }



    }
 }



// list 2 

.shop-list-fullWidth .bz-shop-item-list  .bz-shop-item-list-hover {
    gap: 80px;
}


 
// color section 

.bz-shop-item-list {
    &-hover {
        & .product-color-nav {
            opacity: 1;
            visibility: visible;
        }
    
        
    }
    
}





 .product-color-nav li {
	width: 18px;
	height: 18px;
	position: relative;
	overflow: hidden;
    display: inline-block;
}

.bz-shop-sidebar-color-list ul li.cl-olive::after {
	background: var(--clr-theme-primary);
}

.bz-shop-sidebar-color-list ul li.cl-black::after {
	background: var(--clr-common-black-deep);
}

.bz-shop-sidebar-color-list ul li.cl-red::after {
	background: #BC1927;
}

.bz-shop-sidebar-color-list ul li.cl-blue::after {
	background: #3E2FD4;
}
.bz-shop-sidebar-color-list ul li.cl-green::after {
	background: #008000;
}


.product-color-nav li::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	background: #fff;
	box-sizing: border-box;
	border: 1px solid #dddfe3;
	border-radius: 50%;
}
.product-color-nav img {
	width: 100%;
	height: 100%;
	cursor: pointer;
	position: absolute;
	z-index: 2;
	opacity: 0;
}
.product-color-nav li::after {
	position: absolute;
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #000;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.bz-btn-sm {
    padding: 10px 15px;
}
.filter-icon-text {
    display: inline-block;
    cursor: pointer;
    i {
        transition: 0.3s;
    }
    span {
        transition: 0.3s;
    }
    &:hover {
        i {
            color: var(--clr-theme-primary);
        }
        span {
            color: var(--clr-theme-primary);
        }
    }
    i.fa-times {
        display: none;
        transition: 0.3s;
    }
    &:is(.show-icon) {
        i.fa-bars {
            display: none;
        }
        i.fa-times {
            display: inline-block;
        }
    }
}
.shop-filter-visibilit-hidden {
    display: none;
    transform-origin: top;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background-color: #fff;
}


.bz-shop-filter-summary {

    @media #{$xs}{
        padding: 0;
    }
}

.bz-gallery-img {
    width: 33%;
    display: inline-block;
    @media #{$md} {
        width: 20%;
    }
    img {
        width: 100%;
    }
}

.bz-shop-item-list-img {
    overflow: hidden;
    img {
        transition: 0.5s ease-in-out;
    }
    &:hover {
        img {
            transform: scale(1.09);
        }
    }
  }

.bz-shop-filter-summery-inner-wrap {
    overflow-x: auto;
}
.bz-shop-filter-summary-wrap-top {
    min-width: 440px;
}

.bz-shop-sidebar-size-list {
    label {
        cursor: pointer;
    }
}


.bz-shop-topbar-right {
    .nice-select {
        .list {
            @media #{$xs} {
                right: auto;
                left: 0;
            }
        }
    }
}


// popup view 
.bz-single-product-popup {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background-color: var(--clr-common-white);
	z-index: 99;
}
.bz-single-product-popup {
	padding: 70px;
	padding-bottom: 35px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
	border-radius: 10px;
	max-height: 822px;
	overflow-y: auto;
    @media #{$xl} {
        max-width: 960px;
    }
    @media #{$lg} {
        max-width: 760px;
    }
    @media #{$md} {
        max-width: 620px;
    }
    @media #{$xs} {
        max-width: 90%;
        padding: 35px 25px;
        padding-bottom: 0;
    }
    @media #{$sm} {
        max-width: 460px;
        padding: 35px 30px;
        padding-bottom: 0;
    }
}
.bz-single-product-popup.visible {
	opacity: 1;
	visibility: visible;
}
.bz-single-product-popup-close-action {
	position: absolute;
	right: 20px;
	top: 20px;
	padding: 0;
	line-height: 1;
	border: 0;
	background: transparent;
	color: var(--clr-common-black);
	font-size: 20px;
	font-weight: 700;
    width: 40px;
    height: 40px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    border: 1px solid #d5d5d5;
    z-index: 2;
    @media #{$sm} {
        right: 30px;
        top: 30px;
    }
    &:hover {
        background-color: var(--clr-theme-primary);
        color: var(--clr-common-white);
        border-color: var(--clr-theme-primary);
    }
}
.bz-overlay.visible {
	opacity: 0.2;
	visibility: visible;
}
.bz-overlay {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 99;
	bottom: 0;
	transition: all 0.3s;
	background: #1d1d1e;
	opacity: 0;
	visibility: hidden;
}

.bz-single-product-popup {
    .bz-shop-details-content-widget-action-item {
        @media #{$xl, $md, $sm} {
            margin-right: 17px;
            padding-right: 17px;
        }
        i {
            @media #{$xl, $md, $sm} {
                margin-right: 3px;
            }
        }
    }
    .bz-shop-details-content-price-rating-wrap {
        gap: 30px;
        .bz-shop-details-content-rating span {
            margin-left: 5px;
        }
    }
    .bz-shop-details-content-color ul li {
        @media #{$xl, $md, $sm} {
            margin-right: 10px;
        }
    }
    .bz-shop-details-content.ml-20 {
        @media #{$lg, $md, $xs} {
            margin-left: 0;
        }
    }

}
