/* ==========================================================================
   Suhailah Mart - customer account experience
   Scoped to body.acc-screen (added by the PHP snippet) so it applies both to
   the live WooCommerce account page and to a staging copy of it.
   Mobile first. RTL first, but written with logical properties.
   ========================================================================== */

.acc-screen{
  --a-ink:#14171C;
  --a-ink-2:#4A515C;
  --a-ink-3:#7C848F;
  --a-line:#E3E7EC;
  --a-line-2:#EFF2F5;
  --a-bg:#F3F5F8;
  --a-card:#FFFFFF;

  --a-brand:#EE7623;
  --a-brand-ink:#A94D0E;
  --a-brand-wash:#FFF2E8;
  --a-green:#0F7B62;
  --a-green-wash:#E4F5F0;
  --a-blue:#22539E;
  --a-blue-wash:#EAF1FC;
  --a-amber:#8A5A08;
  --a-amber-wash:#FDF3E0;
  --a-red:#B93030;
  --a-red-wash:#FDECEC;
  --a-plum:#6D2E86;
  --a-plum-wash:#F6EBFA;

  --a-r:16px;
  --a-r-l:22px;
  --a-tap:52px;
  --a-shadow:0 1px 2px rgba(20,23,28,.04), 0 10px 26px -16px rgba(20,23,28,.28);
}

/* ---------- shell ---------- */
.acc-screen .wd-my-account-wrapper,
.acc-screen .wd-my-account-sidebar,
.acc-screen .woocommerce-MyAccount-content{min-inline-size:0;max-inline-size:100%}

.acc-screen .woocommerce-MyAccount-content{
  background:transparent;
  border:0;
  padding:0;
  box-shadow:none;
}

/* the stock dashboard greeting is replaced by the profile card */
.acc-screen.acc-hub .woocommerce-MyAccount-content > p{display:none}

.acc-screen .wd-my-account-sidebar .woocommerce-MyAccount-title{
  font-size:15px;
  font-weight:600;
  color:var(--a-ink-3);
  margin:0 0 10px;
  padding:0;
  border:0;
}

/* ---------- shared card ---------- */
.acc-screen .acc-card{
  background:var(--a-card);
  border:1px solid var(--a-line);
  border-radius:var(--a-r-l);
  box-shadow:var(--a-shadow);
  margin-block-end:14px;
  overflow:hidden;
}
.acc-screen .acc-card__head{
  display:flex;align-items:center;gap:10px;
  padding:15px 16px 0;
}
.acc-screen .acc-card__title{
  font-size:15.5px;font-weight:700;margin:0;min-inline-size:0;
}
.acc-screen .acc-card__link{
  margin-inline-start:auto;flex:none;
  font-size:13px;font-weight:600;color:var(--a-brand-ink);
  text-decoration:none;
}
.acc-screen .acc-card__link:hover{text-decoration:underline;text-underline-offset:3px}

/* ---------- buttons ---------- */
.acc-screen .acc-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-block-size:46px;padding-inline:18px;
  border-radius:14px;border:0;
  font-size:14px;font-weight:600;line-height:1.2;
  text-align:center;text-decoration:none;
  transition:background .15s ease,border-color .15s ease,transform .12s ease;
}
.acc-screen .acc-btn:active{transform:translateY(1px)}
.acc-screen .acc-btn--primary{background:var(--a-brand);color:#fff}
.acc-screen .acc-btn--primary:hover{background:#DA6817;color:#fff}
.acc-screen .acc-btn--ghost{
  background:var(--a-card);color:var(--a-ink-2);
  border:1px solid var(--a-line);
}
.acc-screen .acc-btn--ghost:hover{border-color:var(--a-ink-3);color:var(--a-ink)}
.acc-screen .acc-btn--wa{background:#1FAF54;color:#fff}
.acc-screen .acc-btn--wa:hover{background:#1A9A49;color:#fff}
.acc-screen .acc-btn--block{inline-size:100%}

/* ---------- status tags ---------- */
.acc-screen .acc-tag{
  display:inline-flex;align-items:center;gap:6px;
  padding:4px 10px;border-radius:999px;
  font-size:11.5px;font-weight:700;white-space:nowrap;
}
.acc-screen .acc-tag--live{background:var(--a-green-wash);color:var(--a-green)}
.acc-screen .acc-tag--work{background:var(--a-blue-wash);color:var(--a-blue)}
.acc-screen .acc-tag--wait{background:var(--a-amber-wash);color:var(--a-amber)}
.acc-screen .acc-tag--done{background:var(--a-line-2);color:var(--a-ink-2)}
.acc-screen .acc-tag--stop{background:var(--a-red-wash);color:var(--a-red)}
.acc-screen .acc-tag--brand{background:var(--a-brand-wash);color:var(--a-brand-ink)}

/* ---------- profile ---------- */
.acc-screen .acc-hero{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:12px 14px;
  align-items:center;
  padding:16px;
}
.acc-screen .acc-hero__avatar{
  inline-size:54px;block-size:54px;flex:none;
  border-radius:17px;
  display:grid;place-items:center;
  font-size:20px;font-weight:700;line-height:1;color:#fff;
  background:linear-gradient(140deg,#EE7623,#8B3FA8);
}
.acc-screen .acc-hero__body{min-inline-size:0}
.acc-screen .acc-hero__name{
  font-size:18px;font-weight:700;line-height:1.35;margin:0;
  overflow-wrap:anywhere;
}
.acc-screen .acc-hero__meta{
  font-size:13px;color:var(--a-ink-3);
  direction:ltr;unicode-bidi:isolate;text-align:start;
  overflow-wrap:anywhere;
}
.acc-screen .acc-hero .acc-tag{margin-block-start:6px}
.acc-screen .acc-hero__edit{grid-column:1/-1}
@media (min-width:560px){
  .acc-screen .acc-hero{grid-template-columns:auto minmax(0,1fr) auto}
  .acc-screen .acc-hero__edit{grid-column:auto;inline-size:auto;white-space:nowrap}
}

/* ---------- shipment tracker ---------- */
.acc-screen .acc-rail__head{
  display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;
  padding:16px 16px 13px;
  border-block-end:1px dashed var(--a-line);
}
.acc-screen .acc-rail__main{flex:1 1 190px;min-inline-size:0}
.acc-screen .acc-rail__eyebrow{
  display:block;font-size:11.5px;font-weight:700;
  letter-spacing:.02em;color:var(--a-ink-3);
}
.acc-screen .acc-rail__title{
  font-size:16px;font-weight:700;line-height:1.45;margin:3px 0 0;
  overflow-wrap:anywhere;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.acc-screen .acc-rail__id{
  display:block;margin-block-start:3px;
  font-size:12.5px;color:var(--a-ink-3);
}
.acc-screen .acc-rail__pill{flex:none}
.acc-screen .acc-pulse{
  inline-size:7px;block-size:7px;flex:none;border-radius:50%;
  background:currentColor;
  animation:accPulse 2.2s ease-out infinite;
}
@keyframes accPulse{
  0%{box-shadow:0 0 0 0 rgba(15,123,98,.45)}
  70%{box-shadow:0 0 0 8px rgba(15,123,98,0)}
  100%{box-shadow:0 0 0 0 rgba(15,123,98,0)}
}

.acc-screen .acc-track{padding:24px 16px 8px}
.acc-screen .acc-track__line{
  position:relative;block-size:4px;border-radius:99px;
  background:var(--a-line);margin-inline:18px;
}
.acc-screen .acc-track__fill{
  position:absolute;inset-block:0;inset-inline-start:0;
  border-radius:99px;
  background:linear-gradient(to left,#EE7623,#8B3FA8);
  animation:accGrow .95s cubic-bezier(.2,.8,.2,1) both;
}
[dir="ltr"] .acc-screen .acc-track__fill{background:linear-gradient(to right,#EE7623,#8B3FA8)}
[dir="rtl"] .acc-screen .acc-track__fill{transform-origin:100% 50%}
[dir="ltr"] .acc-screen .acc-track__fill{transform-origin:0 50%}
@keyframes accGrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.acc-screen .acc-track__marker{
  position:absolute;top:50%;translate:50% -50%;
  inline-size:36px;block-size:36px;border-radius:50%;
  background-color:var(--a-card);
  border:2px solid var(--a-brand);
  background-repeat:no-repeat;background-position:center;background-size:18px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A94D0E' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M2 7h10v9H2z'/%3E%3Cpath d='M12 10h4l3 3v3h-7z'/%3E%3Ccircle cx='6' cy='18' r='1.7'/%3E%3Ccircle cx='16' cy='18' r='1.7'/%3E%3C/svg%3E");
}
[dir="ltr"] .acc-screen .acc-track__marker{translate:-50% -50%}

.acc-screen .acc-steps{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0 4px;margin:16px 18px 0;padding:0;list-style:none;text-align:center;
}
.acc-screen .acc-steps li{
  margin:0;min-inline-size:0;
  font-size:10.5px;line-height:1.4;color:var(--a-ink-3);
  overflow-wrap:anywhere;
}
.acc-screen .acc-steps li b{display:block;font-weight:600;color:var(--a-ink-3)}
.acc-screen .acc-steps li.is-done b{color:var(--a-ink-2)}
.acc-screen .acc-steps li.is-now b{color:var(--a-brand-ink);font-weight:700}
@media (min-width:420px){
  .acc-screen .acc-steps li{font-size:11.5px}
}

.acc-screen .acc-rail__foot{
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;
  margin:16px;padding:13px 14px;
  background:var(--a-bg);border-radius:var(--a-r);
}
.acc-screen .acc-rail__foot p{
  flex:1 1 190px;min-inline-size:0;margin:0;
  font-size:13px;line-height:1.6;color:var(--a-ink-2);
}
.acc-screen .acc-rail__foot strong{color:var(--a-ink)}
.acc-screen .acc-rail__foot .acc-btn{flex:0 0 auto;margin-inline-start:auto}
@media (max-width:519px){
  .acc-screen .acc-rail__foot{flex-direction:column;align-items:stretch}
  .acc-screen .acc-rail__foot .acc-btn{margin:0;inline-size:100%}
}

/* ---------- empty states ---------- */
.acc-screen .acc-empty{text-align:center;padding:28px 20px}
.acc-screen .acc-empty__ico{
  inline-size:60px;block-size:60px;margin:0 auto 12px;
  border-radius:19px;background-color:var(--a-bg);
  background-repeat:no-repeat;background-position:center;background-size:26px;
}
.acc-screen .acc-empty h3{font-size:16.5px;font-weight:700;margin:0 0 6px}
.acc-screen .acc-empty p{
  font-size:13.5px;color:var(--a-ink-3);
  margin:0 auto 16px;max-inline-size:36ch;line-height:1.65;
}
.acc-screen .acc-empty--truck .acc-empty__ico{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C848F' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M2 7h10v9H2z'/%3E%3Cpath d='M12 10h4l3 3v3h-7z'/%3E%3Ccircle cx='6' cy='18' r='1.7'/%3E%3Ccircle cx='16' cy='18' r='1.7'/%3E%3C/svg%3E");
}
.acc-screen .acc-empty--bag .acc-empty__ico{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C848F' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M4 7h16l-1.4 13H5.4z'/%3E%3Cpath d='M9 7a3 3 0 016 0'/%3E%3C/svg%3E");
}

/* ---------- quick actions ---------- */
.acc-screen .acc-quick{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;margin-block-end:14px;
}
.acc-screen .acc-quick__item{
  position:relative;
  display:flex;align-items:center;gap:11px;min-inline-size:0;
  padding:13px 13px;
  background:var(--a-card);border:1px solid var(--a-line);
  border-radius:var(--a-r);box-shadow:var(--a-shadow);
  color:inherit;text-decoration:none;
  transition:border-color .15s ease,transform .12s ease;
}
.acc-screen .acc-quick__item:hover{border-color:var(--a-ink-3)}
.acc-screen .acc-quick__item:active{transform:scale(.985)}
.acc-screen .acc-quick__ico{
  inline-size:36px;block-size:36px;flex:none;border-radius:12px;
  background-repeat:no-repeat;background-position:center;background-size:18px;
}
.acc-screen .acc-quick__body{min-inline-size:0}
.acc-screen .acc-quick__l{
  display:block;font-size:13.5px;font-weight:600;line-height:1.35;
  overflow-wrap:anywhere;
}
.acc-screen .acc-quick__s{
  display:block;font-size:11.5px;color:var(--a-ink-3);line-height:1.35;
  overflow-wrap:anywhere;
}
.acc-screen .acc-quick--orders .acc-quick__ico{background-color:var(--a-brand-wash);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A94D0E' stroke-width='1.9' stroke-linecap='round'%3E%3Crect x='4' y='5' width='16' height='14' rx='2'/%3E%3Cpath d='M8 9h8M8 13h5'/%3E%3C/svg%3E")}
.acc-screen .acc-quick--track .acc-quick__ico{background-color:var(--a-green-wash);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F7B62' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M2 7h10v9H2z'/%3E%3Cpath d='M12 10h4l3 3v3h-7z'/%3E%3Ccircle cx='6' cy='18' r='1.7'/%3E%3Ccircle cx='16' cy='18' r='1.7'/%3E%3C/svg%3E")}
.acc-screen .acc-quick--addr .acc-quick__ico{background-color:var(--a-blue-wash);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322539E' stroke-width='1.9'%3E%3Cpath d='M12 21s7-5.6 7-11a7 7 0 10-14 0c0 5.4 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E")}
.acc-screen .acc-quick--wish .acc-quick__ico{background-color:var(--a-plum-wash);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D2E86' stroke-width='1.9'%3E%3Cpath d='M12 20s-7-4.4-7-9a4 4 0 017-2.6A4 4 0 0119 11c0 4.6-7 9-7 9z'/%3E%3C/svg%3E")}
.acc-screen .acc-quick__n{
  position:absolute;inset-block-start:8px;inset-inline-end:10px;
  min-inline-size:20px;block-size:20px;padding-inline:6px;
  border-radius:999px;background:var(--a-brand);color:#fff;
  font-size:11px;font-weight:700;line-height:20px;text-align:center;
}

/* ---------- recent orders ---------- */
.acc-screen .acc-order{
  display:grid;grid-template-columns:auto minmax(0,1fr);
  gap:13px;align-items:start;
  padding:15px 16px;
  border-block-start:1px solid var(--a-line-2);
}
.acc-screen .acc-order:first-of-type{border-block-start:0}
.acc-screen .acc-order__thumb{
  inline-size:60px;block-size:60px;flex:none;
  border-radius:14px;overflow:hidden;background:var(--a-bg);
  display:grid;place-items:center;
}
.acc-screen .acc-order__thumb img{
  inline-size:100%;block-size:100%;object-fit:cover;display:block;
}
.acc-screen .acc-order__body{min-inline-size:0}
.acc-screen .acc-order__top{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-inline-size:0;
}
.acc-screen .acc-order__id{font-size:14px;font-weight:700;direction:ltr;unicode-bidi:isolate}
.acc-screen .acc-order__date{font-size:12px;color:var(--a-ink-3);white-space:nowrap}
.acc-screen .acc-order__name{
  font-size:13px;color:var(--a-ink-2);line-height:1.5;
  margin:5px 0 0;overflow-wrap:anywhere;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.acc-screen .acc-order__foot{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;
  margin-block-start:10px;
}
.acc-screen .acc-order__total{
  font-size:15px;font-weight:700;white-space:nowrap;
  margin-inline-start:auto;
}
.acc-screen .acc-link{
  font-size:13px;font-weight:600;color:var(--a-brand-ink);
  text-decoration:underline;text-underline-offset:3px;
}
.acc-screen .acc-link--quiet{color:var(--a-ink-2);text-decoration-color:var(--a-line)}

/* ---------- support ---------- */
.acc-screen .acc-support{
  display:flex;flex-wrap:wrap;align-items:center;gap:13px;
  padding:16px;
}
.acc-screen .acc-support__body{flex:1 1 200px;min-inline-size:0}
.acc-screen .acc-support h3{font-size:15.5px;font-weight:700;margin:0 0 3px}
.acc-screen .acc-support p{
  margin:0;font-size:13px;color:var(--a-ink-3);line-height:1.6;
}
.acc-screen .acc-support .acc-btn{flex:0 0 auto;margin-inline-start:auto}
@media (max-width:519px){
  .acc-screen .acc-support .acc-btn{margin:0;inline-size:100%}
}

/* ---------- navigation ---------- */
.acc-screen .woocommerce-MyAccount-navigation{
  background:var(--a-card);
  border:1px solid var(--a-line);
  border-radius:var(--a-r-l);
  box-shadow:var(--a-shadow);
  overflow:hidden;float:none;inline-size:auto;margin:0;
}
.acc-screen .woocommerce-MyAccount-navigation ul{margin:0;padding:0;list-style:none}
.acc-screen .woocommerce-MyAccount-navigation li{
  margin:0;padding:0;border:0;
  border-block-end:1px solid var(--a-line-2);
}
.acc-screen .woocommerce-MyAccount-navigation li:last-child{border-block-end:0}
.acc-screen .woocommerce-MyAccount-navigation li a{
  display:flex;align-items:center;gap:12px;
  min-block-size:var(--a-tap);
  padding:10px 16px;min-inline-size:0;
  font-size:14.5px;font-weight:500;line-height:1.4;
  color:var(--a-ink);text-decoration:none;
  overflow-wrap:anywhere;
  transition:background .14s ease,color .14s ease;
}
.acc-screen .woocommerce-MyAccount-navigation li a:hover{background:var(--a-bg);color:var(--a-ink)}
.acc-screen .woocommerce-MyAccount-navigation li a::before{
  content:"";flex:none;
  inline-size:34px;block-size:34px;border-radius:11px;
  background-color:var(--a-bg);
  background-image:var(--a-icon);
  background-repeat:no-repeat;background-position:center;background-size:18px;
}
.acc-screen .woocommerce-MyAccount-navigation li a::after{
  content:"";flex:none;margin-inline-start:auto;
  inline-size:16px;block-size:16px;
  background-color:currentColor;opacity:.3;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
[dir="rtl"] .acc-screen .woocommerce-MyAccount-navigation li a::after{transform:scaleX(-1)}
.acc-screen .woocommerce-MyAccount-navigation li.is-active a{
  background:var(--a-brand-wash);color:var(--a-brand-ink);
  box-shadow:inset -3px 0 0 var(--a-brand);
}
[dir="ltr"] .acc-screen .woocommerce-MyAccount-navigation li.is-active a{box-shadow:inset 3px 0 0 var(--a-brand)}
.acc-screen .woocommerce-MyAccount-navigation li.is-active a::before{
  background-color:#fff;box-shadow:0 0 0 1px var(--a-brand);
}
.acc-screen .acc-nav__text{flex:1 1 auto;min-inline-size:0}
.acc-screen .acc-nav__t{display:block;font-size:14.5px;font-weight:500;line-height:1.4}
.acc-screen .woocommerce-MyAccount-navigation li.is-active .acc-nav__t{font-weight:700}
.acc-screen .acc-nav__d{
  display:block;font-size:11.5px;font-weight:400;line-height:1.35;
  color:var(--a-ink-3);overflow-wrap:anywhere;
}
.acc-screen .woocommerce-MyAccount-navigation li.is-active .acc-nav__d{color:var(--a-brand-ink);opacity:.72}
.acc-screen .acc-count{
  flex:none;min-inline-size:22px;block-size:22px;padding-inline:7px;
  border-radius:999px;background:var(--a-brand);color:#fff;
  font-size:12px;font-weight:700;line-height:22px;text-align:center;
  margin-inline-start:auto;
}
.acc-screen .woocommerce-MyAccount-navigation li a:has(.acc-count)::after{margin-inline-start:8px}

/* per-endpoint icons */
.acc-screen .woocommerce-MyAccount-navigation-link--dashboard a{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8'%3E%3Crect x='3' y='3' width='7' height='7' rx='2'/%3E%3Crect x='14' y='3' width='7' height='7' rx='2'/%3E%3Crect x='3' y='14' width='7' height='7' rx='2'/%3E%3Crect x='14' y='14' width='7' height='7' rx='2'/%3E%3C/svg%3E")}
.acc-screen .woocommerce-MyAccount-navigation-link--orders a{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='4' y='5' width='16' height='14' rx='2'/%3E%3Cpath d='M8 9h8M8 13h5'/%3E%3C/svg%3E")}
.acc-screen .woocommerce-MyAccount-navigation-link--track-order a{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M2 7h10v9H2z'/%3E%3Cpath d='M12 10h4l3 3v3h-7z'/%3E%3Ccircle cx='6' cy='18' r='1.7'/%3E%3Ccircle cx='16' cy='18' r='1.7'/%3E%3C/svg%3E")}
.acc-screen .woocommerce-MyAccount-navigation-link--wishlist a{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8'%3E%3Cpath d='M12 20s-7-4.4-7-9a4 4 0 017-2.6A4 4 0 0119 11c0 4.6-7 9-7 9z'/%3E%3C/svg%3E")}
.acc-screen .woocommerce-MyAccount-navigation-link--waitlist a{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M7 3h10M7 21h10M8 3c0 4 8 5 8 9s-8 5-8 9'/%3E%3C/svg%3E")}
.acc-screen .woocommerce-MyAccount-navigation-link--downloads a{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M20 12l-8 8-8-8V4h8z'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.3'/%3E%3C/svg%3E")}
.acc-screen .woocommerce-MyAccount-navigation-link--edit-address a{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8'%3E%3Cpath d='M12 21s7-5.6 7-11a7 7 0 10-14 0c0 5.4 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E")}
.acc-screen .woocommerce-MyAccount-navigation-link--edit-account a{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5 20c1-3.4 3.7-5.2 7-5.2s6 1.8 7 5.2'/%3E%3C/svg%3E")}
.acc-screen .woocommerce-MyAccount-navigation-link--customer-logout a{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B93030' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5H6v14h9'/%3E%3Cpath d='M18 12H10M15 9l3 3-3 3'/%3E%3C/svg%3E")}

.acc-screen .woocommerce-MyAccount-navigation-link--customer-logout{border-block-start:8px solid var(--a-bg)}
.acc-screen .woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--a-red);font-weight:600}
.acc-screen .woocommerce-MyAccount-navigation-link--customer-logout a::before{background-color:var(--a-red-wash)}
.acc-screen .woocommerce-MyAccount-navigation-link--customer-logout a::after{content:none}
.acc-screen .woocommerce-MyAccount-navigation-link--customer-logout a:hover{background:var(--a-red-wash);color:var(--a-red)}

/* ---------- back link on sub-pages ---------- */
.acc-screen .acc-back{
  display:none;align-items:center;gap:7px;
  margin-block-end:14px;
  font-size:13.5px;font-weight:600;color:var(--a-ink-2);text-decoration:none;
}
.acc-screen .acc-back::before{
  content:"";inline-size:16px;block-size:16px;flex:none;
  background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
[dir="rtl"] .acc-screen .acc-back::before{transform:scaleX(-1)}

/* ---------- endpoint content still needs a card ---------- */
.acc-screen:not(.acc-hub) .woocommerce-MyAccount-content{
  background:var(--a-card);
  border:1px solid var(--a-line);
  border-radius:var(--a-r-l);
  box-shadow:var(--a-shadow);
  padding:18px;
}
.acc-screen .woocommerce-MyAccount-content address,
.acc-screen .woocommerce-MyAccount-content td,
.acc-screen .woocommerce-MyAccount-content th{overflow-wrap:anywhere}
.acc-screen .woocommerce-MyAccount-content input.input-text,
.acc-screen .woocommerce-MyAccount-content .woocommerce-Input,
.acc-screen .woocommerce-MyAccount-content select,
.acc-screen .woocommerce-MyAccount-content textarea{
  max-inline-size:100%;font-size:16px;border-radius:var(--a-r);
}
.acc-screen .woocommerce-MyAccount-content input.input-text,
.acc-screen .woocommerce-MyAccount-content .woocommerce-Input,
.acc-screen .woocommerce-MyAccount-content select{block-size:48px}
.acc-screen .woocommerce-MyAccount-content .button{
  min-block-size:48px;border-radius:14px;padding-inline:20px;
}

/* orders table becomes cards on phones */
@media (max-width:767px){
  .acc-screen .woocommerce-MyAccount-content table.shop_table thead{display:none}
  .acc-screen .woocommerce-MyAccount-content table.shop_table,
  .acc-screen .woocommerce-MyAccount-content table.shop_table tbody,
  .acc-screen .woocommerce-MyAccount-content table.shop_table tr,
  .acc-screen .woocommerce-MyAccount-content table.shop_table td{display:block;inline-size:100%}
  .acc-screen .woocommerce-MyAccount-content table.shop_table tr{
    border:1px solid var(--a-line);border-radius:var(--a-r);
    padding:14px;margin-block-end:12px;
  }
  .acc-screen .woocommerce-MyAccount-content table.shop_table td{
    display:flex;justify-content:space-between;gap:12px;
    border:0;padding:6px 0;text-align:start;
  }
  .acc-screen .woocommerce-MyAccount-content table.shop_table td::before{
    content:attr(data-title);font-weight:600;color:var(--a-ink-3);font-size:13px;
  }
  .acc-screen .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions::before{content:none}
}

/* ---------- focus ---------- */
.acc-screen a:focus-visible,
.acc-screen button:focus-visible{
  outline:2.5px solid var(--a-brand);
  outline-offset:3px;border-radius:8px;
}

/* ==========================================================================
   PHONE: the tasks come first, the menu list sits underneath
   ========================================================================== */
@media (max-width:768px){
  .acc-screen .wd-my-account-wrapper{display:flex;flex-direction:column}
  .acc-screen.acc-hub .woocommerce-MyAccount-content{order:-1}
  .acc-screen .acc-back{display:inline-flex}
  /* on a sub-page the long menu is replaced by the back link */
  .acc-screen:not(.acc-hub) .wd-my-account-sidebar{display:none}
  .acc-screen .wd-my-account-sidebar .woocommerce-MyAccount-title{margin-block-start:6px}
  /* keep the floating WhatsApp button clear of the content */
  .acc-screen .ht-ctc.ht-ctc-chat{inset-block-end:calc(78px + env(safe-area-inset-bottom))}
}

/* ==========================================================================
   DESKTOP
   ========================================================================== */
@media (min-width:1025px){
  .acc-screen .wd-my-account-sidebar{align-self:flex-start;position:sticky;top:24px}
  .acc-screen .acc-hero{padding:20px}
  .acc-screen .acc-hero__avatar{inline-size:60px;block-size:60px;font-size:22px}
  .acc-screen .acc-hero__name{font-size:20px}
  .acc-screen .acc-quick{grid-template-columns:repeat(4,minmax(0,1fr))}
  .acc-screen .acc-rail__title{font-size:17px}
  .acc-screen .acc-steps li{font-size:11px}
}

@media (prefers-reduced-motion:reduce){
  .acc-screen *{animation:none !important;transition-duration:.01ms !important}
}

/* ==========================================================================
   v2 - the stock navigation is retired. Every destination now lives inside
   the dashboard itself, so the content column runs full width.
   ========================================================================== */
.acc-screen .wd-my-account-sidebar{display:none}
.acc-screen .woocommerce-MyAccount-content{
  --wd-col-lg:12 !important;
  --wd-col-md:12 !important;
  --wd-col-sm:12 !important;
  inline-size:100% !important;
  max-inline-size:100% !important;
  flex:1 1 100% !important;
  order:0 !important;
}
.acc-screen .wd-my-account-wrapper{display:block}

/* ---------- dashboard grid ---------- */
.acc-screen .acc-dash{display:grid;gap:14px;grid-template-columns:minmax(0,1fr)}
.acc-screen .acc-dash .acc-card{margin-block-end:0}
@media (min-width:1025px){
  .acc-screen .acc-dash{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px;align-items:start}
  .acc-screen .acc-dash__full{grid-column:1 / -1}
  .acc-screen .acc-dash .acc-quick{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ---------- settings / more card ---------- */
.acc-screen .acc-set{display:block}
.acc-screen .acc-set a{
  display:flex;align-items:center;gap:12px;
  min-block-size:var(--a-tap);
  padding:9px 16px;min-inline-size:0;
  border-block-start:1px solid var(--a-line-2);
  color:var(--a-ink);text-decoration:none;
  font-size:14.5px;font-weight:500;line-height:1.4;
  overflow-wrap:anywhere;
  transition:background .14s ease;
}
.acc-screen .acc-set a:hover{background:var(--a-bg)}
.acc-screen .acc-set a::before{
  content:"";flex:none;
  inline-size:34px;block-size:34px;border-radius:11px;
  background-color:var(--a-bg);
  background-image:var(--a-icon);
  background-repeat:no-repeat;background-position:center;background-size:18px;
}
.acc-screen .acc-set a::after{
  content:"";flex:none;margin-inline-start:auto;
  inline-size:16px;block-size:16px;
  background-color:currentColor;opacity:.3;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
[dir="rtl"] .acc-screen .acc-set a::after{transform:scaleX(-1)}
.acc-screen .acc-set__t{display:block;font-size:14.5px;font-weight:500;line-height:1.4}
.acc-screen .acc-set__d{display:block;font-size:11.5px;color:var(--a-ink-3);line-height:1.35;overflow-wrap:anywhere}
.acc-screen .acc-set__body{flex:1 1 auto;min-inline-size:0}

.acc-screen .acc-set--edit-account{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.2'/%3E%3Cpath d='M5 20c1-3.4 3.7-5.2 7-5.2s6 1.8 7 5.2'/%3E%3C/svg%3E")}
.acc-screen .acc-set--edit-address{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8'%3E%3Cpath d='M12 21s7-5.6 7-11a7 7 0 10-14 0c0 5.4 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E")}
.acc-screen .acc-set--downloads{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M20 12l-8 8-8-8V4h8z'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.3'/%3E%3C/svg%3E")}
.acc-screen .acc-set--waitlist{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M7 3h10M7 21h10M8 3c0 4 8 5 8 9s-8 5-8 9'/%3E%3C/svg%3E")}
.acc-screen .acc-set--track-order{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M2 7h10v9H2z'/%3E%3Cpath d='M12 10h4l3 3v3h-7z'/%3E%3Ccircle cx='6' cy='18' r='1.7'/%3E%3Ccircle cx='16' cy='18' r='1.7'/%3E%3C/svg%3E")}
.acc-screen .acc-set--fallback{--a-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A515C' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v.5M12 11v5'/%3E%3C/svg%3E")}

/* ---------- logout ---------- */
.acc-screen .acc-logout{
  display:flex;align-items:center;justify-content:center;gap:9px;
  margin:14px 16px 16px;
  min-block-size:var(--a-tap);
  border-radius:var(--a-r);
  background:var(--a-red-wash);color:var(--a-red);
  border:1px solid transparent;
  font-size:14.5px;font-weight:600;text-decoration:none;
}
.acc-screen .acc-logout:hover{background:#FBDEDE;color:var(--a-red);border-color:#F3C9C9}
.acc-screen .acc-logout::before{
  content:"";inline-size:18px;block-size:18px;flex:none;
  background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5H6v14h9'/%3E%3Cpath d='M18 12H10M15 9l3 3-3 3'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5H6v14h9'/%3E%3Cpath d='M18 12H10M15 9l3 3-3 3'/%3E%3C/svg%3E") center/contain no-repeat;
}
[dir="rtl"] .acc-screen .acc-logout::before{transform:scaleX(-1)}

/* ---------- sub-page navigation ---------- */
.acc-screen .acc-subnav{margin-block-end:14px}
.acc-screen .acc-back{display:inline-flex;margin-block-end:10px}
.acc-screen .acc-tabs{
  display:flex;gap:8px;
  overflow-x:auto;
  padding-block-end:4px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.acc-screen .acc-tabs::-webkit-scrollbar{display:none}
.acc-screen .acc-tab{
  flex:none;
  display:inline-flex;align-items:center;
  min-block-size:40px;padding-inline:15px;
  border-radius:999px;
  border:1px solid var(--a-line);background:var(--a-card);
  font-size:13px;font-weight:600;color:var(--a-ink-2);
  text-decoration:none;white-space:nowrap;
  transition:background .14s ease,border-color .14s ease,color .14s ease;
}
.acc-screen .acc-tab:hover{border-color:var(--a-ink-3);color:var(--a-ink)}
.acc-screen .acc-tab.is-active{background:var(--a-brand);border-color:var(--a-brand);color:#fff}
.acc-screen .acc-tab--out{background:var(--a-red-wash);border-color:transparent;color:var(--a-red)}
.acc-screen .acc-tab--out:hover{background:#FBDEDE;border-color:transparent;color:var(--a-red)}

/* acc-subnav divider inside the sub-page card */
.acc-screen:not(.acc-hub) .acc-subnav{border-block-end:1px solid var(--a-line-2);padding-block-end:12px}

/* ==========================================================================
   v3 - stepper with state icons, and the theme's own tile grid removed
   ========================================================================== */
.acc-screen .wd-my-account-links{display:none !important}

.acc-screen .acc-sr{
  position:absolute;inline-size:1px;block-size:1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;
}

.acc-screen .acc-track{padding:24px 8px 14px}
.acc-screen .acc-track__line{display:none}
.acc-screen .acc-steps{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;margin:0;padding:0;list-style:none;text-align:center;
}
.acc-screen .acc-steps li{
  position:relative;margin:0;min-inline-size:0;padding-inline:2px;
  font-size:11px;line-height:1.4;color:var(--a-ink-3);overflow-wrap:anywhere;
}
/* connector runs from this node back to the previous one */
.acc-screen .acc-steps li::before{
  content:"";position:absolute;z-index:0;
  inset-block-start:19px;inset-inline-start:50%;
  inline-size:100%;block-size:3px;
  background:var(--a-line);border-radius:99px;
}
.acc-screen .acc-steps li:first-child::before{content:none}
.acc-screen .acc-steps li.is-done::before,
.acc-screen .acc-steps li.is-now::before{background:var(--a-brand)}

.acc-screen .acc-step__ico{
  position:relative;z-index:1;display:block;
  inline-size:40px;block-size:40px;margin:0 auto 10px;
  border-radius:50%;
  background:var(--a-card);
  border:2px solid var(--a-line);
  transition:background .2s ease,border-color .2s ease;
}
.acc-screen .acc-step__ico::before{
  content:"";position:absolute;inset:0;
  background-color:var(--a-ink-3);
  -webkit-mask:var(--s-icon) center/19px no-repeat;
          mask:var(--s-icon) center/19px no-repeat;
}

/* step icons */
.acc-screen .acc-steps li[data-ico="order"] .acc-step__ico{--s-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-3-2-3 2-3-2-3 2z'/%3E%3Cpath d='M9 8h6M9 12h4'/%3E%3C/svg%3E")}
.acc-screen .acc-steps li[data-ico="prep"] .acc-step__ico{--s-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l9-4 9 4v8l-9 4-9-4z'/%3E%3Cpath d='M3 8l9 4 9-4M12 12v8'/%3E%3C/svg%3E")}
.acc-screen .acc-steps li[data-ico="ship"] .acc-step__ico{--s-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M2 7h10v9H2z'/%3E%3Cpath d='M12 10h4l3 3v3h-7z'/%3E%3Ccircle cx='6' cy='18' r='1.7'/%3E%3Ccircle cx='16' cy='18' r='1.7'/%3E%3C/svg%3E")}
.acc-screen .acc-steps li[data-ico="done"] .acc-step__ico{--s-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11l8-7 8 7v9H4z'/%3E%3Cpath d='M9 13.5l2 2 4-4'/%3E%3C/svg%3E")}
.acc-screen .acc-steps li[data-ico="store"] .acc-step__ico{--s-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M4 9h16v11H4z'/%3E%3Cpath d='M3 9l2-5h14l2 5'/%3E%3Cpath d='M9 20v-5h6v5'/%3E%3C/svg%3E")}
.acc-screen .acc-steps li[data-ico="bag"] .acc-step__ico{--s-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M4 7h16l-1.4 13H5.4z'/%3E%3Cpath d='M9 7a3 3 0 016 0'/%3E%3C/svg%3E")}

/* completed steps swap to a check mark */
.acc-screen .acc-steps li.is-done .acc-step__ico{
  border-color:var(--a-brand);
  background:var(--a-brand-wash);
  --s-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.acc-screen .acc-steps li.is-done .acc-step__ico::before{background-color:var(--a-brand-ink)}

/* the stage the order is actually at */
.acc-screen .acc-steps li.is-now .acc-step__ico{
  border-color:var(--a-brand);
  background:var(--a-brand);
  box-shadow:0 0 0 4px var(--a-brand-wash);
}
.acc-screen .acc-steps li.is-now .acc-step__ico::before{background-color:#fff}

/* stages still ahead stay quiet but keep their own icon */
.acc-screen .acc-steps li.is-next .acc-step__ico{background:var(--a-bg)}
.acc-screen .acc-steps li.is-next .acc-step__ico::before{background-color:#A8AFB8}

.acc-screen .acc-steps li b{display:block;font-weight:600;color:var(--a-ink-3)}
.acc-screen .acc-steps li.is-done b{color:var(--a-ink-2)}
.acc-screen .acc-steps li.is-now b{color:var(--a-brand-ink);font-weight:700}
@media (min-width:420px){
  .acc-screen .acc-steps li{font-size:11.5px}
}

/* ==========================================================================
   v4 - one unbroken track line, and a tighter mobile pass
   ========================================================================== */
.acc-screen .acc-steps{position:relative;--a-node:40px}

/* the rail is a single line from the first node to the last, drawn behind
   the nodes; the orange overlay stops at the stage the order has reached */
.acc-screen .acc-steps::before,
.acc-screen .acc-steps::after{
  content:"";position:absolute;z-index:0;
  inset-block-start:calc(var(--a-node) / 2 - 1.5px);
  inset-inline-start:12.5%;
  block-size:3px;border-radius:99px;
}
.acc-screen .acc-steps::before{inline-size:75%;background:var(--a-line)}
.acc-screen .acc-steps::after{
  inline-size:calc(var(--p, 12.5%) - 12.5%);
  background:var(--a-brand);
  transition:inline-size .6s cubic-bezier(.2,.8,.2,1);
}
.acc-screen .acc-steps li::before{content:none}

.acc-screen .acc-step__ico{
  inline-size:var(--a-node);block-size:var(--a-node);
  margin-block-end:9px;
}

/* Arabic labels break at spaces, never mid-word */
.acc-screen .acc-steps li{
  overflow-wrap:normal;word-break:normal;hyphens:none;
  padding-inline:3px;
}
.acc-screen .acc-steps li b{min-block-size:2.8em}

/* long product names and order numbers wrap on word boundaries first */
.acc-screen .acc-rail__title,
.acc-screen .acc-order__name,
.acc-screen .acc-hero__name,
.acc-screen .acc-set__t,
.acc-screen .acc-set__d,
.acc-screen .acc-quick__l,
.acc-screen .acc-quick__s{overflow-wrap:break-word;word-break:normal}
.acc-screen .acc-order__id,
.acc-screen .acc-rail__id{overflow-wrap:break-word}

/* buttons never wrap their label */
.acc-screen .acc-btn,
.acc-screen .acc-logout,
.acc-screen .acc-tab{white-space:nowrap}

/* -------------------------------------------------------------- phones */
@media (max-width:520px){
  .acc-screen .acc-rail__head{padding:14px 14px 12px}
  .acc-screen .acc-track{padding:20px 6px 12px}
  .acc-screen .acc-rail__foot{margin:14px;padding:12px}
  .acc-screen .acc-hero{padding:14px}
  .acc-screen .acc-card__head{padding:14px 14px 0}
  .acc-screen .acc-order{padding:14px}
  .acc-screen .acc-set a{padding:9px 14px}
  .acc-screen .acc-logout{margin:12px 14px 14px}
  .acc-screen .acc-support{padding:14px}
  .acc-screen .acc-quick__item{padding:12px 11px}
}
@media (max-width:400px){
  .acc-screen .acc-steps{--a-node:34px}
  .acc-screen .acc-steps li{font-size:10px;padding-inline:1px}
  .acc-screen .acc-step__ico::before{-webkit-mask-size:16px;mask-size:16px}
  .acc-screen .acc-rail__title{font-size:14.5px}
  .acc-screen .acc-hero__avatar{inline-size:48px;block-size:48px;font-size:18px;border-radius:15px}
  .acc-screen .acc-hero__name{font-size:16.5px}
  .acc-screen .acc-order__thumb{inline-size:52px;block-size:52px}
  .acc-screen .acc-quick__ico{inline-size:32px;block-size:32px;background-size:16px}
  .acc-screen .acc-quick__l{font-size:12.5px}
  .acc-screen .acc-quick__s{font-size:11px}
}
/* very narrow phones: the four stages stay on one row but shed the padding */
@media (max-width:340px){
  .acc-screen .acc-steps li{font-size:9.5px}
  .acc-screen .acc-track{padding-inline:2px}
}

/* ==========================================================================
   v5 - service requests: cancel, return, exchange, warranty
   ========================================================================== */

/* pill actions shown under an order */
.acc-screen .acc-chip-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-block-size:38px;padding-inline:14px;
  border-radius:999px;
  border:1px solid var(--a-line);background:var(--a-card);
  font-size:12.5px;font-weight:600;color:var(--a-ink-2);
  text-decoration:none;white-space:nowrap;
  transition:border-color .14s ease,color .14s ease,background .14s ease;
}
.acc-screen .acc-chip-btn:hover{border-color:var(--a-brand);color:var(--a-brand-ink);background:var(--a-brand-wash)}
.acc-screen .acc-chip-btn--stop{background:var(--a-red-wash);border-color:transparent;color:var(--a-red)}
.acc-screen .acc-chip-btn--stop:hover{background:#FBDEDE;border-color:transparent;color:var(--a-red)}

.acc-screen .acc-req__inline{display:flex;flex-wrap:wrap;gap:8px;inline-size:100%;margin-block-start:10px}
.acc-screen .acc-req__actions{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 16px}
.acc-screen .acc-req-bar{margin-block-start:16px}

/* a request card */
.acc-screen .acc-req{padding:15px 16px;border-block-start:1px solid var(--a-line-2)}
.acc-screen .acc-req:first-of-type{border-block-start:0}
.acc-screen .acc-req__top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;min-inline-size:0}
.acc-screen .acc-req__type{font-size:14.5px;font-weight:700;overflow-wrap:break-word}
.acc-screen .acc-req__order{
  font-size:12.5px;font-weight:600;color:var(--a-ink-3);
  direction:ltr;unicode-bidi:isolate;text-decoration:none;
}
.acc-screen a.acc-req__order:hover{color:var(--a-brand-ink)}
.acc-screen .acc-req__reason{
  margin:6px 0 0;font-size:13px;color:var(--a-ink-2);line-height:1.6;
  overflow-wrap:break-word;
}

/* progress timeline */
.acc-screen .acc-tl{list-style:none;margin:12px 0 0;padding:0}
.acc-screen .acc-tl__item{
  position:relative;display:flex;gap:11px;
  padding-block-end:14px;
}
.acc-screen .acc-tl__item::after{
  content:"";position:absolute;
  inset-block-start:16px;inset-block-end:0;
  inset-inline-start:5px;
  inline-size:2px;background:var(--a-line-2);
}
.acc-screen .acc-tl__item:last-child{padding-block-end:0}
.acc-screen .acc-tl__item:last-child::after{content:none}
.acc-screen .acc-tl__dot{
  position:relative;z-index:1;flex:none;
  inline-size:12px;block-size:12px;margin-block-start:4px;
  border-radius:50%;background:var(--a-line);
}
.acc-screen .acc-tl__item.is-current .acc-tl__dot{
  background:var(--a-brand);box-shadow:0 0 0 4px var(--a-brand-wash);
}
.acc-screen .acc-tl__item div{min-inline-size:0}
.acc-screen .acc-tl__item b{display:block;font-size:13.5px;font-weight:700;line-height:1.4}
.acc-screen .acc-tl__item time{display:block;font-size:11.5px;color:var(--a-ink-3)}
.acc-screen .acc-tl__item p{
  margin:4px 0 0;font-size:12.5px;color:var(--a-ink-2);line-height:1.6;
  overflow-wrap:break-word;
}

/* the request form */
.acc-screen .acc-form__body{padding:14px 16px 18px}
.acc-screen .acc-form__lead{
  margin:0 0 14px;padding:11px 13px;
  background:var(--a-bg);border-radius:var(--a-r);
  font-size:13px;color:var(--a-ink-2);overflow-wrap:break-word;
}
.acc-screen .acc-field{margin-block-end:14px;min-inline-size:0}
.acc-screen .acc-field__label{
  display:block;margin-block-end:7px;
  font-size:13px;font-weight:600;color:var(--a-ink-2);
}
.acc-screen .acc-field select,
.acc-screen .acc-field textarea{
  inline-size:100%;max-inline-size:100%;
  border:1px solid var(--a-line);border-radius:var(--a-r);
  background:var(--a-card);color:var(--a-ink);
  font:inherit;font-size:16px;padding:12px 14px;
}
.acc-screen .acc-field select{block-size:48px;padding-block:0}
.acc-screen .acc-field select:focus,
.acc-screen .acc-field textarea:focus{
  outline:none;border-color:var(--a-brand);box-shadow:0 0 0 3px var(--a-brand-wash);
}

.acc-screen .acc-picks{display:grid;gap:8px}
.acc-screen .acc-pick{
  display:flex;align-items:center;gap:11px;min-inline-size:0;
  padding:12px 13px;
  border:1px solid var(--a-line);border-radius:var(--a-r);
  font-size:13.5px;line-height:1.5;cursor:pointer;
  transition:border-color .14s ease,background .14s ease;
}
.acc-screen .acc-pick:hover{border-color:var(--a-ink-3)}
.acc-screen .acc-pick input{
  flex:none;inline-size:20px;block-size:20px;margin:0;
  accent-color:var(--a-brand);
}
.acc-screen .acc-pick span{min-inline-size:0;overflow-wrap:break-word}
.acc-screen .acc-pick b{color:var(--a-ink-3);font-weight:600}
.acc-screen .acc-pick:has(input:checked){border-color:var(--a-brand);background:var(--a-brand-wash)}

.acc-screen .acc-form__warn{
  margin:0 0 14px;padding:12px 13px;
  background:var(--a-red-wash);border-radius:var(--a-r);
  font-size:13px;line-height:1.65;color:var(--a-red);
}
.acc-screen .acc-form__actions{display:flex;flex-wrap:wrap;gap:10px}
.acc-screen .acc-form__actions .acc-btn{flex:1 1 auto}
@media (min-width:520px){
  .acc-screen .acc-form__actions .acc-btn{flex:0 0 auto;min-inline-size:150px}
}

@media (max-width:520px){
  .acc-screen .acc-req{padding:14px}
  .acc-screen .acc-req__actions{padding:0 14px 14px}
  .acc-screen .acc-form__body{padding:14px}
  .acc-screen .acc-chip-btn{flex:1 1 auto}
}

/* ==========================================================================
   v6 - mobile flex fixes
   In a column flex container, flex-basis controls HEIGHT, not width. The
   190px/200px bases set for the wide layout were stretching paragraphs into
   tall empty boxes once the container switched to a column on phones.
   ========================================================================== */
@media (max-width:520px){
  .acc-screen .acc-rail__foot{
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }
  .acc-screen .acc-rail__foot p,
  .acc-screen .acc-support__body,
  .acc-screen .acc-rail__main,
  .acc-screen .acc-form__actions .acc-btn{
    flex:0 0 auto;
    inline-size:100%;
  }
  .acc-screen .acc-rail__foot .acc-btn,
  .acc-screen .acc-support .acc-btn{
    margin:0;
    inline-size:100%;
  }
  .acc-screen .acc-support{
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }
  .acc-screen .acc-form__actions{flex-direction:column}

  /* the summary line reads as two tidy rows rather than one cramped one */
  .acc-screen .acc-rail__foot p{
    display:flex;flex-wrap:wrap;gap:2px 8px;
    margin:0;line-height:1.7;
  }
}

/* the tracker card head: status pill drops under the title instead of
   squeezing it into a two-character column */
@media (max-width:430px){
  .acc-screen .acc-rail__head{flex-direction:column;align-items:flex-start;gap:8px}
  .acc-screen .acc-rail__pill{margin-inline-start:0}
  .acc-screen .acc-rail__main{inline-size:100%}
}

/* quick tiles: let the sub-label truncate rather than push the tile wider */
@media (max-width:520px){
  .acc-screen .acc-quick__s{
    display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;
    overflow:hidden;
  }
  .acc-screen .acc-quick__l{
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
    overflow:hidden;
  }
  /* keep the tile grid clear of the floating WhatsApp bubble */
  .acc-screen .acc-quick{padding-block-end:2px}
}

/* order rows and request rows on phones */
@media (max-width:520px){
  .acc-screen .acc-order__foot{gap:8px 12px}
  .acc-screen .acc-order__total{margin-inline-start:0;inline-size:100%}
  .acc-screen .acc-req__top{gap:6px 8px}
}

/* ==========================================================================
   v7 - order tables on phones
   The totals rows were left as table cells inside block rows, so the browser
   shrink-to-fit them into narrow columns and broke numbers mid-digit
   (199. / 00). Every part of the table is now a block, and totals read as
   one label-and-value line each.
   ========================================================================== */
@media (max-width:767px){
  .acc-screen .woocommerce-MyAccount-content table.shop_table,
  .acc-screen .woocommerce-MyAccount-content table.shop_table thead,
  .acc-screen .woocommerce-MyAccount-content table.shop_table tbody,
  .acc-screen .woocommerce-MyAccount-content table.shop_table tfoot,
  .acc-screen .woocommerce-MyAccount-content table.shop_table tr,
  .acc-screen .woocommerce-MyAccount-content table.shop_table th,
  .acc-screen .woocommerce-MyAccount-content table.shop_table td{
    display:block;
    inline-size:100%;
    max-inline-size:100%;
    box-sizing:border-box;
  }
  .acc-screen .woocommerce-MyAccount-content table.shop_table{
    border-collapse:collapse;
    border:0;
    margin:0;
  }
  .acc-screen .woocommerce-MyAccount-content table.shop_table thead{display:none}

  /* line items keep the card treatment */
  .acc-screen .woocommerce-MyAccount-content table.shop_table tbody tr{
    border:1px solid var(--a-line);
    border-radius:var(--a-r);
    padding:14px;
    margin-block-end:12px;
    background:var(--a-card);
  }
  .acc-screen .woocommerce-MyAccount-content table.shop_table tbody td{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:10px;
    border:0;
    padding:6px 0;
    text-align:start;
  }

  /* totals read as a plain list: label start, value end, one line each */
  .acc-screen .woocommerce-MyAccount-content table.shop_table tfoot tr{
    display:flex;
    align-items:baseline;
    justify-content:space-between;
    gap:12px;
    border:0;
    border-block-start:1px solid var(--a-line-2);
    border-radius:0;
    padding:11px 0;
    margin:0;
    background:transparent;
  }
  .acc-screen .woocommerce-MyAccount-content table.shop_table tfoot tr:first-child{border-block-start:0}
  .acc-screen .woocommerce-MyAccount-content table.shop_table tfoot th{
    flex:0 1 auto;
    inline-size:auto;
    padding:0;border:0;
    text-align:start;
    font-size:13.5px;font-weight:600;
    color:var(--a-ink-3);
  }
  .acc-screen .woocommerce-MyAccount-content table.shop_table tfoot td{
    flex:0 1 auto;
    inline-size:auto;
    padding:0;border:0;
    text-align:end;
    font-size:14.5px;font-weight:700;
  }
  .acc-screen .woocommerce-MyAccount-content table.shop_table tfoot tr:last-child th,
  .acc-screen .woocommerce-MyAccount-content table.shop_table tfoot tr:last-child td{
    font-size:16px;color:var(--a-ink);
  }
}

/* amounts and Latin text never break mid-word or mid-number */
.acc-screen .woocommerce-MyAccount-content td,
.acc-screen .woocommerce-MyAccount-content th,
.acc-screen .woocommerce-MyAccount-content address,
.acc-screen .woocommerce-MyAccount-content p{
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:none;
}
.acc-screen .woocommerce-MyAccount-content .woocommerce-Price-amount,
.acc-screen .woocommerce-MyAccount-content bdi{white-space:nowrap}

/* the order page columns stack cleanly instead of shrinking to fit */
@media (max-width:767px){
  .acc-screen .woocommerce-MyAccount-content .col2-set .col-1,
  .acc-screen .woocommerce-MyAccount-content .col2-set .col-2{
    flex-basis:100%;
    max-inline-size:100%;
  }
  .acc-screen .woocommerce-MyAccount-content .woocommerce-order-details,
  .acc-screen .woocommerce-MyAccount-content .woocommerce-customer-details{
    inline-size:100%;
    max-inline-size:100%;
  }
}
