
/* Parya Shop v15 — professional RTL account center */
body.woocommerce-account{background:#fffafd}
body.woocommerce-account main.section{padding-top:34px!important}
body.woocommerce-account .content-shell{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body.woocommerce-account .entry-content>.woocommerce{
  direction:rtl!important;display:grid!important;grid-template-columns:minmax(0,1fr) 290px!important;
  gap:24px!important;align-items:start!important;max-width:1240px!important;margin:0 auto!important
}
body.woocommerce-account .woocommerce-MyAccount-navigation{grid-column:2!important;grid-row:1!important;position:static!important}
body.woocommerce-account .woocommerce-MyAccount-content{grid-column:1!important;grid-row:1!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.parya-account-nav{position:sticky!important;top:118px!important;background:#fff;border:1px solid #f0e3e8;border-radius:26px;padding:14px!important;box-shadow:0 16px 46px rgba(76,39,55,.07)}
.parya-account-identity{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;align-items:center;padding:8px 6px 16px;border-bottom:1px solid #f2e7eb;margin-bottom:8px}
.parya-account-logo{width:68px;height:68px;border-radius:22px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#fff1f6,#fff);border:1px solid #f3d8e2}
.parya-logo-symbol-img{width:68px!important;height:68px!important;object-fit:contain!important;padding:5px}.parya-logo-symbol-fallback{display:grid;place-items:center;border-radius:22px;background:linear-gradient(135deg,var(--pink),var(--peach));color:#fff;font-size:28px;font-weight:900}
.parya-account-identity div:last-child{min-width:0;display:flex;flex-direction:column}.parya-account-identity small{font-size:7px;letter-spacing:.13em;color:var(--pink);font-weight:900}.parya-account-identity strong{font-size:14px;margin:3px 0}.parya-account-identity span{font-size:9px;color:#8c7c84;direction:ltr;text-align:right;overflow:hidden;text-overflow:ellipsis}
.parya-account-nav ul{position:static!important;display:block!important;padding:4px!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.parya-account-nav li{border:0!important;margin:3px 0!important}.parya-account-nav li a{display:grid!important;grid-template-columns:38px 1fr 20px;align-items:center;gap:8px!important;min-height:50px;padding:6px 8px!important;border:0!important;border-radius:14px!important;background:transparent!important;color:#6f6269!important;font-size:11px!important;font-weight:800!important}
.parya-account-nav li a:hover,.parya-account-nav li.is-active a{background:#fff1f5!important;color:#d95882!important}.parya-account-menu-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#fff7fa;color:var(--pink)}.parya-account-menu-icon svg,.parya-account-menu-arrow svg{width:17px;height:17px}.parya-account-menu-arrow{display:grid;place-items:center}
.parya-account-help{margin-top:12px;padding:15px;border-radius:17px;background:#282127;color:#fff;display:flex;flex-direction:column;gap:5px}.parya-account-help b{font-size:11px}.parya-account-help span{font-size:8px;line-height:1.9;color:#d7cbd1}.parya-account-help a{display:inline-flex!important;justify-content:center!important;margin-top:5px!important;padding:8px!important;border-radius:10px!important;background:#fff!important;color:#35272f!important;font-size:9px!important;font-weight:900!important}

/* Generic account content */
.parya-account-section,.parya-addresses,.parya-order-detail,.woocommerce-MyAccount-content>form,.woocommerce-MyAccount-content>.woocommerce-address-fields{direction:rtl;text-align:right}
.parya-account-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px;padding:2px 3px}.parya-account-section-head h2{font-size:27px;margin:3px 0}.parya-account-section-head p{margin:0;color:#897980;font-size:10px}

/* Orders list */
.parya-orders-list{display:grid;gap:12px}.parya-order-row{display:grid;grid-template-columns:86px minmax(0,1fr);gap:14px;padding:15px;background:#fff;border:1px solid #f0e3e8;border-radius:22px;box-shadow:0 10px 32px rgba(75,39,55,.04);transition:.2s}.parya-order-row:hover{transform:translateY(-2px);border-color:#f0bfd0;box-shadow:0 16px 38px rgba(75,39,55,.07)}
.parya-order-thumb{width:86px;height:86px;border-radius:17px;overflow:hidden;background:#fff7fa}.parya-order-thumb img{width:100%!important;height:100%!important;object-fit:contain!important;padding:5px!important}
.parya-order-main{min-width:0}.parya-order-top,.parya-order-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.parya-order-number{font-weight:900;font-size:12px}.parya-order-status{display:inline-flex;align-items:center;width:max-content;padding:5px 10px;border-radius:999px;background:#fff1f5;color:#d5507b;font-size:8px;font-weight:900}.parya-order-status.status-completed{background:#eafaf2;color:#168052}.parya-order-status.status-processing{background:#edf7ff;color:#2875a7}.parya-order-status.status-cancelled,.parya-order-status.status-failed,.parya-order-status.status-refunded{background:#f2f0f1;color:#6e6168}
.parya-order-meta{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0;color:#8c7c84;font-size:9px}.parya-order-meta span{display:inline-flex;align-items:center;gap:5px}.parya-order-meta svg{width:14px;height:14px;color:var(--pink)}.parya-order-bottom strong{font-size:13px;color:#342931}.parya-order-view{min-height:38px!important;padding:7px 12px!important;border-radius:11px!important;font-size:9px!important;display:inline-flex!important;align-items:center!important;gap:6px!important}.parya-order-view svg{width:13px;height:13px}
.parya-account-empty{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fff;border:1px dashed #ecced9;border-radius:26px;padding:32px}.parya-account-empty>svg{width:44px;height:44px;color:var(--pink);margin-bottom:10px}.parya-account-empty h3{margin:6px 0}.parya-account-empty p{color:#8a7981}

/* Detailed order */
.parya-order-detail{display:grid;gap:18px}.parya-order-detail-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px;border-radius:24px;background:linear-gradient(135deg,#fff0f5,#fff);border:1px solid #f0dce4}.parya-order-detail-head h2{font-size:25px;margin:3px 0}.parya-order-detail-head p{font-size:9px;color:#89777f;margin:0}
.parya-order-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:20px;background:#fff;border:1px solid #f0e3e8;border-radius:22px}.parya-order-timeline>div{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}.parya-order-timeline>div:not(:last-child):after{content:"";position:absolute;top:17px;right:50%;width:100%;height:2px;background:#eee3e7;z-index:0}.parya-order-timeline>div.done:not(:last-child):after{background:#ef87a7}.parya-order-timeline>div>span{position:relative;z-index:1;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#f3edef;color:#9b8c93;font-weight:900}.parya-order-timeline>div.active>span,.parya-order-timeline>div.done>span{background:linear-gradient(135deg,var(--pink),var(--peach));color:#fff}.parya-order-timeline svg{width:15px;height:15px}.parya-order-timeline b{font-size:10px;margin-top:5px}.parya-order-timeline small{font-size:7px;color:#978991}
.parya-order-alert{display:flex;align-items:center;gap:9px;padding:14px 16px;border-radius:16px;background:#f4f1f2;color:#675b61}.parya-order-alert svg{width:18px;height:18px}
.parya-order-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.parya-order-facts>div{padding:15px;border-radius:17px;background:#fff;border:1px solid #f0e3e8;display:flex;flex-direction:column}.parya-order-facts small{font-size:8px;color:#93838a}.parya-order-facts strong{font-size:11px;margin-top:4px}
.parya-order-products,.parya-order-address-card,.parya-order-total-card,.parya-order-note{background:#fff;border:1px solid #f0e3e8;border-radius:22px;padding:20px}.parya-subhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.parya-subhead h3{font-size:16px;margin:0}.parya-subhead span{font-size:8px;color:#8e7e85}
.parya-order-items{display:grid}.parya-order-items article{display:grid;grid-template-columns:68px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #f4eaee}.parya-order-items article:last-child{border-bottom:0}.parya-order-item-img{width:68px;height:68px;border-radius:14px;overflow:hidden;background:#fff7fa}.parya-order-item-img img{width:100%!important;height:100%!important;object-fit:contain!important;padding:4px}.parya-order-item-info{display:flex;flex-direction:column;min-width:0}.parya-order-item-info strong{font-size:11px}.parya-order-item-info small,.parya-order-item-info span{font-size:8px;color:#897a81;margin-top:3px}.parya-order-item-price{font-weight:900;font-size:11px;white-space:nowrap}
.parya-order-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.parya-order-address-card address{font-style:normal;font-size:10px;line-height:2.1;color:#5f5359}.parya-order-address-card>div:last-child{margin-top:10px;font-size:9px}.parya-order-address-card svg{width:14px;height:14px;color:var(--pink)}
.parya-order-total-card>div:not(.parya-subhead){display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed #efe3e8;font-size:9px}.parya-order-total-card>div:last-child{border-bottom:0}.parya-order-total-card strong{font-size:10px}.parya-order-note p{margin:5px 0 0;font-size:10px;line-height:2}

/* Addresses */
.parya-address-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.parya-address-card{display:flex;flex-direction:column;min-height:270px;padding:20px;border-radius:22px;background:#fff;border:1px solid #f0e3e8;box-shadow:0 10px 30px rgba(74,37,53,.04)}.parya-address-card-head{display:flex;align-items:center;gap:11px;padding-bottom:12px;border-bottom:1px solid #f3e9ed}.parya-address-icon{width:46px;height:46px;border-radius:14px;background:#fff1f5;color:var(--pink);display:grid;place-items:center}.parya-address-icon svg{width:20px;height:20px}.parya-address-card-head small{font-size:7px;color:var(--pink);font-weight:900}.parya-address-card-head h3{font-size:15px;margin:2px 0}.parya-address-card address{font-style:normal;font-size:10px;line-height:2.2;margin:18px 0;color:#62555c}.parya-address-empty{display:flex;flex-direction:column;margin:auto 0;color:#887981}.parya-address-empty b{font-size:12px}.parya-address-empty span{font-size:9px}.parya-address-card>.button{margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border-radius:12px!important}.parya-address-card>.button svg{width:14px;height:14px}

/* Edit address/account form */
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm,.woocommerce-MyAccount-content form> .woocommerce-address-fields{background:#fff;border:1px solid #f0e3e8;border-radius:24px;padding:22px}.woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper,.woocommerce-MyAccount-content .woocommerce-EditAccountForm{display:grid;grid-template-columns:1fr 1fr;gap:14px}.woocommerce-MyAccount-content .form-row{width:100%!important;float:none!important;margin:0!important}.woocommerce-MyAccount-content .form-row-wide,.woocommerce-MyAccount-content fieldset,.woocommerce-MyAccount-content p:last-child{grid-column:1/-1}.woocommerce-MyAccount-content label{font-size:9px!important;font-weight:900!important}.woocommerce-MyAccount-content input.input-text,.woocommerce-MyAccount-content select{min-height:48px!important;border-radius:13px!important;border:1px solid #eadde3!important;padding:9px 12px!important;background:#fff!important}.woocommerce-MyAccount-content fieldset{border:1px solid #f0e3e8!important;border-radius:18px!important;padding:16px!important}

/* dashboard gets more coherent with the new account frame */
.parya-account-welcome{box-shadow:none!important}.parya-account-stats>div,.parya-account-actions>a,.parya-recent-orders{box-shadow:0 8px 24px rgba(75,39,55,.035)}

@media(max-width:980px){
 body.woocommerce-account .entry-content>.woocommerce{grid-template-columns:1fr!important}
 body.woocommerce-account .woocommerce-MyAccount-navigation,body.woocommerce-account .woocommerce-MyAccount-content{grid-column:1!important;grid-row:auto!important}
 .parya-account-nav{position:static!important}.parya-account-nav ul{display:flex!important;overflow:auto!important;gap:5px!important}.parya-account-nav li{min-width:max-content!important}.parya-account-help,.parya-account-identity{display:none!important}
 .parya-order-facts{grid-template-columns:1fr 1fr}.parya-address-grid,.parya-order-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
 .parya-order-row{grid-template-columns:64px minmax(0,1fr);padding:11px}.parya-order-thumb{width:64px;height:64px}.parya-order-meta{gap:7px}.parya-order-bottom{align-items:flex-end}.parya-order-view{padding:6px 8px!important}
 .parya-order-detail-head{align-items:flex-start;flex-direction:column;padding:17px}.parya-order-detail-head h2{font-size:20px}.parya-order-timeline{padding:12px 5px}.parya-order-timeline small{display:none}.parya-order-timeline b{font-size:8px}.parya-order-timeline>div>span{width:30px;height:30px}.parya-order-timeline>div:not(:last-child):after{top:14px}
 .parya-order-facts{grid-template-columns:1fr 1fr;gap:7px}.parya-order-items article{grid-template-columns:56px minmax(0,1fr);}.parya-order-item-img{width:56px;height:56px}.parya-order-item-price{grid-column:2;text-align:right}
 .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper,.woocommerce-MyAccount-content .woocommerce-EditAccountForm{grid-template-columns:1fr}.woocommerce-MyAccount-content .form-row-wide,.woocommerce-MyAccount-content fieldset,.woocommerce-MyAccount-content p:last-child{grid-column:1}
}
