@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//ctrl-sbeauty.com/wp-content/themes/woodmart/fonts/woodmart-font-3-300.woff2?v=8.3.7.1") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//ctrl-sbeauty.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//ctrl-sbeauty.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//ctrl-sbeauty.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//ctrl-sbeauty.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//ctrl-sbeauty.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//ctrl-sbeauty.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//ctrl-sbeauty.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//ctrl-sbeauty.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "فونت فارسی", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 15px;
	--wd-title-font: "فونت فارسی", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "فونت فارسی", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "فونت فارسی", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "فونت فارسی", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "فونت فارسی", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: #d60644;
	--wd-alternative-color: rgb(31,174,196);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #d60644;
	--btn-accented-bgcolor-hover: #c40545;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 233px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
html .wd-dropdown-menu.wd-design-sized .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu > li > a, html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title, html .wd-product .price, html .wd-product .price > .amount, html .wd-product .price ins > .amount, html .product.wd-product del, html .product.wd-product del .amount, html .product.wd-cat .wd-cat-count, html .product.wd-cat.cat-design-replace-title .wd-cat-count, html .product-image-summary-wrap .summary-inner > .price, html .product-image-summary-wrap .summary-inner > .price > .amount, html .product-image-summary-wrap .summary-inner > .price > .price > .amount, html .product-image-summary-wrap .summary-inner > .price ins .amount, html .wd-single-price .price, html .wd-single-price .price > .amount, html .wd-single-price .price > ins .amount, html .product-image-summary-wrap .summary-inner > .price del, html .product-image-summary-wrap .summary-inner > .price del .amount, html .wd-single-price .price del .amount, html .product-image-summary-wrap .variations_form .woocommerce-variation-price .price > .amount, html .product-image-summary-wrap .variations_form .woocommerce-variation-price .price > ins .amount, html .wd-single-add-cart .variations_form .woocommerce-variation-price .price > .amount, html .wd-single-add-cart .variations_form .woocommerce-variation-price .price > ins .amount, html .product-image-summary-wrap .variations_form .woocommerce-variation-price > .price del, html .product-image-summary-wrap .variations_form .woocommerce-variation-price > .price del .amount, html .wd-single-add-cart .variations_form .woocommerce-variation-price > .price del, html .wd-single-add-cart .variations_form .woocommerce-variation-price > .price del .amount, html .wd-product-nav-desc .price > .amount, html .wd-product-nav-desc .price > ins .amount, html .wd-product-nav-desc .price > ins .amount, html .product-quick-view  .summary-inner > .price > .amount, html .product-quick-view .summary-inner > .price > ins .amount, html .product-quick-view  .summary-inner > .price del, html .product-quick-view  .summary-inner > .price del .amount, html .product-quick-view  .variations_form .woocommerce-variation-price .price > .amount, html .product-quick-view .variations_form .woocommerce-variation-price .price > ins .amount, html .product-quick-view  .variations_form .woocommerce-variation-price > .price del, html .product-quick-view .variations_form .woocommerce-variation-price > .price del .amount, html .wd-carousel .wd-carousel-item .post.wd-post .wd-entities-title, html .widget-area .widget .price > .amount, html .widget-area .widget .price > ins .amount, html .widget-area .widget .price > ins .amount, html table th {
	font-family: "فونت فارسی", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 16px;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}
.woocommerce-product-gallery {
	--wd-gallery-gap: 10px;
}
:root{
--wd-container-w: 1600px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}


rs-slides :is([data-type=text],[data-type=button]) {
font-family: فونت فارسی !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: فونت فارسی !important;
}

.wd-page-title {
background-color: #e8e8e8;
}

@font-face {
	font-family: "فونت فارسی";
	src: url("//ctrl-sbeauty.com/wp-content/uploads/2026/10/PARASTOO.ttf") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "فونت انگلیسی";
	src: url("//ctrl-sbeauty.com/wp-content/uploads/2026/10/FEDERO-REGULAR-1.ttf") format("woff");
	font-weight: 400;
	font-style: normal;
}

.promo-banner .banner-image img {
    border-radius: 15px;
}
.product-grid-item .product-image-link {
    display: block;
    padding: 20px;
}
.labels-rectangular .product-label {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 15px;
    margin-right: 5px;
}
.product_title {
    font-weight: 800;
}
.title-line-two .product-grid-item .wd-entities-title {
    max-height: 39px;
    min-height: 39px;
    font-weight: 800;
    font-size: 14px;
    line-height: 20px;
}
.woocommerce-Price-currencySymbol {
	font-weight: 800;
}
.entry-content.wd-entry-content {
	min-height: 70px;
}
.wd-header-cats.wd-style-1 .menu-opener {
    min-width: 200px !important;
}
.cosmetic-cat .main-wrapp-img:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    background: linear-gradient(180deg,transparent,#000);
    top: 85px;
    right: 0;
    z-index: 1;
    opacity: .8;
}
.cosmetic-cat .promo-banner .content-banner {
    position: relative;
    width: 100%;
    max-width: var(--content-width);
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-direction: row;
    align-items: center;
}
.cosmetic-cat .promo-banner .banner-btn-wrapper {
    margin-top: 0;
}
.mag-roja .wd-post.blog-style-bg .article-body-container {
    background-color: #ff096a !important;
    padding: 10px 10px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
		min-height: 53px !important;
}
.mag-roja .wd-entities-title {
    color: #fff;
	font-size: 12px !important;
	text-align: right;
}
.mag-roja .read-more-section a {
    color: #ff096a !important;
    font-size: 11px !important;
    background: #ffffff;
    padding: 8px 10px;
    border-radius: 5px;
}
.mag-roja .read-more-section {
  margin-top: 0px;
	min-width: 76px;
}
.mag-roja .wd-carousel-item .post.wd-post .post-title {
    margin-bottom: 0;
}
.mag-roja .wd-entities-title a:hover {
    color: #fff;
}

/* فقط تصاویر تامبنیل داخل بخش تصاویر و گالری مخفی شوند */
.woocommerce-product-gallery img.attachment-woocommerce_thumbnail {
    display: none !important;
}

/* برای محکم‌کاری: سواچ‌ها همیشه نمایش داده شوند */
.wd-swatches-product img,
.woodmart-swatch img,
.swatches-select img,
.wd-swatch img {
    display: inline-block !important;
}

/* حذف سواچ‌ها از روی کارت محصولات در گرید و صفحه اصلی */
.product-grid-item .wd-swatches-grid,
.product-grid-item .woodmart-swatch,
.product.wd-hover-base .wd-swatches-product {
    display: none !important;
}

/* اصلاح نمایش عنوان‌های طولانی در کارت محصول */
.product-grid-item .wd-entities-title,
.product-grid-item .woocommerce-loop-product__title,
.product-grid-item .product-title {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    -webkit-line-clamp: unset !important;
    text-overflow: unset !important;
    line-height: 1.4 !important;
    font-size: 14px !important; /* سایز عنوان برای زیبایی کارت در دو خط */
    margin-bottom: 8px !important;
}

/* حذف افکت فید و محوشدگی پایین عنوان */
.product-grid-item .wd-entities-title:after,
.product-grid-item .woocommerce-loop-product__title:after {
    display: none !important;
}



/* حذف فلش پیش‌فرض در مرورگرها */
.ctrl-s-accordion-summary::-webkit-details-marker {
    display: none;
}

/* اضافه کردن آیکون مثبت/منفی شیک با فونت */
.ctrl-s-accordion-summary::after {
    content: '+';
    font-size: 18px;
    font-weight: bold;
    color: #666;
    transition: transform 0.2s ease;
}

.ctrl-s-accordion-desc[open] .ctrl-s-accordion-summary::after {
    content: '−';
}

.ctrl-s-accordion-content {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e5e5e5;
    font-size: 13.5px;
    line-height: 1.8;
    color: #555;
}

/* بزرگ کردن لوگو در موبایل */
@media (max-width: 1024px) {
    .site-logo img, 
    .woodmart-logo img {
        max-height: 80px !important; /* ارتفاع لوگو در موبایل را اینجا بیشتر کردیم (پیش‌فرض معمولاً حدود 35 یا 40 است) */
        width: auto !important;
    }
    
    /* تنظیم هدر موبایل برای جا دادن لوگوی بزرگتر */
    header.main-header .mobile-logo img,
    .wd-header-mobile .site-logo img {
        max-height: 60px !important;
    }
}

/* ۱. تیره‌تر و سیاه‌تر کردن رنگ تمام متن‌ها در کل سایت */
body, 
p, 
span, 
div, 
li, 
a, 
input, 
textarea, 
.wd-entities-title, 
.product-title, 
.woocommerce-loop-product__title, 
.summary, 
.price {
    color: #1a1a1a !important; /* رنگ مشکی عمیق به جای خاکستری کدر قالب */
}

/* ۲. ضخیم‌تر کردن وزن قلم در متن‌های عادی و توضیحات */
body, 
p, 
.khanoumi-desc-content, 
.ctrl-s-accordion-content, 
.woocommerce-product-details__short-description {
    font-weight: 500 !important; /* یک پله پررنگ‌تر از حالت عادی 400 */
}

/* ۳. پررنگ‌تر و بولدتر کردن عناوین و قیمت‌ها */
h1, h2, h3, h4, h5, h6, 
.product-title, 
.wd-entities-title, 
.price, 
.amount {
    font-weight: 700 !important; /* بولد و واضح */
    color: #111111 !important;
}

/* تنظیم فاصله استاندارد برای محتوای تب توضیحات محصول */
.woocommerce-Tabs-panel--description {
    padding-right: 25px !important;
    padding-left: 25px !important;
    box-sizing: border-box;
}

/* فاصله داخلی برای عناوین، پاراگراف‌ها و لیست‌های داخل تب */
.woocommerce-Tabs-panel--description p,
.woocommerce-Tabs-panel--description h2,
.woocommerce-Tabs-panel--description h3,
.woocommerce-Tabs-panel--description ul,
.woocommerce-Tabs-panel--description ol {
    margin-right: 0 !important;
    padding-right: 0 !important;
    line-height: 1.9 !important; /* بهبود خوانایی خطوط فارسی */
}

/* بهینه‌سازی اختصاصی برای موبایل و تبلت */
@media (max-width: 768px) {
    .woocommerce-Tabs-panel--description {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
}

/* نمایش و زیباسازی عناوین سکشن‌های محصول در موبایل */
@media (max-width: 468px) {
    /* اجبار به نمایش عناوین و رفع پنهان‌سازی */
    .elementor-element.elementor-hidden-mobile,
    .title-wrapper,
    .wd-title-style-default,
    .elementor-widget-heading {
        display: block !important;
    }

    /* طراحی شیک و تمیز برای عناوین باکس‌ها در موبایل */
    .title-wrapper .liner-continer,
    .elementor-widget-heading .elementor-heading-title,
    .wd-title-style-default .woodmart-title-container {
        font-size: 14px !important;
        font-weight: 700 !important;
        text-align: right !important;
        padding-right: 10px !important;
        position: relative;
        margin-bottom: 8px !important;
        color: #222 !important;
    }

    /* اضافه کردن یک خط عمودی ظریف و شیک کنار عنوان (مشابه دیجی‌کالا) */
    .title-wrapper .liner-continer::before,
    .elementor-widget-heading .elementor-heading-title::before,
    .wd-title-style-default .woodmart-title-container::before {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 14px;
        background-color: #e91e63; /* رنگ تم متناسب برند (می‌توانید به رنگ دلخواه تغییر دهید) */
        border-radius: 2px;
    }

    /* حذف خطوط افقی پهن و شلوغ دسکتاپ که در موبایل جا نمی‌شوند */
    .title-wrapper .title-line {
        display: none !important;
    }
	.title-wrapper img,
    .woodmart-title-container img,
    .wd-title-style-default img,
    .title-after-title img,
    .title-subtitle img {
        max-width: 28px !important;    /* حداکثر عرض تصویر */
        max-height: 28px !important;   /* حداکثر ارتفاع تصویر */
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        vertical-align: middle !important;
        margin-left: 6px !important;    /* فاصله از متن عنوان */
        margin-bottom: 0 !important;
    }

    /* اگر تصویر با ویجت تصویر یا آیکون باکس المنتور کنار عنوان گذاشته شده */
    .elementor-widget-image img,
    .elementor-image-box-img img {
        max-width: 32px !important;
        height: auto !important;
    }
}

/* باز کردن قفل فلش‌های اسلایدر در ابتدا و انتهای گالری */
.woocommerce-product-gallery .owl-nav .disabled,
.woocommerce-product-gallery .swiper-button-disabled,
.woocommerce-product-gallery .slick-disabled {
    pointer-events: auto !important;
    cursor: pointer !important;
    opacity: 0.8 !important;
}

.ctrl-s-recent-searches {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    z-index: 99999;
    padding: 10px;
    font-size: 13px;
    text-align: right;
}
.ctrl-s-recent-title {
    color: #888;
    font-size: 11px;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}
.ctrl-s-clear-history {
    cursor: pointer;
    color: #d9534f;
}
.ctrl-s-clear-history:hover {
    text-decoration: underline;
}
.ctrl-s-recent-item {
    display: inline-block;
    background: #f4f4f4;
    color: #333;
    padding: 4px 10px;
    border-radius: 14px;
    margin: 3px;
    text-align: right;
    text-decoration: none;
    transition: 0.2s;
}
.ctrl-s-recent-item:hover {
    background: #e2e2e2;
    color: #000;
}

/* تغییر رنگ متن درصد تخفیف به سفید در وودمارت */
.wd-product .product-labels .onsale, 
.product-grid-item .onsale,
.wd-labels-round .onsale {
    color: #ffffff !important;
}

/* متن «مشاهده» */
span.wd-btn-text[data-elementor-setting-key="text"] {
    color: #fff !important;
}

/* فلشِ آیکونی دکمه */
span.wd-btn-text[data-elementor-setting-key="text"] + *,
span.wd-btn-text[data-elementor-setting-key="text"] ~ * {
    color: #fff !important;
    fill: #fff !important;
    stroke: #fff !important;
}
span.wd-btn-text[data-elementor-setting-key="text"]::before,
span.wd-btn-text[data-elementor-setting-key="text"]::after {
    color: #fff !important;
    border-color: #fff !important;
}

/* جاستیفای کردن متن توضیحات محصول ووکامرس */
.woocommerce-product-details__short-description,
.woocommerce-Tabs-panel--description {
    text-align: justify;
    text-justify: inter-word;
}
