.elementor-14019 .elementor-element.elementor-element-8a26dcd{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-928f14c *//* استایل کلی برای پنل کاربری داخل المنتور */
.elementor-shortcode .woocommerce {
    display: flex;
    gap: 30px;
    font-family: 'Vazir', Tahoma, sans-serif;
}

/* منوی ناوبری */
.elementor-shortcode .woocommerce-MyAccount-navigation {
    flex: 0 0 250px;
    background: #8b0000;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.2);
}

.elementor-shortcode .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elementor-shortcode .woocommerce-MyAccount-navigation li {
    margin-bottom: 8px;
}

/* استایل لینک‌ها */
.elementor-shortcode .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border-right: 4px solid transparent;
    position: relative;
}

/* استایل هنگام hover */
.elementor-shortcode .woocommerce-MyAccount-navigation a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
}

/* استایل برای لینک‌های فعال (هم صفحه فعلی و هم صفحات دیگر بعد از کلیک) */
.elementor-shortcode .woocommerce-MyAccount-navigation li.is-active a,
.elementor-shortcode .woocommerce-MyAccount-navigation a[aria-current="page"],
.elementor-shortcode .woocommerce-MyAccount-navigation a.active {
    background: rgba(255, 255, 255, 0.2);
    border-right-color: #d3d3d3;
    font-weight: 600;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

/* آیکون قبل از هر لینک */
.elementor-shortcode .woocommerce-MyAccount-navigation a:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
}

/* آیکون مخصوص هر منو */
.elementor-shortcode .woocommerce-MyAccount-navigation-link--dashboard a:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>');
}

.elementor-shortcode .woocommerce-MyAccount-navigation-link--orders a:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M13 12h7v1.5h-7zm0-2.5h7V11h-7zm0 5h7V16h-7zM21 4H3c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 15h-9V6h9v13z"/></svg>');
}

.elementor-shortcode .woocommerce-MyAccount-navigation-link--downloads a:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/></svg>');
}

.elementor-shortcode .woocommerce-MyAccount-navigation-link--edit-address a:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
}

.elementor-shortcode .woocommerce-MyAccount-navigation-link--edit-account a:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
}

.elementor-shortcode .woocommerce-MyAccount-navigation-link--wishlist a:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>');
}

.elementor-shortcode .woocommerce-MyAccount-navigation-link--customer-logout a:before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M17 7l-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z"/></svg>');
}

/* محتوای اصلی */
.elementor-shortcode .woocommerce-MyAccount-content {
    flex: 1;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e0e0e0;
}

/* استایل متن خوش‌آمد */
.elementor-shortcode .woocommerce-MyAccount-content p:first-child {
    background: rgba(139, 0, 0, 0.05);
    padding: 18px;
    border-radius: 8px;
    border-right: 4px solid #8b0000;
    margin-bottom: 20px;
}

.elementor-shortcode .woocommerce-MyAccount-content p:nth-child(2) {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

/* لینک‌های داخل محتوا */
.elementor-shortcode .woocommerce-MyAccount-content a {
    color: #8b0000;
    font-weight: 600;
    text-decoration: none;
}

.elementor-shortcode .woocommerce-MyAccount-content a:hover {
    color: #b22222;
    text-decoration: underline;
}

/* دکمه خروج در محتوا */
.elementor-shortcode .woocommerce-MyAccount-content p:first-child a {
    background: #8b0000;
    color: white !important;
    padding: 6px 14px;
    border-radius: 6px;
    margin-right: 10px;
    display: inline-block;
}

/* واکنشگرا */
@media (max-width: 768px) {
    .elementor-shortcode .woocommerce {
        flex-direction: column;
        gap: 20px;
    }
    
    .elementor-shortcode .woocommerce-MyAccount-navigation {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .elementor-shortcode .woocommerce-MyAccount-navigation a {
        padding: 10px 12px;
    }
}

/* جاوااسکریپت برای حفظ استایل بعد از کلیک *//* End custom CSS */