/* WooCommerce «حسابي» pages (v1.70) — site design, flat */
body.mkacc{--nv:#202d66;--or:#f47718;--ink:#1b1f2a;--tx:#4a5268;--mu:#6b7389;--ln:#e3e7f0;--gr:#f3f4f7;background:#f3f4f7}
body.mkacc .woocommerce,body.mkacc .woocommerce *{box-shadow:none!important;font-family:"IBM Plex Sans Arabic",Tahoma,sans-serif}
body.mkacc .entry-title,body.mkacc h1.entry-title{color:var(--nv)!important;font:700 clamp(26px,3vw,36px)/1.3 "Readex Pro",sans-serif!important}
body.mkacc .woocommerce{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start;direction:rtl}
body.mkacc .woocommerce::before,body.mkacc .woocommerce::after{display:none!important}
body.mkacc .woocommerce-MyAccount-navigation,body.mkacc .woocommerce-MyAccount-content{float:none!important;width:auto!important;margin:0!important}
/* navigation */
body.mkacc .woocommerce-MyAccount-navigation ul{margin:0!important;padding:8px!important;list-style:none;border:1px solid var(--ln)!important;border-radius:22px;background:#fff}
body.mkacc .woocommerce-MyAccount-navigation li{margin:0!important;padding:0!important;border:0!important;list-style:none}
body.mkacc .woocommerce-MyAccount-navigation li a{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 14px!important;border:0!important;border-radius:14px;background:transparent!important;color:var(--nv)!important;font-size:14.5px;font-weight:600;text-decoration:none!important}
body.mkacc .woocommerce-MyAccount-navigation li a:hover{background:var(--gr)!important}
body.mkacc .woocommerce-MyAccount-navigation li.is-active a{background:var(--nv)!important;color:#fff!important}
body.mkacc .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{margin-top:6px!important;padding-top:6px!important;border-top:1px solid var(--ln)!important}
body.mkacc .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a{color:#b42318!important}
/* content blocks */
body.mkacc .woocommerce-MyAccount-content{color:var(--tx);font-size:15px}
body.mkacc .woocommerce-MyAccount-content>p:first-child:has(mark){display:none}
body.mkacc .woocommerce-MyAccount-content h2,body.mkacc .woocommerce-MyAccount-content h3{margin:22px 0 12px!important;color:var(--nv)!important;font:700 20px/1.4 "Readex Pro",sans-serif!important}
body.mkacc .woocommerce-MyAccount-content a{color:var(--or)}
/* order summary card */
body.mkacc .mkacc-hero{position:relative;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:18px;padding:24px 26px;border-radius:24px;background:var(--nv);color:#fff;background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 1px,transparent 1px 44px),repeating-linear-gradient(0deg,rgba(255,255,255,.04) 0 1px,transparent 1px 44px)}
body.mkacc .mkacc-kick{color:#ffb27a;font-size:13px;font-weight:700}
body.mkacc .mkacc-hero h2{margin:4px 0 0!important;color:#fff!important;font:700 26px/1.3 "Readex Pro",sans-serif!important}
body.mkacc .mkacc-hero p{margin:4px 0 0!important;color:#c7cde3;font-size:14px}
body.mkacc .mkacc-hero-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
body.mkacc .mkacc-status{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:999px;font-size:13px;font-weight:700}
body.mkacc .mkacc-status i{width:7px;height:7px;border-radius:50%;background:currentColor}
body.mkacc .mkacc-status.is-ok{background:rgba(63,191,127,.18);color:#7fe0ae}
body.mkacc .mkacc-status.is-wait{background:rgba(244,119,24,.18);color:#ffb27a}
body.mkacc .mkacc-status.is-no{background:rgba(208,68,55,.2);color:#ff9b8f}
body.mkacc .mkacc-total{color:#fff;font:700 28px "Readex Pro",sans-serif}
body.mkacc .mkacc-total del{margin-inline-end:6px;color:#8f9bc2;font-size:15px}
body.mkacc .mkacc-total ins{text-decoration:none}
body.mkacc .mkacc-back{position:absolute;top:16px;left:18px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.1);color:#fff!important;font-size:13px;font-weight:600;text-decoration:none!important}
body.mkacc .mkacc-back:hover{background:rgba(255,255,255,.18)}
/* tables */
body.mkacc .woocommerce-MyAccount-content table.shop_table,body.mkacc .woocommerce table.shop_table{width:100%;margin:0 0 18px!important;border:1px solid var(--ln)!important;border-collapse:separate!important;border-spacing:0;border-radius:20px!important;background:#fff;overflow:hidden}
body.mkacc table.shop_table :is(th,td){padding:14px 18px!important;border:0!important;border-top:1px solid var(--ln)!important;background:#fff!important;color:var(--ink);text-align:right;font-size:14.5px;vertical-align:middle}
body.mkacc table.shop_table thead th{border-top:0!important;background:var(--gr)!important;color:var(--mu);font-size:12.5px;font-weight:700}
body.mkacc table.shop_table tfoot th{color:var(--mu);font-weight:600}
body.mkacc table.shop_table tfoot tr:last-child :is(th,td),body.mkacc table.shop_table tfoot tr:has(.woocommerce-Price-amount):nth-last-child(2) td{color:var(--nv)}
body.mkacc table.shop_table .product-name a{color:var(--nv)!important;font-weight:700;text-decoration:none!important}
body.mkacc table.shop_table .product-quantity{color:var(--mu);font-weight:600}
body.mkacc table.shop_table .woocommerce-Price-amount{color:var(--nv);font:700 15px "Readex Pro",sans-serif}
body.mkacc table.shop_table tfoot tr:nth-last-child(2) .woocommerce-Price-amount{font-size:18px}
/* buttons */
body.mkacc .woocommerce :is(a.button,button.button,.button,input.button){display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 24px!important;border:0!important;border-radius:999px!important;background:var(--or)!important;color:#fff!important;font-weight:700!important;font-size:14.5px!important;text-decoration:none!important}
body.mkacc .woocommerce :is(a.button,button.button,.button):hover{background:#e0650a!important}
body.mkacc .order-again{margin:0 0 22px!important}
body.mkacc .woocommerce-orders-table .button,body.mkacc .woocommerce-orders-table__cell-order-actions .button{min-height:38px;padding:0 16px!important;background:var(--gr)!important;color:var(--nv)!important;border:1px solid var(--ln)!important}
/* addresses */
body.mkacc .woocommerce-customer-details,body.mkacc .woocommerce-Address{margin:0 0 18px!important;padding:22px 24px;border:1px solid var(--ln);border-radius:22px;background:#fff}
body.mkacc .woocommerce-customer-details h2{margin-top:0!important}
body.mkacc .woocommerce-customer-details address{margin:0!important;padding:0!important;border:0!important;color:var(--tx);font-style:normal;line-height:2}
body.mkacc .woocommerce-customer-details--phone,body.mkacc .woocommerce-customer-details--email{direction:ltr;text-align:right;color:var(--nv)}
/* forms (account details / addresses) */
body.mkacc .woocommerce-MyAccount-content :is(input.input-text,select,textarea){width:100%;min-height:48px;padding:0 14px!important;border:1px solid var(--ln)!important;border-radius:14px!important;background:#fff!important;color:var(--ink);font-size:15px}
body.mkacc .woocommerce-MyAccount-content :is(input.input-text,select,textarea):focus{border-color:var(--nv)!important;outline:0}
body.mkacc .woocommerce-MyAccount-content label{color:var(--nv);font-weight:600;font-size:14px}
body.mkacc .woocommerce-message,body.mkacc .woocommerce-info,body.mkacc .woocommerce-error{margin:0 0 16px!important;padding:14px 18px!important;border:0!important;border-radius:16px;background:#fff4ea!important;color:#b8530a!important}
body.mkacc .woocommerce-message::before,body.mkacc .woocommerce-info::before,body.mkacc .woocommerce-error::before{display:none!important}
@media (max-width:900px){
	body.mkacc .woocommerce{grid-template-columns:minmax(0,1fr)}
	body.mkacc .woocommerce-MyAccount-navigation ul{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:6px!important;border-radius:999px}
	body.mkacc .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
	body.mkacc .woocommerce-MyAccount-navigation li a{min-height:40px;border-radius:999px;white-space:nowrap;font-size:13.5px}
	body.mkacc .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{margin:0!important;padding:0!important;border:0!important}
}
@media (max-width:640px){
	body.mkacc .mkacc-hero{padding:20px 18px;border-radius:20px}
	body.mkacc .mkacc-hero-side{align-items:flex-start}
	body.mkacc .mkacc-back{position:static;order:-1}
	body.mkacc table.shop_table :is(th,td){padding:12px 14px!important;font-size:14px}
	body.mkacc .order-again .button{width:100%}
}
/* dark mode */
html[data-mkhf-theme="dark"] body.mkacc{background:#0f172b}
html[data-mkhf-theme="dark"] body.mkacc :is(.woocommerce-MyAccount-navigation ul,table.shop_table,table.shop_table :is(th,td),.woocommerce-customer-details,.woocommerce-Address){background:#151e33!important;border-color:#26324b!important;color:#edf1f8}
html[data-mkhf-theme="dark"] body.mkacc table.shop_table thead th{background:#1b2640!important;color:#8f9bc2}
html[data-mkhf-theme="dark"] body.mkacc :is(.woocommerce-MyAccount-navigation li a,table.shop_table .product-name a,.woocommerce-Price-amount,.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3,.entry-title){color:#edf1f8!important}
html[data-mkhf-theme="dark"] body.mkacc .woocommerce-MyAccount-navigation li a:hover{background:#1b2640!important}
html[data-mkhf-theme="dark"] body.mkacc .woocommerce-MyAccount-navigation li.is-active a{background:#f47718!important}
html[data-mkhf-theme="dark"] body.mkacc .woocommerce-customer-details address{color:#b7c0d4}
body.mkacc .mkacc-back{position:static!important;display:inline-flex;margin-top:12px}
body.mkacc .woocommerce-customer-details address p{margin:0!important}

/* v1.70.1 — hide WooCommerce's account menu and the «حسابي» page title; content full width */
body.mkacc .woocommerce-MyAccount-navigation{display:none!important}
body.mkacc .woocommerce{grid-template-columns:minmax(0,1fr)!important;max-width:980px;margin-inline:auto}
body.mkacc :is(.entry-header,.ast-archive-description,.page-header):has(.entry-title),body.mkacc .entry-title{display:none!important}

/* v1.70.2 — title, intro sentence, centring */
body.mkacc :is(.entry-header,article>header,.ast-single-entry-banner,.ast-page-title-bar){display:none!important}
body.mkacc .woocommerce-MyAccount-content:has(.mkacc-hero)>p:first-of-type{display:none!important}
html body.mkacc div.woocommerce{display:block!important;width:100%!important;max-width:1040px!important;margin:24px auto 60px!important;padding:0 16px!important;box-sizing:border-box}
html body.mkacc .woocommerce-MyAccount-content{width:100%!important;max-width:none!important}
body.mkacc table.shop_table :is(td,th):last-child{text-align:left!important}
body.mkacc table.shop_table tfoot td{font-weight:600}
body.mkacc .woocommerce-order-details__title{margin-top:26px!important}
body.mkacc .order-again{display:flex;justify-content:flex-start}
body.mkacc :is(h1.entry-title,.entry-title,.ast-page-title,.page-title):empty{display:none!important}

/* v1.70.4 — billing address card: clean heading, icons beside phone/email */
body.mkacc .woocommerce-customer-details :is(.woocommerce-column__title,h2,.woocommerce-column--billing-address,.woocommerce-columns,.col2-set,.col-1,.col-2){border:0!important;background:transparent!important;padding:0!important;margin-inline:0!important;width:auto!important;float:none!important}
body.mkacc .woocommerce-customer-details h2{margin:0 0 12px!important}
body.mkacc .woocommerce-customer-details address{display:grid;gap:8px;border:0!important;padding:0!important;background:none!important}
body.mkacc .woocommerce-customer-details address p{position:static!important;display:flex!important;align-items:center;gap:10px;margin:0!important;padding:0!important;direction:rtl!important;text-align:right!important}
body.mkacc .woocommerce-customer-details address p::before{position:static!important;flex:none;display:grid!important;place-items:center;width:32px;height:32px;margin:0!important;border-radius:10px;background:#f3f4f7;color:#202d66;line-height:1!important;font-size:15px}
body.mkacc .woocommerce-customer-details--phone,body.mkacc .woocommerce-customer-details--email{unicode-bidi:plaintext}
html[data-mkhf-theme="dark"] body.mkacc .woocommerce-customer-details address p::before{background:#1b2640;color:#edf1f8}
