/**
Theme Name: hello elementor child
Template: hello-elementor
Theme URI: https://www.google.com
Author: Mohammad Reza Rastegaran
Author URI: https://mohammadrezarastegaran.ir

Version: 1.1.0
Requires at least: 5.3
Requires PHP: 5.3
Text Domain: hello elementor child
*/

body, html{
	font-family : 'PeydaWeb', roboto;
}

.eh-container .eh-form-wrap .eh-timer,
.eh-message .eh-user-phone,
.eh-container .eh-form-wrap .eh-form .eh-field,
.eh-container .eh-form-wrap .eh-form .eh-otp-inputs input{
	font-family : 'PeydaWebFaNum', roboto !important;
}

header #component-categories{
    width: 500px;
	right : unset;
	transform: translatex(50%);
	display: none;
	transition: all 0.3s ease;
/* 	display: none; */
}

#header-top-wrapper .scrolled{
    background-color: var(--e-global-color-b44a822);
}

.header-primary.not-fixed{
	padding : 0 !important;
	position: static;
}

.header-primary.not-fixed .header-sticky{
	background-color: var(--e-global-color-e2c192b);
}

#header-top-wrapper .header-sticky .menu .elementor-item.elementor-item-active:before{
    background-color: var( --e-global-color-accent ) !important;
}
#header-top-wrapper .header-sticky .menu .elementor-item .sub-arrow{
    padding-right: 8px;
    fill : var( --e-global-color-accent );
}
#header-top-wrapper .header-sticky .menu li.menu-item:hover .sub-arrow, 
#header-top-wrapper .header-sticky .menu .elementor-item.elementor-item-active .sub-arrow{
    fill : var( --e-global-color-b44a822 ) !important;
}
#header-top-wrapper .header-sticky .menu li.menu-item .sub-menu{
    width: 100% !important;
    margin-left: 0 !important;
}
#header-top-wrapper #btn--add-to-cart .elementor-menu-cart__subtotal{
    border-bottom: none;
    text-align: right;
}
#header-top-wrapper #btn--add-to-cart .elementor-menu-cart__subtotal strong{
    display: block;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.75rem;
}
#header-top-wrapper #btn--add-to-cart .elementor-menu-cart__footer-buttons{
    display: flex;
    flex-grow: 1;
    flex-direction: column !important;
    justify-content: end;
    border: none;
    padding-bottom: 20px;
}
#header-top-wrapper #btn--add-to-cart .elementor-menu-cart__product.woocommerce-cart-form__cart-item.cart_item{
    padding-left: 0;
    padding-right: 30px;
}
#header-top-wrapper #btn--add-to-cart .quantity .woocommerce-Price-currencySymbol{
    margin-right: 3px;
    font-size: 0.8rem;
}
#header-top-wrapper #btn--add-to-cart .elementor-menu-cart__subtotal .woocommerce-Price-currencySymbol{
    display: none;
}
#header-top-wrapper #btn--add-to-cart .elementor-menu-cart__subtotal .woocommerce-Price-amount.amount{
    position: relative;
}
#header-top-wrapper #btn--add-to-cart .elementor-menu-cart__subtotal .woocommerce-Price-amount.amount:before{
    content: '';
    position: absolute;
    top : 0%;
    bottom: 0;
    left : -25px;
    width: 20px;
    background: url(/wp-content/uploads/2025/11/vector-toman.svg) no-repeat center;
    background-size: 100%
    ;
}
#header-top-wrapper #btn--add-to-cart .elementor-menu-cart__product-remove.product-remove{
    right: 0;
    left: unset;
    top: calc(50% - 7.5px);
    transform: translateY(-50%);
    border:none;
    color : var( --e-global-color-accent );
}
#header-top-wrapper #btn--add-to-cart #elementor-menu-cart__toggle_button .elementor-button-icon-qty{
    font-family: "PeydaWebFaNum", Sans-serif;
    line-height: 1.05rem;
}


#header-mobile-wrapper{
    left: 1%;
    transform: translateX(0%);
    right: 1%;
    --color-active : var( --e-global-color-accent );
    --color-inactive: var( --e-global-color-fcec395 );
}

#header-mobile-wrapper .menu-item--mobile-bottom.active{
    background-color: #BFBFBF4A;
}
#header-mobile-wrapper .menu-item--mobile-bottom.active .elementor-icon-box-title{
    color : var( --e-global-color-accent );
}
#header-mobile-wrapper .menu-item--mobile-bottom.active svg .path-active, selector .menu-item--mobile-bottom:not(.active) svg .path-inactive{
    display: block;
}
#header-mobile-wrapper .menu-item--mobile-bottom.active svg .path-inactive, selector .menu-item--mobile-bottom:not(.active) svg .path-active{
    display: none;
}
#header-mobile-wrapper svg .path-active{
    display: none;
}

footer .elementor-social-icons-wrapper{
    width : 100%;
    justify-content: space-between !important;
}


/* FAB actions Container */
#fabContainer {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 888;
}
#fabContainer.blur-active{
    backdrop-filter: blur(9px);
    border-radius: 25px;
    background: rgba(205, 205, 205, 0.1);
    box-shadow: 0 0 20px rgba(20, 20, 20, 0.25);
}

/* Main Floating Button */
#fabContainer .fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #fff !important;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s ease;
}
#fabContainer .fab-main:hover{
    transform : translateY(-2px);
}

#fabContainer .fab-main.active {
    transform: rotate(-135deg);
}

/* Actions container */
#fabContainer .fab-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 42px;

    opacity: 0;
    display: none;
    transition: all .3s ease;
}

#fabContainer .fab-actions.show {
    opacity: 1;
    display: flex;
}

/* Each action item */
#fabContainer .fab-action {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: #ffffff;
    padding: 4px 0px 5px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: #333;
    font-weight: 500;
    gap: 8px;
    transition: transform .2s ease, background .2s ease;
}

#fabContainer .fab-action:hover {
    background: #eeeeee;
    transform: translateY(-2px);
}
#fabContainer .fab-action .fab-label{
    font-size: 16px;
    font-weight: 600;
    margin-right: 5px;
}    
/* Icon bubble */
#fabContainer .fab-icon {
    width: 45px;
    height: 45px;
    background: white ;
    color: transparent;
    border-radius: 50% !important;
    padding : 0.55rem;
    border: 1px solid var( --e-global-color-af2f87f ) !important;
}


/*****************************/
/*      Product      Card        */
/*****************************/
.product-card{
	max-width: 290px !important;
}
.product-card .product-img img{
	aspect-ratio: 16 / 9;
}
.product-card .product-btn .elementor-button{
	height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}
.product-card .product-price{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.product-card .product-price p{
    margin-bottom: 8px;
    margin-top: 8px;
}
.product-card .product-price .woocommerce-Price-amount.amount bdi{
    margin-left: 17px;
}
.product-card .product-price .woocommerce-Price-amount.amount bdi:after{
    content: '';
    position: absolute;
    left: 17px;
    top : 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: url(/wp-content/uploads/2025/11/vector-toman.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.product-card .product-price .woocommerce-Price-amount.amount bdi .woocommerce-Price-currencySymbol{
    display: none;
}

.product-card .product-pattern svg{
    display: block;
}
.product-card .product-pattern{
    position: absolute !important;
    left: -1px !important;
    bottom: -1px !important;
    width: calc(50% + 33px) !important;
    transform: translate(0%, 0%) !important;
}




@media(max-width : 1024px){
    header #component-categories{
        left: 50% !important;
        max-width: 90% !important;
        transform: translateX(-50%) !important;
        top: unset !important;
        bottom: 0;
        padding-bottom: 100px;
        padding-top: 20px !important;
    }
	
	#header-top-wrapper:not(.not-fixed){
        position: static;
        margin-top: 20px;
    }
	
	#fabContainer {
        bottom: 85px;
    }
}

@media(max-width : 767px){
    header #component-categories{
        max-width: 100% !important;
        padding-bottom: 80px;
    }
	.header-primary.not-fixed .header-sticky{
		border-radius: 0;
    	padding: 20px 1rem;
    	width: 100%;
	}
	#fabContainer{
        bottom: 80px;
    }
}


/************************************/
/********* CHECKOUT *************/
.payment-category--wrapper:not(:last-of-type){
	margin-bottom: 10px;
}
.payment-category--wrapper .payment-category--wrapper-heading{
	background: white;
    padding: 1rem 1rem 0.5rem 1rem;
	border-radius: 12px 12px 0 0;
    border: 1px solid #efefef;
}
.payment-category--wrapper .payment-category--wrapper-title{
    color: #1f0001;
    font-family: 'PeydaWeb';
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px !important;
}
.payment-category--wrapper .payment-category--wrapper-subtitle{
    color: #e31f25;
    font-family: 'PeydaWebFaNum';
    font-weight: 400;
    font-size: 0.75rem;
}
.payment-category--wrapper .payment-category--wrapper-content{
	font-family: 'PeydaWeb';
	font-size : 0.9rem;
	color : #232323;
	font-weight: 400;
	border: 1px solid #efefef;
    border-radius: 0 0 12px 12px;
    padding: 1rem;
    background-color: #ededed;
}
.payment-category--wrapper .payment-category--wrapper-content > *:not(:last-child){
	border-bottom : 1px solid #dcdcdc;
	padding : 10px 0;
}
.woocommerce-checkout #payment ul.payment_methods li img{
	margin-left : 0.75rem !important;
	margin-right : 0 !important;
	width : 40px;
	height: 40px;
    object-fit: contain;
    object-position: center;
}

.woocommerce-checkout #payment div.payment_box{
	padding: 0.5em !important;
    margin: 0.5rem 0 !important;
	border-radius : 5px !important;
	line-height : 1.2rem !important
}