.woocommerce-info/**
 * استایل‌های هدر اختصاصی (Dark Mode)
 */
.jadoo-full-header { 
    width: 100%; 
    background: #0b1926; /* رنگ پس‌زمینه تیره */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* خط جداکننده زیر هدر */
    direction: rtl; 
    position: relative; 
    z-index: 9999; 
    margin-bottom: 30px; 
}

.jadoo-header-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 15px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-sizing: border-box; 
}

/* تنظیمات لوگو */
.jadoo-logo img { 
    max-height: 45px; 
    width: auto; 
    display: block; 
    border-radius: 7px; /* لبه‌های نرم لوگو */
}

/* استایل دکمه بازگشت */
.jadoo-back-link { 
    color: #fff; 
    text-decoration: none; 
    font-size: 13px; 
    font-weight: bold; 
    padding: 10px 22px; 
    border-radius: 10px; 
    background: rgba(255, 255, 255, 0.04); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    transition: all 0.3s ease; /* انیمیشن نرم برای تغییر رنگ */
}

/* افکت هوور (نشانه گر ماوس) دکمه بازگشت */
.jadoo-back-link:hover { 
    background: #5CFF85; /* سبز نئونی */
    color: #0b1926; 
    box-shadow: 0 0 20px rgba(92, 255, 133, 0.25); /* درخشش نئونی */
}

/* بهینه‌سازی برای موبایل */
@media (max-width: 768px) {
    .jadoo-header-container { padding: 12px 15px; }
    .jadoo-logo img { max-height: 40px; }
    .jadoo-back-link { padding: 8px 15px; font-size: 12px; }
}





/**
 * استایل‌های نوار پیشرفت نئونی
 */
:root {
    --jadoo-active: #5CFF85; /* سبز نئونی اختصاصی جادوگر */
    --jadoo-bg: #162431;
    --jadoo-border: #ffffff1a;
    --jadoo-text-dim: #94a3b8;
}

.jadoo-progress-wrapper {
    width: 100%;
    padding: 20px 0 40px 0;
    direction: rtl;
    overflow: hidden;
}

.jadoo-checkout-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    position: relative;
    max-width: 700px;
}

/* خط افقی پشت آیکون‌ها */
.progress-line-container {
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 1.5px;
    background: var(--jadoo-border);
    z-index: 1;
}

/* بخش پر شده خط پیشرفت با انیمیشن */
.progress-fill-line {
    background: var(--jadoo-active);
    height: 100%;
    width: 0;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(92, 255, 133, 0.4);
    position: absolute;
    right: 0;
}

.jadoo-checkout-progress .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 120px;
}

/* استایل مربع‌های حاوی آیکون */
.step-icon {
    width: 50px;
    height: 50px;
    background: #0B1926;
    border: 1px solid var(--jadoo-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.step-icon svg { width: 24px; height: 24px; fill: var(--jadoo-text-dim); transition: 0.3s; }

/* استایل زمانی که یک مرحله فعال یا تمام شده است */
.step.active .step-icon, .step.completed .step-icon {
    border-color: var(--jadoo-active);
    box-shadow: 0 0 15px rgba(92, 255, 133, 0.1);
}

.step.active .step-icon svg, .step.completed .step-icon svg { 
    fill: var(--jadoo-active) !important; 
    filter: drop-shadow(0 0 5px rgba(92, 255, 133, 0.5));
}

.step-text {
    margin-top: 12px;
    font-size: 13px;
    color: var(--jadoo-text-dim);
    font-weight: bold;
    transition: 0.3s;
}

.step.active .step-text, .step.completed .step-text { 
    color: #fff !important; 
}

/* موبایل فرندلی کردن نوار پیشرفت */
@media (max-width: 480px) {
    .step { width: 90px !important; }
    .step-icon { width: 42px; height: 42px; }
    .progress-line-container { top: 21px; left: 45px; right: 45px; }
    .step-text { font-size: 11px; }
}



/* گرید کلی و چیدمان اصلی */
@media (min-width: 992px) {
    form.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: 54% 45% !important;
        gap: 15px;
        max-width: 1250px;
        margin: 0 auto;
        direction: rtl;
        align-items: start;
        height: 100vh;
        justify-content: center;
    }
    #customer_details, .jadoo-coupon-wrapper, #payment { grid-column: 2 !important; }
    #order_review {
        grid-column: 1 !important; grid-row: 1 / span 50;
        background: #162431 !important; border: 1px solid #ffffff1a !important;
        border-radius: 15px !important; padding: 10px !important;
    }
}

.woocommerce form .form-row { padding: 0px; }

/* فیلدها و لیبل شناور */
.woocommerce-billing-fields__field-wrapper {
    display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 5px !important;
}
.jadoo-floating-row { position: relative; }
.jadoo-floating-row label {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
    color: #94a3b8; font-size: 14px; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; z-index: 10; padding: 0 5px;
}
.jadoo-floating-row.is-active label {
    top: 0; right: 8px; transform: translateY(13%) scale(0.85);
}

.form-row input.input-text {
    border-radius: 10px !important; color: #fff !important; padding-right: 15px !important;
    height: 60px !important; width: 100% !important; padding-top: 23px !important; font-size:14px;
}

/* باکس‌های کانتینر */
.jadoo-checkbox-row { 
    grid-column: span 2 !important; grid-row: 4 !important;
    background: #162431 !important; border: 1px solid #ffffff1a !important;
    border-radius: 10px; padding: 15px 20px !important;
}
.jadoo-coupon-wrapper {
    background: #162431 !important; border: 1px solid #ffffff1a !important;
    border-radius: 10px; padding: 15px 20px !important; margin-bottom: 5px;
}

/* انیمیشن کشویی */
.jadoo-collapsible-content {
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.4s;
    opacity: 0; overflow: hidden;
}
.is-open .jadoo-collapsible-content { grid-template-rows: 1fr; opacity: 1; margin-top: 15px; }
.jadoo-inner-content { min-height: 0; }

/* سوییچر iOS */
.jadoo-coupon-header, .jadoo-checkbox-header { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.jadoo-switch { position: relative; width: 48px; height: 24px; cursor: pointer; }
.jadoo-switch input { opacity: 0; width: 0; height: 0; }
.jadoo-slider { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: #334455; transition: .4s; border-radius: 20px; }
.jadoo-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .jadoo-slider { background-color: #5CFF85 !important; }
input:checked + .jadoo-slider:before { transform: translateX(20px); background-color: #0B1926; }

/* المان‌های مخفی */
.woocommerce-form-coupon-toggle, .required, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-additional-fields, #order_comments_field label, .checkout-inline-error-message { display: none !important; }

/* جزئیات متفرقه */
textarea#order_comments { background: #0b1926 !important; border: 1px solid #ffffff1a !important; border-radius: 10px; padding: 15px; color: white !important; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 70%; }
body:not(.jadoo-loaded) form.checkout_coupon { display: none !important; }

/* استایل اختصاصی فرم کوپن داخل باکس */
#jadoo_coupon_target form.checkout_coupon { display: flex !important; flex-wrap: wrap; gap: 10px; background: transparent !important; padding: 0 !important; }
#jadoo_coupon_target .form-row-first { width: 65% !important; margin: 0 !important; }
#jadoo_coupon_target .form-row-last { width: calc(35% - 10px) !important; margin: 0 !important; }
#jadoo_coupon_target input#coupon_code { background: #0b1926 !important; border: 1px solid #ffffff1a !important; border-radius: 8px !important; height: 52px !important; color: #fff !important; padding: 0 15px !important; }
#jadoo_coupon_target button.button { width: 100% !important; height: 48px !important; background-color: #5CFF85 !important; color: #0B1926 !important; font-weight: bold !important; border-radius: 8px !important; border: none !important; font-size: 13px !important; }

/* دکمه حذف کوپن */
tr.cart-discount.coupon-so { display: flex; justify-content: space-between; align-items: center; background: #1A2F36; padding: 0px 20px; border-radius: 7px; order: 3; }
.woocommerce-remove-coupon { display: inline-flex !important; align-items: center; justify-content: center; background-color: rgba(255, 92, 92, 0.1) !important; color: #ff5c5c !important; padding: 12px 12px !important; border-radius: 6px !important; font-size: 11px !important; font-weight: bold !important; border: 1px solid rgba(255, 92, 92, 0.2) !important; transition: all 0.3s ease !important; }
.woocommerce-remove-coupon:hover { background-color: #ff5c5c !important; color: #ffffff !important; }
.cart-discount td { font-size: 0; }
.cart-discount td .amount, .cart-discount td .woocommerce-remove-coupon { font-size: 14px; }
.cart-discount td .woocommerce-remove-coupon { font-size: 11px !important; }

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    #jadoo_coupon_target .form-row-first, #jadoo_coupon_target .form-row-last { width: 100% !important; }
    #customer_details, .jadoo-coupon-wrapper, #payment { grid-column: 1 !important; }
    form.checkout.woocommerce-checkout { display: flex !important; flex-direction: column-reverse; }
    #order_review { margin-top: 5px; margin-bottom: 0px;  order: 1; }
    div#payment { order: -1; }
    div#customer_details { order: 1; }
    .woocommerce-checkout .woocommerce { padding: 0px 10px !important; }
    .woocommerce-billing-fields__field-wrapper { display: flex !important; flex-direction: column; }
    
    div#message_fields {
    margin-bottom: 15px;
}
.woocommerce form .form-row{
    padding:0px;
}

.product-name {
    font-size: 14px !important;

}
.order-total {
    border-radius: 10px !important;
    padding: 0px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #5cff8508 !important;
    border: 1px solid #5cff85 !important;
}

.shop_table.woocommerce-checkout-review-order-table tfoot td { color: #ffffff !important; text-align: center; }

tr {
    text-align: center;
}

}

/**
 * بخش ۹: استایل‌های فاکتور و سوییچر کیف پول
 */

/* مخفی سازی ردیف‌های اضافه برای تمیزی فاکتور */
.shop_table .cart-subtotal,
.shop_table tr.wallet-pay-partial, 
.shop_table .wallet-pay-partial {
    display: none !important;
}

/* تبدیل جدول فاکتور به بلاک‌های منعطف نئونی */
.shop_table.woocommerce-checkout-review-order-table tfoot {
    display: flex !important;
    flex-direction: column !important;
    background: #162431 !important;
    direction: rtl;
    padding: 15px;
    border-radius: 12px;
}

.woocommerce table.shop_table th {
    padding: 9px 0px !important;
    line-height: 1.5em;
}

/* ردیف مشخصات حساب (اگر وجود داشته باشد) */
.custom-options-row { 
    order: 1 !important; 
    display: block !important; 
    width: 100% !important; 
    padding: 0 !important;
    margin: 0 0 15px 0 !important;
    border-bottom: 1px solid #ffffff1a !important;
}
.custom-options-row td { 
    display: block !important; 
    width: 100% !important; 
    padding: 0 !important;
}

/* ردیف کسر از کیف پول */
.fee { 
    order: 2 !important; 
    display: flex !important;
    justify-content: space-between !important;
    background: rgba(92, 255, 133, 0.05) !important; 
    margin-bottom: 8px !important; 
    padding: 0px 20px !important; 
    border: none !important;
    align-items: center;
    border-radius: 8px;
}

/* ردیف مجموع نهایی (Total) */
.order-total { 
    order: 3 !important; 
    display: flex !important;
    justify-content: space-between !important;

}

.order-total td strong .amount { 
    color: #5CFF85 !important; 
    font-size: 17px !important; 
}


.price-space {
    display: inline-block;
    width: 0px !important;
}

/* استایل تخصصی سوییچر iOS داخل باکس کیف پول */
#custom-wallet-box .partial_pay_through_wallet {
    appearance: none; -webkit-appearance: none;
    width: 48px !important; height: 24px !important;
    background: #334155 !important; border-radius: 20px !important;
    position: relative !important; cursor: pointer !important;
    transition: all 0.3s ease; border: none !important; outline: none !important;
}
#custom-wallet-box .partial_pay_through_wallet:checked { background: #5CFF85 !important; }
#custom-wallet-box .partial_pay_through_wallet::before {
    content: ""; position: absolute; width: 18px; height: 18px;
    background: #fff; border-radius: 50%; top: 3px; left: 4px; transition: 0.3s;
}
#custom-wallet-box .partial_pay_through_wallet:checked::before { left: 26px; background: #0b1926 !important; }

/* تراز متن‌ها در فاکتور */
.shop_table.woocommerce-checkout-review-order-table tfoot th { color: #94a3b8 !important; text-align: right !important; border: none !important; }
.shop_table.woocommerce-checkout-review-order-table tfoot td { color: #ffffff !important; text-align: right; border: none !important; }

th {
    font-weight: 500 !IMPORTANT;
}

/**
 * بخش ۱۳: استایل باکس پرداخت تتر (Anti-Red Fix)
 */
.jadoo-payment-box {
    box-sizing: border-box; background: #162431; border-radius: 15px;
    direction: rtl; margin: 10px 0; display: none;
}
.bank-card { background: #0B1926; border: 1px solid #ffffff1a; border-radius: 10px; padding: 15px; margin-bottom: 12px; }
.bank-name { font-size: 12px; color: #94a3b8; margin-bottom: 8px; display: block; font-weight: bold; }
.copy-wrapper { display: flex; justify-content: space-between; align-items: center; background: #162431; padding: 10px 12px; border: 1px solid #ffffff1a; border-radius: 10px; direction: ltr; }
.copy-value { font-family: monospace !important; font-size: 12px; color: #fff; word-break: break-all; margin-right:5px; }

/* دکمه کپی با استایل ثابت برای جلوگیری از قرمز شدن توسط قالب */
.copy-btn { 
    background: #5CFF85 !important; 
    border: none !important; 
    padding: 6px 15px !important; 
    border-radius: 7px !important; 
    font-size: 11px !important; 
    font-weight: bold !important; 
    cursor: pointer !important; 
    color: #0B1926 !important;
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
    box-shadow: none !important;
}

/* اصلاح حالت نشانگر برای دکمه‌های کپی و ثبت سفارش */
.copy-btn, 
#place_order, 
.arya-v19-badge,
.button.button-primary,
.arya-card {
    cursor: pointer !important;
}

/* اطمینان از اینکه لایه‌های دیگر مانع کلیک نمی‌شوند */
.copy-wrapper, 
.tracking-field-wrapper,
.arya-v19-container {
    pointer-events: auto !important;
}

/* استایل Hover برای دکمه کپی */
.copy-btn:hover {
    opacity: 0.8;
}

.copy-btn:hover, .copy-btn:active, .copy-btn:focus { 
    background: #000000 !important; 
    color: #5CFF85 !important; 
    box-shadow: 0 0 8px rgba(92, 255, 133, 0.3) !important;
    cursor: pointer !important;
}

.tracking-field-wrapper { margin-top: 25px; padding-top: 20px; border-top: 1px dashed #ffffff1a; text-align: right; }
.tracking-field-wrapper label { display: block; font-size: 13px; font-weight: bold; margin-bottom: 12px; color: #fff; }
.tracking-field-wrapper input { 
    width: 100% !important; border: 1px solid #ffffff1a !important; border-radius: 10px !important; 
    padding: 14px 15px !important; background: #0B1926 !important; color: white !important; 
    outline: none !important;
}

@media (max-width: 768px) {
    ul.wc_payment_methods.payment_methods.methods { padding: 10px !important; }
    input#tracking_number_field { font-size: 12px !important; }
    div#payment { margin-top: 10px; margin-bottom:40px;}
}





/* --- استایل فیلدهای اختصاصی بروکر و اکانت --- */
.arya-checkout-section { background: #162431; padding: 25px !important; border: 1px solid #ffffff1a; direction: rtl; text-align: right; border-radius: 12px; margin: 20px 0;
margin-bottom:0px;}
.arya-field-group { margin-bottom: 35px; }
.group-title { display: block; font-weight: 600; margin-bottom: 20px; font-size: 15px; color: #ffffff; padding-right: 15px; position: relative; border-right: 4px solid #5cff85; }
.arya-cards-container { display: grid; gap: 10px; width: 100%; }
.grid-3-col { grid-template-columns: repeat(3, 1fr); }
.grid-2-col { grid-template-columns: repeat(2, 1fr); }
.arya-card { position: relative; cursor: pointer; margin: 0 !important; display: block; }
.arya-card input { position: absolute; opacity: 0; cursor: pointer; }
.card-content { display: flex; align-items: center; justify-content: center; padding:5px; background: #0B1926; border: 1px solid #ffffff1a; border-radius: 8px; font-size: 13px; font-weight: 500; color: #ffffff; transition: 0.3s; min-height: 40px; text-align: center; }
.checkbox-box { width: 18px; height: 18px; border: 2px solid #ffffff33; border-radius: 4px; margin-left: 12px; position: relative; flex-shrink: 0; }
.arya-card input:checked + .card-content { color: #5CFF85; background: rgba(92, 255, 133, 0.08); }
.arya-card input:checked + .card-content .checkbox-box { background: #5CFF85; border-color: #5CFF85; }
.arya-card input:checked + .card-content .checkbox-box::after { content: "✓"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #000; font-size: 12px; font-weight: bold; }

/* استایل تولتیپ */
.info-icon { width: 18px; height: 18px; background: #1e3142; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #5cff85; margin-right: auto; border: 1px solid #ffffff1a; position: relative; z-index: 10; }
.info-icon::after { content: attr(data-tooltip); position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%); background: #fff; color: #000; padding: 10px; border-radius: 8px; font-size: 11px; width: 200px; display: none; z-index: 999; box-shadow: 0 10px 20px rgba(0,0,0,0.5); text-align: justify; line-height: 1.5; font-weight: normal; }
.info-icon:hover::after, .info-icon.active-tooltip::after { display: block; }

.arya-card.disabled-option { opacity: 0.15; cursor: not-allowed; pointer-events: none; filter: grayscale(1); }
.fee-plus-sign { font-weight: bold; }

@media (max-width: 768px) { 
    .grid-3-col { grid-template-columns: repeat(3, 1fr); }
    .card-content{font-size:12px;}
    td.arya-checkout-section { margin-bottom: 0px; }
    .arya-field-group:nth-of-type(5) .grid-2-col { grid-template-columns: 1fr !important; gap:5px; }
    .info-icon:hover::after, .info-icon.active-tooltip::after { transform: translateX(0%); left: 0; bottom: 140%; }
}



/* --- لودینگ نئونی و بلار کل صفحه (Checkout Loading) --- */
.blockUI.blockOverlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(11, 25, 38, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 999999 !important;
    display: block !important;
}

.blockUI.blockMsg.blockElement {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: none !important;
    border: none !important;
    width: 60px !important;
    height: 60px !important;
    z-index: 1000000 !important;
    margin: 0 !important;
    border: 4px solid rgba(92, 255, 133, 0.1) !important;
    border-top: 4px solid #5CFF85 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 20px rgba(92, 255, 133, 0.3);
    animation: aryaSpinFull 0.8s linear infinite !important;
    text-indent: -9999px !important;
}

@keyframes aryaSpinFull {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.blockUI.blockMsg img, 
.blockUI.blockMsg::before {
    display: none !important;
}

/* --- استایل اعتبارسنجی هوشمند ایمیل و موبایل --- */
#billing_phone, #billing_email {
    direction: ltr !important;
    text-align: left !important;
    transition: all 0.3s ease;
}

.email-invalid-error {
    border: 2px solid #ff4757 !important;
    background-color: #fffafb !important;
}

.email-hint-text {
    color: #ff4757;
    font-size: 12px;
    display: none;
    margin-top: 5px;
    font-weight: 500;
}



/* --- استایل یکپارچه و اصلاح شده برای صفحه تشکر و پنل کاربری --- */

.arya-v19-container { 
    background: #162431 !important; 
    border-radius: 15px !important; 
    padding: 50px 30px !important; 
    margin: 20px auto !important; 
    max-width: 680px !important; 
    border: 1px solid rgba(255,255,255,0.06) !important; 
    text-align: center !important; 
    direction: rtl !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    clear: both; /* جلوگیری از تداخل با المان‌های شناور قالب */
}

/* اصلاح تداخل فونت و استایل در پنل کاربری */
.arya-v19-container * {
    box-sizing: border-box;
}

.arya-v19-status-icon { 
    width: 90px !important; 
    height: 90px !important; 
    margin: 0 auto 20px !important; 
    border-radius: 50% !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important; 
}

.arya-v19-status-icon svg { width: 45px !important; height: 45px !important; margin: 0 !important; }

.arya-v19-h1 { 
    color: #fff !important; 
    font-size: 24px !important; 
    font-weight: 800 !important; 
    margin-bottom: 12px !important; 
    border: none !important; 
    line-height: 1.4 !important;
}

.arya-v19-p { 
    color: #94a3b8 !important; 
    font-size: 14px !important; 
    line-height: 1.8 !important; 
    margin-bottom: 30px !important; 
}

.arya-v19-card { 
    background: #0b1926 !important; 
    border-radius: 20px !important; 
    padding: 10px 25px !important; 
    border: 1px solid rgba(255,255,255,0.03) !important; 
    margin-bottom: 25px !important; 
}

.arya-v19-row { 
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
    padding: 15px 0 !important; 
    border-bottom: 1px solid rgba(255,255,255,0.02) !important; 
}

.arya-v19-row:last-child { border: none !important; }

.arya-v19-label { color: #64748b !important; font-size: 13px !important; font-weight: 500 !important; }

/* اصلاح تراز متن مقادیر */
.arya-v19-value { 
    color: #fff !important; 
    font-weight: 600 !important; 
    font-size: 14px !important; 
    text-align: left !important; 
}

.arya-v19-hash-box { border-radius: 18px !important; padding: 20px !important; margin-bottom: 25px !important; text-align: right !important; border: 1px dashed !important; }

.arya-v19-hash-header { 
    display: flex !important; 
    align-items: center !important; 
    gap: 8px !important; 
    font-size: 13px !important; 
    font-weight: 800 !important; 
    margin-bottom: 10px !important; 
    justify-content: center !important;
}

.arya-v19-hash-code { 
    background: #0b1926 !important; 
    color: #f8fafc !important; 
    padding: 12px !important; 
    border-radius: 10px !important; 
    font-family: monospace !important; 
    font-size: 11px !important; 
    display: block !important; 
    word-break: break-all !important; 
    border: 1px solid rgba(255,255,255,0.05) !important; 
    text-align: center !important; 
}

.arya-v19-badge { 
    display: inline-flex !important; 
    align-items: center !important; 
    padding: 14px 40px !important; 
    border-radius: 12px !important; 
    font-size: 13px !important; 
    font-weight: 900 !important; 
    color: #0b1926 !important; 
    text-decoration: none !important; 
}

.arya-v19-feature-list { font-size: 13px !important; font-weight: 600 !important; line-height: 1.8 !important; text-align: left !important; }

/* حذف متون اضافی ووکامرس در صفحه مشاهده سفارش */
.woocommerce-MyAccount-content p:first-of-type, 
.woocommerce-view-order p:first-of-type,
.woocommerce-order-details__title { 
    display: none !important; 
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .arya-v19-container { padding: 30px 15px !important; }
    .arya-v19-status-icon { width: 70px !important; height: 70px !important; }
    .arya-v19-h1 { font-size: 20px !important; }
    .arya-v19-row { flex-direction: column !important; gap: 8px !important; text-align: center !important; }
    .arya-v19-value, .arya-v19-feature-list { text-align: center !important; }
}




     /* --- استایل‌های عمومی (Desktop First) --- */
        .woocommerce-NoticeGroup-checkout, 
        .woocommerce-notices-wrapper {
            position: fixed !important;
            top: 25px !important;
            right: 25px !important;
            left: auto !important;
            z-index: 9999999 !important;
            width: 100%;
            max-width: 340px !important;
            pointer-events: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }


        .woocommerce-error, 
        .woocommerce-message, 
        .woocommerce-info {
            background: #162431 !important;
            color: #fff !important;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            border-radius: 12px !important;
            padding: 16px 24px 16px 16px !important;
            margin-bottom: 15 !important;
            list-style: none !important;
            pointer-events: auto;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(5px);
			font-size: 13px !important; 
            /* انیمیشن پیش‌فرض دسکتاپ: ورود از راست */
            animation: aryaSlideInRight 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
        }

        /* --- تنظیمات موبایل (Mobile Styles) --- */
        @media only screen and (max-width: 768px) {
            .woocommerce-NoticeGroup-checkout, 
            .woocommerce-notices-wrapper {
                top: 15px !important;     /* فاصله کم از بالا */
                right: 0 !important;      /* ریست کردن موقعیت راست */
                left: 0 !important;       /* گرفتن کل عرض */
                margin: 0 auto !important;/* وسط چین کردن */
                width: 92% !important;    /* عرض 92 درصدی برای فاصله از لبه‌ها */
                max-width: 92% !important;
                align-items: center;      /* اطمینان از وسط‌چینی آیتم‌ها */
            }
            
            
.woocommerce-info {
    margin-bottom: 0px ! IMPORTANT;
}

            .woocommerce-error, 
            .woocommerce-message, 
            .woocommerce-info {
                width: 100% !important;
                font-size: 13px !important; /* فونت کوچک‌تر */
                padding: 12px 15px !important; /* پدینگ کمتر */
                /* انیمیشن موبایل: ورود از بالا */
                animation: aryaSlideInTop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
            }
            
            /* مخفی کردن آیکون لینک‌ها در موبایل اگر فضا کم است */
             .woocommerce-error li, .woocommerce-message li, .woocommerce-info li {
                text-align: center; /* متن وسط‌چین در موبایل */
                padding-right: 0 !important;
            }
        }

        /* --- نوار تایمر --- */
        .woocommerce-error::after, 
        .woocommerce-message::after, 
        .woocommerce-info::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            height: 3px;
            width: 100%;
            animation: aryaTimer 4s linear forwards;
        }

        /* --- رنگ‌بندی‌ها --- */
        .woocommerce-error {
            box-shadow: 0 5px 20px rgba(255, 71, 87, 0.15) !important;
        }
        .woocommerce-error::after { background-color: #ff4757; }

        .woocommerce-message {
            border-right: 4px solid #2ed573 !important;
            box-shadow: 0 5px 20px rgba(46, 213, 115, 0.15) !important;
        }
        .woocommerce-message::after { background-color: #2ed573; }

        .woocommerce-info {
            border-right: 4px solid #1e90ff !important;
            box-shadow: 0 1px 20px rgba(30, 144, 255, 0.15) !important;
        }
        .woocommerce-info::after { background-color: #1e90ff; }

        /* --- لینک‌ها --- */
        .woocommerce-error li a {
            color: #fff !important;
        }

        /* حذف آیکون‌های پیش‌فرض */
        .woocommerce-error::before, 
        .woocommerce-message::before,
        .woocommerce-info::before {
            display: none !important;
        }

        /* --- انیمیشن‌ها (Keyframes) --- */
        
        /* 1. ورود از راست (دسکتاپ) */
        @keyframes aryaSlideInRight {
            0% { opacity: 0; transform: translateX(100px) scale(0.9); }
            100% { opacity: 1; transform: translateX(0) scale(1); }
        }

        /* 2. ورود از بالا (موبایل) */
        @keyframes aryaSlideInTop {
            0% { opacity: 0; transform: translateY(-50px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        /* 3. تایمر */
        @keyframes aryaTimer {
            from { width: 100%; }
            to { width: 0%; }
        }

        /* 4. خروج (Fade Out) - کلاس اضافه شده با JS */
        .arya-fade-out {
            animation: aryaExitAnim 0.5s forwards !important;
        }

        @keyframes aryaExitAnim {
            from { opacity: 1; transform: scale(1); }
            to { opacity: 0; transform: scale(0.9); }
        }
        
        
form#woocommerce-checkout-form-coupon {
    border: none ! IMPORTANT;
}

.woocommerce-message {
    max-width: 500px;
    margin: 0px auto;
    margin-bottom: 30px ! IMPORTANT;
}












/* --- استایل تم تاریک (Dark Mode) --- */
body, .woocommerce-checkout {
    background-color: #0B1926 !important;
    color: #ffffff;
}
	textarea#order_comments {
    height: 150px;
}

.woocommerce-checkout .woocommerce {
    background: #0B1926;
}

/* اینپوت‌ها و فیلدها */
.woocommerce-input-wrapper .input-text, 
.woocommerce form .form-row select,
textarea#order_comments {
    background: #162431 !important;
    border: 1px solid #ffffff1a !important;
}



/* باکس پرداخت */
#add_payment_method #payment, 
.woocommerce-cart #payment, 
.woocommerce-checkout #payment {
    background: #162431 !important;
    border: 1px solid #ffffff1a !important;
	border-radius:10px !important;
}

/* دکمه ثبت سفارش جادویی */
    .woocommerce #payment #place_order {
        background-color: #5CFF85 !important;
        color: #0B1926 !important;
        font-weight: bold !important;
        font-size: 18px !important;
        transition: 0.3s !important;
        width: 100%;
        padding: 20px;
        border-radius: 10px;
    }

.woocommerce #payment #place_order:hover {
    background-color: #4ee677 !important;
    box-shadow: 0 0 15px rgba(92, 255, 133, 0.4);
	
	
}


.col-1, .col-2 {
    width: 100% ! IMPORTANT;
}

	

.woocommerce-checkout-review-order-table thead {
  display: none !important;
}



/* ۲. کارت محصول - حفظ دیزاین نئونی با تراز دقیق */
.woocommerce-checkout-review-order-table tr.cart_item {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: #162431 !important;
  padding: 15px 20px !important; /* پدینگ بهینه */
  border-radius: 12px !important;
  margin-bottom: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  position: relative;
  overflow: hidden;
  box-sizing: border-box !important;
}

.woocommerce-checkout-review-order-table tr.cart_item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 4px;
  background: #5cff85;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 0 15px #5cff85;
}

.woocommerce-checkout-review-order-table td {
  display: inline-block !important; /* بهبود تراز افقی */
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* نام و قیمت محصول */
.product-name {
  color: #ffffff !important;
  font-size: 17px ;
  font-weight: 700 !important;
  text-align: right !important;
}

.product-quantity {
  color: #5cff85 !important;
  background: rgba(92, 255, 133, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
  margin-right: 8px;
  font-size: 12px !important;
}

.product-total .amount {
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}



/* ۴. باکس نهایی مجموع کل */
.order-total {
  background: #11282c ;
  border-radius: 10px ;
  padding: 10px 20px ; /* پدینگ متناسب */
  display: flex ;
  justify-content: space-between ;
  align-items: center ;
	
	    background: #5cff8508 !important;
    border: 1px solid #5cff85 !important;
}
tr.order-total th {
    color: #5cff85 ! IMPORTANT;
    font-weight: 500 !important;
	font-size:17px;
}
.order-total .amount {
  color: #5cff85 !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  text-shadow: 0 0 20px rgba(92, 255, 133, 0.4) !important;
}



/* حذف حاشیه‌های اضافی در جداول وردپرس */
table,
table td,
table th {
  border: none !important;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    display: none !important;
}

section.woocommerce-bacs-bank-details {
    display: none !important;
}


tr {
    order: 3 !IMPORTANT;
    margin-top: 10px;
}


#avans_ref_code_field_field {
    display: block !important;
    width: 100% !important;
    clear: both !important;
    margin-bottom: 0px !important;
    margin-top: 10px;
    padding: 0px;
}

#avans_ref_code_field_field label {
    transition: all 0.2s;
    pointer-events: none;
}



.form-row.place-order {
    display: flex;
    flex-direction: column;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    float: left;
    order: 4;
}
.woocommerce-terms-and-conditions-wrapper {
    order: 3;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 12px;
    text-align: center;
}

div#jadoo_manual_payment_container {
    order: 2;
}

.woocommerce-privacy-policy-text a {
    color: #5cff85;
    text-decoration: none !important;
}

span.woocommerce-Price-currencySymbol {
    font-size: 14px;
}




a.remove-text-btn {
    font-size: 10px;
    padding: 5px 10px;
    background: rgba(255, 92, 92, 0.1) !important;
    margin-left: 10px;
    color: #ff5c5c;
    text-decoration: none !important;
    border-radius: 7px;
  cursor: pointer !important;

}

.remove-text-btn:hover {
    background-color: #ff5c5c !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

input#tracking_number_field {
    font-family: monospace !important;
}

/* جلوگیری از زوم خودکار در موبایل */
@media screen and (max-width: 768px) {
    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="tel"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout input[type="number"],
    .woocommerce-checkout select,
    .woocommerce-checkout textarea {
        font-size: 16px !important;
    }
}