/********* Checkout Styles *********/
.wc-block-components-main.wc-block-cart__main.wp-block-woocommerce-cart-items-block {
    background: #fff;
    border-radius: 8px;
    box-shadow: -2px 2px 15px -1px #9E9E9E26;
    padding: 20px;
    font-family: 'yekan';
}
.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
    background: #fff;
    border-radius: 8px;
    box-shadow: -2px 2px 15px -1px #9E9E9E26;
    padding: 20px;
    font-family: 'yekan';
}
#checkout-wrapper {
    background: #fff;
    padding: 5%;
	border-radius: 8px;
    box-shadow: -2px 2px 15px -1px #9E9E9E26;
    font-family: 'yekan';
	margin-bottom: 10% !important;
}
.wc-block-components-sidebar-layout.wc-block-cart.wp-block-woocommerce-filled-cart-block.is-large {
    display: flex
;
    gap: 50px;
    align-content: center;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}
a.wc-block-components-product-name {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
}
a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    font-size: 14px;
    text-decoration: none;
    background: #231F20;
    border-radius: 8px;
}
/********* Checkout Styles *********/
.search-popup-content {
  padding: 20px;
  text-align: right;
  direction: rtl;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

#search-input {
  width: 100%;
  padding: 10px 40px 10px 10px; /* فاصله برای آیکون جستجو */
  border: 1px solid #000;
  border-radius: 8px;
  font-family: yekan;
  font-size: 14px;
}

.search-icon {
  position: absolute;
  left: 10px;
  width: 20px;
  height: 20px;
  background: url("https://cdn-icons-png.flaticon.com/512/622/622669.png") no-repeat center;
  background-size: contain;
  cursor: pointer;
}

.recent-searches, .popular-searches {
  margin-top: 20px;
}

.recent-searches ul, .popular-searches ul {
  list-style: none;
  padding: 0;
}

.recent-searches ul li, .popular-searches ul li {
  margin-bottom: 10px;
}

.recent-searches ul li a, .popular-searches ul li a {
  text-decoration: none;
  color: #007bff;
}

.recent-searches ul li a:hover, .popular-searches ul li a:hover {
  text-decoration: underline;
}
.elementor-menu-cart__product.woocommerce-cart-form__cart-item.cart_item {
    background: #fff !important;
    border-radius: 8px;
    border: none;
    margin-top: 6px;
    padding: 5px;
}
.header-article img {
    width: 1140px;
}

.poster-content img{
	width: 1500px;
}
.related-post-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.title-home h3{
	white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
	max-width: 200px;
}

.related-post-info h4 {
    font-size: 16px;
    margin: 0;
	font-weight: 500;
	color: #0C0C0C;
    font-family: 'yekan';
    line-height: 1.4;
	white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.related-post-info .post-excerpt {
    font-size: 12px;
    color: #717171;
	font-weight:300;
    margin: 10px 0;
	display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden; 
    text-overflow: ellipsis; 

}

.related-post-info .post-date {
    font-size: 12px;
    color:#9E9E9E;
	font-weight:300;
    display: flex;
    align-items: center;
    gap: 5px;
}

.icon-calendar {
    width: 16px;
    height: 16px;
    background: url('path-to-calendar-icon.svg') no-repeat center center;
    background-size: contain;
}

.elementor .elementor-html5-video {
    -o-object-fit: contain !important;
    object-fit: contain !important;;
}
.elementor .elementor-background-video-hosted {
    left: 50%;
    position: absolute;
    top: 48%;
    transform: translate(-50%, -50%);
}
.homewc .price-container {
    position: relative;
    width: 230px;
    height: 30px;
    margin: 20px auto;
    overflow: hidden;
	font-family: yekan Sans-Serif !important;
}

.homewc .price {
    position: absolute;
	font-family: yekan !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #CE6949 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: width 0.6s ease;
    z-index: 2;
    cursor: pointer;
}

.homewc .buy-btn {
    position: absolute;
    font-weight: 600 !important;
	font-size:13px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    background-color: black;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 10px;
    opacity: 1;
	cursor: pointer;
    z-index: 1;
}
.homewc:hover .price{
	width: 70%;
}
.home-most-recent-wc span.woocommerce-Price-amount{transform: translateY(50px); transition: opacity 0.5s ease, transform 0.5s ease;}
.home-most-recent-wc bdi {
    font-size: 14px;
    font-weight: 500;
    color: #CE6949;
    font-family: 'yekan';
	opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease; 
}
.homewc:hover .home-most-recent-wc bdi {
	opacity: 1;
	transform: translateY(0); 
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.homewc:hover span.woocommerce-Price-amount{	transform: translateY(0); transition: opacity 0.5s ease, transform 0.5s ease;}
.homewc {
  position: relative; 
  overflow: hidden; 
}
.homewc:hover .meta-wc-home{transform: translateY(0);transition: opacity 0.5s ease, transform 0.5s ease;}
.homewc:hover .title-wc-home{transform: translateY(0);transition: opacity 0.5s ease, transform 0.5s ease;}
.meta-wc-home, .title-wc-home{transform: translateY(30px);transition: opacity 0.5s ease, transform 0.5s ease;}




/*
myaccount 

*/

.order-status {
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    font-size: 0.9rem;
}

/* رنگ‌بندی برای هر وضعیت */
.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-processing {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-on-hold {
    background-color: #fefefe;
    color: #6c757d;
}

.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.status-refunded {
    background-color: #e2e3e5;
    color: #383d41;
}

.status-failed {
    background-color: #f5c6cb;
    color: #721c24;
}

.custom-orders-filter ul {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 0;
	margin-bottom: 20px;
	border-bottom: 2px solid #eee;
}
.custom-orders-filter ul li {
	list-style: none;
	margin-left: 20px;
	padding-bottom: 8px;
	cursor: pointer;
	font-family: yekan;
	color: #666 !important;
	font-weight: 500;
}
.custom-orders-filter ul li.active {
	color: #e16841 !important;
	border-bottom: 2px solid #e16841;
}
.custom-orders-filter ul li.active a {
	color: #e16841 !important;
}
.custom-orders-filter ul li a {
	text-decoration: none;
	font-family: yekan;
	color: #666 !important;
	font-size: 20px;
	font-weight: 300;
}
.custom-orders-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.custom-order-item {
	background-color: #f9f9f9;
	border-radius: 10px;
	padding: 15px;
}
.custom-order-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.custom-order-info {
	display: flex;
	flex-direction: column;
	color: #333;
	font-family: yekan;
	font-size:16px;
	font-weight: 400;
}
.custom-order-info strong {
	font-weight: 600;
	margin-bottom: 4px;
}
.custom-order-action a {
	color: #000 !important;
	text-decoration: none;
	font-family: yekan;
	font-size:16px;
	font-weight: 400;
	position: relative;
	display: flex;
	align-items: center;
	gap: 5px;
}
.custom-order-action a .arrow {
	font-size: 18px;
	transform: rotate(180deg);
}
/* استایل بخش خالی */
.no-orders {
text-align: center;
    padding: 50px 20px;
    font-family: yekan;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.no-orders img {
	max-width: 250px;
	margin-bottom: 20px;
	opacity: 0.6;
}
.no-orders p {
	font-size: 16px;
	color: #333;
	margin-bottom: 20px;
}
.shop-button {
	background-color: #333;
	color: #fff !important;
	width: 203;
	height: 54;
	margin-top: 10px;
	border-radius: 8px;
	padding-top: 11px;
	padding-right: 38px;
	padding-bottom: 11px;
	padding-left: 38px;
	transition: background-color 0.3s ease;
}
.shop-button:hover {
	background-color: #333;
}

/* صفحه مشخصات سفارش */
.order-progress-box, .order-details-box, .order-items-list {
	font-family: 'Yekan', sans-serif;
}

.order-progress-box {
	padding: 20px;
	margin-bottom: 30px;
	background: #fff;
	border-radius: 8px;
	text-align: center;
}
.order-progress {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 20px 0;
}
.step {
	flex: 1;
	text-align: center;
	color: #999;
}
.step .icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin: 0 auto 8px;
	background-size: 22px;
	background-repeat: no-repeat;
	background-position: center;
	background-color: #ccc;
}
.step.done .icon {
	background-color: #bbb;
}
.step.active .icon {
	background-color: #fff;
	border: 2px solid #e16841;
}
.step.active span {
	color: #fff;
	background-color: #e16841;
	padding: 4px 10px;
	border-radius: 6px;
	display: inline-block;
	font-weight: bold;
}
/* آیکون‌های سفارشی */
.step.status-pending .icon {
	background-image: url('/wp-content/themes/hello-elementor/assets/icons/pending.svg');
}
.step.status-processing .icon {
	background-image: url('/wp-content/themes/hello-elementor/assets/icons/processing.svg');
}
.step.status-on-hold .icon {
	background-image: url('/wp-content/themes/hello-elementor/assets/icons/shipping.svg');
}
.step.status-completed .icon {
	background-image: url('/wp-content/themes/hello-elementor/assets/icons/deliverd.svg');
}
.order-details-box {
	background: #f8f8f8;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
}
.detail-row {
	display: flex;
	justify-content: space-between;
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 10px;
	background: #ffffff;
}
.detail-row:nth-child(even) {
	background: #f0f0f0;
}
.order-items-list {
	background: #fff;
	padding: 20px;
	border-radius: 10px;
}
.item-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #ddd;
	padding: 15px 0;
}
.item-row:first-child {
	border-top: none;
}
.item-thumb img {
	max-width: 80px;
	border-radius: 4px;
}
.item-info {
	flex: 1;
	margin-right: 15px;
	text-align: right;
}



/*
end myaccount 

*/


/*
.home .price-container:hover .price {
    width: 70%;
}
*/

.header-style{
	
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.light-header{
	position: fixed;
    top: -7px;
    left: 0;
    width: 100%;
    max-height: 40px !important;
}
.light-header img{
	clip-path: inset(0 0 calc(100% - 78px) 0);
}
.capacity_value{
	font-family:yekan;
	font-size: 12px;
	font-weight: 700;
	line-height: 21px;
	text-align: center;
	text-underline-position: from-font;
	text-decoration-skip-ink: none;
	color:#A7A9A3;
}
.pjustify{
	text-align:justify !important;
}

/*
Home Style
*/
.cat-img-container::before{transition: transform 0.5s ease;transform-origin: bottom; }
.cat-img-container img{
  object-fit: cover;
  transition: transform 0.5s ease;
  transform-origin: bottom; 
}
.cat-img-container:hover .cat-img-2 img {
transform: scale(1.1);
}
.cat-img-container:hover::before {
transform: scale(1.1);
}
.category img{
  object-fit: cover;
  transition: transform 0.5s ease;
  transform-origin: bottom; 

}
.category:hover .overlay-category-img img {
  transform: scale(1.1); /* بزرگ‌تر شدن تصویر هنگام هاور */
}
/*

canvas.banner {
    position: relative;
    width: 65%;
    height: 65%;
}
 .banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
	max-height: 312px !important;
    display: flex;
} */
/*
.particle-container {flex: 1; position: relative;}
#particle-container-1 {
	position: relative;
    width: 300px;
    height: 300px;
    right: 78px;
    top: 0px;
}
#particle-container-2 {
	position: relative;
    width: 300px;
    height: 300px;
    right: 7px;
    top: 0px;
}
#particle-container-3 {
	position: relative;
    width: 300px;
    height: 300px;
    left: 48px;
    top: 0px;
}
.classic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://demo.emersun.com/wp-content/uploads/2025/01/classic-overlay.png);
	background-position: center center;
    background-size: cover;
    border-radius: 20px;
    pointer-events: none;
}
*/
.videoA video {
    object-fit: cover !important;
    height: 850px !important;
    overflow: hidden;
}
.videoB video{
    object-fit: none !important;
    background-color: #04070D !important;
}

/*
Classic Page
*/

/*
IOT Landing */
.overlay-hoshmand {
    position: absolute;
    right: 570px;
	opacity: 0;
    transition: opacity 1s ease-in-out;
}
/*
.elementor-element-04d2b34::before {
    opacity: 0 !important; 
    animation: fadeInOverlay 1.5s ease-in-out 5s forwards;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}
.elementor-element-04d2b34.show-overlay::before {
    opacity: 1 !important;
}
*/
.elementor-element-04d2b34::before {
    content: "";  
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.elementor-element-04d2b34.show-overlay::before {
    opacity: 1;
}
.info-note {
    font-family: 'yekan';
    font-size: 16px;
    color: #333;
    text-align: center;
}

/*
====================Slider=======================
*/
.sr7-bullet.selected {
  animation: increaseHeight 5s forwards !important;
}

@keyframes increaseHeight {
  from {
    height: 50px !important;
  }
  to {
    height: 179p !importantx;
  
  }
/*
Slider
*/

/*
Resposive Styles
*/

@media screen and (max-width:1440px){
	.light-header{
		top:-5px;
		}
	.light-header img
	{transform: translateX(0) scale(1.3);
	transform-origin: top;
	clip-path: inset(0 0 calc(100% - 59px) 0);
	}
}



/* ============== Comments Style ================ */
#reviews, .woocommerce-Reviews {
    display: flex;
	gap: 20px;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
#review_form_wrapper {
    max-width: 371px !important;
}
.comment-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.comment-list-container {
    flex: 0 0 70%;
}
.comment-form-container {
    flex: 0 0 30%;
}

/* استایل کامنت‌ها */
.comment-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}
.comment-item .comment-author {
    font-weight: bold;
}
.comment-item .comment-date {
    font-size: 0.9em;
    color: #666;
}
.comment-item .comment-text {
    margin: 10px 0;
}
.comment-actions button {
    margin-right: 10px;
}
.elementor-2990 .elementor-element.elementor-element-d54cdb5 {
    --display: flex;
    --flex-direction: row;
    --container-widget-width: initial;
    --container-widget-height: 100%;
    --container-widget-flex-grow: 1;
    --container-widget-align-self: stretch;
    --flex-wrap-mobile: wrap;
}
.comment-text {
    background: #fff !important;
    width: 760px !important;
    min-height: 240px !important;
    border-radius: 8px !important;
    padding: 25px !important;
}
.comment-text p.meta{
font-family: yekan;
font-weight: 500;
font-size: 16px;
line-height: 27.64px;
letter-spacing: 0%;
text-align: right;
color: #000;
}
.comment-text .description{
font-family: yekan;
font-weight: 300;
direction: rtl;
font-size: 14px;
line-height: 24.18px;
letter-spacing: 0%;
text-align: justify;
color: #333333;
}
ol.commentlist {
    list-style: none;
    padding: 0;
}

/* ========== Map ========== */
.map_wrapper {
    padding: 24px;
    background-color: #fff;
    border: 1px solid rgba(9, 90, 84, 0.08);
    box-shadow: 0px 14px 42px -14px rgba(9, 90, 84, 0.1);
    border-radius: 18px;
}
#emersun-map-1 .leaflet-marker-pane img {
    width: 140px !important;
    height: 72px !important;
}
.maplist__section {
    padding: 35px 0;
    background-color: #E6E8ED;

}
#emersun-maplist-filter-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0px 14px 42px -14px rgba(9, 90, 84, 0.1);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 24px;
}

#emersun-maplist-app {
    margin-bottom: 24px;
}

#emersun-maplist-app .mapp-container {
    background-color: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0px 14px 42px -14px rgba(9, 90, 84, 0.1);
}

/* ریسپانسیو: تغییر طرح در موبایل */
@media (max-width: 767px) {
    .comment-container {
        flex-direction: column;
    }
    .comment-list-container, .comment-form-container {
        flex: 0 0 100%;
    }
	ul.all-categories {
		font-size:12px;
		line-height:22px
    }
	.postcontent h2{
		font-size: 12px;
		font-weight: 400;
	}
	.postcontent h3{
		font-size: 11px;
		font-weight: 400;
	}

/*
Single Product Page
*/

.shop-price-mobile{
    font-family: yekan;
    font-size: 12px;
    font-weight: 500;
    color: #CE6949 !important;
}
    .detailtext h4{
        font-size: 12px !important;
        font-weight: 300 !important;
    }
    .detailtext .elementor-widget-container{
        font-size: 12px !important;
        font-weight: 300 !important;      
    }
/*
Single Product Page
*/

/*
Classic Page - Mobile
*/
.elementor-swiper-button {
    border: 2px solid #fff;
    border-radius: 100%;
    padding: 15px;
}
.elementor-swiper-button.elementor-swiper-button-prev {
    left: 0 !important;
}
.elementor-swiper-button.elementor-swiper-button-next {
    right: 0 !important;
}
.custom-carousel-section {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 100vh;
    width: 100%;
}

.custom-carousel-section .elementor-image-carousel img {
    object-fit: contain;
    width: 200px;
    height: auto;

}
.elementor-image-carousel .swiper-slide-inner {
    display: flex;
    align-items: flex-end; 
    justify-content: center; 
    height: 100%; 
}

.elementor-image-carousel .swiper-slide-image {
    max-height: 100%;
    object-fit: contain; 
}
.content {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    direction: ltr;
}
.arrow {
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    color: #393939;
    z-index: 2;
    display: flex;
    justify-content: center;
    height: 44px;
    border: 1px solid #000;
    border-radius: 100%;
}

img#right-arrow {
    position: absolute;
    left: 434px;
    top: 500px;
}
img#left-arrow {
    position: absolute;
    right: 385px;
    top: 500px;
}
span#right-arrow {
    position: absolute;
    left: 434px;
    top: 500px;
}
span#left-arrow {
    position: absolute;
    right: 385px;
    top: 500px;
}
.shop-price-mobile{
     color:#CE6949;
    font-family:yekan;
    font-size:12px;
    font-weight:400;
    }
}




/* HOLOGRAPHIC EFFECTS */

.atc .single_add_to_cart_button {
  position: relative;
  overflow: hidden;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: #111;
  border: 2px solid white;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s ease;
  z-index: 1;
}

.atc .single_add_to_cart_button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 30%,
    rgba(255, 255, 255, 0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
  z-index: 0;
}

.atc .single_add_to_cart_button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  color: white;
}

.atc .single_add_to_cart_button:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}
