/* =====================================================
   ۱) پیام‌های عمومی ووکامرس
===================================================== */
html body .woocommerce-message,
html body .woocommerce-error,
html body .woocommerce-info { padding: 16px 48px !important; margin: 0 0 24px !important; line-height: 2 !important; text-align: right !important; border-radius: 14px !important; }
html body .woocommerce-message { background: #1f6f68 !important; border: none !important; border-right: 6px solid #b98b4e !important; }
html body .woocommerce-error { background: #5a201f !important; border: none !important; border-right: 6px solid #b98b4e !important; }
html body .woocommerce-info { background: #f7efe4 !important; border: 1px solid #d9c1a0 !important; border-right: 6px solid #b98b4e !important; }
html body .woocommerce-message, html body .woocommerce-message * { color: #fff !important; }
html body .woocommerce-error, html body .woocommerce-error * { color: #fff !important; }
html body .woocommerce-info, html body .woocommerce-info * { color: #7a4a26 !important; }
html body .woocommerce-message .button,
html body .woocommerce-error .button,
html body .woocommerce-info .button { position: static !important; transform: none !important; float: none !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 46px !important; padding: 10px 36px !important; border-radius: 100px !important; border: none !important; margin: 10px 0 0 !important; font-weight: 700 !important; text-decoration: none !important; }
html body .woocommerce-message .button, html body .woocommerce-message .button * { background: #fff !important; color: #1f6f68 !important; }
html body .woocommerce-error .button, html body .woocommerce-error .button * { background: #fff !important; color: #5a201f !important; }
html body .woocommerce-info .button, html body .woocommerce-info .button * { background: #b98b4e !important; color: #fff !important; }
html body .woocommerce-message::before { color: #fff !important; }
html body .woocommerce-error::before { color: #fff !important; }
html body .woocommerce-info::before { color: #b98b4e !important; }
html body.rtl .woocommerce-message::before, html body.rtl .woocommerce-error::before, html body.rtl .woocommerce-info::before { right: 1.1em !important; left: auto !important; }

/* =====================================================
   ۲) پیام‌های اختصاصی (notices)
===================================================== */
.nr-notice { border-radius: 14px; padding: 14px 24px; margin: 0 0 20px; line-height: 2; text-align: right; display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; font-size: 14px; }
.nr-notice__text { flex: 1; }
.nr-notice--success { background: #1f6f68; border-right: 6px solid #b98b4e; color: #fff; box-shadow: 0 6px 18px rgba(31,111,104,.25); }
.nr-notice--error { background: #5a201f; border-right: 6px solid #b98b4e; color: #fff; box-shadow: 0 6px 18px rgba(90,32,31,.25); }
.nr-notice--info { background: #f7efe4; border: 1px solid #d9c1a0; border-right: 6px solid #b98b4e; color: #7a4a26; box-shadow: 0 4px 12px rgba(185,139,78,.15); }
.nr-notice ul { list-style: none; margin: 0; padding: 0; }
.nr-notice a:not(.button) { text-decoration: underline; font-weight: 700; }
.nr-notice--success a:not(.button), .nr-notice--error a:not(.button) { color: #ffe3bd; }
.nr-notice--info a:not(.button) { color: #945C31; }
.nr-notice .button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 7px 26px; border-radius: 100px; font-weight: 700; text-decoration: none !important; font-size: 13px; }
.nr-notice--success .button { background: #fff; color: #1f6f68 !important; }
.nr-notice--error .button { background: #fff; color: #5a201f !important; }
.nr-notice--info .button { background: #b98b4e; color: #fff !important; }
.nr-notice--info .button:hover { background: #945C31; }

/* =====================================================
   ۳) حالت خالی دانلودها
===================================================== */
.nr-downloads-empty { display: flex !important; align-items: center !important; gap: 16px !important; margin: 0 0 24px !important; }
.nr-downloads-empty .nr-box { flex: 1; background: #f7efe4; border: 1px solid #d9c1a0; border-right: 6px solid #b98b4e; border-radius: 14px; padding: 14px 24px; color: #7a4a26; line-height: 2; text-align: right; }
.nr-downloads-empty .nr-btn { flex-shrink: 0; background: #b98b4e; color: #fff !important; border-radius: 100px; padding: 12px 36px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none !important; box-shadow: 0 4px 12px rgba(185,139,78,.3); }
.nr-downloads-empty .nr-btn:hover { background: #945C31; }

/* =====================================================
   ۴) نوار تأیید ایمیل
===================================================== */
.nr-confirm-notice { background: #f7efe4 !important; border: 1px solid #d9c1a0 !important; border-right: 6px solid #b98b4e !important; border-radius: 14px !important; color: #7a4a26 !important; padding: 1.1rem 1.6rem !important; margin: 0 0 1.6rem !important; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 1rem; line-height: 2; font-size: 14px; }
.nr-confirm-notice p, .nr-confirm-notice span { color: #7a4a26 !important; }
.nr-confirm-btn, .nr-confirm-btn:hover { background: #b98b4e !important; color: #fff !important; border: none !important; border-radius: 100px !important; padding: .55em 1.8em !important; min-height: 46px; display: inline-flex; align-items: center; font-weight: 700 !important; white-space: nowrap; }

/* =====================================================
   ۵) سفارشات من
===================================================== */
.nr-orders__header { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 18px; }
.nr-orders__title { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: #4a4a4a; }
.nr-order-card { position: relative; background: #fff; border: 1px solid #e5ded2; border-radius: 14px; margin: 0 0 26px; padding-bottom: 46px; }
.nr-order-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding: 14px 22px; border-bottom: 1px solid #efe9df; color: #6f6a61; font-size: 13.5px; }
.nr-order-row > span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nr-order-num { color: #b98b4e; font-weight: 700; text-decoration: underline; }
.nr-paid { color: #2e7d32; }
.nr-unpaid { color: #c77b30; }
.nr-order-row--footer { display: flex !important; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-bottom: none; }
.nr-order-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nr-link-details { color: #c0763a; text-decoration: underline; font-weight: 700; }
.nr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 6px 22px; border-radius: 100px; font-weight: 700; text-decoration: none !important; font-size: 12.5px; transition: all .25s; }
.nr-btn--gold { background: #b98b4e; color: #fff !important; box-shadow: 0 4px 12px rgba(185,139,78,.3); }
.nr-btn--gold:hover { background: #945C31; }
.nr-btn--outline { background: transparent; color: #b98b4e !important; border: 1px solid #b98b4e; }
.nr-btn--outline:hover { background: #b98b4e; color: #fff !important; }
.nr-btn--ghost { background: transparent; color: #b3402e !important; border: 1px solid #d9a79f; }
.nr-btn--ghost:hover { background: #f9ecea; }
.nr-order-thumbs { display: flex; gap: 8px; }
.nr-order-thumbs a { display: block; transition: transform .25s; }
.nr-order-thumbs a:hover { transform: scale(1.06); }
.nr-order-thumbs img { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; border: 1px solid #e5ded2; background: #f4f1ea; }
.nr-order-status { position: absolute; left: 18px; bottom: 0; padding: 9px 22px 7px; border: 1px solid #e5ded2; border-bottom: none; border-radius: 10px 10px 0 0; background: #fbf9f5; font-size: 12.5px; font-weight: 700; color: #6f6a61; }
.nr-status--completed .nr-order-status { color: #2e7d32; border-color: #bcd6bb; background: #f2f8f1; }
.nr-status--processing .nr-order-status { color: #1f6f68; border-color: #bcd9d6; background: #eef6f5; }
.nr-status--pending .nr-order-status, .nr-status--on-hold .nr-order-status { color: #c77b30; border-color: #e4cfae; background: #faf5ec; }
.nr-status--cancelled .nr-order-status, .nr-status--failed .nr-order-status { color: #b3402e; border-color: #e0b6ae; background: #f9ecea; }
.nr-orders-pagination { display: flex; gap: 8px; justify-content: center; margin: 10px 0 20px; }
.nr-orders-pagination a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 100px; border: 1px solid #e5ded2; color: #6f6a61; text-decoration: none; font-weight: 700; }
.nr-orders-pagination a.current { background: #b98b4e; color: #fff; border-color: #b98b4e; }

/* =====================================================
   ۶) چک‌اوت: کارت محصولات (review-order)
===================================================== */
.nr-review__box { background: #fff; border: 1px solid #e5ded2; border-radius: 14px; padding: 18px 22px; margin: 0 0 24px; }
.nr-review__title { font-size: 16px; color: #4a4a4a; font-weight: 700; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid #efe9df; }
.nr-review__items { display: flex; flex-direction: column; gap: 14px; }
.nr-review-item { display: flex; align-items: center; gap: 16px; background: #fbfaf8; border: 1px solid #efe9df; border-radius: 12px; padding: 12px 16px; }
.nr-review-item__img { flex-shrink: 0; }
.nr-review-item__img img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; border: 1px solid #e5ded2; background: #f4f1ea; }
.nr-review-item__name { flex: 1; color: #4a4a4a; font-size: 14px; font-weight: 600; line-height: 1.9; }
.nr-review-item__discount { display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0; padding: 0 6px; }
.nr-review-item__discount del { color: #a29a8f !important; font-size: 12.5px; font-weight: 400; white-space: nowrap; }
.nr-review-item__discount del * { display: inline !important; white-space: nowrap !important; font-size: 12.5px !important; }
.nr-review-item__price { font-size: 16px; font-weight: 500; color: #3f3a33; white-space: nowrap; display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 8px; flex-shrink: 0; }
.nr-review-item__price * { display: inline-block !important; vertical-align: middle; white-space: nowrap !important; font-weight: 500 !important; }
.nr-review-item__price .woocommerce-Price-amount, .nr-review-item__price bdi { font-size: 16px !important; }
.nr-review-item__price .woocommerce-Price-currencySymbol { margin: 0 6px !important; }
.nr-review-item__price img, .nr-review-item__price svg { height: 20px !important; width: auto !important; margin: 0 6px; }
.nr-review-item__price span:not(.woocommerce-Price-amount):not(.woocommerce-Price-currencySymbol) { margin: 0 6px; }

/* =====================================================
   ۷) چک‌اوت: فاکتور نهایی + کوپن
===================================================== */
.checkout-totals table.shop_table { border-radius: 16px !important; overflow: hidden !important; border: 1px solid #e5ded2 !important; border-collapse: separate !important; border-spacing: 0 !important; padding: 0 !important; background: #fff !important; width: 100%; }
.checkout-totals table.shop_table th, .checkout-totals table.shop_table td { padding: 16px 22px !important; font-size: 14px; }
.checkout-totals table.shop_table th { color: #5a4a3a !important; font-weight: 700 !important; }
.checkout-totals table.shop_table tr td { border-bottom: 1px solid #f2ede5 !important; }
.checkout-totals table.shop_table tr:last-child td { border-bottom: none !important; }
.checkout-totals table.shop_table .amount, .checkout-totals table.shop_table bdi { white-space: nowrap !important; }
/* مبلغ قابل پرداخت: سبز کمرنگ */
.checkout-totals table.shop_table tr.order-total, .checkout-totals table.shop_table tr.order-total th, .checkout-totals table.shop_table tr.order-total td { background: #f0f7f0 !important; }
.checkout-totals table.shop_table tr.order-total th, .checkout-totals table.shop_table tr.order-total td { color: #2e6b3e !important; font-size: 16px !important; font-weight: 800 !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; }
.checkout-totals table.shop_table tr.order-total td bdi, .checkout-totals table.shop_table tr.order-total td .woocommerce-Price-amount { font-size: 17px !important; color: #2e6b3e !important; }
/* آیکن تومان: بزرگ و سبز */
.checkout-totals table.shop_table tr.order-total td svg { width: 26px !important; height: 26px !important; vertical-align: middle !important; margin: 0 4px !important; display: inline-block !important; }
.checkout-totals table.shop_table tr.order-total td svg path { fill: #2e6b3e !important; }
/* تخفیف کوپن در فاکتور نهایی */
.checkout-totals table.shop_table tr.cart-discount th, .checkout-totals table.shop_table tr.cart-discount td { background: #fdf1ef !important; color: #b3402e !important; font-weight: 700 !important; }
/* کوپن باکس: تمام استایل‌ها inline داخل قالب هستن */
.coupon-box label { display: none !important; }

/* =====================================================
   ۸) کوپن (ورودی‌ها – سبد + چک‌اوت)
===================================================== */
input#coupon_code, input[name="coupon_code"], input#coupon-code-input {
	border: 1px solid #e5ded2 !important;
	border-radius: 12px !important;
	background-color: #fbf9f5 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 12.6l-9 9a2 2 0 0 1-2.8 0l-7.4-7.4a2 2 0 0 1 0-2.8l9-9H20a2 2 0 0 1 2 2v8.2z' fill='%23b98b4e'/%3E%3Ccircle cx='16.7' cy='7.3' r='1.6' fill='%23fbf9f5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 18px 18px !important;
	padding: 0 44px 0 16px !important;
	font-size: 13px !important;
	color: #3f3a33 !important;
	height: 44px !important;
	box-sizing: border-box !important;
	line-height: normal !important;
}
input#coupon_code::placeholder, input[name="coupon_code"]::placeholder, input#coupon-code-input::placeholder { color: #b3a89a; opacity: 1; }
.nr-coupon-msg { margin: 10px 0 0; font-size: 12.5px; font-weight: 600; border-radius: 10px; padding: 9px 16px; line-height: 1.9; }
.nr-coupon-msg--error { background: #f9ecea; color: #b3402e; border: 1px solid #e0b6ae; }
.nr-coupon-msg--ok { background: #eef6f5; color: #1f6f68; border: 1px solid #bcd9d6; }

/* =====================================================
   ۹) درگاه زرین‌پال + دکمه پرداخت
===================================================== */
#payment, .woocommerce-checkout-payment { background: #fbf9f5 !important; border: 1px solid #e5ded2 !important; border-radius: 16px !important; padding: 20px !important; }
#payment ul.payment_methods { border: none !important; background: transparent !important; }
#payment ul.payment_methods li { border-color: #e5ded2 !important; }
#payment .payment_box { background: #f7efe4 !important; color: #7a4a26 !important; border-radius: 12px !important; padding: 14px 20px !important; }
#payment a, #order_review a, .woocommerce-privacy-policy-text a { color: #945C31 !important; }
#place_order, button#place_order, .woocommerce #place_order, .woocommerce-checkout #place_order, #payment button.button.alt, #payment .button.alt { background: #b98b4e !important; color: #fff !important; border: none !important; border-radius: 100px !important; padding: 12px 40px !important; font-weight: 700 !important; font-size: 14px; box-shadow: 0 4px 12px rgba(185,139,78,.3) !important; text-shadow: none !important; }
#place_order:hover, #payment .button.alt:hover { background: #945C31 !important; }
#payment .form-row.place-order, #order_review .form-row.place-order, .woocommerce-checkout .form-row.place-order { display: block !important; text-align: center !important; padding-top: 6px !important; }
#payment .form-row.place-order p, #order_review .form-row.place-order p, #payment .form-row.place-order .privacy-policy-text, #order_review .form-row.place-order .woocommerce-privacy-policy-text { text-align: right !important; }
#payment .form-row.place-order div:has(> #place_order), #order_review .form-row.place-order div:has(> #place_order), #payment .form-row.place-order p:has(> #place_order), #order_review .form-row.place-order p:has(> #place_order) { display: block !important; text-align: center !important; float: none !important; }
#place_order, button#place_order { float: none !important; display: block !important; width: fit-content !important; margin: 14px auto 0 !important; text-align: center !important; }

/* =====================================================
   ۱۰) صفحه تشکر بعد از پرداخت
===================================================== */
.nr-thanks { max-width: 1000px; margin: 0 auto; padding: 20px 0; }
.nr-thanks__hero { text-align: center; padding: 26px 0 6px; }
.nr-thanks__hero h1 { color: #1f6f68; font-size: 22px; font-weight: 700; margin: 16px 0 30px; }
.nr-thanks__meta { display: flex; justify-content: center; align-items: center; gap: 12px 42px; flex-wrap: wrap; padding: 0 0 22px; border-bottom: 1px solid #e5ded2; margin: 0 0 34px; color: #6f6a61; font-size: 13.5px; }
.nr-thanks__meta b { color: #3f3a33; font-weight: 700; }
.nr-thanks__downloads-title { font-size: 18px; color: #4a4a4a; font-weight: 700; margin: 0 0 16px; }
.nr-thanks__downloads table { width: 100%; border: 1px solid #e5ded2; border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; }
.nr-thanks__downloads th, .nr-thanks__downloads td { padding: 14px 22px; text-align: right; color: #6f6a61; font-size: 13.5px; border-bottom: 1px solid #efe9df; }
.nr-thanks__downloads thead th { color: #4a4a4a; font-weight: 700; }
.nr-thanks__downloads tbody tr:last-child td { border-bottom: none; }
.nr-thanks__downloads td a:not(.nr-btn) { color: #b98b4e; text-decoration: underline; font-weight: 700; }
.nr-dl-btn { font-size: 12px !important; padding: 6px 20px !important; }

/* =====================================================
   ۱۱) باکس جمع کل سبد + دکمه تکمیل سفارش
===================================================== */
.nr-cart-totals { background: #fff; border: 1px solid #e5ded2; border-radius: 14px; padding: 10px 22px 22px; }
.nr-totals-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid #efe9df; color: #6f6a61; font-size: 13.5px; }
.nr-totals-row b { color: #3f3a33; font-weight: 700; }
.nr-totals-row--final { padding-top: 18px; border-top: 1px dashed #e5ded2 !important; border-bottom: none !important; margin-top: 4px; }
.nr-totals-row--final span { font-size: 14.5px; font-weight: 700; color: #3f3a33; }
.nr-totals-row--final b { font-size: 19px; font-weight: 800; color: #b98b4e; }
.nr-discount { color: #c0392b !important; background: #fbeae7; border: 1px solid #f2d3cc; padding: 4px 14px; border-radius: 100px; font-size: 12.5px; }
.nr-checkout-btn-wrap { padding-top: 18px; text-align: center; }
.nr-checkout-btn-wrap .checkout-button { display: flex !important; align-items: center !important; justify-content: center !important; width: 100%; height: 46px; padding: 0 26px !important; font-size: 14px !important; line-height: 1 !important; background: #b98b4e; color: #fff !important; border: 1px solid #b98b4e !important; border-radius: 100px !important; font-weight: 700 !important; text-decoration: none !important; box-shadow: 0 4px 12px rgba(185,139,78,.3); }
.nr-checkout-btn-wrap .checkout-button:hover { background: #fff !important; color: #b98b4e !important; border: 1px solid #b98b4e !important; box-shadow: none !important; }

/* =====================================================
   ۱۲) لیست محصولات سبد (کارت‌ها)
===================================================== */
.nr-cart-items { display: flex; flex-direction: column; gap: 14px; padding: 20px 0; }
.nr-cart-item { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid #e5ded2; border-radius: 14px; padding: 14px 16px; }
.nr-cart-item__img { flex-shrink: 0; }
.nr-cart-item__img img { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; border: 1px solid #e5ded2; background: #f4f1ea; }
.nr-cart-item__info { flex: 1; min-width: 0; }
.nr-cart-item__info .product-code { color: #8a857c; font-size: 12px; margin: 0 0 4px; }
.nr-cart-item__name { font-size: 14px; font-weight: 600; color: #4a4a4a; line-height: 1.9; }
.nr-cart-item__name a { color: #4a4a4a; }
.nr-cart-item__discount { display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0; padding: 0 6px; }
.nr-discount-badge { display: inline-flex !important; align-items: center !important; justify-content: center !important; background: #e2401c; color: #fff !important; border-radius: 8px; padding: 3px 10px !important; font-size: 11px !important; font-weight: 700 !important; line-height: 1.4 !important; }
.nr-cart-item__discount del { color: #a29a8f !important; font-size: 12.5px; font-weight: 400; white-space: nowrap; }
.nr-cart-item__discount del * { display: inline !important; white-space: nowrap !important; font-size: 12.5px !important; }
.nr-cart-item__side { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nr-cart-item__price { font-size: 16px; font-weight: 500; color: #3f3a33; white-space: nowrap; display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 8px; }
.nr-cart-item__price * { display: inline-block !important; vertical-align: middle; white-space: nowrap !important; font-weight: 500 !important; }
.nr-cart-item__price .woocommerce-Price-amount, .nr-cart-item__price bdi { font-size: 16px !important; }
.nr-cart-item__price .woocommerce-Price-currencySymbol { margin: 0 6px !important; }
.nr-cart-item__price img, .nr-cart-item__price svg { height: 20px !important; width: auto !important; margin: 0 6px; }
.nr-cart-item__price span:not(.woocommerce-Price-amount):not(.woocommerce-Price-currencySymbol) { margin: 0 6px; }
.nr-cart-item .nr-remove { position: static !important; float: none !important; margin: 0 !important; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; color: #c0392b; transition: all .25s ease; }
.nr-cart-item .nr-remove:hover { background: #f9ecea; color: #a93226; transform: scale(1.12) rotate(-8deg); }
.nr-remove__icon { display: block; width: 22px; height: 22px; background: currentColor; -webkit-mask: url('https://naghshiran.com/wp-content/themes/honarism2026/assets/images/trash.svg') no-repeat center / contain; mask: url('https://naghshiran.com/wp-content/themes/honarism2026/assets/images/trash.svg') no-repeat center / contain; }
.nr-cart-actions { display: none !important; }
.cart-collaterals .cross-sells:empty, .cart-collaterals .cross-sells:not(:has(*)) { display: none !important; }

/* =====================================================
   ۱۳) جزئیات سفارش (view-order)
===================================================== */
.nr-vieworder { background: #fff; border: 1px solid #e5ded2; border-radius: 14px; margin: 0 0 26px; padding-bottom: 20px; }
.nr-vieworder .nr-order-row { border-bottom: 1px solid #efe9df; }
.nr-vieworder__total { color: #b98b4e; font-size: 15px; }
.nr-vieworder__total * { display: inline-block !important; vertical-align: middle; white-space: nowrap !important; }
.nr-vieworder__discount { color: #c0392b !important; }
.nr-vieworder__items { padding: 16px 22px 0; display: flex; flex-direction: column; gap: 12px; }
.nr-vieworder__item { display: flex; align-items: center; gap: 14px; background: #fbfaf8; border: 1px solid #efe9df; border-radius: 12px; padding: 12px 14px; }
.nr-vieworder__item img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; border: 1px solid #e5ded2; background: #f4f1ea; }
.nr-vieworder__info { flex: 1; min-width: 0; }
.nr-vieworder__name a { color: #b98b4e; font-weight: 700; text-decoration: underline; font-size: 14px; }
.nr-vieworder__meta { color: #8a857c; font-size: 12.5px; margin-top: 5px; display: flex; gap: 6px 20px; flex-wrap: wrap; }
.nr-vieworder__price { font-size: 15px; font-weight: 500; color: #3f3a33; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nr-vieworder__price * { display: inline-block !important; vertical-align: middle; white-space: nowrap !important; font-weight: 500 !important; }
.nr-vieworder__price .woocommerce-Price-currencySymbol { margin: 0 5px !important; }
.nr-vieworder__price img, .nr-vieworder__price svg { height: 18px !important; width: auto !important; margin: 0 5px; }
.nr-vieworder__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 20px 22px 0; }

/* =====================================================
   ۱۴) دانلودهای حساب کاربری
===================================================== */
.nr-downloads-wrap { background: #fff; border: 1px solid #e5ded2; border-radius: 16px; padding: 18px 22px; }
.nr-downloads-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 16px; border-bottom: 1px solid #efe9df; margin-bottom: 4px; }
.nr-downloads-count { color: #8a857c; font-size: 12.5px; }
.nr-dl-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; border-bottom: 1px solid #efe9df; flex-wrap: wrap; }
.nr-dl-card:last-of-type { border-bottom: none; }
.nr-dl-info { flex: 1; min-width: 220px; }
.nr-dl-title { color: #b98b4e; font-weight: 700; text-decoration: underline; font-size: 14px; }
.nr-dl-meta { display: flex; gap: 6px 26px; flex-wrap: wrap; color: #6f6a61; font-size: 12.5px; margin-top: 8px; }
.nr-dl-meta b { color: #3f3a33; font-weight: 700; }
.nr-dl-file { color: #8a857c; direction: ltr; }

/* =====================================================
   ۱۵) جدول پرداخت سفارش (order-pay) + ستون تخفیف
===================================================== */
form#order_review table.shop_table { border-radius: 16px !important; overflow: hidden !important; border: 1px solid #e5ded2 !important; border-collapse: separate !important; border-spacing: 0 !important; background: #fff !important; width: 100%; }
form#order_review table.shop_table thead th { background: #faf7f2 !important; color: #945C31 !important; font-size: 13px !important; font-weight: 700 !important; padding: 14px 22px !important; border-bottom: 2px solid #e5ded2 !important; }
form#order_review table.shop_table tbody tr { background: #fff; transition: background .2s; }
form#order_review table.shop_table tbody tr:hover { background: #fcfbf9; }
form#order_review table.shop_table tbody td { padding: 16px 22px !important; border-bottom: 1px solid #f2ede5 !important; color: #4a4a4a !important; font-size: 14px !important; }
form#order_review td.product-name { font-weight: 600 !important; }
form#order_review td.product-name a { color: #b98b4e !important; text-decoration: underline; font-weight: 600; }
form#order_review td.product-total { font-weight: 700 !important; color: #3f3a33 !important; white-space: nowrap !important; font-size: 16px !important; }
form#order_review td.product-total bdi, form#order_review td.product-total .woocommerce-Price-amount { font-size: 16px !important; font-weight: 700 !important; }
form#order_review td svg, form#order_review tfoot td svg { margin: 0 2px !important; }
form#order_review table.shop_table th.nr-disc-col, form#order_review table.shop_table td.nr-disc-col { text-align: center !important; }
form#order_review td.nr-disc-val { color: #c0392b !important; font-weight: 700 !important; white-space: nowrap !important; font-size: 15px !important; }
form#order_review td.nr-disc-val svg { width: 18px !important; height: 18px !important; }
form#order_review td.nr-disc-val svg path { fill: #c0392b !important; }
form#order_review td.nr-disc-zero { color: #b9b2a8 !important; }
form#order_review table.shop_table tfoot th, form#order_review table.shop_table tfoot td { background: #fcfbf9 !important; color: #4a4a4a !important; font-weight: 600 !important; font-size: 14px !important; padding: 14px 22px !important; border-bottom: 1px solid #f2ede5 !important; }
form#order_review table.shop_table tfoot th { color: #5a4a3a !important; }
form#order_review table.shop_table tfoot tr.cart-discount th, form#order_review table.shop_table tfoot tr.cart-discount td { background: #fdf1ef !important; color: #b3402e !important; font-weight: 700 !important; border-bottom: 1px solid #f3d9d4 !important; }
form#order_review table.shop_table tfoot tr.order-total th, form#order_review table.shop_table tfoot tr.order-total td { background: #f0f7f0 !important; color: #2e6b3e !important; font-size: 16px !important; font-weight: 800 !important; border-bottom: 1px solid #d9ead9 !important; padding: 18px 22px !important; }
form#order_review table.shop_table tfoot tr.order-total td bdi, form#order_review table.shop_table tfoot tr.order-total td .woocommerce-Price-amount { font-size: 18px !important; font-weight: 800 !important; color: #2e6b3e !important; }
form#order_review table.shop_table tfoot tr.order-total td svg { width: 24px !important; height: 24px !important; vertical-align: middle; margin: 0 2px; }
form#order_review table.shop_table tfoot tr.order-total td svg path { fill: #2e6b3e !important; }
form#order_review table.shop_table tfoot tr:last-child th, form#order_review table.shop_table tfoot tr:last-child td { background: #fff !important; color: #8a857c !important; font-weight: 500 !important; border-bottom: none !important; }

/* =====================================================
   ۱۶) ریسپانسیو موبایل – کامل و یکپارچه
===================================================== */
@media (max-width: 768px) {
	/* پیام‌ها */
	html body .woocommerce-message, html body .woocommerce-error, html body .woocommerce-info { padding: 14px 20px !important; }
	html body .woocommerce-message::before, html body .woocommerce-error::before, html body .woocommerce-info::before { display: none !important; }
	html body .woocommerce-message .button, html body .woocommerce-error .button, html body .woocommerce-info .button { padding: 8px 26px !important; min-height: 42px !important; }
	.nr-notice { padding: 12px 18px; gap: 8px 16px; }
	.nr-confirm-notice { flex-direction: column; align-items: stretch; text-align: center; }
	.nr-confirm-btn { justify-content: center; }
	/* سفارشات */
	.nr-order-row { padding: 12px 16px; font-size: 12.5px; grid-template-columns: 1fr; gap: 6px; }
	.nr-order-card { padding-bottom: 42px; }
	.nr-order-row--footer { flex-direction: column; align-items: flex-start; }
	.nr-order-thumbs img { width: 50px; height: 50px; }
	.nr-order-status { left: 12px; padding: 7px 16px 6px; font-size: 11.5px; }
	.nr-btn { min-height: 34px; padding: 5px 18px; font-size: 11.5px; }
	.nr-orders-pagination a { width: 36px; height: 36px; }
	/* سبد */
	.nr-cart-items { padding: 14px 0; }
	.nr-cart-item { flex-wrap: wrap; gap: 12px; padding: 12px 14px; }
	.nr-cart-item__img img { width: 72px; height: 72px; }
	.nr-cart-item__price { font-size: 15px; }
	.nr-cart-item__price .woocommerce-Price-amount, .nr-cart-item__price bdi { font-size: 15px !important; }
	.nr-cart-item__price img, .nr-cart-item__price svg { height: 18px !important; }
	.nr-cart-item__discount { flex-direction: row; gap: 8px; }
	.nr-cart-item__side { width: 100%; justify-content: space-between; border-top: 1px dashed #efe9df; padding-top: 10px; }
	.nr-cart-totals { padding: 6px 16px 16px; display: block !important; }
	.nr-totals-row { font-size: 12.5px; gap: 8px; width: 100%; }
	.nr-totals-row--final span { font-size: 13px; }
	.nr-totals-row--final b { font-size: 17px; }
	.nr-discount { font-size: 11.5px; padding: 3px 12px; }
	.nr-checkout-btn-wrap .checkout-button { height: 44px; font-size: 13px !important; }
	/* چک‌اوت: کارت‌ها */
	.nr-review__box { padding: 14px; }
	.nr-review-item { padding: 10px 12px; gap: 10px; flex-wrap: wrap; }
	.nr-review-item__img img { width: 54px; height: 54px; }
	.nr-review-item__name { font-size: 12.5px; }
	.nr-review-item__price { font-size: 15px; }
	.nr-review-item__price .woocommerce-Price-amount, .nr-review-item__price bdi { font-size: 15px !important; }
	.nr-review-item__discount { flex-direction: row; gap: 8px; }
	/* چک‌اوت: فاکتور نهایی + کوپن */
	.checkout-totals table.shop_table th, .checkout-totals table.shop_table td { padding: 12px 14px !important; font-size: 12.5px !important; }
	.checkout-totals table.shop_table tr.order-total th, .checkout-totals table.shop_table tr.order-total td { font-size: 14px !important; }
	.checkout-totals table.shop_table tr.order-total td bdi, .checkout-totals table.shop_table tr.order-total td .woocommerce-Price-amount { font-size: 15px !important; }
	.checkout-totals table.shop_table tr.order-total td svg { width: 26px !important; height: 26px !important; }
	/* چک‌اوت: پرداخت */
	#payment, .woocommerce-checkout-payment { padding: 14px !important; }
	#place_order, button#place_order { width: 100% !important; padding: 12px 20px !important; }
	/* جدول پرداخت سفارش: کارت‌های موبایل */
	form#order_review { overflow-x: visible !important; }
	form#order_review table.shop_table { min-width: 0 !important; }
	form#order_review table.shop_table, form#order_review table.shop_table tbody, form#order_review table.shop_table tfoot, form#order_review table.shop_table tr, form#order_review table.shop_table th, form#order_review table.shop_table td { display: block; width: 100%; box-sizing: border-box; }
	form#order_review table.shop_table thead { display: none; }
	form#order_review table.shop_table tbody tr { border: 1px solid #e5ded2; border-radius: 12px; margin: 0 0 10px; padding: 12px 14px; background: #fff; }
	form#order_review table.shop_table tbody td { border: none !important; padding: 4px 0 !important; }
	form#order_review td.product-name { font-weight: 700 !important; font-size: 13.5px !important; }
	form#order_review td.nr-disc-zero { display: none !important; }
	form#order_review td.nr-disc-val::before { content: 'تخفیف: '; color: #8a857c; font-size: 12px; font-weight: 500; }
	form#order_review td.product-total::before { content: 'جمع کل: '; color: #8a857c; font-size: 12px; font-weight: 500; }
	form#order_review table.shop_table tfoot tr { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; margin: 0 0 8px; border-radius: 10px; }
	form#order_review table.shop_table tfoot th, form#order_review table.shop_table tfoot td { border: none !important; padding: 0 !important; background: transparent !important; }
	form#order_review table.shop_table tfoot td:empty { display: none !important; }
	form#order_review table.shop_table tfoot tr.cart-discount { background: #fdf1ef !important; }
	form#order_review table.shop_table tfoot tr.cart-discount th, form#order_review table.shop_table tfoot tr.cart-discount td { color: #b3402e !important; }
	form#order_review table.shop_table tfoot tr.order-total { background: #f0f7f0 !important; }
	form#order_review table.shop_table tfoot tr.order-total th, form#order_review table.shop_table tfoot tr.order-total td { color: #2e6b3e !important; }
	/* تشکر */
	.nr-thanks { padding: 10px 0; }
	.nr-thanks__hero h1 { font-size: 18px; margin-bottom: 20px; }
	.nr-thanks__meta { flex-direction: column; gap: 8px; align-items: center; }
	.nr-thanks__downloads { overflow-x: auto; }
	.nr-thanks__downloads table { min-width: 560px; }
	/* دانلودها */
	.nr-downloads-wrap { padding: 14px 16px; }
	.nr-dl-meta { gap: 4px 16px; font-size: 11.5px; }
	.nr-dl-card { flex-direction: column; align-items: flex-start; }
	.nr-dl-card .nr-btn { width: 100%; }
	.nr-downloads-empty { flex-direction: column; align-items: stretch; }
	.nr-downloads-empty .nr-btn { width: 100%; }
	/* جزئیات سفارش */
	.nr-vieworder__items { padding: 12px 14px 0; }
	.nr-vieworder__item { flex-wrap: wrap; gap: 10px; }
	.nr-vieworder__item img { width: 56px; height: 56px; }
	.nr-vieworder__price { width: 100%; justify-content: flex-start; border-top: 1px dashed #efe9df; padding-top: 8px; }
	.nr-vieworder__actions { padding: 14px 14px 0; }
	.nr-vieworder__actions .nr-btn { flex: 1; justify-content: center; }
}