/*
Theme Name:   Woodmart Child
Description:  Woodmart Child Theme
Author:       XTemos
Author URI:   http://xtemos.com
Template:     woodmart
Version:      1.0.0
Text Domain:  woodmart
*/
.session_main{
	width: 100%;
	margin: 0 auto;
	padding: 15px;
	border-radius: 10px;
	position:relative;
}
.profile img{
	width: 50px;
	border: 2px solid red !important;
	border-radius: 50% !important;
	padding: 4px;
}
.profile{
	text-align: center;
	background: rgb(117, 21, 255);
	color: #fff;
	padding: 25px;
	border-radius: 20px;
}
.cta{
	display:flex;
	align-items:center;
	justify-content:center;
	margin-top:-35px !important;
	margin-bottom: 25px;
}
.description{
	padding: 10px;
	text-align: center;
	background: rgb(166, 170, 255);
	border-radius: 20px;
	box-shadow: 0px -5px 4px rgba(0, 0, 0, 0.25);
	color: rgb(81, 0, 198);
	font-size: 16px;
	font-weight: 700;
	margin-bottom:15px;
}
.profile span{
	font-size: 16px;
	font-weight: bold;
}
.product_img{
	padding:0px;
	border: 5px solid rgb(218, 218, 218);
	border-radius: 20px;
}
.session_main div{
	gap:15px;
}
.description p:first-child{
	font-size:16px;
}
.description #a1{
	color: gray;
	font-size: 15px;

}
.price_content{
	background: rgb(117, 21, 255);
	padding: 0px !important;
	border-radius: 20px;
	color: #fff;
	line-height: 30px;
	padding-top:10px !important;
}
.img_price{
	padding: 20px;
	background: rgb(166, 170, 255);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	border-radius: 20px;
	box-shadow: 0px -5px 4px rgba(0, 0, 0, 0.25);
	margin-top:15px;
}
.description #a2{
	color: #474747;
	font-weight: bold;
	line-height: 30px;
}
.description{
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.number_products{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	width: 150px;
	flex-direction: row-reverse;
	background: rgb(117, 21, 255);
	padding:2px 15px;
	border-radius: 20px;

}
.session_main{
	width: 100%;
	margin: 0 auto;
	padding: 15px;
	border-radius: 10px;
	position:relative;
}
.profile img{
	width: 50px;
	border: 2px solid red !important;
	border-radius: 50% !important;
	padding: 4px;
}
.profile{
	text-align: center;
	background: rgb(117, 21, 255);
	color: #fff;
	padding: 25px;
	border-radius: 20px;
}
.cta{
	display:flex;
	align-items:center;
	justify-content:center;
	margin-top:-35px !important;
}
.description{
	padding: 10px;
	text-align: center;
	background: rgb(166, 170, 255);
	border-radius: 20px;
	box-shadow: 0px -5px 4px rgba(0, 0, 0, 0.25);
	color: rgb(81, 0, 198);
	font-size: 16px;
	font-weight: 700;
}
.profile span{
	font-size: 16px;
	font-weight: bold;
}
.product_img{
	padding:0px;
	border: 5px solid rgb(218, 218, 218);
	border-radius: 20px;
}
.session_main div{
	gap:15px;
}
.description p:first-child{
	font-size:16px;
}
.description #a1{
	color: gray;
	font-size: 15px;

}
.price_content{
	background: rgb(117, 21, 255);
	padding: 0px !important;
	border-radius: 20px;
	color: #fff;
	line-height: 30px;
	padding-top:10px !important;
}
.img_price{
	padding: 20px;
	background: rgb(166, 170, 255);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	border-radius: 20px;
	box-shadow: 0px -5px 4px rgba(0, 0, 0, 0.25);
	margin-top:15px;
}
.description #a2{
	color: #474747;
	font-weight: bold;
	line-height: 30px;
}
.description{
	display: flex;
	flex-direction: column;
	gap: 7px;
}
.number_products{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	width: 150px;
	flex-direction: row-reverse;
	background: rgb(117, 21, 255);
	padding:2px 15px;
	border-radius: 20px;

}
.add_product , .remove_product{
	width:17px;
	height:25px;
	display:flex;
	align-items:center;
	justify-content:center;
	position:relative;
}
.add_product:after , .remove_product:after{
	content:"";
	width:100%;
	height:2px;
	background:#fff;
	display:block;
}
.add_product:before{
	content:"";
	height:15px;
	width:2px;
	background:#fff;
	display:block;
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50% , -50%);
}
.product_num{
	border: none;
	outline: none;
	width: 36px;
	text-align: center;
	background: rgb(166, 170, 255);
	border-radius: 50%;
	height: 100%;
	color: #fff;
	font-size: 25px;
	box-shadow: 0px 3px 2.6px 0px rgba(0, 0, 0, 0.35);
}


#add_to_cart , #send_order{
	background: rgb(64, 225, 73);
	padding: 3px;
	border: none;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 150px;
	height: 40px;
}
#add_to_cart img{
	background: rgb(94, 170, 121);
	height: 100%;  width: 34px;
	padding: 7px;
	border-radius: 20px;
	box-shadow: 0px 3px 2.6px 0px rgba(0, 0, 0, 0.35);
}
#add_to_cart span{
	width: 100%;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}
#checkout_form input[type="text"]{
	width: 100%;
	margin-bottom: 10px;
	border-radius: 6px;
	padding: 4px;
	border-color: #bfbfbf;
}

@keyframes amir{
	0% {transform:rotate(0)}
	100% {transform: rotate(360deg)}


}
.white_overlay{
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	background:#fff;
	opacity:0.8;
	z-index:999999;
}
.loading_box{
	position:absolute;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	align-items: center;
	justify-content: center;
	display:flex;
	z-index:9999999;
}
.loading{

	width: 110px;
	height: 110px;
	border-radius: 50%;
	border-color: blue blue blue transparent;
	border-style: solid;
	background: #D6FFFD;
	animation:amir 3s linear infinite;
	animation-fill-mode: forwards;
	align-items: center;
	justify-content: center;
	display:flex;
	z-index:9999999;
}
.loading .span{

	animation:amir 3s linear infinite;
	animation-direction: reverse;
	font-size:12px;
}
.elementor-element-afc946f {
	display:none;
}

.faq{
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: center;
}
.faq p {
	margin:0px;
}
.faq img{
	width: 780px;
}
.faq_title-1 {
	text-align: center;
}
.faq_box{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width:100%;
}
.faq_box_content{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	/* gap: 10px; */
	/*     box-shadow: 0px 0px 6px 1px #ddddddb8; */
	border-radius: 14px;
	width:100%;
}
.faq_title{
	z-index: 200;
	cursor: pointer;
	height: 70px;
	padding: 20px;
	border: 1px solid rgba(224, 224, 224, 1);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: start;
	position: relative;
	width: 100%;
}
.faq_full.active  .faq_title{
	border:none
}
.faq_full.active  .faq_title:after{
	color:#fff;
	transform:rotate(180deg);
}

.faq_title::after{
	content: "\f107";
	position: absolute;
	left: 15px;
	font-size: 25px;
    font-family: 'Font Awesome 5 Free';
	color: #888;
	transform: rotate(0deg);
	transition: 0.2s linear;
}
.faq_title h3{
font-size: 15px;
    color: #040404;
    /* font-weight: 600; */
    padding-left: 18px;
    font-family: 'iranyekan';
	margin:0;
}
.faq_full{
width:100%;
}
.faq_full.active .faq_title h3{
	font-weight: 700;
	color: #fff;
	font-size: 13px;
}
.faq_content{
	background: var(--mc);
	border: 1px solid rgba(224, 224, 224, 1);
	border-radius: 12px;
	/*display: flex;*/
	/*align-items: center;*/
	justify-content: start;
	height: 0;
	opacity: 0;
	transition: 0.2s linear;

}
.faq_full.active {
	background: #A800D5;
	border-radius:12px;
}
.faq_full.active .faq_content{
	height: auto;
	opacity: 1;
	padding: 8px;
	border:none;
	color:#fff;
}
.faq_content p{
	font-size: 15px;
	color: #fff;
	font-weight: 300;
	line-height: 35px;

}
.faq_title_first{
	width: 100%;
	margin-top: 50px;
	display: flex;
	justify-content: right;
	align-items: center;

}
.faq_title_first i {
	padding-left:10px;
}
.faq_title_first h3 {
	padding-left:10px;
	font-weight:500;
}
.faq_title_first a {
	padding-left:10px;
}
.faq_title_first a p{
	border-right: 3px solid #9b9eab;
	padding-right: 8px;
	color: #9b9eab;
}
.faq_title_first h3{
	font-size: 24px;
	padding-right: 20px;
	font-weight: 700;


}
.faq_title_first h2{
	font-size: 20px;
	padding:0px 10px;
	font-weight: 700;

}


/*
 *custom shortcode for grid products
*/
.digi-numbered-list {
    max-width: 100%;
    margin: 20px auto;
    direction: rtl;
}

.digi-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 15px;
}

.digi-col {
    flex: 1;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    transition: box-shadow 0.2s;
}

.digi-col:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.digi-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.digi-number {
    font-size: 20px;
    font-weight: bold;
    color: #ccc;
    width: 35px;
    text-align: center;
}

.digi-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.digi-details {
    flex: 1;
}

.digi-details h4 {
    font-size: 14px;
    margin: 0 0 5px;
    font-weight: normal;
}

.digi-details h4 a {
    text-decoration: none;
    color: #333;
}

.digi-price {
    color: #b12704;
    font-weight: bold;
    font-size: 14px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .digi-row {
        flex-direction: column;
        gap: 10px;
    }
    .digi-col {
        min-width: auto;
    }
    .digi-number {
        width: 25px;
        font-size: 16px;
    }
    .digi-image img {
        width: 55px;
        height: 55px;
    }
}


/*------------------------
 * ----استایل منتخب ها----------
 * -------------------------------------*/
  /* سشن حراج دیجی‌کالا */
    .digi-sale-section {
        max-width: 100%;
        margin:17px auto;
        background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
        border-radius: 16px;
        direction: rtl;
    }
    
    .digi-sale-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid #ef4056;
    }
    
    .digi-sale-title {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .fire-icon {
        font-size: 28px;
        animation: flame 1.5s infinite;
    }
    
    @keyframes flame {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.1); opacity: 0.8; }
    }
    
    .digi-sale-title h2 {
        font-size: 20px;
        font-weight: bold;
        color: #ef4056;
        margin: 0;
    }
    
    .digi-sale-view-all {
        color: #ef4056;
        text-decoration: none;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .digi-sale-view-all:hover {
        color: #c81937;
    }
    
    .digi-sale-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .digi-sale-card {
        background: white;
        border-radius: 12px;
        padding: 15px;
        text-align: center;
        transition: all 0.3s ease;
        border: 1px solid #f0f0f0;
        position: relative;
    }
    
    .digi-sale-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(239, 64, 86, 0.15);
        border-color: #ef4056;
    }
    
    .digi-sale-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        flex-direction: column;
        gap: 5px;
        z-index: 1;
    }
    
    .discount-percent {
        background: #ef4056;
        color: white;
        padding: 4px 8px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: bold;
    }
    
    .sale-tag {
        background: #ff9f00;
        color: white;
        padding: 4px 8px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: bold;
    }
    
    .digi-sale-image img {
        width: 100%;
        max-width: 160px;
        height: auto;
        margin: 20px auto 15px;
    }
    
    .digi-sale-title-product {
        font-size: 14px;
        color: #333;
        margin: 10px 0;
        line-height: 1.4;
        height: 40px;
        overflow: hidden;
    }
    
    .digi-sale-prices {
        margin: 10px 0;
    }
    
    .sale-price {
        color: #ef4056;
        font-size: 18px;
        font-weight: bold;
        margin-left: 8px;
    }
    
    .regular-price {
        color: #999;
        font-size: 13px;
        text-decoration: line-through;
    }
    
    .discount-bar {
        background: #f0f0f0;
        border-radius: 10px;
        height: 4px;
        margin-top: 10px;
        overflow: hidden;
    }
    
    .discount-bar-fill {
        background: #ef4056;
        height: 100%;
        border-radius: 10px;
        transition: width 0.5s ease;
    }
    
    .no-sale-products {
        text-align: center;
        padding: 40px;
        color: #999;
    }
    
    /* ریسپانسیو */
    @media (max-width: 768px) {
        .digi-sale-grid {
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 12px;
        }
        
        .digi-sale-header {
            flex-direction: column;
            gap: 10px;
            text-align: center;
        }
        
        .digi-sale-title h2 {
            font-size: 16px;
        }
        
        .sale-price {
            font-size: 14px;
        }
    }


/*---------------------
 * -----داغ ترین ها*/
    /* بخش داغ‌ترین محصولات دیجی‌کالا */
    .digi-hottest-section {
        max-width: 100%;
        margin:17px auto;
        background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
        border-radius: 16px;
        direction: rtl;
    }
    
    .digi-hottest-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 2px solid #ff9f00;
    }
    
    .digi-hottest-title {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .hot-icon {
        font-size: 28px;
        animation: flame 1.5s infinite;
    }
    
    @keyframes flame {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.15); opacity: 0.8; }
    }
    
    .digi-hottest-title h2 {
        font-size: 20px;
        font-weight: bold;
        color: #ff9f00;
        margin: 0;
    }
    
    .digi-hottest-view-all {
        color: #ff9f00;
        text-decoration: none;
        font-weight: bold;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .digi-hottest-view-all:hover {
        color: #e68a00;
    }
    
    .digi-hottest-list {
        width: 100%;
    }
    
    .digi-hottest-row {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 20px;
        gap: 15px;
    }
    
    .digi-hottest-col {
        flex: 1;
        min-width: 200px;
        background: white;
        border-radius: 12px;
        padding: 12px;
        transition: all 0.3s ease;
        border: 1px solid #f0f0f0;
    }
    
    .digi-hottest-col:hover {
        transform: translateX(-5px);
        box-shadow: 0 4px 15px rgba(255, 159, 0, 0.15);
        border-color: #ff9f00;
    }
    
    .digi-hottest-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .digi-hottest-number {
        font-size: 22px;
        font-weight: bold;
        color: #ff9f00;
        width: 35px;
        text-align: center;
        font-family: monospace;
    }
    
    .digi-hottest-image img {
        width: 70px;
        height: 70px;
        object-fit: cover;
        border-radius: 12px;
    }
    
    .digi-hottest-details {
        flex: 1;
    }
    
    .digi-hottest-details h4 {
        font-size: 14px;
        margin: 0 0 5px;
        font-weight: 500;
    }
    
    .digi-hottest-details h4 a {
        text-decoration: none;
        color: #333;
    }
    
    .digi-hottest-details h4 a:hover {
        color: #ff9f00;
    }
    
    .digi-hottest-price {
        color: #b12704;
        font-weight: bold;
        font-size: 14px;
        margin: 5px 0;
    }
    
    .digi-hottest-sales {
        margin-top: 5px;
    }
    
    .sales-count {
        background: #fff0e6;
        color: #ff9f00;
        font-size: 11px;
        padding: 3px 8px;
        border-radius: 20px;
        font-weight: bold;
    }
    
    .no-products {
        text-align: center;
        padding: 40px;
        color: #999;
    }
    
    /* ریسپانسیو */
    @media (max-width: 768px) {
        .digi-hottest-row {
            flex-direction: column;
            gap: 12px;
        }
        
        .digi-hottest-col {
            min-width: auto;
        }
        
        .digi-hottest-header {
            flex-direction: column;
            gap: 10px;
            text-align: center;
        }
        
        .digi-hottest-title h2 {
            font-size: 16px;
        }
        
        .digi-hottest-number {
            font-size: 18px;
            width: 28px;
        }
        
        .digi-hottest-image img {
            width: 55px;
            height: 55px;
        }
        
        .hot-icon {
            font-size: 22px;
        }
    }
    
    @media (max-width: 480px) {
        .digi-hottest-item {
            gap: 8px;
        }
        
        .digi-hottest-details h4 {
            font-size: 12px;
        }
        
        .digi-hottest-price {
            font-size: 12px;
        }
    }

/*-------------------------
 * ------استایل دسته بندی ها---
 * -------------------------------*/
 .digi-categories-section {
        max-width: 100%;
        margin: 14px auto;
        background: #ffffff;
        border-radius: 16px;
        direction: rtl;
    }
    
    .digi-categories-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .digi-categories-title {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .category-icon {
        font-size: 22px;
    }
    
    .digi-categories-title h2 {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin: 0;
    }
    
    .digi-categories-view-all {
        color: #00bfd6;
        text-decoration: none;
        font-size: 13px;
        font-weight: bold;
    }
    
    .digi-categories-row {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 15px;
        gap: 8px;
    }
    
    .digi-category-card {
        flex: 1;
        min-width: 100px;
        background: transparent;
        text-align: center;
        transition: all 0.2s ease;
        padding: 10px 5px;
        border-radius: 8px;
    }
    
    .digi-category-card:hover {
        background: #f5f5f5;
    }
    
    .digi-category-card a {
        text-decoration: none;
        display: block;
    }
    
    .digi-category-image img {
    width: 100%;
    height: 100px !important;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 61px !important;
    }
    
    .digi-category-name {
        font-size: 11px;
        font-weight: 400;
        color: #333;
        margin-top: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .digi-category-card:hover .digi-category-name {
        color: #00bfd6;
    }
    
    /* ریسپانسیو: در موبایل 4 تایی می‌شه */
    @media (max-width: 992px) {
        .digi-category-card {
            min-width: 80px;
        }
        
        .digi-category-image img {
            width: 45px;
            height: 45px;
        }
        
        .digi-category-name {
            font-size: 10px;
        }
    }
    
    @media (max-width: 768px) {
        .digi-categories-row {
            gap: 5px;
        }
        
        .digi-category-card {
            min-width: 70px;
            flex: 1;
        }
        
        .digi-category-image img {
            width: 40px;
            height: 40px;
        }
        
        .digi-categories-header {
            flex-direction: row;
        }
        
        .digi-categories-title h2 {
            font-size: 14px;
        }
        
        .category-icon {
            font-size: 18px;
        }
    }
    
    @media (max-width: 576px) {
        /* در موبایل هر ردیف 4 تا دسته */
        .digi-category-card {
            min-width: calc(25% - 8px);
            flex: 0 0 calc(25% - 8px);
        }
    }
    
    @media (max-width: 480px) {
        .digi-category-image img {
            width: 35px;
            height: 35px;
        }
        
        .digi-category-name {
            font-size: 9px;
        }
    }