@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: 'Bodoni';
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/bodoni.woff") format('woff');
	font-display: swap;
}

form.cz_subscribe_elm.clr button {
    display: flex;
    flex-direction: row-reverse;
    max-height: none!important;
}

.font2, li.product .woocommerce-loop-product__title, h3.cz_grid_post_title {
	font-family: 'Bodoni';
}

h3.cz_grid_post_title {
    font-weight: 400;
}

body, [data-count]:after {
  font-family: "Roboto", sans-serif;
}

.dual-caption__title {
    font-family: 'Bodoni';
    font-size: 24px;
    color: #fff;
}

.dual-caption__alt {
    font-size: 18px;
    color: #fff;
    line-height: 1.3;
}

.page_content {
    margin: 40px 0;
}

span.elementor-button-icon {
    font-size: 22px;
}

span.elementor-button-content-wrapper {
    align-items: center;
}

[data-count]:after {
	position:unset;
	padding: 0;
}

.outer_search {
    left: -15px!important;
}
/* header .search {
    width: 30%!important;
} */
.search_style_icon_full form > span {
    display:none;
}

.social-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    line-height: 0;
}

.social-buttons__btn img {
    filter: brightness(0) saturate(100%);
	transition: all 0.3s ease;
}

.social-buttons__btn:hover img {
    filter: unset;
	transition: all 0.3s ease;
}

a.social-buttons__btn svg {
    width: 24px;
}

.textwidget.custom-html-widget {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media screen and (max-width: 480px) {
.textwidget.custom-html-widget {
    flex-direction: column-reverse;
    gap: 40px;
	}
	.cz_elm.logo_footer_1_center_9.inner_logo_footer_1_center_0 {
    justify-items: center;
}
	#codevzcustommenulist-3 {
    justify-content: center;
    margin-bottom: 20px;
}
	.cz_middle_footer .row {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}
	.cz_middle_footer {
    padding-top: 10px;
}
}

figcaption.elementor-image-carousel-caption {
    position: absolute;
    bottom: 0px;
    padding: 30px;
    backdrop-filter: blur(5px);
    width: 100%;
}

/* 
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart::after {
    content: '' !important;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcgMGExIDEgMCAwIDEgMSAxdjVoNWExIDEgMCAxIDEgMCAySDh2NWExIDEgMCAxIDEtMiAwVjhIMWExIDEgMCAwIDEgMC0yaDVWMWExIDEgMCAwIDEgMS0xIiBmaWxsPSIjZmZmIi8+PC9zdmc+);
    width: 14px;
    height: 14px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 10px;
} */

/* .woocommerce ul.products li.product .button:before {
    content: '' !important;
} */

.woocommerce ul.products li.product .button {
    display: flex;
    justify-content: center;
}

.menu-footer-container {
    text-align: right;
}

#codevzcustommenulist-3 {
    height: 40px;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

a.social-buttons__btn {
    background-color: #bfbfbf21;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.wc-login-btn {
    color: #231A09;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border: 2px solid #b08a3a;
    background: transparent;
}

.wc-login-btn svg {
	display:block;
}

.wc-login-btn:hover {
    background-color: #ae832d;
    color: #fff;
}

a.wc-login-btn:hover svg {
    filter: brightness(100);
}

a.wc-cart-total-btn {
    color: #231A09;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border: 2px solid #b08a3a;
    background: transparent;
}

.wc-cart-total-btn:hover {
	background-color: #ae832d;
    color: #fff;
}

.wc-cart-total-btn:hover svg {
	filter: brightness(100);
}


/* === Minimal header entrance animation === */
#site_header .header_2 .elms_left > div,
#site_header .header_2 .elms_center > div,
#site_header .header_2 .elms_right > div,
#site_header .header_3 .elms_center > div,
#site_header .header_4 .elms_left > div,
#site_header .header_4 .elms_center > div,
#site_header .header_4 .elms_right > div {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: opacity, transform;
}

/* وقتی آماده شد: ظاهر بشه */
#site_header.is-ready .header_2 .elms_left > div,
#site_header.is-ready .header_2 .elms_center > div,
#site_header.is-ready .header_2 .elms_right > div,
#site_header.is-ready .header_3 .elms_center > div,
#site_header.is-ready .header_4 .elms_left > div,
#site_header.is-ready .header_4 .elms_center > div,
#site_header.is-ready .header_4 .elms_right > div {
  opacity: 1;
  transform: translateY(0);
}

/* احترام به کاربرهایی که Reduced Motion فعال دارن */
@media (prefers-reduced-motion: reduce) {
  #site_header .header_2 .elms_left > div,
  #site_header .header_2 .elms_center > div,
  #site_header .header_2 .elms_right > div,
  #site_header .header_3 .elms_center > div,
  #site_header .header_4 .elms_left > div,
  #site_header .header_4 .elms_center > div,
  #site_header .header_4 .elms_right > div {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* === Product cards entrance (slower & minimal) === */
ul.products.elementor-grid > li.product{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s ease, transform .9s ease; /* کندتر */
  will-change: opacity, transform;
}

ul.products.elementor-grid.is-ready > li.product{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  ul.products.elementor-grid > li.product{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}



.elementor-image-carousel .swiper-slide-inner{
  position: relative;
  overflow: hidden;
}

.elementor-image-carousel .swiper-slide-inner::after{
  content: "";
  position: absolute;
  inset: 0;
  background: #AE832D3D; /* رنگ شما */
  pointer-events: none;
  transition: 0.3s ease;
}

.elementor-swiper-button {
    border: 2px solid #AD832DCC;
    backdrop-filter: blur(3px);
    padding: 10px;
}

@media (max-width: 480px) {
	.dual-caption__alt {
    font-size: 8px;
}
	.dual-caption__title {
    font-size: 16px;
}
	figcaption.elementor-image-carousel-caption {
    padding: 12px;
}
}



/* ============================= */
/* 1️⃣  FIX OVERFLOW FOR PEEK */
/* ============================= */

.elementor-widget-image-carousel,
.elementor-widget-image-carousel .elementor-widget-container,
.elementor-widget-image-carousel .elementor-image-carousel-wrapper,
.elementor-widget-image-carousel .swiper,
.elementor-widget-image-carousel .swiper-container {
  overflow: visible !important;
}

/* فضای دو طرف برای Peek */
.elementor-widget-image-carousel .swiper,
.elementor-widget-image-carousel .swiper-container {
  padding-left: 80px !important;
  padding-right: 80px !important;
  box-sizing: border-box;
}


/* ============================= */
/* 2️⃣  DESKTOP BLUR EFFECT */
/* ============================= */

@media (min-width: 1025px) {

  /* حالت پیش‌فرض: همه اسلایدها blur */
  .elementor-widget-image-carousel .swiper-slide img {
/*     filter: blur(6px);
    opacity: 0.55;
    transform: scale(0.95);
    transition: filter 450ms ease, opacity 450ms ease, transform 450ms ease;
    will-change: filter, opacity, transform; */
  }

  /* اسلایدهای نمایان روی دسکتاپ (Active + Next) */
  .elementor-widget-image-carousel .swiper-slide-active img,
  .elementor-widget-image-carousel .swiper-slide-next img {
/*     filter: blur(0);
    opacity: 1;
    transform: scale(1); */
  }

  /* اسلاید قبلی کمی کمتر تار */
  .elementor-widget-image-carousel .swiper-slide-prev img {
/*     filter: blur(3px);
    opacity: 0.75;
    transform: scale(0.97); */
  }

}

a.cz_post_author_avatar, div.codevz-account-avatar img {
    display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    margin: 0px 0;
    padding: 60px 60px;
	background-color: #2c3e24;
}

.woocommerce div.product form.cart .button {
    width: auto!important;
}

.codevz-woo-assistance {
	border-radius: 0!important
}

.woocommerce div.product form.cart .variations .label label {
    width: max-content;
}

.codevz-variations-button label.xtra-image-swatch img {
    width: 30px!important;
    height: 30px!important;
}

label.xtra-image-swatch {
    width: 30px !important;
    height: 30px !important;
    outline: none !important;
}

.woocommerce div.product form.cart .variations .codevz-variations label {
	margin: 0 10px 0px 0!important;
	background-color: transparent!important;
	padding: 2px;
    border-width: 2px;
	border-radius: 50% !important;
	border: 2px solid #eee;
}

.codevz-variations-button input[type="radio"]:checked + label.xtra-image-swatch {
    box-shadow: none!important;
	border-color: #2b3d23!important;
}

table.variations, table.variations tr {
    margin-bottom: 40px;
	flex-direction: row;
	align-items: center;
    gap: 40px;
}

.cz-products-short-title ul.products li.product .woocommerce-loop-product__title {
    padding-left: 0px;
    padding-right: 0px;
}

.fa-solid.fa-list-check {
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    --fa: "\f046";
}

.woocommerce ul.products li.product:not(.cz_image_zoom_out,.cz_image_zoom_in,.cz_image_no_fx):hover a img {
    transform: unset;
}

.social-buttons__btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}





/* مهم: برای نمایش متن کنار عکس */
	label.xtra-image-swatch {
		position: relative;
		overflow: visible !important;
	}

	/* متن کنار سواچ فقط وقتی انتخاب شده */
	.codevz-variations-button input[type="radio"] + label.xtra-image-swatch::after {
		content: attr(data-title);
		position: absolute;
		top: calc(100% + 10px);
		right: 50%;
		transform: translateX(50%) translateY(-6px);
		opacity: 0;
		visibility: hidden;
		white-space: nowrap;
		background: #2b3d23;
		color: #fff;
		font-size: 12px;
		line-height: 1;
		padding: 7px 10px;
		border-radius: 20px;
		pointer-events: none;
		transition: all .25s ease;
		z-index: 20;
	}

	/* فلش کوچیک کنار باکس متن */
	.codevz-variations-button input[type="radio"] + label.xtra-image-swatch::before {
		content: "";
		position: absolute;
		top: calc(100% + 1px);
		right: calc(40% + 0px);
		transform: rotate(90deg);
		opacity: 0;
		visibility: hidden;
		border-top: 6px solid transparent;
		border-bottom: 6px solid transparent;
		border-right: 6px solid #2b3d23;
		transition: all .25s ease;
		z-index: 19;
	}

	/* فقط مورد انتخاب شده متنش نمایش داده شود */
	.codevz-variations-button input[type="radio"]:checked + label.xtra-image-swatch::after,
	.codevz-variations-button input[type="radio"]:checked + label.xtra-image-swatch::before {
		opacity: 1;
		visibility: visible;
	}

	.codevz-variations-button input[type="radio"]:checked + label.xtra-image-swatch::after {
		transform: translateX(50%) translateY(0);
	}