
/* TODO: remove var section on redux framwork */

*{
    font-family: PeydaWebFaNum
}
 body{
    background-color: var(--color-bg)!important;
 }

 
 
 .full-width {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}
 .full-width .e-con-full{
    padding-inline-start: 0!important;
    padding-inline-end: 0!important;
    padding-block-start: 0 !important;
    padding-block-end: 0 !important;
}
.sticky-container {
    position: sticky!important;
    position: -webkit-sticky!important;
    top:0;
}
.full-height{
    height:100%!important
}
.fill-height{
    height:100vh!important;
}
.mn-flex{
    display: flex;
}
.mn-flex-wrap {
    flex-wrap: wrap;
}

.mn-align-center {
    align-items: center;
}

.mn-justify-center {
    justify-content: center;
}
.mn-justify-start{
    justify-content: flex-start;
}


.btn{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    font-size: 20px;
    padding:8px 16px;
    transition: all 0.3s ease-in-out;
}
.btn-primary{
    background-color: var(--color-primary);
    color:var(--color-bg);
}
.btn-primary:hover {
    background-color: rgba(45, 14, 59, 0.7);
   
}

.custom-cursor {
    position: fixed;
    width: 120px;
    height: 120px;
    background: #bf7cb5;
    border-radius: 50%;
    pointer-events: none; /* جلوگیری از تداخل با کلیک */
    transform: translate(-50%, -50%);
    transition: transform 0.05s linear;
    z-index: 9999;
    mix-blend-mode: color;
  }
  .custom-cursor.active {
    width: 5px;
    height: 5px;
  }

/* --------------------     
product section
--------------------*/
.mn-product-grid{
    display: grid;
    gap: 16px;
    /* grid-template-columns: repeat(3, 1fr); */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
/* --------------------     
product card style global
--------------------*/
.mana-product-card{
    position: relative;
    border-radius: var(--mn-border)px;
    background-color: #fff;
    border-radius: calc( var(--mn-border) + var(--mn-border) / 2);
    
}
.mana-card-asset {
    position: absolute;
    z-index:2;
}
.mana-card-asset.top-left{
    top: var(--mn-spacing);
    left: var(--mn-spacing);
}
.mana-card-asset.top-right{
    top: var(--mn-spacing);
    right: var(--mn-spacing);
}
.mana-card-asset.bottom-left{
    bottom: var(--mn-spacing);
    left: var(--mn-spacing);
}
.mana-card-asset.bottom-right{
    bottom: var(--mn-spacing);
    right: var(--mn-spacing);
}
.mana-product-card .card-media{
    position: relative;
}

.card-footer, .card-body {
    /* display: flex; */
    position: relative;
    z-index:2;
    padding:calc(var(--mn-spacing) * 1/5);
    margin:0!important;
}
.card-body {
    display: block;
}
.card-footer {
    padding-bottom: calc(var(--mn-spacing))
}


.product-badge {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
}
.swiper.hero-slider .swiper-button-prev, .swiper.hero-slider .swiper-button-next{
    color:var(--color-bg);
    opacity:0.2;
    transition: opacity 0.3s ease-in
}
.swiper.hero-slider .swiper-button-next {
    color: var(--color-primary);
}
.swiper.hero-slider .swiper-button-prev:hover,
.swiper.hero-slider .swiper-button-next:hover {
    opacity: 1;
}
.product-sort-form{
    display: flex;
    padding: 2rem 16px;
    align-items: center;
    justify-content: space-between;
}
.product-sort-form select, .woocommerce-ordering select{
    font-size: 18px;
    padding: 8px 48px;
    text-align: center;
    border-color: var(--color-bg);
    outline: none;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    background-color: var(--color-bg);
}
.product-sort-form select::marker {
    background-color: #8b0000;
}
.wishlist-btn {
    background: none;
    border: none;
    outline: none;
    font-size: 18px;
    cursor: pointer;
}
.mn-swatches{
    display: flex;
    justify-content: center;
}
.swatch{
    margin: 0 4px;
}
.mn-attributes-simple .mn-swatch{
    width:auto;
    padding: 4px 2px;
    height: auto;
}
.mn-attributes-simple .mn-swatch span{
    white-space: nowrap;
    line-height: 12px;
    margin-bottom: 8px;
}
/* --------------------     
product card style 1 
--------------------*/
.product-card-style1 {
    position: relative;
    text-align: center;
    font-family: IRANSans, sans-serif;
    overflow: hidden;
    display: block;
    display: flex;
    flex-direction: column;
}

.product-card-style1 .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.product-card-style1 .card-body {
    position: relative;
    z-index: 2;
}
.product-card-style1 .add-to-cart-btn{
    width: 100%;
    height: 44px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding:var(--mn-spacing);
    z-index:1;
    opacity:0;
    bottom:8px;
    left: 0;
    transform: translateY(64px);
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
}
.product-card-style1:hover .add-to-cart-btn {
    transform: translateY(0%);
    opacity:1;
    
}
.product-card-style1 .add-to-cart-btn .item {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 6px;
    background-color: transparent;
    outline: 0;
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.v-item-line{
    height: 80%;
    width: 1px;
    background-color: var(--color-primary);
    margin:0 2px;
}
.product-card-style1 .add-to-cart-btn .item svg{
    width: 32px;
    height: 32px;

}
.mn-swatches {
    position: relative;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 var(--mn-spacing);
}

.mn-swatches-container{
    max-width:100%;
    position: relative;
}
.mn-swatches-container::before {
    content: '';
    position: absolute;
    background-color: var(--color-bg);
    width: 1px;
    height: 100%;
    left: 0px;
}
.mn-swatches-container:last-child::before {
    display: none;
}
.mn-swatch.type-select{
    align-items: center;
}
.mn-swatch.type-select .mn-swatch-text{
    margin-bottom: 3px;
}
.product-mn-swatches {
     display: flex;
     gap: 4px;
     flex-wrap: wrap;
     justify-content: center;
     align-items: flex-start;
 }
 .mn-swatch {
     width: 20px;
     height: 20px;
     min-width: 20px;
     min-height: 20px;
     border: 1px solid #ccc;
     padding: 2px;
     cursor: pointer;
     display: flex;
     justify-content: center;
     align-items: flex-end;
     margin:3px;
 }

 .mn-swatch.mn-label {
     width: auto;

 }

 .mn-swatch-color {
     width: 100%;
     height: 100%;
     display: block;


 }

 .mn-swatch img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .mn-swatch-text {
     font-size: 10px;
     text-align: center;
     display: block;
     line-height: 24px;
     white-space: nowrap;
     padding: 2px 8px 0 8px;
 }

 /* .add-to-card-sty1{
    color:var(--mn-add-to-card-color)
 } */

.product-rating {
    color: #6a0dad;
    font-size: 14px;
    margin-bottom: 5px;
}

.product-meta {
    margin-bottom: 10px;
}

.product-title {
    font-size: 15px;
    color: #2d0032;
    margin: 5px 0;
}

.stock-count {
    font-size: 12px;
    color: #666;
    display: block;
}

.product-price {
    margin: 10px 0;
}

.sale-price {
    color: #8b0000;
    font-weight: bold;
    font-size: 16px;
}

.old-price {
    color: #aaa;
    margin-right: 5px;
    font-size: 14px;
}

.product-colors {
    margin-top: 10px;
}

.color-box {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #ddd;
    margin: 0 2px;
}

.product-sizes {
    margin-top: 10px;
}

.size {
    display: inline-block;
    padding: 3px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 0 3px;
    font-size: 12px;
    cursor: pointer;
}

.size.active {
    background: #2d0032;
    color: #fff;
    border-color: #2d0032;
}

/* --------------------     
product card style end
--------------------*/

/* --------------------     
shop-sidebar style
--------------------*/

.mn-widget-area{
    width: 25%;
    position: sticky;
    top: 0;
    right: 0;
    float: inline-start;
    display: block;
    max-width: 320px;
    padding: 16px;
    border-left: 1px solid #eee;
}
.content-area{
    width: 75%;
    max-width: unset!important;
    float:inline-end;
}
.mana-widget-layered-nav-list{
    display: flex;
    flex-wrap: wrap;
}
.mana-widget-layered-nav-list__item, .mana-widget-layered-nav-list__item a{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}
.mana-widget-layered-nav-list__item{
    margin:4px;
    border: 1px solid var(--color-primary);
    padding: 4px;
    flex-grow: 1
}
.mana-widget-layered-nav-list__item a {
    width:calc(100% - 4px);
    color: var(--color-primary);
}
.mn-swatches-icon-filter{
    display: inline-block;
    width: 24px;
    margin-left:4px;
    aspect-ratio: 1;
}
.mn-swatches-text-filter{
    white-space: nowrap;
}
.mn-swatches-count-filter{
    font-size: 12px;
    margin-left:24px ;
}
.mana-widget-layered-nav-list .mana-widget-layered-nav-list__item--chosen  {
    background-color: var(--color-primary);
}
.mana-widget-layered-nav-list .mana-widget-layered-nav-list__item--chosen a{
    color: var(--color-bg);
}
.mana-widget-layered-nav-list .mana-widget-layered-nav-list__item--chosen a::before {
    speak: never;
    content: "";
    left:-4px;
    width:20px;
    height:20px;
    background-image: url(../images/close.svg);
    position: absolute;
    text-decoration: none;
    color: var(--wc-red);
}
.active-filters-bar{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row-reverse;
    background: #eee;
    margin: 16px;
    padding: 8px;
}
.active-filters-bar .filter-chip{
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    margin: 0 8px;
    padding: 4px 8px;
    line-height: 24px;
    padding-bottom: 8px;
    border-radius: 2px;
}
.active-filters-bar .filter-chip a{
    color: var(--color-primary);
}

/* --------------------     
shop page filter sidebar
--------------------*/

 .checkbox-wrapper-16 *,
 .checkbox-wrapper-16 *:after,
 .checkbox-wrapper-16 *:before {
     box-sizing: border-box;
 }

 .checkbox-wrapper-16 .checkbox-input {
     clip: rect(0 0 0 0);
     -webkit-clip-path: inset(100%);
     clip-path: inset(100%);
     height: 1px;
     overflow: hidden;
     position: absolute;
     white-space: nowrap;
     width: 1px;
 }

 .checkbox-wrapper-16 .checkbox-input:checked+.checkbox-tile {
     border-color: var(--color-primary);
     display: flex;
     flex-direction: row;
     align-items: center;
     justify-content: flex-start;
 }
 .checkbox-wrapper-16 .checkbox-wrapper.active-filter .checkbox-tile{
    /* background-color: rgba(45, 14, 59, 0.1); */
    background-color:#fff;
 }

 .checkbox-wrapper-16 .checkbox-input:checked+.checkbox-tile:before {
     transform: scale(1);
     opacity: 1;
     background-color: var(--color-primary);
     border-color: var(--color-primary);
 }

 .checkbox-wrapper-16 .checkbox-input:checked+.checkbox-tile .checkbox-icon,
 .checkbox-wrapper-16 .checkbox-input:checked+.checkbox-tile .checkbox-label {
     color: var(--color-primary);
 }

 .checkbox-wrapper-16 .checkbox-input:focus+.checkbox-tile {
     border-color: ar(--color-secondary);
     box-shadow: 0 5px 3px rgba(0, 0, 0, 0.01) ;
 }

 .checkbox-wrapper-16 .checkbox-input:focus+.checkbox-tile:before {
     transform: scale(1);
     opacity: 1;
 }

 .checkbox-wrapper-16 .checkbox-tile {
     display: flex;
     flex-direction: row;
     align-items: center;
     justify-content: flex-start;
     width: auto;
     min-height: 2.5rem;
     border: 1px solid transparent;
     transition: 0.15s ease;
     cursor: pointer;
     position: relative;
     border-radius: 2px;
     padding: 0 16px;
     margin-bottom: 4px;
 }

 .checkbox-wrapper-16 .checkbox-tile:before {
     content: "";
     position: absolute;
     display: block;
     width: 1.25rem;
     height: 1.25rem;
     border: 2px solid rgba(45, 14, 59, 0.4);
     background-color: #fff;
     border-radius: 50%;
     left: 16px;
     opacity: 0;
     transform: scale(0);
     transition: 0.25s ease;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
     background-size: 12px;
     background-repeat: no-repeat;
     background-position: 50% 50%;
 }

 .checkbox-wrapper-16 .checkbox-tile:hover {
     border-color: var(--color-primary);
 }

 .checkbox-wrapper-16 .checkbox-tile:hover:before {
     transform: scale(1);
     opacity: 1;
 }

 .checkbox-wrapper-16 .checkbox-icon {
     transition: 0.375s ease;
     color: #494949;
     display: block;
     width:24px;
     height:24px;
 }


 .checkbox-wrapper-16 .checkbox-label {
     color: var(--color-primary);
     transition: 0.375s ease;
     text-align: center;
     margin: 0 4px;
     margin-bottom: 6px;
 }
 .widgrt-titlte h3{
    font-size: 1.5rem;
    font-weight: 600;
    padding: 24px 8px 13px 0;
    border-bottom: 1px solid var(--color-primary);
    margin-bottom: 8px;
 }
 .mn-filter-submit-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    bottom: 0;
    padding: 16px;
    background-color: var(--color-bg);
    z-index: 1000;
 }

/* --------------------     
--- products quick view style
--------------------*/


 #quick-view-modal {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.6);
     display: none;
     justify-content: center;
     align-items: center;
     z-index: 9999;
 }

 #quick-view-content {
     background: #fff;
     padding: 20px;
     width: 90%;
     max-width: 600px;
     border-radius: 8px;
 }
 .quick-view-loading {
     display: flex;
     justify-content: center;
     align-items: center;
     height: 300px;
 }

 .spinner {
     border: 6px solid #f3f3f3;
     border-top: 6px solid #333;
     border-radius: 50%;
     width: 50px;
     height: 50px;
     animation: spin 0.8s linear infinite;
 }
 .header-cart-link{
    display: flex;
    border: 1px solid blue;
    padding: 16px;
    margin: 8px;
 }

 @keyframes spin {
     0% {
         transform: rotate(0deg);
     }

     100% {
         transform: rotate(360deg);
     }
 }

 @keyframes shake-cart {
     0% {
         transform: translate(0, 0);
     }

     25% {
         transform: translate(-3px, 0);
     }

     50% {
         transform: translate(3px, 0);
     }

     75% {
         transform: translate(-2px, 0);
     }

     100% {
         transform: translate(0, 0);
     }
 }

 .cart-shake {
     animation: shake-cart 0.4s ease-in-out infinite;
 }

 @keyframes cart-glow {
     0% {
         box-shadow: 0 0 0px rgba(255, 200, 0, 0);
     }

     50% {
         box-shadow: 0 0 15px rgba(255, 200, 0, 0.9);
     }

     100% {
         box-shadow: 0 0 0px rgba(255, 200, 0, 0);
     }
 }

 .cart-glow {
     animation: cart-glow 0.7s ease-in-out infinite;
 }

/* --------------------     
global-sidebar style
--------------------*/

.offcanvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: #fff;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 9999;
    overflow-y: auto;
}

.offcanvas.open {
    right: 0;
}

.offcanvas-close {
    background: none;
    border: none;
    font-size: 28px;
    position: absolute;
    top: 15px;
    left: 15px;
    cursor: pointer;
    z-index: 10001;
}


.fly-to-cart {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    transition: all 0.9s ease-in-out;
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.fly-to-cart.fly-out {
    transform: scale(0.2) rotate(-652deg);
    opacity: 0;
}
.custom-logo-link{
    max-width:72px;
}
.woocommerce-mini-cart__empty{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.woocommerce-mini-cart__empty img{opacity:0.5;}
#auth-dialog{
    position: fixed;
    top: 0;
    right: 0;
    display:none;
    opacity:0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9.5px);
    -webkit-backdrop-filter: blur(9.5px);
    border: 1px solid rgba(255, 255, 255, 0.46);
    transition: opacity 0.3s eaese-out 0.1s;

}
#auth-dialog.active{display:block; opacity:1;}
#auth-dialog .e-con-inner{
    display: flex;
    align-items: center;
    justify-content: center;
}
#auth-dialog .auth-dialog-close{
    width: 100%;
}
#auth-dialog .auth-dialog-close a{
    position: absolute;
z-index: 2;
top: 48px;
right: 26%;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
}