/* Nour Smart Points & Rewards — modern Arabic RTL account UI */
.nspr-page{direction:rtl;text-align:right;color:#242424;max-width:100%;font-family:inherit}
.nspr-page *{box-sizing:border-box}
.nspr-page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px;padding:4px 0 18px;border-bottom:1px solid #eee}
.nspr-page-header h2{margin:4px 0 8px;font-size:clamp(23px,2.4vw,30px);line-height:1.35;font-weight:750;color:#242424}
.nspr-page-header p,.nspr-section-heading p{margin:0;color:#777;font-size:14px;line-height:1.8}
.nspr-eyebrow{display:inline-block;color:#91541e;font-size:12px;font-weight:700;letter-spacing:.2px}
.nspr-header-mark{display:flex;align-items:center;justify-content:center;flex:0 0 52px;width:52px;height:52px;border-radius:16px;background:#fff1d8;color:#f4a51c;font-size:28px}
.nspr-balance-card{position:relative;overflow:hidden;margin:0 0 30px;padding:25px 28px;border:1px solid #f3d39b;border-radius:18px;background:linear-gradient(120deg,#fffaf0 0%,#fff 100%);box-shadow:0 8px 24px rgba(72,48,20,.055)}
.nspr-balance-card:after{content:"";position:absolute;left:-35px;top:-55px;width:160px;height:160px;border-radius:50%;border:24px solid rgba(244,165,28,.08);pointer-events:none}
.nspr-balance-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.nspr-card-label{font-size:14px;font-weight:650;color:#6f6252}
.nspr-tier-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:#fff0d6;color:#91541e;font-size:12px;font-weight:700}
.nspr-balance-number{position:relative;z-index:1;margin:18px 0 9px;color:#91541e;font-size:clamp(32px,4vw,44px);line-height:1.2;font-weight:800;letter-spacing:-.8px}
.nspr-balance-number span{font-size:17px;font-weight:600;letter-spacing:0}
.nspr-card-footnote{position:relative;z-index:1;margin:0;color:#777;font-size:13px;line-height:1.8}
.nspr-history-section{margin-top:28px}
.nspr-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.nspr-section-heading h3{margin:0 0 5px;font-size:21px;line-height:1.4;font-weight:750;color:#242424}
.nspr-table-wrap{overflow-x:auto;border:1px solid #ececec;border-radius:14px;background:#fff}
.nspr-history-table{width:100%;margin:0;border:0;border-collapse:collapse;border-spacing:0}
.nspr-history-table thead{background:#fafafa}
.nspr-history-table th{padding:15px 18px;text-align:right;font-size:13px;font-weight:700;color:#665b4c;border:0;border-bottom:1px solid #eee}
.nspr-history-table td{padding:16px 18px;text-align:right;font-size:13px;color:#555;border:0;border-bottom:1px solid #f0f0f0;vertical-align:middle}
.nspr-history-table tbody tr:last-child td{border-bottom:0}
.nspr-history-table tbody tr:hover{background:#fffdf8}
.nspr-points-value{display:inline-flex;min-width:58px;justify-content:center;padding:6px 10px;border-radius:8px;font-size:13px;font-weight:750;direction:ltr}
.nspr-points-value.is-positive{background:#eaf8ef;color:#247443}
.nspr-points-value.is-negative{background:#fff0ee;color:#b83c2e}
.nspr-points-value.is-neutral{background:#f2f2f2;color:#555}
.nspr-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:38px 20px;border:1px dashed #e5d4b7;border-radius:16px;background:#fffdf8}
.nspr-empty-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:17px;margin-bottom:14px;background:#fff0d6;color:#e69a0a;font-size:27px}
.nspr-empty-state h4{margin:0 0 8px;font-size:17px;font-weight:750;color:#292929}
.nspr-empty-state p{max-width:420px;margin:0 0 18px;color:#777;font-size:13px;line-height:1.9}
.nspr-page .nspr-shop-button,.nspr-page .button.nspr-shop-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 20px;border:0;border-radius:9px;background:#f4a51c;color:#292929;font-weight:700;text-decoration:none;transition:background .2s ease,transform .2s ease}
.nspr-page .nspr-shop-button:hover{background:#e69a0a;color:#222;transform:translateY(-1px)}
.nspr-page .nspr-empty{padding:20px}
.woocommerce-MyAccount-content .nspr-account-card{display:none!important}
.nspr-redeem{direction:rtl;text-align:right;border:1px solid #f3d39b;border-radius:14px;padding:18px;margin:18px 0;background:#fffaf0}
.nspr-redeem h3{margin-top:0}
.nspr-redeem-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.nspr-redeem-form input[type=number]{width:130px;min-height:40px;border:1px solid #ddd;border-radius:8px;padding:6px 10px}
.nspr-redeem-form .button{border-radius:8px}
@media(max-width:768px){
 .nspr-page-header{align-items:flex-start;margin-bottom:18px;padding-bottom:15px}
 .nspr-header-mark{flex-basis:42px;width:42px;height:42px;border-radius:13px;font-size:23px}
 .nspr-balance-card{padding:20px 18px;border-radius:15px;margin-bottom:24px}
 .nspr-balance-number{font-size:35px}
 .nspr-history-table thead{display:none}
 .nspr-history-table,.nspr-history-table tbody,.nspr-history-table tr,.nspr-history-table td{display:block;width:100%}
 .nspr-history-table tr{padding:8px 14px;border-bottom:1px solid #eee}
 .nspr-history-table tr:last-child{border-bottom:0}
 .nspr-history-table td{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border:0;text-align:left}
 .nspr-history-table td:before{content:attr(data-title);font-weight:700;color:#6b6258;text-align:right}
 .nspr-points-value{min-width:50px}
 .nspr-empty-state{padding:30px 16px}
}

.nspr-wallet-panel{direction:rtl;text-align:right;margin:20px 0;padding:20px;border:1px solid #eadcc6;border-radius:16px;background:#fff;box-shadow:0 6px 20px rgba(30,20,10,.035)}.nspr-wallet-panel h3{margin:0 0 12px;font-size:19px;color:#252525}.nspr-wallet-balance{padding:12px 15px;border-radius:10px;background:#fff8eb;color:#765022}.nspr-wallet-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}.nspr-wallet-actions input[type=number]{max-width:180px;min-height:42px;border:1px solid #ddd;border-radius:9px;padding:8px 12px}.nspr-wallet-panel .button{border:0;border-radius:9px;background:#f4a51c;color:#241b0c;font-weight:700;padding:11px 16px}.nspr-tier-progress{margin:-8px 0 24px;padding:17px 20px;border:1px solid #eee;border-radius:14px;background:#fff}.nspr-tier-progress-heading{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px;font-size:13px}.nspr-tier-progress-heading span,.nspr-tier-progress p{color:#777}.nspr-progress-track{height:8px;background:#f1eee8;border-radius:99px;overflow:hidden}.nspr-progress-track span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f4a51c,#d94a2c)}.nspr-tier-progress p{margin:10px 0 0;font-size:12px}

.nspr-combined-balance-card{direction:rtl;text-align:right;margin:20px 0;padding:20px 22px;border:1px solid #f0d8b5;border-radius:16px;background:#fffaf1;box-shadow:0 6px 20px rgba(30,20,10,.025)}
.nspr-combined-balance-card h3{margin:0 0 16px;font-size:19px;color:#222}
.nspr-combined-balances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 18px}
.nspr-balance-info{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border:1px solid #f1e3d0;border-radius:10px;background:#fff}
.nspr-balance-info span{color:#6e6e6e;font-size:13px}.nspr-balance-info strong{color:#9b5b16;font-size:16px}
.nspr-wallet-use-form label{display:block;margin:0 0 8px;font-weight:600}
.nspr-wallet-use-form .nspr-wallet-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nspr-wallet-use-form input[type=number]{width:180px;max-width:100%;min-height:42px;border:1px solid #ddd;border-radius:9px;padding:8px 12px;background:#fff}
.nspr-wallet-use-form .button{border:0;border-radius:9px;background:#f4a51c;color:#21180a;font-weight:700;padding:11px 16px}
.nspr-wallet-empty-note{margin:0;color:#777;font-size:13px}.nspr-wallet-info-only .nspr-combined-balances{margin-bottom:8px}
@media(max-width:640px){.nspr-combined-balances{grid-template-columns:1fr}.nspr-wallet-use-form .nspr-wallet-actions{align-items:stretch}.nspr-wallet-use-form input[type=number],.nspr-wallet-use-form .button{width:100%}}

.nspr-combined-balance-card .nspr-balance-info small{display:block;flex-basis:100%;color:#888;font-size:11px;margin-top:4px}
.nspr-combined-balance-card .nspr-balance-info{flex-wrap:wrap}

.nspr-customer-convert{margin-top:18px;padding-top:16px;border-top:1px solid #f0e1cd}.nspr-customer-convert h4{margin:0 0 8px;font-size:16px}.nspr-customer-convert>p{color:#777;font-size:13px}.nspr-customer-convert label{display:block;margin:10px 0 7px;font-weight:600}.nspr-customer-convert input[type=number]{width:180px;max-width:100%;min-height:42px;border:1px solid #ddd;border-radius:9px;padding:8px 12px}.nspr-customer-convert .button{border:0;border-radius:9px;background:#f4a51c;color:#21180a;font-weight:700;padding:11px 16px}.nspr-wallet-projection{display:grid;grid-template-columns:1fr auto;gap:8px 16px;margin-top:14px;padding:13px 15px;background:#fff7e9;border:1px solid #f0dfc4;border-radius:10px}.nspr-wallet-projection span{color:#666;font-size:13px}.nspr-wallet-projection strong{color:#965714}.nspr-wallet-projection small{grid-column:1/-1;color:#777;font-size:12px}.nspr-balance-info small{display:block;width:100%;font-size:11px;color:#888;margin-top:3px}@media(max-width:640px){.nspr-customer-convert input[type=number],.nspr-customer-convert .button{width:100%}.nspr-wallet-projection{grid-template-columns:1fr auto}}
