:root{
  --asal-brown:#4b1b13;
  --asal-brown-2:#67261b;
  --asal-gold:#b68442;
  --asal-gold-light:#e5d0a8;
  --asal-bg:#fffaf2;
  --asal-panel:#fffdf9;
  --asal-border:#ddc39d;
  --asal-line:rgba(182,132,66,.22);
  --asal-text:#4c2e20;
  --asal-muted:#6e5a4c;
  --asal-shadow:0 10px 24px rgba(72,24,11,.05);
}
body.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after{display:block!important;float:none!important;clear:both!important}
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:auto!important}

body.woocommerce-account .asal-account-host,
body.woocommerce-account .elementor-element.elementor-element-6aacbf0{
  width:100%!important;max-width:1220px!important;inline-size:100%!important;margin-left:auto!important;margin-right:auto!important;padding-inline:14px!important;
}
body.woocommerce-account .asal-account-host > .elementor-element,
body.woocommerce-account .elementor-widget-shortcode,
body.woocommerce-account .elementor-widget-shortcode > .elementor-widget-container,
body.woocommerce-account .elementor-widget-shortcode .elementor-shortcode,
body.woocommerce-account .elementor-widget-shortcode .woocommerce{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}

body.woocommerce-account .asal-account-shell{
  width:100%!important;max-width:1180px!important;margin:28px auto 34px!important;padding:18px 20px 24px;background:linear-gradient(180deg,#fffdf8,#fbf5ea);border:1px solid rgba(182,132,66,.38);border-radius:20px;box-shadow:var(--asal-shadow);position:relative;color:var(--asal-text);
}
body.woocommerce-account .asal-account-shell:before{content:"";position:absolute;inset:9px;border:1px solid rgba(182,132,66,.16);border-radius:15px;pointer-events:none}
body.woocommerce-account .asal-account-title{display:flex;align-items:center;justify-content:center;gap:16px;margin:0 0 18px;min-height:64px}
body.woocommerce-account .asal-account-title h1{margin:0;font-size:39px;line-height:1.2;color:var(--asal-brown);font-weight:800}
body.woocommerce-account .asal-title-ornament{width:62px;height:18px;position:relative}
body.woocommerce-account .asal-title-ornament:before{content:"";position:absolute;left:0;right:0;top:8px;height:1px;background:linear-gradient(90deg,transparent,var(--asal-gold),transparent)}
body.woocommerce-account .asal-title-ornament:after{content:"❦";position:absolute;left:50%;top:-3px;transform:translateX(-50%) scale(.7);color:var(--asal-gold);font-size:20px}
body.woocommerce-account .asal-title-ornament--mirror{transform:scaleX(-1)}

body.woocommerce-account .asal-account-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 235px!important;gap:22px!important;align-items:start!important;direction:ltr!important}
body.woocommerce-account .asal-account-main{display:block!important;min-width:0!important;direction:rtl!important}
body.woocommerce-account .asal-account-sidebar{display:block!important;width:235px!important;max-width:235px!important;min-height:100%!important;direction:rtl!important}

body.woocommerce-account .asal-account-nav{height:100%;min-height:730px;background:linear-gradient(180deg,#fffaf1,#fcf4e8);border:1px solid var(--asal-border);border-radius:38px 38px 16px 16px;overflow:hidden;box-shadow:var(--asal-shadow);position:relative}
body.woocommerce-account .asal-account-nav .asal-menu-cap{padding:24px 14px 21px;text-align:center;font-size:22px;font-weight:700;color:#ffe5ba;background:linear-gradient(180deg,#5b2118,#3c110d);border-bottom:1px solid rgba(255,255,255,.08)}
body.woocommerce-account .asal-account-nav ul{list-style:none!important;margin:0!important;padding:12px 12px 14px!important}
body.woocommerce-account .asal-account-nav li{margin:0!important;padding:0!important;border-bottom:1px solid var(--asal-line)}
body.woocommerce-account .asal-account-nav li:last-child{border-bottom:0}
body.woocommerce-account .asal-account-nav a{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px;min-height:58px;padding:12px 14px!important;font-size:18px!important;font-weight:600!important;color:var(--asal-text)!important;background:transparent!important;border-radius:12px!important;text-decoration:none!important}
body.woocommerce-account .asal-account-nav .asal-nav-icon{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;color:#5c2d1b}
body.woocommerce-account .asal-account-nav .asal-nav-icon svg{width:23px;height:23px;fill:currentColor}
body.woocommerce-account .asal-account-nav li.is-active a,
body.woocommerce-account .asal-account-nav a:hover{background:linear-gradient(90deg,#7b2b1f,#551611)!important;color:#ffe7bf!important}
body.woocommerce-account .asal-account-nav li.is-active .asal-nav-icon,
body.woocommerce-account .asal-account-nav a:hover .asal-nav-icon{color:#ffe0a8}

body.woocommerce-account .asal-welcome-card,
body.woocommerce-account .asal-content-card,
body.woocommerce-account .asal-endpoint-card{background:rgba(255,252,247,.94);border:1px solid var(--asal-border);border-radius:14px;box-shadow:var(--asal-shadow);position:relative}
body.woocommerce-account .asal-welcome-card:before,
body.woocommerce-account .asal-content-card:before{content:"";position:absolute;inset:6px;border:1px solid rgba(182,132,66,.12);border-radius:10px;pointer-events:none}

body.woocommerce-account .asal-welcome-card{display:grid;grid-template-columns:minmax(0,1fr) 226px;gap:22px;align-items:center;min-height:235px;padding:24px 28px;margin:0 0 18px;direction:ltr}
body.woocommerce-account .asal-welcome-copy{direction:rtl;text-align:center;position:relative;z-index:1}
body.woocommerce-account .asal-welcome-overline{margin:0 0 10px;font-size:17px;font-weight:600;color:#5d3721}
body.woocommerce-account .asal-welcome-copy h2{margin:0 0 14px;font-size:31px;line-height:1.3;color:var(--asal-brown);font-weight:800}
body.woocommerce-account .asal-welcome-copy p{margin:0 0 6px;font-size:16px;line-height:1.9;color:#5d493c}
body.woocommerce-account .asal-profile-medallion{width:206px;height:206px;display:flex;align-items:center;justify-content:center;position:relative;margin:auto}
body.woocommerce-account .asal-profile-ring{position:absolute;inset:4px;border-radius:50%;box-shadow:0 0 0 7px #ead6ae,0 0 0 9px rgba(107,50,20,.15)}
body.woocommerce-account .asal-profile-frame{position:absolute;inset:-8px;border-radius:50%}
body.woocommerce-account .asal-profile-frame:before,
body.woocommerce-account .asal-profile-frame:after{content:"❁ ❁ ❁";position:absolute;left:50%;transform:translateX(-50%);font-size:15px;letter-spacing:4px;color:var(--asal-gold);opacity:.9}
body.woocommerce-account .asal-profile-frame:before{top:-8px}
body.woocommerce-account .asal-profile-frame:after{bottom:-8px}
body.woocommerce-account .asal-profile-frame{border-left:2px dotted rgba(182,132,66,.35);border-right:2px dotted rgba(182,132,66,.35)}
body.woocommerce-account .asal-profile-avatar{width:188px!important;height:188px!important;object-fit:cover;border-radius:50%;background:#eee6d8;position:relative;z-index:1}
body.woocommerce-account .asal-profile-pendant{position:absolute;bottom:-9px;left:50%;transform:translateX(-50%);width:16px;height:16px;background:var(--asal-gold);clip-path:polygon(50% 100%,0 0,100% 0)}

body.woocommerce-account .asal-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}
body.woocommerce-account .asal-stat-card{background:rgba(255,252,247,.96);border:1px solid var(--asal-border);border-radius:14px;box-shadow:var(--asal-shadow);padding:18px 14px 16px;text-align:center;color:var(--asal-text);text-decoration:none;min-height:182px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
body.woocommerce-account .asal-stat-icon{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;color:var(--asal-gold);margin-bottom:10px}
body.woocommerce-account .asal-stat-icon svg{width:42px;height:42px;stroke:currentColor;fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
body.woocommerce-account .asal-stat-label{display:block;font-size:18px;font-weight:600;color:#6a4429;line-height:1.45;min-height:54px}
body.woocommerce-account .asal-stat-card strong{display:block;font-size:28px;line-height:1.2;color:var(--asal-brown);margin:7px 0 6px;font-weight:800}
body.woocommerce-account .asal-stat-card small{display:block;font-size:15px;color:var(--asal-muted)}
body.woocommerce-account .asal-stat-money{font-size:24px!important}

body.woocommerce-account .asal-orders-card{padding:16px 16px 18px;margin:0 0 18px}
body.woocommerce-account .asal-section-heading{display:flex;align-items:center;justify-content:center;gap:14px;margin-bottom:12px}
body.woocommerce-account .asal-section-heading h2{margin:0;color:var(--asal-brown);font-size:28px;font-weight:800}
body.woocommerce-account .asal-heading-flourish{width:40px;height:14px;position:relative}
body.woocommerce-account .asal-heading-flourish:before{content:"❦";position:absolute;left:50%;top:-2px;transform:translateX(-50%) scale(.65);color:var(--asal-gold);font-size:19px}
body.woocommerce-account .asal-responsive-table{overflow:hidden;border:1px solid rgba(182,132,66,.22);border-radius:12px}
body.woocommerce-account .asal-orders-table{width:100%;border-collapse:collapse;background:#fffdf9}
body.woocommerce-account .asal-orders-table th,body.woocommerce-account .asal-orders-table td{padding:13px 14px;border-bottom:1px solid rgba(182,132,66,.16);text-align:center;font-size:15px;white-space:nowrap}
body.woocommerce-account .asal-orders-table th{background:#fcf5ea;color:#6c4427;font-weight:700}
body.woocommerce-account .asal-orders-table tr:last-child td{border-bottom:0}
body.woocommerce-account .asal-status{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;background:#efece8;color:#6a635a;font-size:13px}
body.woocommerce-account .asal-status--completed{background:#dbead8;color:#2d6d35}
body.woocommerce-account .asal-status--processing{background:#f0eedf;color:#83610d}
body.woocommerce-account .asal-status--pending,
body.woocommerce-account .asal-status--on-hold,
body.woocommerce-account .asal-status--checkout-draft{background:#f0efef;color:#6e6860}
body.woocommerce-account .asal-table-button,
body.woocommerce-account .asal-primary-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:linear-gradient(180deg,#6d261b,#4a140f);color:#fff2dd;border:none;border-radius:999px;padding:10px 20px;font-size:15px;font-weight:700;box-shadow:inset 0 1px 0 rgba(255,255,255,.14)}
body.woocommerce-account .asal-primary-button--small{min-width:120px;padding:10px 18px}

body.woocommerce-account .asal-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.woocommerce-account .asal-info-card{padding:16px;min-height:212px}
body.woocommerce-account .asal-info-title{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 12px}
body.woocommerce-account .asal-info-title h3{margin:0;font-size:28px;color:var(--asal-brown);font-weight:800}
body.woocommerce-account .asal-title-small-icon{font-size:28px;color:#7b4b24;line-height:1}
body.woocommerce-account .asal-info-inner{padding:6px 12px 0;text-align:center}
body.woocommerce-account .asal-info-inner p,body.woocommerce-account .asal-address-text,body.woocommerce-account .asal-account-details-list p{margin:0 0 10px;font-size:16px;line-height:1.9;color:#5d493c}
body.woocommerce-account .asal-address-text p{margin:0 0 6px}

body.woocommerce-account .asal-mini-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.woocommerce-account .asal-mini-product{text-decoration:none;color:var(--asal-text);text-align:center;font-size:13px}
body.woocommerce-account .asal-mini-product img{width:100%;height:auto;border-radius:10px;border:1px solid var(--asal-border);margin-bottom:7px}
body.woocommerce-account .asal-empty-favorites,body.woocommerce-account .asal-empty-message{text-align:center;padding:20px;color:#7a6759}
body.woocommerce-account .asal-empty-favorites span{display:block;font-size:36px;color:var(--asal-gold);line-height:1;margin-bottom:6px}
body.woocommerce-account .asal-endpoint-card{padding:20px}

body.woocommerce-account .woocommerce-EditAccountForm,
body.woocommerce-account .woocommerce-address-fields,
body.woocommerce-account form.login,
body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register,
body.woocommerce-account form.woocommerce-EditAccountForm{background:rgba(255,252,247,.96);border:1px solid var(--asal-border);border-radius:14px;box-shadow:var(--asal-shadow);padding:18px}
body.woocommerce-account .woocommerce form .form-row input.input-text,
body.woocommerce-account .woocommerce form .form-row textarea,
body.woocommerce-account .woocommerce form .form-row select,
body.woocommerce-account .select2-container--default .select2-selection--single{border:1px solid #dcc5a1;border-radius:12px;background:#fff;min-height:44px}
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce a.button,
body.woocommerce-account .woocommerce input.button,
body.woocommerce-account .woocommerce .button{background:linear-gradient(180deg,#6d261b,#4a140f)!important;color:#fff2da!important;border-radius:999px!important;border:none!important}

@media (max-width: 1100px){
  body.woocommerce-account .asal-account-layout{grid-template-columns:minmax(0,1fr)!important}
  body.woocommerce-account .asal-account-sidebar{width:100%!important;max-width:none!important}
  body.woocommerce-account .asal-account-nav{min-height:auto}
}
@media (max-width: 767px){
  body.woocommerce-account .asal-account-shell{padding:14px 12px 16px;margin-top:16px!important}
  body.woocommerce-account .asal-account-title h1{font-size:30px}
  body.woocommerce-account .asal-welcome-card{grid-template-columns:1fr;gap:16px;padding:18px}
  body.woocommerce-account .asal-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.woocommerce-account .asal-stat-card{min-height:150px;padding:14px 10px}
  body.woocommerce-account .asal-info-grid{grid-template-columns:1fr}
  body.woocommerce-account .asal-orders-table th,body.woocommerce-account .asal-orders-table td{font-size:13px;padding:9px 6px}
}

/* ===== 2.5 exact render pass ===== */
body.woocommerce-account .asal-account-host,
body.woocommerce-account .asal-account-widget,
body.woocommerce-account .asal-account-widget > .elementor-widget-container,
body.woocommerce-account .asal-account-widget .elementor-shortcode,
body.woocommerce-account .asal-account-widget .woocommerce{
  overflow:visible!important;
}

body.woocommerce-account .asal-account-shell{
  width:min(1180px,calc(100vw - 48px))!important;
  max-width:none!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  margin-top:30px!important;
  margin-bottom:34px!important;
  padding:22px 22px 26px!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 18% 23%,rgba(182,132,66,.03) 0 1px,transparent 1.8px),
    radial-gradient(circle at 82% 68%,rgba(182,132,66,.025) 0 1px,transparent 1.8px),
    linear-gradient(180deg,#fffefa 0%,#fbf6ec 100%)!important;
  background-size:38px 38px,44px 44px,auto!important;
}
body.woocommerce-account .asal-account-shell:before{
  inset:10px!important;
  border-radius:16px!important;
}
body.woocommerce-account .asal-account-shell:after{
  content:"";
  position:absolute;
  inset:16px;
  border:1px solid rgba(182,132,66,.08);
  border-radius:12px;
  pointer-events:none;
}

body.woocommerce-account .asal-account-title{
  min-height:70px!important;
  margin:0 0 12px!important;
  gap:18px!important;
}
body.woocommerce-account .asal-account-title h1{
  font-size:40px!important;
  letter-spacing:-.5px!important;
}
body.woocommerce-account .asal-title-ornament{width:70px!important}
body.woocommerce-account .asal-title-ornament:after{
  content:"❦"!important;
  font-size:23px!important;
  top:-5px!important;
}

body.woocommerce-account .asal-account-layout{
  grid-template-columns:minmax(0,1fr) 235px!important;
  gap:24px!important;
  align-items:start!important;
}
body.woocommerce-account .asal-account-sidebar{
  align-self:start!important;
  min-height:0!important;
}
body.woocommerce-account .asal-account-nav{
  height:auto!important;
  min-height:0!important;
  border-radius:31px 31px 16px 16px!important;
  overflow:hidden!important;
}
body.woocommerce-account .asal-account-nav .asal-menu-cap{
  padding:22px 12px 19px!important;
  font-size:21px!important;
}
body.woocommerce-account .asal-account-nav ul{padding:10px 11px 12px!important}
body.woocommerce-account .asal-account-nav a{
  min-height:52px!important;
  padding:10px 12px!important;
  font-size:17px!important;
  font-family:Vazirmatn,Vazir,Tahoma,sans-serif!important;
}

/* The reference has an open welcome composition, not a heavy boxed card. */
body.woocommerce-account .asal-welcome-card{
  grid-template-columns:220px minmax(0,1fr)!important;
  grid-template-areas:"avatar copy"!important;
  gap:28px!important;
  min-height:225px!important;
  margin:0 0 20px!important;
  padding:18px 28px!important;
  background:transparent!important;
  border-color:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.woocommerce-account .asal-welcome-card:before{display:none!important}
body.woocommerce-account .asal-profile-medallion{grid-area:avatar!important;width:202px!important;height:202px!important}
body.woocommerce-account .asal-welcome-copy{grid-area:copy!important;text-align:center!important;padding-inline:14px!important}
body.woocommerce-account .asal-welcome-overline{
  font-family:Vazirmatn,Vazir,Tahoma,sans-serif!important;
  font-size:17px!important;
  font-weight:500!important;
}
body.woocommerce-account .asal-welcome-copy h2{
  display:inline-block!important;
  font-family:Vazirmatn,Vazir,Tahoma,sans-serif!important;
  font-size:31px!important;
  padding-bottom:8px!important;
  margin-bottom:13px!important;
  border-bottom:1px solid rgba(182,132,66,.7)!important;
}
body.woocommerce-account .asal-welcome-copy p{
  font-family:Vazirmatn,Vazir,Tahoma,sans-serif!important;
  font-size:15px!important;
  line-height:1.9!important;
}
body.woocommerce-account .asal-profile-ring{
  inset:10px!important;
  border:2px solid #bd8a46!important;
  box-shadow:0 0 0 6px #ead7b0,0 0 0 8px rgba(182,132,66,.22)!important;
}
body.woocommerce-account .asal-profile-frame{
  inset:-3px!important;
  border:0!important;
}
body.woocommerce-account .asal-profile-frame:before,
body.woocommerce-account .asal-profile-frame:after{
  content:"❦  ❧  ❦"!important;
  font-size:18px!important;
  letter-spacing:2px!important;
}
body.woocommerce-account .asal-profile-frame:before{top:-12px!important}
body.woocommerce-account .asal-profile-frame:after{bottom:-12px!important;transform:translateX(-50%) rotate(180deg)!important}
body.woocommerce-account .asal-profile-avatar{
  width:172px!important;
  height:172px!important;
  object-fit:cover!important;
  border-radius:50%!important;
  background:#ddd!important;
}
body.woocommerce-account .asal-profile-pendant{bottom:-8px!important}

body.woocommerce-account .asal-stats-grid{
  gap:15px!important;
  margin-bottom:22px!important;
}
body.woocommerce-account .asal-stat-card{
  min-height:176px!important;
  padding:18px 12px 15px!important;
  border-radius:13px!important;
  font-family:Vazirmatn,Vazir,Tahoma,sans-serif!important;
}
body.woocommerce-account .asal-stat-icon{width:42px!important;height:42px!important;margin-bottom:8px!important}
body.woocommerce-account .asal-stat-icon svg{width:40px!important;height:40px!important}
body.woocommerce-account .asal-stat-label{font-size:16px!important;min-height:48px!important}
body.woocommerce-account .asal-stat-card strong{font-size:27px!important;margin:5px 0!important}
body.woocommerce-account .asal-stat-card small{font-size:14px!important}

body.woocommerce-account .asal-orders-card{
  padding:17px 16px 18px!important;
  margin-bottom:22px!important;
}
body.woocommerce-account .asal-section-heading h2{
  font-size:26px!important;
  font-family:Vazirmatn,Vazir,Tahoma,sans-serif!important;
}
body.woocommerce-account .asal-orders-table th,
body.woocommerce-account .asal-orders-table td{
  font-family:Vazirmatn,Vazir,Tahoma,sans-serif!important;
  font-size:14px!important;
  padding:12px 13px!important;
}
body.woocommerce-account .asal-table-button,
body.woocommerce-account .asal-primary-button{
  font-family:Vazirmatn,Vazir,Tahoma,sans-serif!important;
  font-size:14px!important;
  padding:8px 18px!important;
}

body.woocommerce-account .asal-info-grid{gap:18px!important}
body.woocommerce-account .asal-info-card{
  min-height:205px!important;
  padding:16px 18px!important;
}
body.woocommerce-account .asal-info-title h3{
  font-size:25px!important;
  font-family:Vazirmatn,Vazir,Tahoma,sans-serif!important;
}
body.woocommerce-account .asal-title-small-icon{font-size:24px!important}
body.woocommerce-account .asal-info-inner p,
body.woocommerce-account .asal-address-text,
body.woocommerce-account .asal-account-details-list p{
  font-family:Vazirmatn,Vazir,Tahoma,sans-serif!important;
  font-size:14px!important;
  line-height:1.85!important;
}

@media (max-width:900px){
  body.woocommerce-account .asal-account-shell{
    width:calc(100vw - 24px)!important;
    padding:16px 13px 18px!important;
  }
  body.woocommerce-account .asal-account-layout{grid-template-columns:1fr!important}
  body.woocommerce-account .asal-account-sidebar{width:100%!important;max-width:none!important;order:-1!important}
  body.woocommerce-account .asal-account-nav{border-radius:20px!important}
  body.woocommerce-account .asal-welcome-card{grid-template-columns:1fr!important;grid-template-areas:"avatar" "copy"!important}
}
