/*
	Theme Name: Lumera Child
	Theme URI: http://www.enovathemes.com/lumera
	Template: lumera
	Description: Lumera - Electronics Store Woocommerce WordPress Theme
	Author: Enovathemes
	Author URI: http://www.enovathemes.com
	Version: 1.0
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
	Tested up to: 7.0
	Requires PHP: 8.0
	Tags: one-column, two-columns, right-sidebar, editor-style, featured-images, post-formats, translation-ready
	Text Domain: lumera
	Copyright 2026 Enovathemes.com
	This theme is licensed under the GPL v2 or later.
*/

/* =Theme customization starts here
-------------------------------------------------------------- */
/* Dynamic ----- */
/* ===== رنگ‌های سفارشی ===== */

:root,
html:root,
html body {
    --e-global-color-primary: #c12026 !important;   /* رنگ اصلی دکمه‌ها و لینک‌ها */
    --t-color-success: #00ff66 !important;          /* دکمه‌های سبز (مینی‌کارت، خرید سریع) */
    --swiper-theme-color: #c12026 !important;       /* فلش و نقطه اسلایدر */
}

/* دکمه‌های فروشگاه (مستقیم، بدون وابستگی به متغیر) */
html body .woo-loop-product__footer .button,
html body .woo-loop-product__footer .added_to_cart,
html body .single_add_to_cart_button,
html body .add_to_cart_all,
html body .buy-now-button,
html body .woocommerce-mini-cart__buttons a,
html body .wc-block-cart__submit-container > a,
html body .wc-proceed-to-checkout a,
html body .woocommerce-Button,
html body .et__button,
html body button[type="submit"],
html body input[type="submit"] {
    background-color: #c12026 !important;
    color: #fff !important;
}

/* رنگ هنگام hover */
html body .woo-loop-product__footer .button:hover,
html body .woo-loop-product__footer .added_to_cart:hover,
html body .single_add_to_cart_button:hover,
html body .add_to_cart_all:hover,
html body .buy-now-button:hover,
html body .woocommerce-mini-cart__buttons a:hover,
html body .wc-block-cart__submit-container > a:hover,
html body .wc-proceed-to-checkout a:hover,
html body .woocommerce-Button:hover,
html body .et__button:hover,
html body button[type="submit"]:hover,
html body input[type="submit"]:hover {
    background-color: #960a00 !important;
    color: #fff !important;
}



.to-top{
	display:none !important;
}





/* ====== تیتر محصولات (شامل لینک‌های داخل تیتر) ====== */
.product_title,
.entry-title,
.woocommerce-loop-product__title,
.woocommerce-loop-product__title a,
.woocommerce-loop-product__link h2,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product h2 a,
.woocommerce ul.products li.product h3 a,
.product-title,
.product-title a,
.product-name,
.product-name a,
.product_title a,
.entry-title a,
h2.product-title a,
h3.product-title a,
.wd-entities-title,
.wd-entities-title a,
.name.product-title a,
.title-wrapper a {
    font-family: 'آراد لایت', sans-serif !important;
}


/* ====== قیمت خط‌خورده زیر قیمت فعلی ====== */
.price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
    display: flex !important;
    flex-direction: column-reverse !important; /* قیمت فعلی بالا، خط‌خورده پایین */
    align-items: flex-start !important;
    gap: 2px;
}

/* قیمت خط‌خورده (قدیمی) */
.price del,
.woocommerce div.product p.price del,
.woocommerce ul.products li.product .price del {
    display: block !important;
    margin: 0 !important;
    font-size: 0.85em;
    opacity: 0.6;
    text-decoration: line-through;
}

/* قیمت فعلی */
.price ins,
.woocommerce div.product p.price ins,
.woocommerce ul.products li.product .price ins {
    display: block !important;
    margin: 0 !important;
    text-decoration: none;
    font-weight: 700;
}






/* ====== بقیه المان‌های صفحه تک محصول: آرادلایت ====== */

/* تب‌ها (توضیحات / توضیحات تکمیلی / دیدگاه‌ها) */
.woocommerce-tabs ul.tabs li a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
ul.wc-tabs li a {
    font-family: 'Aradlight', sans-serif !important;
    font-weight: 400 !important;
}

/* عنوان بخش‌ها: محصولات مرتبط / همچنین ممکن است دوست داشته باشید */
.related.products > h2,
.up-sells.upsells.products > h2,
.cross-sells > h2,
.upsells > h2,
.related > h2,
.woocommerce div.product .related > h2,
.woocommerce div.product .up-sells > h2,
.woocommerce-tabs h2 {
    font-family: 'Aradlight', sans-serif !important;
    font-weight: 500 !important;
}

/* همه المان‌های داخل صفحه تک محصول */
.single-product div.product,
.single-product div.product p,
.single-product div.product span,
.single-product div.product li,
.single-product div.product a,
.single-product div.product td,
.single-product div.product th,
.single-product div.product label,
.single-product div.product button,
.single-product div.product input,
.single-product div.product select,
.single-product div.product textarea,
.single-product div.product h1,
.single-product div.product h2,
.single-product div.product h3,
.single-product div.product h4,
.single-product div.product .price,
.single-product div.product .price *,
.single-product div.product .woocommerce-Price-amount,
.single-product div.product .woocommerce-Price-currencySymbol,
.single-product div.product .product_meta,
.single-product div.product .product_meta *,
.single-product div.product .quantity input,
.single-product div.product .single_add_to_cart_button,
.single-product div.product table.shop_attributes th,
.single-product div.product table.shop_attributes td,
.single-product div.product #reviews,
.single-product div.product #reviews *,
.single-product div.product .comment-form *,
.single-product div.product .woocommerce-breadcrumb,
.single-product .woocommerce-breadcrumb a {
    font-family: 'آرادلایت', sans-serif !important;
}

/* محصولات مرتبط و آپ‌سل: تیتر و قیمت کارت‌ها */
.single-product .related.products li.product *,
.single-product .upsells.products li.product *,
.single-product .up-sells.products li.product * {
    font-family: 'آرادلایت', sans-serif !important;
}





/* ====== توضیحات اصلی محصول: آرادلایت 500 ====== */
#tab-description,
.woocommerce-Tabs-panel--description {
    font-family: 'Aradlight', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
    direction: rtl;
    text-align: right;
}

/* همه عناصر داخل توضیحات */
#tab-description p,
#tab-description li,
#tab-description span,
#tab-description strong,
#tab-description b,
#tab-description a,
#tab-description td,
#tab-description th,
.woocommerce-Tabs-panel--description p,
.woocommerce-Tabs-panel--description li,
.woocommerce-Tabs-panel--description span {
    font-family: 'آرادلایت', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
}

/* عنوان «توضیحات» */
#tab-description h2,
#tab-description h3,
#tab-description h4,
.woocommerce-Tabs-panel--description h2,
.woocommerce-Tabs-panel--description h3 {
    font-family: 'آرادلایت', sans-serif !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    margin: 0 0 10px !important;
}

/* فاصله پاراگراف‌ها */
#tab-description p {
    margin: 0 0 10px !important;
    text-align: justify;
}
#tab-description p:last-child {
    margin-bottom: 0 !important;
}
#tab-description p:empty {
    display: none !important;
}




/* ====== توضیحات کوتاه: جمع‌وجور، یکدست، آرادلایت 400 ====== */

/* فقط لایه بیرونی (تو در تو بودن div ها باعث دوبرابر شدن فاصله نشه) */
.woocommerce-product-details__short-description {
    font-family: 'Aradlight', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    direction: rtl;
    text-align: right;
}

/* div های تو در تو: بدون هیچ فاصله اضافه */
.woocommerce-product-details__short-description .woocommerce-product-details__short-description {
    margin: 0 !important;
    padding: 0 !important;
}

/* عنوان داخل توضیحات (h2) هم‌اندازه متن */
.woocommerce-product-details__short-description h1,
.woocommerce-product-details__short-description h2,
.woocommerce-product-details__short-description h3,
.woocommerce-product-details__short-description h4 {
    font-family: 'آرادلایت', sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.7 !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
}

/* پاراگراف‌ها */
.woocommerce-product-details__short-description p {
    font-family: 'آرادلایت', sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.7 !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    text-align: right;
}

/* بولد و span هم هم‌وزن و هم‌اندازه (رنگ قرمز حفظ می‌شود) */
.woocommerce-product-details__short-description strong,
.woocommerce-product-details__short-description b,
.woocommerce-product-details__short-description span,
.woocommerce-product-details__short-description a {
    font-family: 'آرادلایت', sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

/* پاراگراف خالی و فاصله‌های اضافه */
.woocommerce-product-details__short-description p:empty {
    display: none !important;
}

/* ویشلیست و تعداد نباید فاصله اضافه بسازند */
.woocommerce-product-details__short-description .yith-wcwl-add-to-wishlist,
.woocommerce-product-details__short-description .quantity:empty {
    margin: 0 !important;
}




  
/* ===== کوچک کردن و غیرچسبنده کردن گالری محصول ===== */
.single-product div.product div.images,
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary,
.single-product div.product .entry-summary {
    position: relative !important;
    top: auto !important;
    align-self: flex-start !important;
}

/* سایز ستون عکس */
.single-product div.product div.images,
.single-product div.product .woocommerce-product-gallery {
    width: 80% !important;
    max-width: 900px !important;
}

/* محدود کردن ارتفاع عکس */
.single-product .woocommerce-product-gallery__image img.wp-post-image {
    max-height: 900px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto;
    display: block;
}

*/

/* موبایل */
@media (max-width: 768px) {
    .single-product div.product div.images,
    .single-product div.product .woocommerce-product-gallery {
        width: 100% !important;
        max-width: 100% !important;
    }
}
.single-product .product_meta {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #888;
}

.single-product .product_meta .posted_in,
.single-product .product_meta .tagged_as {
    display: block;
    margin-bottom: 12px;
}

.single-product .product_meta .posted_in a,
.single-product .product_meta .tagged_as a {
    display: inline-block;
    padding: 4px 12px;
    margin: 3px 0 3px 4px;
    background: #f4f4f4;
    color: #333;
    border-radius: 20px;
    text-decoration: none;
    transition: all .2s;
}

.single-product .product_meta .posted_in a:hover,
.single-product .product_meta .tagged_as a:hover {
    background: #e63946;
    color: #fff;
}
/* هر دو فلش سمت چپ */
.swiper-button-prev,
.swiper-button-next {
    right: auto !important;
    top:  !important;          /* بالای اسلایدر؛ اگه خواستی پایین‌تر بیاد عددش رو زیاد کن */
    margin-top:  !important;
    transform: none !important;
}

.swiper-button-next {
    left: 0 !important;
}

.swiper-button-prev {
    left: 50px !important;      /* فاصله بین دو فلش، به اندازه‌ی عرض دکمه + کمی فاصله */
}















/* ===== شماره تلفن: کادر سفید + پالس + لرزش آیکون ===== */
.elementor-element-dec9f78 .et__icon-box {
    width:auto;
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    padding: 10px 10px;
    border: 2px solid #fff;
    border-radius: 50px;
    color: #000;
    cursor: pointer;
    overflow: visible;
    animation: phonePulse 2.2s ease-out infinite;
}

/* لینک کل کادر رو کلیک‌پذیر کنه */
.elementor-element-dec9f78 .et__icon-box > a {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: 50px;
}

/* آیکون گوشی با انیمیشن زنگ خوردن */
.elementor-element-dec9f78 .et__icon-box .icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-color: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497.4 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.7 370.7 0 0 1 130.6 204.1l60.6-49.6a23.9 23.9 0 0 0 6.9-28l-48-112A24.2 24.2 0 0 0 122.6.6L18.6 24.6A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.3 24.3 0 0 0-14-27.6z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497.4 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.7 370.7 0 0 1 130.6 204.1l60.6-49.6a23.9 23.9 0 0 0 6.9-28l-48-112A24.2 24.2 0 0 0 122.6.6L18.6 24.6A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.3 24.3 0 0 0-14-27.6z'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: phoneRing 2.2s ease-in-out infinite;
    transform-origin: 50% 50%;
}

/* متن شماره */
.elementor-element-dec9f78 .icon-box-title {
    margin: 0 !important;
    color: #000 !important;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    direction: ltr;
}

/* حلقه‌ی پالس سفید که از کادر بیرون میاد */
@keyframes phonePulse {
    0%   { box-shadow: 0 0 0 0 rgba(1, 1, 1, .55); }
    70%  { box-shadow: 0 0 0 18px rgba(1, 1, 1, 0); }
    100% { box-shadow: 0 0 0 0 rgba(1, 1, 1, 0); }
}

/* لرزش گوشی: چند بار می‌لرزه، بعد استراحت */
@keyframes phoneRing {
    0%, 55%, 100% { transform: rotate(0) scale(1); }
    8%  { transform: rotate(-18deg) scale(1.12); }
    16% { transform: rotate(16deg) scale(1.12); }
    24% { transform: rotate(-14deg) scale(1.1); }
    32% { transform: rotate(12deg) scale(1.1); }
    40% { transform: rotate(-8deg) scale(1.05); }
    48% { transform: rotate(6deg) scale(1.02); }
}

/* هاور: کادر سفید پر می‌شه */
.elementor-element-dec9f78 .et__icon-box:hover {
    background: #fff;
    animation-play-state: paused;
}

.elementor-element-dec9f78 .et__icon-box:hover .icon {
    background-color: #111;
}

.elementor-element-dec9f78 .et__icon-box:hover .icon-box-title {
    color: #111 !important;
}

@media (prefers-reduced-motion: reduce) {
    .elementor-element-dec9f78 .et__icon-box,
    .elementor-element-dec9f78 .et__icon-box .icon { animation: none; }
}





/* ======================================
   1. بدنه منوی کناری و اسکرول
====================================== */

/* محدوده ویجت دسته‌بندی */
aside.fixed-widgets.widget-area.active
#woocommerce_product_categories-1 {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
}

/* عنوان ویجت ثابت */
#woocommerce_product_categories-1 > .widget_title {
    flex-shrink: 0;
    margin-bottom: 12px;
}

/* فقط لیست اصلی اسکرول بخورد */
#woocommerce_product_categories-1 > ul.product-categories {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);

    overflow-y: auto !important;
    overflow-x: hidden !important;

    padding: 4px 5px 10px 7px;
    margin: 0;
    box-sizing: border-box;

    scrollbar-width: thin;
    scrollbar-color: #D8B82F #F7F5EB;
    overscroll-behavior: contain;
}

/* اسکرول بار کروم و اج */
#woocommerce_product_categories-1 > ul.product-categories::-webkit-scrollbar {
    width: 6px;
}

#woocommerce_product_categories-1 > ul.product-categories::-webkit-scrollbar-track {
    background: #F7F5EB;
    border-radius: 10px;
}

#woocommerce_product_categories-1 > ul.product-categories::-webkit-scrollbar-thumb {
    background: #D8B82F;
    border-radius: 10px;
    border: 1px solid #F7F5EB;
}

#woocommerce_product_categories-1 > ul.product-categories::-webkit-scrollbar-thumb:hover {
    background: #B99712;
}


/* ======================================
   2. دسته‌های اصلی
   چه parent باشند چه نباشند
====================================== */

#woocommerce_product_categories-1
> ul.product-categories > li.cat-item {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;

    width: 100% !important;
    box-sizing: border-box;

    margin: 0 0 10px !important;
    padding: 0 !important;

    list-style: none !important;
}

/* تمام دسته‌های سطح اول زرد */
#woocommerce_product_categories-1
> ul.product-categories > li.cat-item > a {
    display: block !important;

    flex: 1 1 0%;
    min-width: 0;
    width: auto !important;
    box-sizing: border-box;

    background: linear-gradient(
        135deg,
        #FFE36A,
        #FFD32A
    ) !important;

    color: #252525 !important;

    border: 1px solid rgba(210,163,0,.45) !important;
    border-radius: 8px !important;

    padding: 12px 14px !important;
    margin: 0 !important;

    font-weight: 800 !important;
    font-size: 13px;
    line-height: 1.9;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.75),
        0 2px 6px rgba(0,0,0,.045) !important;

    transition: background .2s ease,
                border-color .2s ease;
}

/* هاور دسته اصلی */
#woocommerce_product_categories-1
> ul.product-categories > li.cat-item > a:hover {
    background: #FFCC19 !important;
    border-color: #E7BF24 !important;
}


/* ======================================
   3. فلش و شمارنده دسته اصلی
====================================== */

#woocommerce_product_categories-1
> ul.product-categories > li.cat-item > .cat-toggle {
    flex: 0 0 auto;
    margin-right: 5px;
}

#woocommerce_product_categories-1
> ul.product-categories > li.cat-item > .count {
    flex: 0 0 auto;
    margin-right: 5px;

    color: #755A00;
    font-size: 11px;
    direction: ltr;
}


/* ======================================
   4. زیر دسته‌ها همیشه باز
====================================== */

/* ظرف زیر دسته مستقیم */
#woocommerce_product_categories-1
> ul.product-categories > li.cat-item > ul.children {
    margin: 9px 0 0 !important;
    padding: 5px 12px 5px 0 !important;

    border-right: 2px solid #F0D45C;
    background: transparent !important;
}


/* ======================================
   5. آیتم‌های زیر دسته
====================================== */

#woocommerce_product_categories-1
ul.children > li.cat-item {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;

    width: 100%;
    box-sizing: border-box;

    margin: 4px 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

/* کارت زیر دسته */
#woocommerce_product_categories-1
ul.children > li.cat-item > a {
    display: block !important;

    flex: 1 1 0%;
    min-width: 0;
    width: auto !important;
    box-sizing: border-box;

    padding: 8px 11px !important;
    margin: 0 !important;

    background: #FFFFFF !important;
    color: #414141 !important;

    border: 1px solid #EAE7D8 !important;
    border-radius: 6px !important;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.9;

    box-shadow: 0 1px 3px rgba(0,0,0,.025) !important;

    transition: background .2s ease,
                border-color .2s ease,
                color .2s ease;
}

/* هاور زیر دسته */
#woocommerce_product_categories-1
ul.children > li.cat-item > a:hover {
    background: #FFF9E6 !important;
    color: #9B7200 !important;
    border-color: #EBD16B !important;
}

/* شمارنده زیر دسته */
#woocommerce_product_categories-1
ul.children > li.cat-item > .count {
    flex: 0 0 auto;
    margin-right: 7px;

    font-size: 11px;
    color: #96917F;
    direction: ltr;
}


/* ======================================
   6. زیر دسته‌های تو در تو
====================================== */

#woocommerce_product_categories-1
ul.children ul.children {
    margin: 5px 0 !important;
    padding: 4px 12px 4px 0 !important;

    border-right: 1px dashed #DCD6C0;
    background: transparent !important;
}

#woocommerce_product_categories-1
ul.children ul.children > li.cat-item {
    margin: 3px 0 !important;
}


/* اولویت نمایش دسته‌های دارای زیرمنو */
#woocommerce_product_categories-1
> ul.product-categories {
    display: flex !important;
    flex-direction: column;
}

/* دسته‌های دارای زیر دسته */
#woocommerce_product_categories-1
> ul.product-categories > li.cat-item.cat-parent {
    order: -1;
}

/* دسته‌های بدون زیر دسته */
#woocommerce_product_categories-1
> ul.product-categories > li.cat-item:not(.cat-parent) {
    order: 1;
}
#woocommerce_product_categories-1 > ul.product-categories > li.cat-item-5917 {
    display: none !important;
}
/* کارت دسته‌بندی */
li.product-category > a,
.product-category > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: linear-gradient(145deg, #ffffff 0%, #f4f7fb 55%, #eaf1fb 100%);
  box-shadow:
    0 2px 6px rgba(20, 40, 80, 0.05),
    0 10px 24px rgba(20, 40, 80, 0.08);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
  text-decoration: none;
}

/* افکت هاور */
li.product-category > a:hover,
.product-category > a:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 100, 220, 0.25);
  box-shadow:
    0 4px 10px rgba(20, 40, 80, 0.08),
    0 18px 36px rgba(30, 100, 220, 0.16);
}

/* تصویر */
.product-category > a img {
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(20, 40, 80, 0.10);
  transition: transform .4s ease;
}
.product-category > a:hover img {
  transform: scale(1.05);
}

/* عنوان */
.woocommerce-loop-category__title {
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 !important;
  padding: 0 !important;
  color: #1f2a3c;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* تعداد محصولات */
.woocommerce-loop-category__title .count {
  background: rgba(30, 100, 220, 0.10);
  color: #1e64dc;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 8px;
  border-radius: 20px;
}

/* موبایل */
@media (max-width: 600px) {
  .woocommerce-loop-category__title { font-size: 12px !important; }
  .product-category > a { padding: 10px 8px 12px; border-radius: 14px; }
}


@property --rk-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.et__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
  font-size: 13px;
}

/* هر آیتم (لینک‌ها و آیتم آخر) */
.et__breadcrumbs > a,
.et__breadcrumbs > span:not(.arrow) {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  color: #1f2a3c;
  background: linear-gradient(145deg, #ffffff, #eef3fb);
  box-shadow: 0 4px 12px rgba(20, 40, 80, 0.08);
  z-index: 0;
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease;
}

/* بوردر چرخان */
.et__breadcrumbs > a::before,
.et__breadcrumbs > span:not(.arrow)::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--rk-angle),
    transparent 0%,
    #1e64dc 15%,
    #7aa8ff 30%,
    transparent 45%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: rk-spin 3s linear infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes rk-spin {
  to { --rk-angle: 360deg; }
}

/* هاور */
.et__breadcrumbs > a:hover {
  transform: translateY(-2px);
  color: #1e64dc;
  box-shadow: 0 8px 18px rgba(30, 100, 220, 0.18);
}

/* آیتم آخر (صفحه فعلی) */
.et__breadcrumbs > span:not(.arrow):last-child {
  background: linear-gradient(145deg, #eaf1fb, #dce8fa);
  color: #1e64dc;
}

/* فلش بین آیتم‌ها */
.et__breadcrumbs .arrow {
  width: 7px;
  height: 7px;
  border-top: 2px solid #9aa9c0;
  border-right: 2px solid #9aa9c0;
  transform: rotate(45deg);
}

/* موبایل */
@media (max-width: 600px) {
  .et__breadcrumbs { font-size: 12px; gap: 6px; }
  .et__breadcrumbs > a,
  .et__breadcrumbs > span:not(.arrow) { padding: 6px 12px; }
}
.title-section .page-title {
  position: relative;
  display: inline-block;
  margin: 0 0 6px;
  padding: 0 14px 0 0;          /* فاصله برای نوار کناری (راست‌چین) */
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
  background: linear-gradient(90deg, #1f2a3c 0%, #1e64dc 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #1f2a3c;               /* فال‌بک */
}

/* نوار رنگی کنار تیتر */
.title-section .page-title::before {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: 0;                     /* برای چپ‌چین: left: 0 */
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #7aa8ff, #1e64dc);
  box-shadow: 0 0 10px rgba(30, 100, 220, 0.35);
}

/* خط ظریف زیر تیتر */
.title-section .page-title::after {
  content: "";
  position: absolute;
  right: 14px;                  /* برای چپ‌چین: left: 14px */
  bottom: -2px;
  width: 40%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(30, 100, 220, 0.5), transparent);
}

/* موبایل */
@media (max-width: 600px) {
  .title-section .page-title {
    font-size: 17px;
    padding-right: 12px;
  }
}



body:not(.woocommerce-shop) #et-content > aside {
    display: none !important;
}
body:not(.woocommerce-shop) #et-content > *:not(aside) {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}