/*!
Theme Name: Hello Elementor Child
Description: Child theme of Hello Elementor
Author: Your Name
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ========================================
 DanaVF FONT DEFINITION
======================================== */

@font-face {
 font-family: 'DanaVF';
 src: url('assets/fonts/DanaVF.woff2') format('woff2'),
 url('assets/fonts/DanaVF.woff') format('woff');
 font-display: swap;
 font-weight: 100 900;
 font-style: normal;
 unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC, U+0-7F, U+A0-FF;
}

/* ========================================
 GLOBAL FONT APPLICATION
======================================== */

body,
html {
 font-family: 'DanaVF', Tahoma, Arial, sans-serif;
 font-feature-settings: "kern" 1, "liga" 1;
  -moz-font-feature-settings: "ss02" 1;
 -webkit-font-feature-settings: "ss02" 1;
 font-feature-settings: "ss02" 1;
}

/* هدینگ‌ها */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DanaVF', Tahoma, Arial, sans-serif;
  font-feature-settings: "ss02" 1;
}

/* اگر خواستی دستی پیش‌فرض تعیین کنی */
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }
h4 { font-weight: 500; }
h5 { font-weight: 500; }
h6 { font-weight: 400; }

/* Paragraphs and text elements */
p, div, a, li, td, th, label, input, textarea, select, button, span.elementor-icon-list-text, .elementor-countdown-item span {
 font-family: 'DanaVF', Tahoma, Arial, sans-serif !important;
   -moz-font-feature-settings: "ss02" 1;
 -webkit-font-feature-settings: "ss02" 1;
 font-feature-settings: "ss02" 1;
}




/* ========================================
 PERSIAN NUMBER CONVERSION (ss05)
======================================== */

/* کلاس برای فارسی کردن اعداد */
.persian-numbers,
.ss02 {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}

/* اعمال خودکار به المنت‌های مختلف */
.price,
.number,
.count,
.quantity,
.amount,
.total,
.date,
.time,
input[type="number"],
.woocommerce-Price-amount,
.elementor-counter-number,
.elementor-heading-title {
 -moz-font-feature-settings: "ss02" 1;
 -webkit-font-feature-settings: "ss02" 1;
 font-feature-settings: "ss02" 1;
}

/* ========================================
 MONOSPACE NUMBERS (ss06)
======================================== */

/* کلاس برای هم عرض کردن اعداد */
.ss03 {
    -moz-font-feature-settings: "ss03";
    -webkit-font-feature-settings: "ss03";
    font-feature-settings: "ss03";
}

/* اعمال به جداول و لیست‌ها */
table td,
table th,
.data-table,
.price-list,
.number-list,
ol li::marker {
 -moz-font-feature-settings: "ss03" 1;
 -webkit-font-feature-settings: "ss03" 1;
 font-feature-settings: "ss03" 1;
}

/* ========================================
 COMBINED FEATURES
======================================== */
div#mreeir-modal-full-inner {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}
.mreeir-form-wrapper .mreeir-logreg-form .mreeir-element-wrapper.mreeir-form-input {
    flex-direction: row;
}
/* ترکیب هر دو ویژگی: اعداد فارسی + هم عرض */
.persian-monospace {
 -moz-font-feature-settings: "ss05" 1, "ss03" 1;
 -webkit-font-feature-settings: "ss05" 1, "ss03" 1;
 font-feature-settings: "ss05" 1, "ss03" 1;
}

/* ترکیب وزن + اعداد فارسی */
.bold-persian {
 -moz-font-feature-settings: "ss05" 1;
 -webkit-font-feature-settings: "ss05" 1;
 font-feature-settings: "ss05" 1;
}

/* ترکیب وزن + هم عرض */
.bold-monospace {
 -moz-font-feature-settings: "ss06" 1;
 -webkit-font-feature-settings: "ss06" 1;
 font-feature-settings: "ss06" 1;
}

/* ترکیب همه ویژگی‌ها */
.bold-persian-monospace {
 -moz-font-feature-settings: "ss05" 1, "ss06" 1;
 -webkit-font-feature-settings: "ss05" 1, "ss06" 1;
 font-feature-settings: "ss05" 1, "ss06" 1;
}

/* ========================================
 ELEMENTOR SPECIFIC
======================================== */

/* اعمال به ویجت‌های المنتور */
.elementor-widget-heading .elementor-heading-title {
 font-family: 'DanaVF', Tahoma, Arial, sans-serif;
 -moz-font-feature-settings: "ss05" 1;
 -webkit-font-feature-settings: "ss05" 1;
 font-feature-settings: "ss05" 1;
}

.elementor-widget-text-editor {
 font-family: 'DanaVF', Tahoma, Arial, sans-serif;
}

.elementor-widget-button .elementor-button,  {
 font-family: 'DanaVF', Tahoma, Arial, sans-serif;
}

.elementor-counter-number-wrapper,
.elementor-price-table__price {
 font-family: 'DanaVF', Tahoma, Arial, sans-serif;
 -moz-font-feature-settings: "ss02" 1;
 -webkit-font-feature-settings: "ss02" 1;
 font-feature-settings: "ss02" 1;
}

/* ========================================
 WOOCOMMERCE INTEGRATION
======================================== */

/* اعمال به المنت‌های ووکامرس */
.woocommerce .amount,
.woocommerce-Price-amount {
 font-family: 'DanaVF', Tahoma, Arial, sans-serif;
}

.woocommerce .quantity input,
.woocommerce-cart-form__cart-item .product-quantity,
.woocommerce .cart_totals,
.woocommerce-checkout-review-order-table {
 font-family: 'DanaVF', Tahoma, Arial, sans-serif;
 -moz-font-feature-settings: "ss02" 1, "ss03" 1;
 -webkit-font-feature-settings: "ss02" 1, "ss03" 1;
 font-feature-settings: "ss02" 1, "ss03" 1;
}
/* استایل کلی بخش نظرات */


.comment-reply-title {
    font-size: 18px;
    position: relative;
    font-weight: 500;
    margin: 0;
}


.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.logged-in-as {
    background-color: #F9FAFB;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 10px 0 0 0;
}

.logged-in-as a {
  color: #4a90e2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.logged-in-as a:hover {
  color: #2c6ed5;
  text-decoration: underline;
}
.comment-form-comment {
    margin: 0;
}

.comment-form-comment label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #555;
}

#comment {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e1e5ee;
  border-radius: 8px;
  background-color: #fcfcfc;
  resize: vertical;
  min-height: 120px;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
}

#comment:focus {
  outline: none;
  border-color: #3EBCEF;
  box-shadow: 0 0 0 3px #ECF3FF;
  background-color: #fff;
}

/* دکمه ارسال */
div#respond .form-submit {
  margin: 0;
}

div#respond #submit {
    background: #f1f1f1;
    color: #222;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}


#submit:active {
  transform: translateY(0);
}
ins {
    text-decoration: none;
}
.single-product del span.woocommerce-Price-amount.amount {
    font-size: 18px;
    color: #667085;
    display: block;
    width: 100%;
    font-weight: 400;
}
/* فیلدهای مخفی */
input[type="hidden"], .woocommerce-form-coupon-toggle {
  display: none;
}

/* لینک لغو پاسخ */
#cancel-comment-reply-link {
  font-size: 0.8rem;
  color: #ff6b6b;
  margin-right: 10px;
  text-decoration: none;
  font-weight: 500;
}

#cancel-comment-reply-link:hover {
  text-decoration: underline;
}

/* نشانگر فیلد اجباری */
.required {
  color: #ff6b6b;
}

.required-field-message {
  font-size: 0.8rem;
  color: #888;
  margin-right: 10px;
}

/* انیمیشن فوکوس */
/* input:focus, textarea:focus {
  animation: pulse 1.5s infinite;
}*/
.footer-2025 {
 color: #334155;
 position: relative;
 overflow: hidden;
 margin-top: 55px;
 --primary: #3EBCEF;
 --primary-dark: #3EBCEF;
 --primary-light: #ecf3ff;
 --accent: #f59e0b;
 --warning-color: #ffc107;
 --text: #334155;
 --text-light: #64748b;
 --bg-light: #f8fafc;
 --bg-white: #ffffff;
 --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
 --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
 --radius-sm: 6px;
 --radius-md: 12px;
 --radius-lg: 16px;
 --radius-full: 9999px;
}
.footer-content .container, .footer-copyright .container {
    max-width: 1410px;
    margin: 0 auto;
    padding: 0 20px;
}

/* موج بالای فوتر */
.footer-wave {
 position: relative;
 height: 160px;
 width: 100%;
 background: linear-gradient(to bottom, #f0f7ff, #f8fafc);
}

.footer-wave svg {
 position: absolute;
 bottom: 0;
 left: 0;
 width: 100%;
 height: 100%;
}

/* محتوای اصلی فوتر */
.footer-content {
 background-color: var(--bg-light);
 position: relative;
 padding: 40px 0 0;
}

/* هدر فوتر */
.footer-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 30px;
 margin-bottom: 60px;
 padding-bottom: 40px;
 border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

/* کانتینر برند */
.brand-container {
 display: flex;
 align-items: center;
 gap: 20px;
}

.logo-wrapper {
 position: relative;
 width: 70px;
 height: 70px;
 display: flex;
 align-items: center;
 justify-content: center;
}

.logo-bg {
 position: absolute;
 width: 100%;
 height: 100%;
 border-radius: var(--radius-md);
 background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
 box-shadow: var(--shadow-sm);
}

.footer-logo {
    position: relative;
    width: 64px;
    border-radius: 9px !important;
}

.brand-text {
 display: flex;
 flex-direction: column;
}

.brand-name {
 font-size: 24px;
 font-weight: 800;
 margin: 0;
color: #667489;
}



.brand-slogan {
 font-size: 14px;
 color: var(--text-light);
 margin: 4px 0 0;
}

/* کانتینر CTA */
.cta-container {
 display: flex;
 align-items: center;
 gap: 20px;
 flex-wrapf: wrap;
}

.cta-text {
 font-size: 18px;
 font-weight: 600;
 color: var(--text);
}

.cta-text .highlight {
 color: var(--primary);
 position: relative;
}
button.woo__qty-btn.trash {
    color: #F44336;
    background: #FFEBEE;
}

.cta-button {
 display: flex;
 align-items: center;
 gap: 8px;
 background: var(--warning-color);
 color: white;
 padding: 12px 24px;
 border-radius: var(--radius-full);
 text-decoration: none;
 font-weight: 600;
 transition: transform 0.2s, box-shadow 0.2s;
 box-shadow: var(--shadow-md);
}

.cta-button:hover {
 transform: translateY(-2px);
 box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.button-icon {
 display: flex;
}

/* گرید اصلی فوتر */
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 40px;
 margin-bottom: 60px;
}

/* ستون‌های فوتر */
.footer-column {
 display: flex;
 flex-direction: column;
}

.column-header {
 display: flex;
 align-items: center;
 gap: 10px;
 margin-bottom: 20px;
}

.column-icon {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 36px;
 height: 36px;
 border-radius: 15px;
 background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
 color: var(--primary);
}

.column-header h3 {
 font-size: 18px;
 font-weight: 700;
 margin: 0;
 color: var(--text);
}

/* لینک‌های فوتر */
.footer-links {
 list-style: none;
 padding: 0;
 margin: 0;
 display: flex;
 flex-direction: column;
 gap: 12px;
}

.footer-links li {
 position: relative;
}

.footer-links a {
 color: var(--text-light);
 text-decoration: none;
 font-size: 15px;
 transition: color 0.2s, transform 0.2s;
 display: inline-block;
 padding-right: 16px;
}

.footer-links a::before {
 content: '';
 position: absolute;
 right: 0;
 top: 10px;
 width: 6px;
 height: 6px;
 border-radius: var(--radius-full);
 background-color: var(--primary-light);
 transition: background-color 0.2s;
}

.footer-links a:hover {
 color: var(--primary);
 transform: translateX(-5px);
}

.footer-links a:hover::before {
 background-color: var(--primary);
}

/* اطلاعات تماس */
.contact-info {
 display: flex;
 flex-direction: column;
 gap: 16px;
 font-style: normal;
}

.contact-item {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 font-size: 14px;
 color: var(--text-light);
}

.contact-icon {
 display: flex;
 color: var(--primary);
 margin-top: 2px;
}

.contact-item a {
 color: var(--text-light);
 text-decoration: none;
 transition: color 0.2s;
}

.contact-item a:hover {
 color: var(--primary);
}

/* ستون خبرنامه */
.newsletter-column {
 grid-column: span 1;
}

.newsletter-text {
 font-size: 14px;
 color: var(--text-light);
 margin-bottom: 16px;
 line-height: 1.6;
}

.newsletter-form {
 margin-bottom: 30px;
}

.input-wrapper {
 display: flex;
 height: 48px;
 background-color: var(--bg-white);
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-sm);
 overflow: hidden;
 border: 1px solid rgba(148, 163, 184, 0.2);
}

.input-wrapper input {
 flex: 1;
 border: none;
 background: transparent;
 padding: 0 16px;
 font-size: 14px;
 color: var(--text);
}

.input-wrapper input:focus {
 outline: none;
}

.input-wrapper button {
 width: 48px;
 background: linear-gradient(135deg, var(--primary), var(--primary-dark));
 border: none;
 color: white;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: background 0.2s;
}

.input-wrapper button:hover {
 background: var(--primary-dark);
}

/* دانلود اپلیکیشن */
.app-download {
 margin-top: 20px;
}

.app-download h4 {
 font-size: 16px;
 font-weight: 600;
 margin: 0 0 12px;
 color: var(--text);
}

.app-buttons {
 display: flex;
 gap: 12px;
}

.app-btn {
 display: flex;
 align-items: center;
 gap: 8px;
 background-color: var(--bg-white);
 border: 1px solid rgba(148, 163, 184, 0.2);
 border-radius: var(--radius-sm);
 padding: 8px 12px;
 text-decoration: none;
 color: var(--text);
 font-size: 14px;
 font-weight: 500;
 transition: all 0.2s;
 box-shadow: var(--shadow-sm);
}

.app-btn:hover {
 border-color: var(--primary-light);
 transform: translateY(-2px);
 box-shadow: var(--shadow-md);
}

.app-icon {
 display: flex;
 color: var(--primary);
}

/* بار شبکه‌های اجتماعی */
.social-bar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 20px;
 padding: 30px 0;
 border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.social-text {
 font-size: 16px;
 font-weight: 600;
 color: var(--text);
}

.social-icons {
 display: flex;
 gap: 16px;
}

.social-icon {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 40px;
 height: 40px;
 border-radius: 15px;
 background-color: var(--bg-white);
 color: var(--text-light);
 transition: all 0.3s;
 box-shadow: var(--shadow-sm);
 border: 1px solid rgba(148, 163, 184, 0.1);
}

.social-icon:hover {
 background-color: var(--primary);
 color: white;
 transform: translateY(-3px);
 box-shadow: var(--shadow-md);
}

/* بار مجوزها */
.certificates-bar {
padding: 15px 0;
    background-color: var(--bg-white);
    border-radius: 30px 30px 0 0;
}

.certificates {
 display: flex;
 justify-content: center;
 flex-wrap: wrap;
 gap: 30px;
}

.certificate-item {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 8px;
 text-decoration: none;
 color: var(--text-light);
 font-size: 13px;
 transition: transform 0.2s;
}

.certificate-item:hover {
 transform: translateY(-3px);
}

.certificate-icon {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 50px;
 height: 50px;
 border-radius: var(--radius-md);
 background: linear-gradient(135deg, var(--primary-light), #e0f2fe);
 color: var(--primary);
}

/* کپی‌رایت */
.footer-copyright {
 padding: 20px 0;
 background-color: var(--primary-dark);
 color: white;
}

.copyright-content {
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 20px;
}

.copyright-text {
 font-size: 14px;
 margin: 0;
}

.copyright-text .highlight {
 font-weight: 600;
}

.footer-links-mini {
 display: flex;
 gap: 10px;
 align-items: center;
}

.footer-links-mini a {
 color: rgba(255, 255, 255, 0.8);
 text-decoration: none;
 font-size: 13px;
 transition: color 0.2s;
}

.footer-links-mini a:hover {
 color: white;
}

.divider {
 color: rgba(255, 255, 255, 0.5);
 font-size: 10px;
}
/* Logout Popup Styles */
 .log__outPP-overlay {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.6);
 backdrop-filter: blur(5px);
 -webkit-backdrop-filter: blur(5px);
 z-index: 99999;
 display: flex;
 align-items: center;
 justify-content: center;
 }
 
 .log__outPP-modal {
 background: white;
 border-radius: 15px;
 padding: 30px;
 max-width: 700px;
 width: 90%;
 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
 animation: log__outPP-slideIn 0.3s ease-out;
 position: relative;
 }
 
 /* دکمه X برای بستن */
 .log__outPP-close {
 position: absolute;
 top: 0;
 left: 0;
 background: none;
 border: none;
 color: #999;
 cursor: pointer;
 padding: 5px;
 border-radius: 50%;
 width: 35px;
 height: 35px;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: all 0.3s ease;
 }
 
 .log__outPP-close:hover {
 background: #f8f9fa;
 color: #333;
 transform: rotate(90deg);
 }
 
 .log__outPP-close svg {
 width: 18px;
 height: 18px;
 }
 
table.product-extra-fields-table th, table.product-extra-fields-table td {
    background: #efebe9;
    border-radius: 10px;
    margin: 0 4px 4px 0;
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    color: #333;
    line-height: normal;
	text-align: right;
}
ol.commentlist {
    padding: 0;
}
.woocommerce .star-rating {
    font-family: WooCommerce !important;
	    color: #FFC107;
}
.woocommerce p.stars a {
    color: #FFC107;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text {
    border-radius: 10px;
    border-color: #f4f7f4;
	background: #f1f1f1;
}
.woocommerce #review_form #respond .form-submit input {
    background: #f4f7f4;
    color: #395463;
    border-radius: 10px;
    padding: 12px 22px;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text {
    margin: 0;
}
table.product-extra-fields-table td {
    width: 69%;
    color: var(--e-a-bg-secondary);
}
table.product-extra-fields-table th {
    width: 30%;
}
table.product-extra-fields-table {
    width: 100%;
}


 @keyframes log__outPP-slideIn {
 from {
 opacity: 0;
 transform: scale(0.8) translateY(-20px);
 }
 to {
 opacity: 1;
 transform: scale(1) translateY(0);
 }
 }
 
.log__outPP-header h3 {
    color: #101828;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}
 
 .log__outPP-content {
 margin-bottom: 25px;
 line-height: 1.6;
 }
.log__outPP-content p {
    margin: 0 0 10px 0;
    color: #394959;
    font-size: 16px;
    font-weight: 300;
}
 .log__outPP-actions {
 display: flex;
 gap: 15px;
 justify-content: end;
 }
 
 .log__outPP-cancel,
 .log__outPP-confirm {
 padding: 12px 25px;
 border: none;
 border-radius: 8px;
 font-size: 14px;
 font-weight: 500;
 cursor: pointer;
 transition: all 0.3s ease;
 }
 
.log__outPP-cancel {
    background: #f9fafb;
    color: #667085;
    border: 2px solid #f9fafb;
}
 
 .log__outPP-confirm {
 background: #F04438;
 color: white;
 }

 



@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 #F04438;
  }
  70% {
    box-shadow: 0 0 0 6px rgba(108, 99, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
  }
}


/* ========================================
 RESPONSIVE FONT SIZES
======================================== */

@media (max-width: 768px) {
.log__outPP-modal {
 padding: 20px;
 margin: 20px;
 }
 
 .log__outPP-header h3 {
 padding-right: 25px;
 font-size: 18px;
 }
 
 .log__outPP-close {
 top: 10px;
 left: 0;
 width: 30px;
 height: 30px;
 }
 
 .log__outPP-close svg {
 width: 16px;
 height: 16px;
 }
 
 .log__outPP-actions {
 flex-direction: column;
 }
 
 .log__outPP-cancel,
 .log__outPP-confirm {
 width: 100%;
 }
	 .cta-container {
 flex-direction: column;
 align-items: flex-start;
 }
 
 .certificates {
 gap: 20px;
 }
	  .comments-area {
    padding: 1.5rem;
    margin: 2rem auto;
  }
  
  .comment-reply-title {
    font-size: 1.4rem;
  }
  
  #submit {
    width: 100%;
  }
 body {
 font-size: 14px;
 line-height: 1.6;
 }
 
 h1 { 
 font-size: 1.8rem;
 }
 h2 { 
 font-size: 1.6rem;
 }
 h3 { 
 font-size: 1.4rem;
 }
 h4 { 
 font-size: 1.2rem;
 }
 h5 { 
 font-size: 1.1rem;
 }
 h6 { 
 font-size: 1rem;
 }
}

@media (min-width: 769px) {
 body {
 font-size: 16px;
 line-height: 1.7;
 }
}
/* رسپانسیو */
@media (max-width: 992px) {
 .footer-header {
 flex-direction: column;
 align-items: flex-start;
 }
 
 .cta-container {
 width: 100%;
 justify-content: space-between;
 }
 
 .footer-grid {
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 }
 
 .newsletter-column {
 grid-column: 1 / -1;
 }
 
 .social-bar, .copyright-content {
 flex-direction: column;
 align-items: center;
 text-align: center;
 }
}



/* ========================================
 PERFORMANCE OPTIMIZATIONS
======================================== */

* {
 font-synthesis: none;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 text-rendering: optimizeLegibility;
}

/* ========================================
 UTILITY CLASSES
======================================== */

/* اعداد انگلیسی */
.english-numbers {
 -moz-font-feature-settings: "ss05" 0;
 -webkit-font-feature-settings: "ss05" 0;
 font-feature-settings: "ss05" 0;
}

/* غیرفعال کردن monospace */
.proportional-numbers {
 -moz-font-feature-settings: "ss06" 0;
 -webkit-font-feature-settings: "ss06" 0;
 font-feature-settings: "ss06" 0;
}

/* ========================================
 CUSTOM STYLES
======================================== */

/* استایل‌های سفارشی شما در اینجا */

.auth-buttons,
    .user-account-menu {
        font-family: "DanaVF", Tahoma, Arial, sans-serif;
        position: relative;
        display: inline-block;
    }

    .auth-btn:focus,
    .account-toggle:focus {
        border-color: #e9ecef;
    }
    
    .auth-icon {
        width: 16px;
        height: 16px;
        fill: currentColor;
        flex-shrink: 0;
    }
    
    .dropdown-arrow {
        width: 12px;
        height: 12px;
        fill: currentColor;
        flex-shrink: 0;
        margin-right: -4px;
    }
    
    /* ========================================
     ACCOUNT DROPDOWN
    ======================================== */
    
    .account-dropdown {
        position: relative;
    }
    
    .account-submenu {
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        min-width: 200px;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.2s ease;
        margin-top: 4px;
    }
button.account-toggle:hover {
    background: #e0e0e0;
    outline: none;
    color: #132507;
}
    .account-dropdown:hover .account-submenu,
    .account-dropdown.active .account-submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .submenu-item {
        display: block;
        padding: 10px 16px;
        color: #333;
        text-decoration: none;
        font-size: 16px;
        border-bottom: 1px solid #f5f5f5;
        transition: none;
    }
    
    .submenu-item:last-child {
        border-bottom: none;
        border-radius: 0 0 8px 8px;
    }
    
    .submenu-item:first-child {
        border-radius: 8px 8px 0 0;
    }
    
	.submenu-item:hover {
		background: #fea00424 !important;
		color: #333;
		}
    @media (max-width: 768px) {
    .account-submenu {
        min-width: 85vw;
        right: 50%;
        transform: translateX(50%);
        border-radius: 10px;
    }
    
    .submenu-item {
        font-size: 15px;
        padding: 12px 16px;
    }
}

    /* ========================================
     RESPONSIVE
    ======================================== */
    
    @media (max-width: 768px) {
        .auth-btn,
        .account-toggle {
            padding: 8px 12px;
            font-size: 16px;
        }
        
        .auth-icon {
            width: 18px;
            height: 18px;
        }
        
        .account-submenu {
            right: -20px;
            left: -20px;
            min-width: auto;
        }
		
    .user-account-menu, .auth-buttons {
        display: block !important;
        text-align: center;
        width: 100%;
    }

    .account-toggle {
        display: block;
        width: 100%;
    }

    .account-toggle svg {
        vertical-align: middle;
        margin-right: 6px;
    }
    
    /* ========================================
     RTL SUPPORT
    ======================================== */
    
    body.rtl .account-submenu {
        right: auto;
        left: 0;
    }
    
    body.rtl .dropdown-arrow {
        margin-right: 0;
        margin-left: -4px;
    }
    
    @media (max-width: 768px) {
        body.rtl .account-submenu {
            right: -20px;
            left: -20px;
        }
    }



		
    