/* =========================================================
   SurgiMedex child theme — MY ACCOUNT (incl. the logged-out login / register form) styles (since v2.6.4)
   Loaded ONLY on these pages, printed right after style.css by
   surgimedex_context_css_tag() in functions.php. Every rule here is
   scoped to a account-only body class / element, so it can never match
   on other pages. Split out of style.css with the original order kept;
   section comments travelled with their first rule.
   ========================================================= */

/* ===================================================================
   My Account — login / register page (v1.5.36)
   Redesign: WhatsApp CTA hero + card-based email/password forms.
   Scoped to logged-out My Account (`body.woocommerce-account:not(.logged-in)`)
   so this doesn't disturb the account dashboard once signed in.
   =================================================================== */
body.woocommerce-account:not(.logged-in) .site-content .col-full {
  max-width: 720px;
  padding-top: 32px;
  padding-bottom: 60px;
}
body.woocommerce-account:not(.logged-in) .site-content .col-full > .page-title {
  display: none; /* replaced by the hero heading below */
}
/* ---- Two-column grid for Login / Register ---- */
.woocommerce-account:not(.logged-in) .u-columns.col2-set {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  width: 100%; margin: 0; padding: 0; float: none;
}
@media (min-width: 720px) {
.woocommerce-account:not(.logged-in) .u-columns.col2-set { grid-template-columns: 1fr 1fr; }
}
.woocommerce-account:not(.logged-in) .u-columns .u-column1,
.woocommerce-account:not(.logged-in) .u-columns .u-column2 {
  width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important;
}
.woocommerce-account:not(.logged-in) .u-column1 > h2,
.woocommerce-account:not(.logged-in) .u-column2 > h2 { display: none; }
/* ---- Login + Register form cards ---- */
.woocommerce-account:not(.logged-in) .woocommerce-form-login,
.woocommerce-account:not(.logged-in) .woocommerce-form-register {
  background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius);
  padding: 24px !important; box-shadow: var(--sm-shadow);
  margin: 0 !important;
}
.woocommerce-account:not(.logged-in) .woocommerce-form-login::before,
.woocommerce-account:not(.logged-in) .woocommerce-form-register::before {
  display: block; font-size: 17px; font-weight: 700; color: var(--sm-ink);
  margin: 0 0 14px; letter-spacing: -0.01em;
}
.woocommerce-account:not(.logged-in) .woocommerce-form-login::before  { content: 'Sign in with email'; }
.woocommerce-account:not(.logged-in) .woocommerce-form-register::before { content: 'Create your account'; }
/* ---- Fields ---- */
.woocommerce-account:not(.logged-in) form .form-row {
  margin: 0 0 14px !important; padding: 0 !important;
}
.woocommerce-account:not(.logged-in) form .form-row label {
  display: block; font-size: 13px; font-weight: 700; color: var(--sm-ink); margin: 0 0 6px;
}
.woocommerce-account:not(.logged-in) form .form-row label .required { color: var(--sm-danger); }
.woocommerce-account:not(.logged-in) form .form-row input.input-text,
.woocommerce-account:not(.logged-in) form .password-input input.input-text {
  display: block; width: 100%;
  padding: 12px 14px !important;
  background: var(--sm-bg-soft) !important;
  border: 1px solid var(--sm-line) !important;
  border-radius: var(--sm-radius-sm) !important;
  font: 400 15px var(--sm-font);
  color: var(--sm-ink);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: none !important;
}
.woocommerce-account:not(.logged-in) form .form-row input.input-text:focus {
  outline: 0;
  border-color: var(--sm-primary) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(151,193,92,.20) !important;
}
.woocommerce-account:not(.logged-in) .password-input { position: relative; }
.woocommerce-account:not(.logged-in) .show-password-input {
  top: 50%; right: 12px; transform: translateY(-50%);
}
/* ---- Remember me + lost password ---- */
.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--sm-muted); margin: 4px 0 12px;
}
.woocommerce-account:not(.logged-in) .woocommerce-LostPassword {
  margin: 12px 0 0 !important; font-size: 13px;
}
.woocommerce-account:not(.logged-in) .woocommerce-LostPassword a { color: var(--sm-primary-dark); text-decoration: none; font-weight: 600; }
.woocommerce-account:not(.logged-in) .woocommerce-LostPassword a:hover { text-decoration: underline; }
/* Register: privacy/terms fine print */
.woocommerce-account:not(.logged-in) .woocommerce-privacy-policy-text {
  font-size: 12px; color: var(--sm-muted); margin: 0 0 14px !important;
}
/* ---- Submit buttons — brand primary, full width ---- */
.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"],
.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"] {
  display: block; width: 100%;
  background: var(--sm-primary-dark) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: var(--sm-radius) !important;
  padding: 13px 20px !important;
  font: 700 15px/1 var(--sm-font) !important;
  cursor: pointer;
  transition: background .18s ease, transform .06s ease;
  box-shadow: 0 4px 12px rgba(111,160,60,.22);
  margin-top: 6px !important;
  text-transform: none;
  letter-spacing: 0;
}
.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"]:hover,
.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"]:hover { background: var(--sm-ink) !important; }
.woocommerce-account:not(.logged-in) .woocommerce-form-login button[type="submit"]:active,
.woocommerce-account:not(.logged-in) .woocommerce-form-register button[type="submit"]:active { transform: translateY(1px); }
/* ---- Notice styling on this page (login errors, success) ---- */
.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper .woocommerce-info {
  border-radius: var(--sm-radius-sm); border-left-width: 4px; font-size: 14px;
}
/* ---- Lost password page (same card treatment) ---- */
.woocommerce-account.woocommerce-lost-password .site-content .col-full { max-width: 480px; padding-top: 32px; padding-bottom: 60px; }
.woocommerce-account.woocommerce-lost-password .woocommerce-ResetPassword {
  background: #fff; border: 1px solid var(--sm-line); border-radius: var(--sm-radius);
  padding: 24px; box-shadow: var(--sm-shadow); margin: 0;
}
.woocommerce-account.woocommerce-lost-password .woocommerce-ResetPassword button[type="submit"] {
  display: block; width: 100%;
  background: var(--sm-primary-dark) !important; color: #fff !important;
  border: 0 !important; border-radius: var(--sm-radius) !important;
  padding: 13px 20px !important; font: 700 15px/1 var(--sm-font) !important;
  margin-top: 6px !important;
}
.woocommerce-account.woocommerce-lost-password .woocommerce-ResetPassword button[type="submit"]:hover { background: var(--sm-ink) !important; }
@media (max-width: 480px) {
.woocommerce-account:not(.logged-in) .woocommerce-form-login,
  .woocommerce-account:not(.logged-in) .woocommerce-form-register { padding: 20px !important; }
}
/* =========================================================
   ACCOUNT DASHBOARD — premium app-native redesign
   Design refs: CRED (typography/hero), Flipkart (order cards),
   Apple (whitespace), Amazon (shipment tracker).
   ========================================================= */
/* --- design tokens --- */
/* Defined on `body.sm-account` (NOT `.sm-acct-shell`) so BODY-LEVEL app chrome
   inherits them too. The bottom tab bar is appended to document.body, outside
   the shell — when the tokens lived on the shell, `var(--acc-danger)` etc. did
   not resolve there, so the cart badge rendered white-on-transparent (invisible)
   and the whole bar fell back to default colours. */
body.sm-account,
body.sm-account .sm-acct-shell {
  --acc-ink:       #0F172A;
  --acc-ink-soft:  #334155;
  --acc-muted:     #64748B;
  --acc-line:      #E2E8F0;
  --acc-line-soft: #F1F5F9;
  --acc-bg:        #FFFFFF;
  --acc-surface:   #FAFBFC;
  --acc-card:      #FFFFFF;
  --acc-primary:   #6FA03C;
  --acc-primary-2: #97C15C;
  --acc-primary-light: #EEF6E3;
  --acc-gold:      #C4863A;
  --acc-gold-2:    #DCA050;
  --acc-gold-light: #FBF3E5;
  --acc-danger:    #DC2626;
  --acc-danger-light: #FEF2F2;
  --acc-success:   #059669;
  --acc-info:      #2563EB;
  --acc-info-light: #EFF6FF;
  --acc-warning:   #D97706;
  --acc-warning-light: #FEF3C7;
  --acc-shadow-xs: 0 1px 2px rgba(15,23,42,.04);
  --acc-shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --acc-shadow-md: 0 4px 12px rgba(15,23,42,.06), 0 2px 4px rgba(15,23,42,.04);
  --acc-shadow-lg: 0 10px 30px rgba(15,23,42,.10), 0 4px 8px rgba(15,23,42,.05);
  --acc-radius:    16px;
  --acc-radius-sm: 12px;
  --acc-radius-xs: 8px;
  color-scheme: light;
}
/* --- reset WooCommerce wrapper on account pages --- */
body.sm-account .woocommerce-MyAccount-navigation { display: none !important; }
body.sm-account .woocommerce-MyAccount-content { width: 100% !important; float: none !important; padding: 0 !important; margin: 0 !important; }
body.sm-account .woocommerce { max-width: 100%; padding: 0; }
/* Hide stock Storefront page chrome — our designed headers replace them */
body.sm-account .entry-header,
body.sm-account .page-header,
body.sm-account .entry-title,
body.sm-account .page-title,
body.sm-account .woocommerce-breadcrumb,
body.sm-account .storefront-breadcrumb { display: none !important; }
/* Full-bleed the account content on every device + trim excess side padding */
body.sm-account .site-content { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; }
body.sm-account #primary,
body.sm-account .content-area,
body.sm-account #main,
body.sm-account .entry-content { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
body.sm-account .col-full { max-width: none !important; }
body.sm-account .sm-acct-menu-icon--gold svg[fill="currentColor"] { fill: var(--acc-gold); stroke: none; }
@media (min-width: 769px) {
/* Free the shell from Storefront's default content-width constraint */
body.sm-account .entry-content,
  body.sm-account .content-area,
  body.sm-account #primary,
  body.sm-account #main { max-width: none !important; width: 100% !important; }
body.sm-account #secondary { display: none !important; }
body.sm-account .site-content { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
/* Full-width account pages: no centered cap, sidebar hugs the left edge with
     just breathing-room padding. Applies to the dashboard AND every subpage
     (they all carry `.sm-acct-shell--desktop`).
     NOTE: double-class `.sm-acct-shell.sm-acct-shell--desktop` (specificity 0,3,1)
     is REQUIRED — the mobile base rule `.sm-acct-shell{max-width:480px}` appears
     LATER in the file and would otherwise win the tie and cap the desktop shell
     at 480px (collapsing the bento to slivers). */
body.sm-account .sm-acct-shell.sm-acct-shell--desktop { max-width: none; padding: 24px clamp(20px, 2.4vw, 56px) 80px; margin: 0; min-height: auto; }
body.sm-account .sm-desk-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 32px; align-items: start; }
/* Sidebar */
body.sm-account .sm-desk-side {
    background: var(--acc-card); border: 1px solid var(--acc-line); border-radius: 24px;
    padding: 22px; align-self: start; position: sticky; top: 24px;
  }
body.sm-account .sm-side-user {
    display: flex; gap: 12px; align-items: center;
    padding-bottom: 18px; border-bottom: 1px solid var(--acc-line-soft); margin-bottom: 12px;
  }
body.sm-account .sm-side-av {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, #97C15C, #5D8B2E);
    color: #FFF; display: flex; align-items: center; justify-content: center;
    font-family: 'Inter Tight'; font-size: 15px; font-weight: 800;
    box-shadow: 0 6px 16px rgba(93,139,46,.28); flex-shrink: 0;
  }
body.sm-account .sm-side-nm { font-family: 'Inter Tight'; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
body.sm-account .sm-side-em { font-size: 11.5px; color: var(--acc-muted); font-weight: 500; margin-top: 1px; word-break: break-all; }
body.sm-account .sm-side-nav { display: flex; flex-direction: column; gap: 2px; }
body.sm-account .sm-side-i {
    display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px;
    color: var(--acc-ink-soft); font-size: 13.5px; font-weight: 500; text-decoration: none;
    transition: background .15s ease, color .15s ease;
  }
body.sm-account .sm-side-i:hover { background: var(--acc-surface); color: var(--acc-ink); }
body.sm-account .sm-side-i.on { background: var(--acc-primary-light); color: var(--acc-primary); font-weight: 700; }
body.sm-account .sm-side-ic { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; }
body.sm-account .sm-side-ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.sm-account .sm-side-lbl { flex: 1; }
body.sm-account .sm-side-c {
    margin-left: auto; padding: 2px 8px; border-radius: 100px;
    background: var(--acc-line-soft); font-size: 10.5px; font-weight: 700; color: var(--acc-muted);
  }
body.sm-account .sm-side-i.on .sm-side-c { background: rgba(111,160,60,.16); color: var(--acc-primary); }
body.sm-account .sm-side-c.gold { background: rgba(220,160,80,.14); color: var(--acc-gold); }
body.sm-account .sm-side-lbl-h {
    font-size: 10.5px; color: var(--acc-muted); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em; padding: 14px 12px 6px;
  }
body.sm-account .sm-side-signout {
    display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px;
    color: var(--acc-danger); font-size: 13.5px; font-weight: 600; text-decoration: none;
    margin-top: 6px; border-top: 1px solid var(--acc-line-soft); padding-top: 14px;
  }
body.sm-account .sm-side-signout svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.sm-account .sm-side-signout:hover { background: var(--acc-danger-light); }
/* Main */
body.sm-account .sm-desk-main { min-width: 0; }
body.sm-account .sm-desk-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; gap: 20px; flex-wrap: wrap; }
body.sm-account .sm-desk-greet { font-size: 13px; color: var(--acc-muted); font-weight: 500; margin-bottom: 6px; }
body.sm-account .sm-desk-name { font-family: 'Inter Tight'; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
body.sm-account .sm-desk-actions { display: flex; align-items: center; gap: 10px; }
body.sm-account .sm-desk-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 100px; background: var(--acc-ink); color: #FFF;
    font-size: 13px; font-weight: 600; text-decoration: none; transition: transform .15s;
  }
body.sm-account .sm-desk-btn:hover { transform: translateY(-1px); color: #FFF; }
body.sm-account .sm-desk-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Bento grid */
body.sm-account .sm-bento {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  }
/* --- CRED-style combined hero + relayout (desktop only) ---
     CRED hero (Hero+Star+Coupons merged) spans cols 1-2; the right rail (Active order +
     Recent activity) spans both rows in col 3; Buy Again is promoted below the hero. */
body.sm-account .sm-bento--cred {
    grid-template-areas: "hero hero rail" "buy buy rail";
    align-items: start;
  }
body.sm-account .sm-bento-cred { grid-area: hero; }
body.sm-account .sm-bento-buy  { grid-area: buy; }
body.sm-account .sm-bento-rail { grid-area: rail; display: flex; flex-direction: column; gap: 20px; }
/* Brand Light palette (cream + green + gold). Compound selector .sm-bento-card.sm-bento-cred
     (0,3,1) beats the base .sm-bento-card (0,2,1) so the card bg/colour actually win. */
body.sm-account .sm-bento-card.sm-bento-cred {
    color: #17201a; border: 1px solid #e4e9e5;
    background: linear-gradient(135deg, #ffffff 0%, #f2f8ea 100%);
    box-shadow: 0 10px 30px rgba(93,139,46,.10);
  }
body.sm-account .sm-cred-glow   { position: absolute; top: -90px; right: -70px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(220,160,80,.18), transparent 62%); }
body.sm-account .sm-cred-glow-2 { position: absolute; bottom: -100px; left: -70px; width: 230px; height: 230px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(140,200,80,.18), transparent 62%); }
body.sm-account .sm-cred-rel    { position: relative; z-index: 1; }
body.sm-account .sm-cred-star   { width: 16px; height: 16px; vertical-align: -2px; fill: #DCA050; }
body.sm-account .sm-cred-top    { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
body.sm-account .sm-cred-ribbon { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: linear-gradient(135deg, rgba(93,139,46,.14), rgba(93,139,46,.06)); border: 1px solid rgba(93,139,46,.28); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #4a7a1f; }
body.sm-account .sm-cred-till   { font-size: 11.5px; color: #5b6b60; font-weight: 600; }
body.sm-account .sm-cred-eyebrow { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8a94a0; }
body.sm-account .sm-cred-savedrow { display: flex; align-items: baseline; margin: 4px 0 16px; }
body.sm-account .sm-cred-saved  { font-family: 'Inter Tight','Inter',sans-serif; font-size: 40px; font-weight: 900; letter-spacing: -.03em; line-height: 1; background: linear-gradient(120deg,#5D8B2E,#DCA050); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.sm-account .sm-cred-saved-sub { font-size: 12.5px; color: #5b6b60; margin-left: 10px; font-weight: 500; }
body.sm-account .sm-cred-dual   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
body.sm-account .sm-cred-panel  { background: #f4f9ee; border: 1px solid #dde8cf; border-radius: 14px; padding: 13px 15px; text-decoration: none; display: block; transition: background .15s ease, border-color .15s ease; }
body.sm-account a.sm-cred-panel { color: #17201a !important; }
body.sm-account .sm-cred-panel:hover { background: #edf5e2; border-color: #cfe0bd; }
body.sm-account .sm-cred-p-lbl  { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6b7a70; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
body.sm-account .sm-cred-p-lbl svg { width: 14px; height: 14px; }
body.sm-account .sm-cred-p-big  { font-family: 'Inter Tight','Inter',sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: #17201a; }
body.sm-account .sm-cred-u      { font-size: 12px; color: #5b6b60; font-weight: 600; }
body.sm-account .sm-cred-p-sub  { font-size: 11.5px; color: #7c8a82; margin-top: 3px; }
body.sm-account .sm-cred-cta    { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; font-size: 12px; font-weight: 800; color: #4a7a1f !important; text-decoration: none; }
body.sm-account .sm-cred-cta-green { color: #4a7a1f !important; }
body.sm-account .sm-cred-metrics { display: flex; align-items: center; border-top: 1px solid #e4ece0; padding-top: 14px; }
body.sm-account .sm-cred-metric { flex: 1; text-align: center; text-decoration: none; }
body.sm-account .sm-cred-mv     { font-family: 'Inter Tight','Inter',sans-serif; font-size: 19px; font-weight: 800; color: #17201a; }
body.sm-account .sm-cred-ml     { font-size: 10.5px; color: #8a94a0; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 1px; }
body.sm-account .sm-cred-vdiv   { width: 1px; align-self: stretch; background: #e4ece0; margin: 2px 0; }
/* Buy Again promoted into a card — neutralise the rail's own bleed margins inside it */
body.sm-account .sm-bento-buy .sm-acct-section-h { margin: 0 0 12px; }
body.sm-account .sm-bento-buy .sm-buy-rail { margin: 0; padding-bottom: 4px; }
body.sm-account .sm-bento-card {
    background: var(--acc-card); border: 1px solid var(--acc-line); border-radius: 24px;
    padding: 22px 24px; box-shadow: var(--acc-shadow-sm);
    position: relative; overflow: hidden;
  }
/* Shipment / empty */
body.sm-account .sm-bento-ship { padding: 22px 24px; }
body.sm-account .sm-bento-ship-eyebrow { font-size: 10.5px; font-weight: 700; color: var(--acc-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
body.sm-account .sm-bento-ship-t { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; gap: 10px; }
body.sm-account .sm-bento-ship-title { font-family: 'Inter Tight'; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
body.sm-account .sm-bento-ship-p { font-size: 12.5px; color: var(--acc-ink-soft); font-weight: 500; margin: 8px 0 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.sm-account .sm-bento-ship-actions { display: flex; gap: 8px; margin-top: 10px; }
body.sm-account .sm-bento-btn-p { flex: 1; padding: 10px; border-radius: 100px; font-size: 12.5px; font-weight: 700; text-align: center; background: var(--acc-ink); color: #FFF !important; text-decoration: none; letter-spacing: -0.01em; }
body.sm-account .sm-bento-btn-p:hover { background: var(--acc-ink-soft); }
body.sm-account .sm-bento-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 20px; }
body.sm-account .sm-bento-empty-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--acc-surface); color: var(--acc-muted); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
body.sm-account .sm-bento-empty-ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.sm-account .sm-bento-empty-t { font-family: 'Inter Tight'; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
body.sm-account .sm-bento-empty-d { font-size: 12px; color: var(--acc-muted); font-weight: 500; margin-bottom: 14px; }
body.sm-account .sm-bento-empty .sm-bento-btn-p { flex: unset; padding: 10px 20px; }
body.sm-account .sm-bento-empty-inline { color: var(--acc-muted); font-size: 13px; padding: 12px; }
/* Recent (span 2) */
body.sm-account .sm-bento-recent { grid-column: span 2; }
body.sm-account .sm-bento-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
body.sm-account .sm-bento-t { font-family: 'Inter Tight'; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
body.sm-account .sm-bento-l { font-size: 13px; color: var(--acc-primary); font-weight: 600; text-decoration: none; }
body.sm-account .sm-bento-ord-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--acc-line-soft); }
body.sm-account .sm-bento-ord-row:last-child { border-bottom: none; padding-bottom: 0; }
body.sm-account .sm-bento-ord-body { flex: 1; min-width: 0; }
body.sm-account .sm-bento-ord-t { font-size: 13px; font-weight: 600; color: var(--acc-ink); letter-spacing: -0.01em; }
body.sm-account .sm-bento-ord-d { font-size: 11.5px; color: var(--acc-muted); font-weight: 500; margin-top: 2px; }
body.sm-account .sm-bento-ord-a { padding: 6px 14px; border-radius: 100px; background: var(--acc-surface); font-size: 11.5px; font-weight: 700; color: var(--acc-ink); text-decoration: none; }
}
@media (min-width: 769px) and (max-width: 1080px) {
/* On narrower desktops shrink to 2 columns */
body.sm-account .sm-bento { grid-template-columns: repeat(2, 1fr); }
body.sm-account .sm-bento-recent { grid-column: span 2; }
}
@media (min-width: 769px) {
body.sm-account .sm-acct-shell--subpage-d .sm-desk-content-card {
    background: var(--acc-card); border: 1px solid var(--acc-line); border-radius: 24px;
    padding: 28px 32px; box-shadow: var(--acc-shadow-sm);
  }
body.sm-account .sm-acct-shell--subpage-d .sm-acct-subcontent { color: var(--acc-ink); }
body.sm-account .sm-acct-shell--subpage-d .sm-acct-subheader,
  body.sm-account .sm-acct-shell--subpage-d .sm-acct-back { display: none; }
/* Orders card grid — 2 columns on desktop */
body.sm-account .sm-acct-shell--subpage-d .sm-acct-order-cards {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0;
  }
body.sm-account .sm-acct-shell--subpage-d .sm-order-card {
    background: var(--acc-surface); border: 1px solid var(--acc-line-soft);
    box-shadow: none;
  }
body.sm-account .sm-acct-shell--subpage-d .sm-order-card:hover {
    border-color: var(--acc-primary); box-shadow: var(--acc-shadow-md);
  }
/* Address / edit-account forms — cleaner readable width */
body.sm-account .sm-acct-shell--subpage-d .sm-acct-subcontent .woocommerce-Addresses,
  body.sm-account .sm-acct-shell--subpage-d .sm-acct-subcontent .u-columns,
  body.sm-account .sm-acct-shell--subpage-d .sm-acct-subcontent .col2-set {
    display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px;
  }
body.sm-account .sm-acct-shell--subpage-d .sm-acct-subcontent .u-column1,
  body.sm-account .sm-acct-shell--subpage-d .sm-acct-subcontent .u-column2,
  body.sm-account .sm-acct-shell--subpage-d .sm-acct-subcontent .col-1,
  body.sm-account .sm-acct-shell--subpage-d .sm-acct-subcontent .col-2 {
    width: 100% !important; float: none !important; padding: 0 !important;
  }
body.sm-account .sm-acct-shell--subpage-d .sm-acct-subcontent .woocommerce-Address {
    background: var(--acc-surface); border: 1px solid var(--acc-line-soft);
    border-radius: 16px; padding: 22px 24px;
  }
body.sm-account .sm-acct-shell--subpage-d .sm-acct-subcontent .woocommerce-EditAccountForm {
    max-width: 640px;
  }
body.sm-account .sm-acct-shell--subpage-d .sm-acct-subcontent fieldset {
    background: var(--acc-surface); border: 1px solid var(--acc-line-soft);
    border-radius: 16px; padding: 20px 24px; margin: 20px 0;
  }
body.sm-account .sm-acct-shell--subpage-d .sm-acct-subcontent fieldset legend {
    font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 15px;
    letter-spacing: -0.02em; padding: 0 8px;
  }
/* Star Wallet (from plugin) rendered as a full-width card inside the shell */
body.sm-account .sm-acct-shell--subpage-d .smx-star-shell { max-width: none; }
}
/* --- shell --- */
body.sm-account .sm-acct-shell {
  /* Side padding halved 16px → 8px for a more edge-to-edge, "plush" app feel on
     phones (applies to the dashboard AND all internal pages — orders, order
     detail, wallet, addresses — since they all share `.sm-acct-shell`). */
  max-width: 480px; margin: 0 auto; padding: 0 8px 100px;
  font-family: var(--sm-font); color: var(--acc-ink);
  background: var(--acc-bg); min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}
body.sm-account .sm-acct-shell * { box-sizing: border-box; }
body.sm-account .sm-acct-shell svg { display: block; }
body.sm-account .sm-acct-shell a { color: inherit; }
@media (min-width: 769px) {
/* Non-desktop-variant shells only — the `--desktop` shells go full width above.
     (Without :not(), this later rule re-capped the desktop shell at 1100px.) */
body.sm-account .sm-acct-shell:not(.sm-acct-shell--desktop) {
    max-width: 1100px; padding: 0 40px 64px;
    min-height: auto; background: var(--acc-bg);
  }
}
/* --- profile header --- */
body.sm-account .sm-acct-profile {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0 20px; gap: 12px;
}
body.sm-account .sm-acct-profile-left { min-width: 0; flex: 1; }
body.sm-account .sm-acct-greeting {
  font-size: 13px; color: var(--acc-muted); font-weight: 500;
  margin-bottom: 4px;
}
body.sm-account .sm-acct-profile-name {
  font-size: 26px; font-weight: 700; color: var(--acc-ink);
  letter-spacing: -0.03em; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.sm-account .sm-acct-profile-actions {
  display: flex; align-items: center; gap: 10px;
}
body.sm-account .sm-acct-icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--acc-surface); border: 1px solid var(--acc-line);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--acc-ink-soft);
  transition: transform .18s ease, background .18s;
  text-decoration: none;
}
body.sm-account .sm-acct-icon-btn svg { width: 20px; height: 20px; }
body.sm-account .sm-acct-icon-btn:hover { background: var(--acc-primary-light); color: var(--acc-primary); transform: scale(1.05); }
body.sm-account .sm-acct-icon-btn:active { transform: scale(.95); }
body.sm-account .sm-acct-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--acc-primary-2), var(--acc-primary));
  color: #fff !important; text-decoration: none !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(111,160,60,.28);
  letter-spacing: 0.02em;
}
body.sm-account a.sm-acct-avatar:hover { color: #fff !important; transform: scale(1.05); transition: transform .15s; }
@media (min-width: 769px) {
body.sm-account .sm-acct-profile { padding: 32px 0 24px; }
body.sm-account .sm-acct-profile-name { font-size: 32px; }
body.sm-account .sm-acct-avatar { width: 48px; height: 48px; font-size: 17px; }
}
/* --- hero KPI card (CRED-style gradient) --- */
body.sm-account .sm-acct-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--acc-radius);
  padding: 22px 20px;
  margin-bottom: 20px;
  box-shadow: var(--acc-shadow-lg);
}
body.sm-account .sm-acct-hero-glow {
  position: absolute; top: -80px; right: -80px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(151,193,92,.35), transparent 70%);
  pointer-events: none;
}
body.sm-account .sm-acct-hero-metric {
  flex: 1; text-align: left;
}
body.sm-account .sm-acct-hero-value {
  font-size: 28px; font-weight: 800; color: #fff;
  line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
body.sm-account .sm-acct-hero-value--gold {
  background: linear-gradient(135deg, #FBD07A, #DCA050);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.sm-account .sm-acct-hero-label {
  font-size: 11px; color: rgba(255,255,255,.6);
  margin-top: 8px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
}
body.sm-account .sm-acct-hero-divider {
  width: 1px; background: rgba(255,255,255,.1); align-self: stretch;
}
/* --- rich hero (mobile dashboard v2) --- */
body.sm-account .sm-acct-hero-glow-2 {
  position: absolute; bottom: -80px; left: -80px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(220,160,80,.16), transparent 60%);
  pointer-events: none;
}
body.sm-account .sm-acct-hero-ribbon {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px 5px 8px; border-radius: 100px;
  background: linear-gradient(135deg, rgba(220,160,80,.22), rgba(220,160,80,.08));
  border: 1px solid rgba(220,160,80,.28); margin-bottom: 12px;
  font-size: 10.5px; font-weight: 800; color: #FBD07A; letter-spacing: 0.06em;
  text-decoration: none;
}
body.sm-account .sm-acct-hero-ribbon-ic { display: inline-flex; }
body.sm-account .sm-acct-hero-ribbon-ic svg { width: 12px; height: 12px; fill: #FBD07A; }
body.sm-account .sm-acct-hero-eyebrow {
  position: relative; z-index: 1; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; color: rgba(255,255,255,.5); text-transform: uppercase; margin-bottom: 4px;
}
body.sm-account .sm-acct-hero-savings {
  position: relative; z-index: 1; display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px;
}
body.sm-account .sm-acct-hero-savings-num {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(180deg, #FBD07A, #DCA050);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
body.sm-account .sm-acct-hero-savings-lbl { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; }
body.sm-account .sm-acct-hero-redeem {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px; margin-bottom: 18px;
  background: rgba(220,160,80,.08); border: 1px solid rgba(220,160,80,.18);
  text-decoration: none;
}
body.sm-account .sm-acct-hero-redeem.is-join { background: rgba(151,193,92,.08); border-color: rgba(151,193,92,.2); }
body.sm-account .sm-acct-hero-redeem-ic {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: rgba(220,160,80,.2); display: flex; align-items: center; justify-content: center;
}
body.sm-account .sm-acct-hero-redeem.is-join .sm-acct-hero-redeem-ic { background: rgba(151,193,92,.2); }
body.sm-account .sm-acct-hero-redeem-ic svg { width: 14px; height: 14px; fill: #FBD07A; }
body.sm-account .sm-acct-hero-redeem.is-join .sm-acct-hero-redeem-ic svg { fill: #97C15C; }
body.sm-account .sm-acct-hero-redeem-body { flex: 1; min-width: 0; }
body.sm-account .sm-acct-hero-redeem-bal { display: block; font-size: 12.5px; color: #FFF; font-weight: 600; letter-spacing: -0.01em; }
body.sm-account .sm-acct-hero-redeem-sub { display: block; font-size: 10.5px; color: rgba(255,255,255,.55); margin-top: 1px; }
body.sm-account .sm-acct-hero-redeem-cta { display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 700; color: #FBD07A; flex-shrink: 0; }
body.sm-account .sm-acct-hero-redeem.is-join .sm-acct-hero-redeem-cta { color: #97C15C; }
body.sm-account .sm-acct-hero-redeem-cta svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.5; }
body.sm-account .sm-acct-hero-metrics {
  position: relative; z-index: 1; display: flex; gap: 20px;
}
body.sm-account .sm-acct-hero-metrics .sm-acct-hero-metric { flex: 1; }
body.sm-account .sm-acct-hero-metrics .sm-acct-hero-value {
  font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
}
body.sm-account .sm-acct-hero-metrics .sm-acct-hero-label { margin-top: 6px; }
/* --- section header (Buy Again / Recent Orders) --- */
body.sm-account .sm-acct-section-h {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 4px 12px; margin-top: 4px;
}
body.sm-account .sm-acct-section-t { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 17px; font-weight: 700; color: var(--acc-ink); letter-spacing: -0.02em; }
body.sm-account .sm-acct-section-l { font-size: 12.5px; color: var(--acc-primary); font-weight: 600; display: flex; align-items: center; gap: 3px; text-decoration: none; }
body.sm-account .sm-acct-section-l svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
/* --- Buy Again rail --- */
body.sm-account .sm-buy-rail {
  display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 4px; margin: 0 -16px 22px;
  scrollbar-width: none;
}
body.sm-account .sm-buy-rail::-webkit-scrollbar { display: none; }
body.sm-account .sm-buy-card { flex-shrink: 0; width: 150px; background: var(--acc-card); border-radius: 16px; border: 1px solid var(--acc-line); overflow: hidden; }
body.sm-account .sm-buy-imgwrap { display: block; }
body.sm-account .sm-buy-img { height: 100px; background: linear-gradient(135deg, #F1F5F9, #E2E8F0); display: flex; align-items: center; justify-content: center; }
body.sm-account .sm-buy-img svg { width: 42px; height: 42px; }
body.sm-account .sm-buy-body { padding: 10px 12px 12px; }
body.sm-account .sm-buy-cat { font-size: 10px; color: var(--acc-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
body.sm-account .sm-buy-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; font-weight: 600; color: var(--acc-ink); line-height: 1.3; margin-bottom: 8px; min-height: 32px; text-decoration: none; }
body.sm-account .sm-buy-foot { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
body.sm-account .sm-buy-price { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 14px; font-weight: 700; color: var(--acc-ink); letter-spacing: -0.01em; }
/* Deeper green + white icon so the "+" clears the 3:1 non-text contrast bar
   (brand #6FA03C on white gave a washed-out ~3:1). Slightly larger tap target
   and a soft shadow lift it off the white card. `!important` on the icon colour
   guards against the account link-colour cascade tinting `currentColor` green. */
body.sm-account .sm-buy-add { width: 34px; height: 34px; border-radius: 50%; background: #4E7D22; color: #fff !important; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 6px rgba(78,125,34,.35); }
body.sm-account .sm-buy-add:hover { background: #3F6A1B; }
body.sm-account .sm-buy-add svg { width: 15px; height: 15px; stroke: #fff !important; }
/* ============================================================
   ORDER DETAIL (#3) — status hero + vertical tracker, item cards,
   price breakdown, address, payment, sticky action bar.
   Matches the OrderDetail mockup. Shared blocks (.sm-od-*) are used
   by both the mobile stack and the desktop two-column layout.
   ============================================================ */
body.sm-account .sm-acct-shell--od { padding-bottom: 108px; }
/* clear the sticky bar */
body.sm-account.sm-od-active .sm-tab-bar { display: none !important; }
/* mockup shows only the action bar */
/* top bar (mobile) */
body.sm-account .sm-od-topbar { display: flex; align-items: center; gap: 10px; padding: 6px 2px 14px; }
body.sm-account .sm-od-topbar .sm-acct-back {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--acc-card); border: 1px solid var(--acc-line); color: var(--acc-ink); flex-shrink: 0; text-decoration: none;
}
body.sm-account .sm-od-topbar .sm-acct-back svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
body.sm-account .sm-od-topbar-t { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
body.sm-account .sm-acct-subheader-spacer { flex: 1; }
body.sm-account .sm-od { display: flex; flex-direction: column; gap: 14px; }
/* ---- status hero ---- */
body.sm-account .sm-od-hero {
  position: relative; overflow: hidden; color: #fff;
  border-radius: 22px; padding: 20px 22px 22px;
  box-shadow: 0 14px 34px rgba(15,23,42,.16);
}
body.sm-account .sm-od-hero--green { background: linear-gradient(155deg, #1F8B4C 0%, #0E5A32 55%, #0B3F24 100%); }
body.sm-account .sm-od-hero--slate { background: linear-gradient(155deg, #334155 0%, #131C2B 100%); }
body.sm-account .sm-od-hero--amber { background: linear-gradient(155deg, #B45309 0%, #7C3A08 100%); }
body.sm-account .sm-od-hero--gray  { background: linear-gradient(155deg, #64748B 0%, #334155 100%); }
body.sm-account .sm-od-hero-eyebrow { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; color: rgba(255,255,255,.7); text-transform: uppercase; margin-bottom: 8px; }
body.sm-account .sm-od-hero-head { display: flex; align-items: center; gap: 10px; }
body.sm-account .sm-od-hero-ic { width: 30px; height: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
body.sm-account .sm-od-hero-ic svg { width: 28px; height: 28px; }
body.sm-account .sm-od-hero-title { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 23px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
body.sm-account .sm-od-hero-sub { font-size: 12.5px; color: rgba(255,255,255,.82); font-weight: 500; margin: 7px 0 0; line-height: 1.4; }
/* vertical tracker */
body.sm-account .sm-od-track { margin-top: 18px; }
body.sm-account .sm-od-step { position: relative; display: flex; gap: 13px; padding-bottom: 16px; }
body.sm-account .sm-od-step:last-child { padding-bottom: 0; }
body.sm-account .sm-od-step::before {
  content: ''; position: absolute; left: 8px; top: 17px; bottom: 0; width: 2px;
  background: rgba(255,255,255,.22); border-radius: 2px;
}
body.sm-account .sm-od-step:last-child::before { display: none; }
body.sm-account .sm-od-step.is-done::before { background: rgba(255,255,255,.55); }
body.sm-account .sm-od-step-dot {
  position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%;
  flex-shrink: 0; margin-top: 1px; background: rgba(255,255,255,.28); box-sizing: border-box;
}
body.sm-account .sm-od-step.is-done .sm-od-step-dot { background: #fff; }
body.sm-account .sm-od-step.is-done .sm-od-step-dot::after {
  content: ''; position: absolute; left: 6px; top: 3.5px; width: 4.5px; height: 8px;
  border: solid #0E5A32; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
body.sm-account .sm-od-step.is-active .sm-od-step-dot {
  background: #0E5A32; border: 4px solid #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2);
}
/* v2.8.11 — horizontal journey (replaces the vertical .sm-od-track in the hero) */
body.sm-account .sm-od-htrack { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); margin: 20px -6px 0; }
body.sm-account .sm-od-hstep { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 3px; min-width: 0; }
body.sm-account .sm-od-hstep::before { content: ''; position: absolute; top: 10px; left: calc(-50% + 13px); right: calc(50% + 13px); height: 2px; border-radius: 2px; background: rgba(255,255,255,.22); }
body.sm-account .sm-od-hstep:first-child::before { display: none; }
body.sm-account .sm-od-hstep.is-done::before, body.sm-account .sm-od-hstep.is-active::before { background: rgba(255,255,255,.75); }
body.sm-account .sm-od-hstep-dot { position: relative; width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto; border: 2px solid rgba(255,255,255,.4); box-sizing: border-box; }
body.sm-account .sm-od-hstep.is-done .sm-od-hstep-dot { background: #fff; border-color: #fff; }
body.sm-account .sm-od-hstep.is-done .sm-od-hstep-dot::after { content: ''; position: absolute; left: 6.5px; top: 3.5px; width: 5px; height: 9px; border: solid #0E5A32; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
body.sm-account .sm-od-hstep.is-active .sm-od-hstep-dot { border-color: #fff; background: rgba(255,255,255,.18); box-shadow: 0 0 0 5px rgba(255,255,255,.16); }
body.sm-account .sm-od-hstep.is-active .sm-od-hstep-dot::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
body.sm-account .sm-od-hstep-l { margin-top: 9px; font-size: 12.5px; font-weight: 700; line-height: 1.25; color: #fff; letter-spacing: -0.01em; }
body.sm-account .sm-od-hstep-t { margin-top: 3px; font-size: 11px; font-weight: 500; line-height: 1.3; color: rgba(255,255,255,.66); }
body.sm-account .sm-od-hstep.is-pending .sm-od-hstep-l { color: rgba(255,255,255,.6); font-weight: 600; }
body.sm-account .sm-od-hstep.is-pending .sm-od-hstep-t { color: rgba(255,255,255,.45); }
body.sm-account .sm-od-hero--slate .sm-od-hstep.is-done .sm-od-hstep-dot::after { border-color: #131C2B; }
body.sm-account .sm-od-hero--amber .sm-od-hstep.is-done .sm-od-hstep-dot::after { border-color: #7C3A08; }
body.sm-account .sm-od-hero--gray .sm-od-hstep.is-done .sm-od-hstep-dot::after { border-color: #334155; }
@media (max-width: 768px) {
body.sm-account .sm-od-htrack { margin: 18px -12px 0; }
body.sm-account .sm-od-hstep { padding: 0 1px; }
body.sm-account .sm-od-hstep-dot { width: 20px; height: 20px; }
body.sm-account .sm-od-hstep::before { top: 9px; left: calc(-50% + 12px); right: calc(50% + 12px); }
body.sm-account .sm-od-hstep.is-done .sm-od-hstep-dot::after { left: 5.5px; top: 3px; width: 5px; height: 8px; }
body.sm-account .sm-od-hstep-l { margin-top: 7px; font-size: 10.5px; }
body.sm-account .sm-od-hstep-t { font-size: 9.5px; }
}
body.sm-account .sm-od-hero--slate .sm-od-step.is-active .sm-od-step-dot,
body.sm-account .sm-od-hero--slate .sm-od-step.is-done .sm-od-step-dot::after { border-color: #131C2B; }
body.sm-account .sm-od-step-b { display: flex; flex-direction: column; gap: 1px; padding-top: 0; }
body.sm-account .sm-od-step-l { font-size: 13.5px; font-weight: 700; color: #fff; letter-spacing: -0.01em; line-height: 1.2; }
body.sm-account .sm-od-step-t { font-size: 11.5px; color: rgba(255,255,255,.62); font-weight: 500; }
body.sm-account .sm-od-step.is-pending .sm-od-step-l { color: rgba(255,255,255,.6); font-weight: 600; }
body.sm-account .sm-od-step.is-pending .sm-od-step-t { color: rgba(255,255,255,.42); }
body.sm-account .sm-od-hero-link {
  display: inline-flex; align-items: center; gap: 2px; margin-top: 16px;
  font-size: 12.5px; font-weight: 700; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2);
  padding: 8px 14px; border-radius: 100px; backdrop-filter: blur(8px);
}
body.sm-account .sm-od-hero-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; }
/* ---- generic card ---- */
body.sm-account .sm-od-card { background: var(--acc-card); border: 1px solid var(--acc-line); border-radius: 20px; padding: 18px 20px; box-shadow: var(--acc-shadow-xs); }
body.sm-account .sm-od-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
body.sm-account .sm-od-card-h > span:first-child,
body.sm-account .sm-od-card-t { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--acc-ink); }
body.sm-account .sm-od-card-t { margin-bottom: 12px; }
body.sm-account .sm-od-card-a { font-size: 12.5px; color: var(--acc-primary); font-weight: 700; text-decoration: none; }
/* ---- items ---- */
body.sm-account .sm-od-items { display: flex; flex-direction: column; }
body.sm-account .sm-od-item { display: flex; gap: 13px; align-items: center; padding: 12px 0; border-top: 1px solid var(--acc-line-soft); text-decoration: none; }
body.sm-account .sm-od-item:first-child { border-top: none; padding-top: 0; }
body.sm-account .sm-od-item:last-child { padding-bottom: 0; }
body.sm-account .sm-od-item-thumb {
  width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0;
  background: var(--acc-surface); background-size: cover; background-position: center;
  border: 1px solid var(--acc-line-soft); display: flex; align-items: center; justify-content: center;
}
body.sm-account .sm-od-item-thumb.is-ph svg { width: 24px; height: 24px; stroke: var(--acc-muted); fill: none; stroke-width: 1.5; }
body.sm-account .sm-od-item-body { flex: 1; min-width: 0; }
body.sm-account .sm-od-item-cat { font-size: 9.5px; color: var(--acc-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 2px; }
body.sm-account .sm-od-item-name { font-size: 13px; font-weight: 600; color: var(--acc-ink); line-height: 1.3; letter-spacing: -0.01em; }
body.sm-account .sm-od-item-meta { font-size: 11.5px; color: var(--acc-muted); font-weight: 500; margin-top: 2px; }
body.sm-account .sm-od-item-right { text-align: right; flex-shrink: 0; }
body.sm-account .sm-od-item-price { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 14px; font-weight: 800; color: var(--acc-ink); letter-spacing: -0.01em; }
body.sm-account .sm-od-item-qty { font-size: 11px; color: var(--acc-muted); font-weight: 600; margin-top: 2px; }
/* ---- price breakdown ---- */
body.sm-account .sm-od-brk { display: flex; flex-direction: column; gap: 9px; }
body.sm-account .sm-od-brk-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
body.sm-account .sm-od-brk-row > span:first-child { color: var(--acc-ink-soft); font-weight: 500; }
body.sm-account .sm-od-brk-row > span:last-child { color: var(--acc-ink); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; } /* v2.8.12: a long label wraps, the amount never does */
body.sm-account .sm-od-brk-row { gap: 12px; }
body.sm-account .sm-od-brk-row > span:first-child { min-width: 0; }
body.sm-account .sm-od-free { color: var(--acc-primary) !important; }
body.sm-account .sm-od-coup > span:first-child { color: var(--acc-primary); font-weight: 700; }
body.sm-account .sm-od-coup > span:last-child { color: var(--acc-primary) !important; }
body.sm-account .sm-od-brk-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--acc-line);
}
body.sm-account .sm-od-brk-total > span:first-child { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 16px; font-weight: 700; color: var(--acc-ink); }
body.sm-account .sm-od-brk-total > span:last-child { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 22px; font-weight: 800; color: var(--acc-ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
body.sm-account .sm-od-saved {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 12px;
  padding: 6px 12px; border-radius: 100px; background: rgba(5,150,105,.1);
  color: var(--acc-success); font-size: 12px; font-weight: 700;
}
body.sm-account .sm-od-saved svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; }
/* ---- address ---- */
body.sm-account .sm-od-addr { display: flex; gap: 12px; }
body.sm-account .sm-od-addr-ic { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; background: var(--acc-primary-light); color: var(--acc-primary); display: flex; align-items: center; justify-content: center; }
body.sm-account .sm-od-addr-ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
body.sm-account .sm-od-addr-b { flex: 1; min-width: 0; }
body.sm-account .sm-od-addr-name { font-size: 13.5px; font-weight: 700; color: var(--acc-ink); letter-spacing: -0.01em; }
body.sm-account .sm-od-addr-lines { font-size: 12.5px; color: var(--acc-muted); font-weight: 500; margin-top: 3px; line-height: 1.45; }
body.sm-account .sm-od-addr-phone { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 12.5px; color: var(--acc-ink-soft); font-weight: 600; }
body.sm-account .sm-od-addr-phone svg { width: 14px; height: 14px; stroke: var(--acc-muted); fill: none; stroke-width: 1.8; flex-shrink: 0; }
/* ---- payment ---- */
body.sm-account .sm-od-pay { display: flex; align-items: center; gap: 12px; }
body.sm-account .sm-od-pay-ic { width: 44px; height: 30px; border-radius: 7px; flex-shrink: 0; background: var(--acc-ink); color: #fff; display: flex; align-items: center; justify-content: center; }
body.sm-account .sm-od-pay-ic svg { width: 22px; height: 22px; }
body.sm-account .sm-od-pay-b { flex: 1; min-width: 0; }
body.sm-account .sm-od-pay-method { font-size: 13px; font-weight: 700; color: var(--acc-ink); letter-spacing: -0.01em; }
body.sm-account .sm-od-pay-status { padding: 4px 11px; border-radius: 100px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; background: var(--acc-line-soft); color: var(--acc-muted); flex-shrink: 0; }
body.sm-account .sm-od-pay-status.is-paid { background: rgba(5,150,105,.12); color: var(--acc-success); }
/* ---- v2.8.10 (build H): refunds / returns ---- */
body.sm-account .sm-od-hero-ref { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); color: #fff !important; text-decoration: none !important; }
body.sm-account .sm-od-hero-ref:hover { background: rgba(255,255,255,.2); }
body.sm-account .sm-od-hero-ref-ic { width: 34px; height: 34px; border-radius: 10px; background: #FBD38D; color: #7C4A03; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
body.sm-account .sm-od-hero-ref-ic svg { width: 17px; height: 17px; }
body.sm-account .sm-od-hero-ref-b { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; }
body.sm-account .sm-od-hero-ref-b b { font-weight: 800; font-size: 14px; }
body.sm-account .sm-od-hero-ref-b span { opacity: .9; }
body.sm-account .sm-od-hero-ref-a { font-size: 12.5px; font-weight: 700; white-space: nowrap; }
body.sm-account .sm-od-hero-ref-a::after { content: " \2193"; }
body.sm-account .sm-od-hero-ref + .sm-od-hero-link { margin-top: 12px; }
body.sm-account .sm-od-item.is-returned .sm-od-item-thumb,
  body.sm-account .sm-od-item.is-returned .sm-od-item-name,
  body.sm-account .sm-od-item.is-returned .sm-od-item-cat,
  body.sm-account .sm-od-item.is-returned .sm-od-item-meta { opacity: .5; }
body.sm-account .sm-od-item.is-returned .sm-od-item-price { text-decoration: line-through; color: #94A3B8; }
body.sm-account .sm-od-ret-badge { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 100px; background: #FEF3C7; color: #92400E; font-size: 11px; font-weight: 700; }
body.sm-account .sm-od-card-h .sm-od-card-tag { font-size: 12px; font-weight: 700; color: #92400E; background: #FEF3C7; padding: 3px 10px; border-radius: 100px; white-space: nowrap; }
body.sm-account .sm-od-refunds { scroll-margin-top: 130px; }
body.sm-account .sm-od-ref-total { font-family: 'Inter Tight', 'Inter', sans-serif; font-weight: 800; color: #B45309; }
body.sm-account .sm-od-ref { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--acc-line-soft); }
body.sm-account .sm-od-refunds .sm-od-card-h + .sm-od-ref { border-top: 0; padding-top: 2px; }
body.sm-account .sm-od-ref-ic { width: 32px; height: 32px; border-radius: 10px; background: #FEF3C7; color: #B45309; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
body.sm-account .sm-od-ref-ic svg { width: 16px; height: 16px; }
body.sm-account .sm-od-ref-b { flex: 1; min-width: 0; }
body.sm-account .sm-od-ref-t { font-size: 13.5px; font-weight: 700; color: var(--acc-ink); letter-spacing: -0.01em; }
body.sm-account .sm-od-ref-s { font-size: 12.5px; color: var(--acc-ink-soft); margin-top: 2px; line-height: 1.4; }
body.sm-account .sm-od-ref-r { font-size: 12px; color: var(--acc-muted); margin-top: 3px; font-style: italic; }
body.sm-account .sm-od-ref-amt { text-align: right; font-family: 'Inter Tight', 'Inter', sans-serif; font-weight: 800; font-size: 14px; color: var(--acc-ink); white-space: nowrap; }
body.sm-account .sm-od-ref-amt small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 11px; color: var(--acc-muted); margin-top: 2px; }
body.sm-account .sm-od-ref-star { display: flex; gap: 10px; align-items: flex-start; margin-top: 6px; padding: 11px 13px; border-radius: 12px; background: #FFF8EA; border: 1px solid #F3E2BE; font-size: 12.5px; color: #5C3D06; line-height: 1.5; }
body.sm-account .sm-od-ref-star-ic { width: 26px; height: 26px; border-radius: 8px; background: #1F3D2B; color: #FBD07A; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
body.sm-account .sm-od-ref-star-ic svg { width: 14px; height: 14px; }
body.sm-account .sm-od-brk-ref { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--acc-line); display: flex; flex-direction: column; gap: 8px; }
body.sm-account .sm-od-brk-row.is-refund > span:last-child { color: #B45309; }
body.sm-account .sm-od-brk-net { display: flex; justify-content: space-between; align-items: baseline; font-family: 'Inter Tight', 'Inter', sans-serif; font-weight: 800; font-size: 16px; color: var(--acc-ink); }
body.sm-account .sm-od-pay-status.is-ref { background: #FEF3C7; color: #92400E; }
body.sm-account .sm-od-pay-ref { display: flex; justify-content: space-between; font-size: 13px; color: var(--acc-ink-soft); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--acc-line-soft); }
body.sm-account .sm-od-pay-ref > span:last-child { color: #B45309; font-weight: 700; font-variant-numeric: tabular-nums; }
body.sm-account .sm-od-pay-ref.is-net { margin-top: 5px; padding-top: 0; border-top: 0; color: var(--acc-ink); font-weight: 700; }
body.sm-account .sm-od-pay-ref.is-net > span:last-child { color: var(--acc-ink); font-weight: 800; }
body.sm-account .sm-ord-total .sm-ord-ref { display: block; margin-top: 3px; font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 700; color: #B45309; text-align: right; white-space: nowrap; }
/* ---- sticky action bar (mobile) ---- */
body.sm-account .sm-od-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10001;
  display: flex; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--acc-card); border-top: 1px solid var(--acc-line);
  box-shadow: 0 -6px 22px rgba(15,23,42,.08);
}
body.sm-account .sm-od-bar-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; border-radius: 100px; font-size: 14.5px; font-weight: 800; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; border: 0;
}
body.sm-account .sm-od-bar-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
body.sm-account .sm-od-inv { flex: 0 0 44%; background: var(--acc-surface); color: var(--acc-ink) !important; border: 1.5px solid var(--acc-line); }
body.sm-account .sm-od-inv:hover { background: var(--acc-line-soft); }
body.sm-account .sm-od-re { background: linear-gradient(135deg, #6FA03C, #4E7D22); color: #fff !important; box-shadow: 0 6px 16px rgba(78,125,34,.32); }
body.sm-account .sm-od-re:hover { background: linear-gradient(135deg, #5E8E33, #3F6A1B); color: #fff !important; }
/* Solid hero CTA (e.g. "Complete payment" on an unpaid order). */
body.sm-account .sm-od-hero-link.is-solid { background: #fff; color: #0F172A !important; border-color: #fff; font-weight: 800; }
body.sm-account .sm-od-hero-link.is-solid:hover { background: rgba(255,255,255,.9); }
/* ---- receipt disclaimer (subtle on screen, prominent on the printed receipt) ---- */
body.sm-account .sm-od-receipt-note {
  font-size: 11.5px; line-height: 1.5; color: var(--acc-muted); font-weight: 500;
  padding: 12px 4px 0; text-align: center;
}
body.sm-account .sm-od-receipt-note b { color: var(--acc-ink-soft); font-weight: 700; }
body.sm-account .sm-od-receipt-note a { color: var(--acc-primary); font-weight: 700; text-decoration: none; }
/* Print-only receipt header — hidden on screen. */
body.sm-account .sm-od-print-head { display: none; }
@media (min-width: 769px) {
/* v2.8.10 — the columns have their own grid (.sm-od-cols), so the sticky right column is
   bounded by them and can no longer slide over the receipt note below; it sticks just
   under the sticky site header (--sm-od-top, set by AD.odStick) and only when it fits. */
body.sm-account .sm-od--desk { gap: 18px; }
body.sm-account .sm-od-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 22px; align-items: start; }
body.sm-account .sm-od-col { display: flex; flex-direction: column; gap: 18px; }
body.sm-account .sm-od-col-r { position: sticky; top: var(--sm-od-top, 24px); }
body.sm-account .sm-od-cols.is-tall .sm-od-col-r { position: static; }
body.sm-account .sm-od-hero { padding: 26px 30px; border-radius: 24px; }
body.sm-account .sm-od-hero-title { font-size: 26px; }
body.sm-account .sm-od-card { border-radius: 22px; padding: 22px 24px; }
body.sm-account .sm-desk-btn--ghost { background: var(--acc-surface) !important; color: var(--acc-ink) !important; border: 1.5px solid var(--acc-line); }
body.sm-account .sm-desk-btn--ghost:hover { background: var(--acc-line-soft) !important; color: var(--acc-ink) !important; }
body.sm-account .sm-od-bar.is-desk { display: none; }
}
@media (min-width: 769px) and (max-width: 1080px) {
body.sm-account .sm-od-cols { grid-template-columns: 1fr; }
body.sm-account .sm-od-col-r { position: static; }
}
@media print {
body.sm-account .site-header, body.sm-account .site-footer, body.sm-account .sm-tab-bar,
  body.sm-account .sm-od-bar, body.sm-account .sm-desk-side, body.sm-account .sm-desk-head,
  body.sm-account .sm-od-topbar, body.sm-account .sm-od-hero-link { display: none !important; }
body.sm-account .sm-acct-shell--od, body.sm-account .sm-acct-shell--od-d { padding: 0 !important; }
body.sm-account .sm-od--desk, body.sm-account .sm-od-cols { grid-template-columns: 1fr !important; gap: 14px !important; }
body.sm-account .sm-od-col-r { position: static !important; }
body.sm-account .sm-od-hero-ref { background: none !important; border: 1px solid #CBD5E1 !important; color: #0F172A !important; }
body.sm-account .sm-od-card, body.sm-account .sm-od-hero { box-shadow: none !important; break-inside: avoid; }
/* Receipt header */
body.sm-account .sm-od-print-head { display: block !important; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #0F172A; }
body.sm-account .sm-od-print-brand { font-family: 'Inter Tight', sans-serif; font-size: 22px; font-weight: 800; color: #0F172A; }
body.sm-account .sm-od-print-title { font-size: 14px; font-weight: 700; color: #334155; margin-top: 4px; }
body.sm-account .sm-od-print-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid #B45309; border-radius: 4px; color: #B45309; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; vertical-align: middle; }
body.sm-account .sm-od-print-meta { font-size: 12px; color: #64748B; margin-top: 3px; }
/* Disclaimer prominent on paper */
body.sm-account .sm-od-receipt-note { text-align: left !important; font-size: 11px !important; color: #334155 !important; margin-top: 16px; padding: 12px 14px !important; border: 1px solid #E2E8F0; border-radius: 8px; break-inside: avoid; }
body.sm-account .sm-od-receipt-note a { color: #0F172A !important; }
}
/* --- Recent order mini cards --- */
body.sm-account .sm-order-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
body.sm-account .sm-mini-order { display: flex; gap: 12px; padding: 14px; background: var(--acc-card); border: 1px solid var(--acc-line); border-radius: 16px; align-items: center; text-decoration: none; }
body.sm-account .sm-mo-thumb { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #F1F5F9, #E2E8F0); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
body.sm-account .sm-mo-thumb svg { width: 22px; height: 22px; }
body.sm-account .sm-mo-body { flex: 1; min-width: 0; }
body.sm-account .sm-mo-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; gap: 8px; }
body.sm-account .sm-mo-num { font-size: 12.5px; font-weight: 700; color: var(--acc-ink); letter-spacing: -0.01em; }
body.sm-account .sm-mo-pill { padding: 3px 8px; border-radius: 100px; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
body.sm-account .sm-mo-pill.pill-s { background: #DCFCE7; color: #15803D; }
body.sm-account .sm-mo-pill.pill-t { background: #DBEAFE; color: #1D4ED8; }
body.sm-account .sm-mo-pill.pill-w { background: #FEF3C7; color: #B45309; }
body.sm-account .sm-mo-pill.pill-d { background: #FEE2E2; color: #B91C1C; }
body.sm-account .sm-mo-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
body.sm-account .sm-mo-name { font-size: 11.5px; color: var(--acc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
body.sm-account .sm-mo-price { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 13px; font-weight: 700; color: var(--acc-ink); flex-shrink: 0; }
@media (min-width: 769px) {
body.sm-account .sm-acct-hero { padding: 28px 32px; margin-bottom: 24px; }
body.sm-account .sm-acct-hero-value { font-size: 36px; }
body.sm-account .sm-acct-hero-label { font-size: 12px; }
}
/* ============================================================
   ORDERS LIST PAGE (custom, from order data)
   ============================================================ */
body.sm-account .sm-ord-search {
  display: flex; align-items: center; gap: 10px;
  background: #FFF; border: 1.5px solid #D8DEE7; border-radius: 100px;
  padding: 12px 18px; margin-bottom: 16px;
}
body.sm-account .sm-ord-search svg { width: 18px; height: 18px; flex-shrink: 0; }
body.sm-account .sm-ord-search input { flex: 1; border: none; background: transparent; font-family: inherit; font-size: 14px; color: var(--acc-ink); outline: none; box-shadow: none; }
/* v2.5.84: kill Storefront's default inset input shadow — it drew a faint "odd horizontal line" across the top of the transparent search field */
body.sm-account .sm-ord-search input::placeholder { color: var(--acc-muted); }
body.sm-account .sm-ord-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 18px; padding: 0 16px 4px; scrollbar-width: none; }
body.sm-account .sm-ord-chips::-webkit-scrollbar { display: none; }
/* NB: <button> — the sitewide `button{color:#fff!important}` rule must be beaten with !important */
body.sm-account .sm-ord-chip { flex-shrink: 0; padding: 8px 16px; border-radius: 100px; background: #FFF; border: 1.5px solid #D8DEE7; font-family: inherit; font-size: 13px; font-weight: 600; color: #475569 !important; display: flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; }
body.sm-account .sm-ord-chip.on { background: #0F172A; border-color: #0F172A; color: #fff !important; }
body.sm-account .sm-ord-chip-c { padding: 1px 7px; border-radius: 100px; background: #EEF1F5; font-size: 10.5px; font-weight: 700; color: #64748B; }
body.sm-account .sm-ord-chip.on .sm-ord-chip-c { background: rgba(255,255,255,.2); color: #fff; }
body.sm-account .sm-ord-year {
  position: relative; overflow: hidden;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-radius: 20px; margin-bottom: 22px;
  background: linear-gradient(135deg, #0B1120, #1E293B);
}
body.sm-account .sm-ord-year-glow { position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(151,193,92,.28), transparent 60%); }
body.sm-account .sm-ord-year-l, body.sm-account .sm-ord-year-r { position: relative; z-index: 1; }
body.sm-account .sm-ord-year-r { text-align: right; }
body.sm-account .sm-ord-year-eyebrow { font-size: 10.5px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 4px; }
body.sm-account .sm-ord-year-v { font-family: 'Inter Tight', sans-serif; font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
body.sm-account .sm-ord-year-rv { font-family: 'Inter Tight', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(180deg, #FBD07A, #DCA050); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.sm-account .sm-ord-year-rl { font-size: 10.5px; color: rgba(255,255,255,.6); font-weight: 500; }
/* Review-&-earn banner (Orders page) — gold reward strip linking to the
   SurgiTrack tracking-page review widget (post-delivery, coupon-rewarded). */
body.sm-account .sm-ord-reward {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 16px; border-radius: 18px; margin-bottom: 20px;
  text-decoration: none;
  background: linear-gradient(135deg, #FBF3E5 0%, #FCE9CC 55%, #FBDFB0 100%);
  border: 1px solid rgba(220,160,80,.42);
  box-shadow: 0 6px 18px rgba(220,160,80,.16);
  transition: transform .15s ease, box-shadow .15s ease;
}
body.sm-account .sm-ord-reward:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(220,160,80,.24); }
body.sm-account .sm-ord-reward-ic {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #FBD07A, #DCA050); color: #6B3B08;
  box-shadow: 0 4px 10px rgba(220,160,80,.3);
}
body.sm-account .sm-ord-reward-ic svg { width: 21px; height: 21px; }
body.sm-account .sm-ord-reward-b { flex: 1; min-width: 0; }
body.sm-account .sm-ord-reward-t { display: block; font-family: 'Inter Tight', sans-serif; font-size: 15px; font-weight: 800; color: #78350F; letter-spacing: -0.02em; }
body.sm-account .sm-ord-reward-d { display: block; font-size: 12px; color: #92610E; font-weight: 500; line-height: 1.4; margin-top: 2px; }
body.sm-account .sm-ord-reward-cta {
  display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0;
  font-size: 12.5px; font-weight: 800; color: #B45309; white-space: nowrap;
}
body.sm-account .sm-ord-reward-cta svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.2; }
body.sm-account .sm-ord-group-h { display: flex; align-items: center; gap: 10px; padding: 8px 4px 10px; }
body.sm-account .sm-ord-group-h span { font-size: 11px; font-weight: 700; color: var(--acc-muted); text-transform: uppercase; letter-spacing: 0.1em; }
body.sm-account .sm-ord-group-line { flex: 1; height: 1px; background: var(--acc-line); }
body.sm-account .sm-ord-card { background: #FFF; border-radius: 20px; border: 1.5px solid #E4E8EE; box-shadow: 0 1px 3px rgba(15,23,42,.04); margin-bottom: 12px; overflow: hidden; }
body.sm-account .sm-ord-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 16px 18px 10px; gap: 10px; }
body.sm-account .sm-ord-num { font-family: 'Inter Tight', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 3px; color: var(--acc-ink); }
body.sm-account .sm-ord-date { font-size: 11.5px; color: var(--acc-muted); font-weight: 500; }
body.sm-account .sm-ord-pill { padding: 5px 10px; border-radius: 100px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
body.sm-account .sm-ord-pill.pill-s { background: #DCFCE7; color: #15803D; }
body.sm-account .sm-ord-pill.pill-t { background: #DBEAFE; color: #1D4ED8; }
body.sm-account .sm-ord-pill.pill-w { background: #FEF3C7; color: #B45309; }
body.sm-account .sm-ord-pill.pill-d { background: #FEE2E2; color: #B91C1C; }
body.sm-account .sm-ord-items { padding: 4px 18px 14px; display: flex; align-items: center; gap: 12px; }
body.sm-account .sm-ord-thumbs { display: flex; }
body.sm-account .sm-ord-thumb { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #F1F5F9, #E2E8F0); border: 2px solid var(--acc-card); display: flex; align-items: center; justify-content: center; margin-left: -12px; background-size: cover; background-position: center; }
body.sm-account .sm-ord-thumb:first-child { margin-left: 0; }
body.sm-account .sm-ord-thumb svg { width: 20px; height: 20px; }
body.sm-account .sm-ord-more { width: 44px; height: 44px; border-radius: 12px; background: var(--acc-surface); border: 2px solid var(--acc-card); display: flex; align-items: center; justify-content: center; margin-left: -12px; font-size: 11px; font-weight: 700; color: var(--acc-muted); }
body.sm-account .sm-ord-info { flex: 1; min-width: 0; }
body.sm-account .sm-ord-summary { font-size: 12.5px; color: var(--acc-muted); font-weight: 500; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.sm-account .sm-ord-total { font-family: 'Inter Tight', sans-serif; font-size: 16px; font-weight: 700; color: var(--acc-ink); letter-spacing: -0.01em; }
body.sm-account .sm-ord-actions { display: flex; padding: 0 18px 16px; gap: 8px; }
body.sm-account .sm-ord-a { flex: 1; min-width: 0; padding: 10px 8px; border-radius: 100px; font-size: 12px; font-weight: 600; text-align: center; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none !important; }
body.sm-account .sm-ord-a svg { width: 14px; height: 14px; flex-shrink: 0; }
body.sm-account .sm-ord-a-g { background: #EEF1F5; color: #0F172A !important; border: 1px solid #E0E5EC; }
/* Already-reviewed order — non-interactive "Rated" chip (no re-submission). */
body.sm-account .sm-ord-rated { background: #E7F1DD; color: #4A7A1F !important; border: 1px solid #CFE6B3; cursor: default; pointer-events: none; }
body.sm-account .sm-ord-rated svg { color: #5D8B2E; }
body.sm-account .sm-ord-a-p { background: #0F172A; color: #fff !important; }
body.sm-account .sm-ord-a-pay { background: #B45309; color: #fff !important; }
body.sm-account .sm-ord-a-reorder { background: linear-gradient(135deg, #97C15C, #5D8B2E); color: #fff !important; }
body.sm-account .sm-ord-empty { text-align: center; padding: 40px 20px; color: var(--acc-muted); }
body.sm-account .sm-ord-empty-t { font-family: 'Inter Tight', sans-serif; font-size: 16px; font-weight: 700; color: var(--acc-ink); }
@media (min-width: 769px) {
body.sm-account .sm-desk-orders .sm-ord-search { max-width: 480px; }
body.sm-account .sm-desk-orders .js-ord-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
body.sm-account .sm-desk-orders .sm-ord-group-h { grid-column: 1 / -1; }
body.sm-account .sm-desk-orders .sm-ord-card { margin-bottom: 0; }
}
/* --- shipment tracker (Amazon-style stepper) --- */
body.sm-account .sm-acct-shipment {
  background: var(--acc-card); border-radius: var(--acc-radius);
  box-shadow: var(--acc-shadow-md);
  padding: 20px; margin-bottom: 20px;
  border: 1px solid var(--acc-line);
}
body.sm-account .sm-acct-shipment-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  margin-bottom: 8px;
}
body.sm-account .sm-acct-shipment-eyebrow {
  font-size: 11px; color: var(--acc-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 4px;
}
body.sm-account .sm-acct-shipment-order {
  font-size: 15px; font-weight: 700; color: var(--acc-ink);
  letter-spacing: -0.01em;
}
body.sm-account .sm-acct-badge {
  display: inline-flex; align-items: center;
  padding: 6px 12px; border-radius: 20px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap;
}
body.sm-account .sm-acct-badge--transit { background: var(--acc-gold-light); color: var(--acc-gold); }
body.sm-account .sm-acct-badge--delivered { background: rgba(5,150,105,.10); color: var(--acc-success); }
body.sm-account .sm-acct-badge--processing { background: var(--acc-primary-light); color: var(--acc-primary); }
/* on-hold = order placed but not yet paid (manual UPI). Amber "needs attention", NOT transit. */
body.sm-account .sm-acct-badge--hold { background: rgba(234,88,12,.10); color: #C2410C; }
body.sm-account .sm-acct-shipment-product {
  font-size: 14px; color: var(--acc-ink-soft); margin: 8px 0 20px;
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.sm-account .sm-acct-tracker {
  display: flex; align-items: center; margin-bottom: 8px;
  padding: 0 4px;
}
body.sm-account .sm-acct-tracker-step {
  display: flex; align-items: center; flex: 1;
}
body.sm-account .sm-acct-tracker-step:last-child { flex: 0; }
body.sm-account .sm-acct-tracker-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--acc-line); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: transparent; transition: all .3s ease;
  border: 2px solid var(--acc-line);
}
body.sm-account .sm-acct-tracker-dot svg { width: 12px; height: 12px; }
body.sm-account .sm-acct-tracker-step.is-done .sm-acct-tracker-dot {
  background: var(--acc-primary); border-color: var(--acc-primary); color: #fff;
}
body.sm-account .sm-acct-tracker-step.is-current .sm-acct-tracker-dot {
  background: #fff; border-color: var(--acc-primary); color: var(--acc-primary);
  box-shadow: 0 0 0 4px var(--acc-primary-light);
  animation: acc-pulse 1.8s ease-in-out infinite;
}
body.sm-account .sm-acct-tracker-line {
  flex: 1; height: 2px; background: var(--acc-line);
  transition: background .3s ease;
}
body.sm-account .sm-acct-tracker-step.is-done .sm-acct-tracker-line {
  background: var(--acc-primary);
}
body.sm-account .sm-acct-tracker-labels {
  display: flex; justify-content: space-between; padding: 0 2px;
  margin-bottom: 20px;
}
body.sm-account .sm-acct-tracker-labels span {
  font-size: 9.5px; color: var(--acc-muted); font-weight: 500;
  flex: 1; text-align: center; letter-spacing: -0.01em;
  padding: 0 2px;
}
body.sm-account .sm-acct-tracker-labels span.is-current {
  color: var(--acc-primary); font-weight: 700;
}
body.sm-account .sm-acct-shipment-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--acc-line);
}
body.sm-account .sm-acct-shipment-date {
  font-size: 12px; color: var(--acc-muted); font-weight: 500;
}
body.sm-account .sm-acct-track-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 18px; border-radius: 100px;
  background: var(--acc-ink); color: #fff !important;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: transform .18s, background .18s;
  border: none;
}
body.sm-account .sm-acct-track-btn svg { width: 14px; height: 14px; }
body.sm-account .sm-acct-track-btn:hover { transform: translateY(-1px); background: var(--acc-ink-soft); }
body.sm-account .sm-acct-track-btn:active { transform: translateY(0); }
@media (min-width: 769px) {
body.sm-account .sm-acct-shipment { padding: 28px 32px; }
body.sm-account .sm-acct-tracker-labels span { font-size: 11px; }
}
/* --- quick actions row (Flipkart-style) --- */
body.sm-account .sm-acct-quick-actions {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: 20px;
}
body.sm-account .sm-acct-quick {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 8px; text-decoration: none;
  background: var(--acc-card); border: 1px solid var(--acc-line);
  border-radius: var(--acc-radius-sm);
  transition: all .18s ease;
}
body.sm-account .sm-acct-quick:hover {
  border-color: var(--acc-primary); transform: translateY(-2px);
  box-shadow: var(--acc-shadow-md);
}
body.sm-account .sm-acct-quick:active { transform: translateY(0); }
body.sm-account .sm-acct-quick-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--acc-primary-light); color: var(--acc-primary);
  display: flex; align-items: center; justify-content: center;
}
body.sm-account .sm-acct-quick-icon svg { width: 20px; height: 20px; }
body.sm-account .sm-acct-quick-icon.g { background: #EEF6E3; color: #5D8B2E; }
body.sm-account .sm-acct-quick-icon.o { background: #FEF3C7; color: #B45309; }
body.sm-account .sm-acct-quick-icon.p { background: #EFF6FF; color: #2563EB; }
body.sm-account .sm-acct-quick-icon.n { background: #FEE7ED; color: #C81E4A; }
body.sm-account .sm-acct-quick span {
  font-size: 11px; font-weight: 600; color: var(--acc-ink);
}
/* --- grouped menu list --- */
body.sm-account .sm-acct-group {
  background: var(--acc-card); border-radius: var(--acc-radius);
  box-shadow: var(--acc-shadow-sm); overflow: hidden;
  border: 1px solid var(--acc-line);
  margin-bottom: 16px;
}
body.sm-account .sm-acct-group-title {
  font-size: 11px; font-weight: 700; color: var(--acc-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 18px 20px 8px;
}
body.sm-account .sm-acct-menu-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; text-decoration: none; color: var(--acc-ink);
  transition: background .12s ease; cursor: pointer;
  min-height: 56px; border-top: 1px solid var(--acc-line-soft);
}
body.sm-account .sm-acct-group-title + .sm-acct-menu-item { border-top: none; }
body.sm-account .sm-acct-menu-item:hover,
body.sm-account .sm-acct-menu-item:active { background: var(--acc-surface); }
body.sm-account .sm-acct-menu-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: var(--acc-primary-light); color: var(--acc-primary);
}
body.sm-account .sm-acct-menu-icon svg { width: 20px; height: 20px; }
body.sm-account .sm-acct-menu-icon--gold { background: var(--acc-gold-light); color: var(--acc-gold); }
body.sm-account .sm-acct-menu-icon--red { background: var(--acc-danger-light); color: var(--acc-danger); }
body.sm-account .sm-acct-menu-label {
  flex: 1; font-size: 15px; font-weight: 500; color: var(--acc-ink);
  letter-spacing: -0.01em;
}
body.sm-account .sm-acct-menu-label--red { color: var(--acc-danger); font-weight: 600; }
body.sm-account .sm-acct-menu-chevron {
  color: var(--acc-muted); opacity: .6;
  display: flex; align-items: center;
}
body.sm-account .sm-acct-menu-chevron svg { width: 18px; height: 18px; }
body.sm-account .sm-acct-menu-badge {
  padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 700;
  background: var(--acc-primary); color: #fff;
  min-width: 20px; text-align: center;
}
@media (min-width: 769px) {
body.sm-account .sm-acct-quick-actions { grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
body.sm-account .sm-acct-quick { padding: 22px 12px; }
body.sm-account .sm-acct-quick-icon { width: 48px; height: 48px; }
body.sm-account .sm-acct-quick span { font-size: 13px; }
body.sm-account .sm-acct-menu-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  }
body.sm-account .sm-acct-menu-row > .sm-acct-group { margin-bottom: 0; }
body.sm-account .sm-acct-menu-full { display: none; }
}
/* Storefront's stock handheld footer bar is redundant on the account page — our
   app tab bar replaces it. It shares z-index 9999 and sits at bottom:0, so even
   sitting "beneath" ours it can overlap/interfere. Hide it here (only on account;
   other mobile pages still use it as their bottom nav). */
body.sm-account .storefront-handheld-footer-bar { display: none !important; }
/* --- bottom tab bar (mobile only) --- */
body.sm-account .sm-tab-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  display: flex; justify-content: space-around; align-items: center;
  height: 62px; padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--acc-card);
  border-top: 1px solid var(--acc-line);
  box-shadow: 0 -4px 20px rgba(15,23,42,.06);
  backdrop-filter: saturate(180%) blur(20px);
}
body.sm-account .sm-tab-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-decoration: none; padding: 8px 12px;
  color: var(--acc-muted); transition: color .15s;
  flex: 1; max-width: 100px;
}
body.sm-account .sm-tab-bar a.active { color: var(--acc-primary); }
body.sm-account .sm-tab-bar a:hover { color: var(--acc-primary); }
body.sm-account .sm-tab-icon {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
}
body.sm-account .sm-tab-icon svg { width: 24px; height: 24px; stroke-width: 2; }
body.sm-account .sm-tab-label {
  font-size: 10.5px; font-weight: 600; letter-spacing: -0.01em;
}
body.sm-account .sm-tab-badge {
  position: absolute; top: -4px; right: -8px;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 100px;
  background: var(--acc-danger); color: #fff;
  font-size: 9.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--acc-card);
  line-height: 1;
}
/* `display:flex` above beats the UA [hidden] default — restore it so the live
   cart sync can hide the badge at zero items. */
body.sm-account .sm-tab-badge[hidden] { display: none !important; }
@media (min-width: 769px) {
body.sm-account .sm-tab-bar { display: none !important; }
body.sm-account .sm-acct-shell { padding-bottom: 64px; }
}
/* --- sub-page: header --- */
body.sm-account .sm-acct-shell--subpage { padding-top: 8px; }
body.sm-account .sm-acct-subheader {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0 20px; position: sticky; top: 0; z-index: 100;
  background: var(--acc-bg);
}
body.sm-account .sm-acct-back {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--acc-surface); border: 1px solid var(--acc-line);
  color: var(--acc-ink); text-decoration: none;
  transition: transform .18s;
}
body.sm-account .sm-acct-back svg { width: 20px; height: 20px; }
body.sm-account .sm-acct-back:hover { transform: scale(1.05); background: var(--acc-primary-light); color: var(--acc-primary); }
body.sm-account .sm-acct-back:active { transform: scale(.95); }
body.sm-account .sm-acct-subtitle {
  flex: 1; font-size: 20px; font-weight: 700; color: var(--acc-ink);
  margin: 0; letter-spacing: -0.02em;
}
body.sm-account .sm-acct-subheader-spacer { width: 42px; }
/* --- Star wallet / refer: full-bleed sub-page (own back-nav top bar, no sidebar/card).
       Compound `.sm-acct-shell.sm-star-fullbleed` beats the base shell's max-width:480px.
       Kept fixed-light to match the wallet plugin's (always-light) card styling. --- */
body.sm-account .sm-acct-shell.sm-star-fullbleed { max-width: none; margin: 0; padding: 0; background: #F5F6F8; min-height: 60vh; }
body.sm-account .sm-star-topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px;
  background: rgba(245,246,248,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid #E9EDF2;
}
body.sm-account .sm-star-back,
body.sm-account .sm-star-topinfo {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #FFF; border: 1px solid #E5E7EB; color: #0F172A; text-decoration: none;
  transition: background .15s;
}
body.sm-account .sm-star-back:hover,
body.sm-account .sm-star-topinfo:hover { background: #F1F5F9; color: #0F172A; }
body.sm-account .sm-star-back svg,
body.sm-account .sm-star-topinfo svg { width: 18px; height: 18px; }
body.sm-account .sm-star-toptitle {
  flex: 1; margin: 0;
  font-family: 'Inter Tight','Inter',sans-serif; font-size: 18px; font-weight: 800;
  letter-spacing: -0.02em; color: #0F172A;
}
body.sm-account .sm-star-topinfo-spacer { flex: 0 0 auto; width: 38px; }
body.sm-account .sm-star-body { max-width: 560px; margin: 0 auto; padding: 16px 16px 24px; }
@media (min-width: 900px) {
body.sm-account .sm-star-body { max-width: 1080px; padding: 24px 28px 44px; }
}
@media (max-width: 899px) {
body.sm-account .sm-acct-shell.sm-star-fullbleed { position: relative; width: 100vw; left: 50%; margin-left: -50vw; margin-right: -50vw; }
body.sm-account .sm-star-body { padding-left: 2px; padding-right: 2px; }
}
/* --- sub-page content color reset (fix dark mode text bleed) --- */
body.sm-account .sm-acct-subcontent { color: var(--acc-ink); }
body.sm-account .sm-acct-subcontent h1,
body.sm-account .sm-acct-subcontent h2,
body.sm-account .sm-acct-subcontent h3,
body.sm-account .sm-acct-subcontent h4 {
  color: var(--acc-ink) !important;
  font-weight: 700 !important; letter-spacing: -0.01em;
  margin: 20px 0 12px !important;
}
body.sm-account .sm-acct-subcontent h2 { font-size: 18px; }
body.sm-account .sm-acct-subcontent h3 { font-size: 16px; }
body.sm-account .sm-acct-subcontent p,
body.sm-account .sm-acct-subcontent li,
body.sm-account .sm-acct-subcontent td,
body.sm-account .sm-acct-subcontent th,
body.sm-account .sm-acct-subcontent label,
body.sm-account .sm-acct-subcontent legend,
body.sm-account .sm-acct-subcontent address {
  color: var(--acc-ink) !important;
}
body.sm-account .sm-acct-subcontent .description,
body.sm-account .sm-acct-subcontent small,
body.sm-account .sm-acct-subcontent .form-row-notice { color: var(--acc-muted) !important; }
/* --- order cards (replaces default table on orders list) --- */
body.sm-account .sm-acct-order-cards {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 20px;
}
body.sm-account .sm-order-card {
  background: var(--acc-card); border-radius: var(--acc-radius);
  border: 1px solid var(--acc-line); box-shadow: var(--acc-shadow-sm);
  padding: 16px; transition: all .18s;
}
body.sm-account .sm-order-card:hover {
  transform: translateY(-2px); box-shadow: var(--acc-shadow-md);
  border-color: var(--acc-primary-2);
}
body.sm-account .sm-order-card-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; margin-bottom: 10px;
}
body.sm-account .sm-order-card-num {
  font-size: 15px; font-weight: 700; color: var(--acc-ink);
  letter-spacing: -0.01em;
}
body.sm-account .sm-order-card-num a { color: inherit; text-decoration: none; }
body.sm-account .sm-order-pill {
  padding: 5px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; white-space: nowrap;
}
body.sm-account .sm-order-pill--success { background: rgba(5,150,105,.10); color: var(--acc-success); }
body.sm-account .sm-order-pill--warning { background: var(--acc-warning-light); color: var(--acc-warning); }
body.sm-account .sm-order-pill--danger { background: var(--acc-danger-light); color: var(--acc-danger); }
body.sm-account .sm-order-pill--info { background: var(--acc-info-light); color: var(--acc-info); }
body.sm-account .sm-order-card-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 12px; border-bottom: 1px solid var(--acc-line-soft);
  margin-bottom: 12px;
}
body.sm-account .sm-order-date { font-size: 13px; color: var(--acc-muted); font-weight: 500; }
body.sm-account .sm-order-total {
  font-size: 15px; color: var(--acc-ink); font-weight: 700; letter-spacing: -0.01em;
}
body.sm-account .sm-order-card-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
}
body.sm-account .sm-order-card-actions a,
body.sm-account .sm-order-card-actions .woocommerce-button {
  flex: 1; padding: 10px 14px !important;
  font-size: 13px !important; font-weight: 600 !important;
  border-radius: 100px !important;
  background: var(--acc-primary) !important; color: #fff !important;
  border: none !important;
  text-align: center; text-decoration: none;
  transition: background .18s;
  min-width: 80px;
}
body.sm-account .sm-order-card-actions a:hover,
body.sm-account .sm-order-card-actions .woocommerce-button:hover {
  background: var(--acc-primary) !important; filter: brightness(.92);
}
body.sm-account .sm-order-card-actions .view { background: var(--acc-ink) !important; }
body.sm-account .sm-order-card-actions .cancel { background: var(--acc-danger-light) !important; color: var(--acc-danger) !important; }
body.sm-account .sm-order-card-actions .pay { background: var(--acc-success) !important; }
/* --- forms in sub-pages (addresses, edit account) --- */
body.sm-account .sm-acct-subcontent .form-row {
  margin-bottom: 16px;
}
body.sm-account .sm-acct-subcontent .form-row label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--acc-ink) !important; margin-bottom: 6px;
}
body.sm-account .sm-acct-subcontent .form-row input[type="text"],
body.sm-account .sm-acct-subcontent .form-row input[type="email"],
body.sm-account .sm-acct-subcontent .form-row input[type="tel"],
body.sm-account .sm-acct-subcontent .form-row input[type="password"],
body.sm-account .sm-acct-subcontent .form-row select,
body.sm-account .sm-acct-subcontent .form-row textarea {
  width: 100%;
  border-radius: 12px !important;
  border: 1.5px solid var(--acc-line) !important;
  padding: 12px 16px !important; font-size: 15px !important;
  background: var(--acc-card) !important; color: var(--acc-ink) !important;
  transition: border-color .18s, box-shadow .18s;
  font-family: inherit;
}
body.sm-account .sm-acct-subcontent .form-row input:focus,
body.sm-account .sm-acct-subcontent .form-row select:focus,
body.sm-account .sm-acct-subcontent .form-row textarea:focus {
  border-color: var(--acc-primary) !important;
  box-shadow: 0 0 0 4px var(--acc-primary-light) !important;
  outline: none;
}
body.sm-account .sm-acct-subcontent button[type="submit"],
body.sm-account .sm-acct-subcontent .button {
  background: var(--acc-ink) !important; color: #fff !important;
  border: none !important; border-radius: 100px !important;
  padding: 14px 28px !important; font-size: 15px !important;
  font-weight: 600 !important; cursor: pointer;
  transition: transform .18s, background .18s;
  letter-spacing: -0.01em;
}
body.sm-account .sm-acct-subcontent button[type="submit"]:hover,
body.sm-account .sm-acct-subcontent .button:hover {
  background: var(--acc-ink-soft) !important; transform: translateY(-1px);
}
/* --- order details view --- */
body.sm-account .sm-acct-subcontent .woocommerce-order-details,
body.sm-account .sm-acct-subcontent .woocommerce-customer-details {
  background: var(--acc-card); border-radius: var(--acc-radius);
  border: 1px solid var(--acc-line); box-shadow: var(--acc-shadow-sm);
  padding: 20px; margin-bottom: 16px;
}
body.sm-account .sm-acct-subcontent .woocommerce-order-details table,
body.sm-account .sm-acct-subcontent .woocommerce-table {
  border: none !important; width: 100%;
}
body.sm-account .sm-acct-subcontent .woocommerce-order-details table th,
body.sm-account .sm-acct-subcontent .woocommerce-order-details table td,
body.sm-account .sm-acct-subcontent .woocommerce-table th,
body.sm-account .sm-acct-subcontent .woocommerce-table td {
  border-color: var(--acc-line-soft) !important;
  padding: 12px 8px !important; color: var(--acc-ink) !important;
  font-size: 14px !important;
}
body.sm-account .sm-acct-subcontent .woocommerce-order-details table th,
body.sm-account .sm-acct-subcontent .woocommerce-table th {
  color: var(--acc-muted) !important;
  font-weight: 600 !important;
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 11px !important;
}
body.sm-account .sm-acct-subcontent .woocommerce-order-details table a,
body.sm-account .sm-acct-subcontent .woocommerce-table a {
  color: var(--acc-primary) !important; text-decoration: none;
  font-weight: 600;
}
body.sm-account .sm-acct-subcontent .woocommerce-order-details table a:hover,
body.sm-account .sm-acct-subcontent .woocommerce-table a:hover {
  text-decoration: underline;
}
body.sm-account .sm-acct-subcontent address {
  font-style: normal; line-height: 1.6;
  color: var(--acc-ink) !important;
}
/* --- info notices --- */
body.sm-account .sm-acct-subcontent .woocommerce-info,
body.sm-account .sm-acct-subcontent .woocommerce-message {
  background: var(--acc-info-light) !important;
  color: var(--acc-info) !important;
  border: none !important; border-left: 4px solid var(--acc-info) !important;
  border-radius: var(--acc-radius-sm) !important;
  padding: 14px 18px !important;
  margin-bottom: 16px;
  font-size: 14px;
}
body.sm-account .sm-acct-subcontent .woocommerce-info .button {
  background: var(--acc-info) !important;
  padding: 10px 20px !important; font-size: 13px !important;
}
/* =========================================================
   ACCOUNT — distraction-free condensed header
   On every /my-account/ page: hide the announcement bar + the full primary nav,
   and drop the account link + full primary nav from the header — keep the logo,
   product search + mini-cart. (Homepage / Shop / Policies also live in the
   account sidebar.) v2.5.28: the logo (.site-branding) is restored here.
   ========================================================= */
body.sm-account .surgimedex-announcement { display: none !important; }
body.sm-account header.site-header .storefront-primary-navigation { display: none !important; }
body.sm-account header.site-header .site-header-account { display: none !important; }
@media (min-width: 992px) {
body.sm-account header.site-header .site-header-account { display: block !important; }
body.sm-account .site-content .col-full { padding-left: 0 !important; padding-right: 0 !important; }
}
/* Header footprint reduced ~10% on account pages; padding 10→7. */
body.sm-account header.site-header {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  box-shadow: 0 1px 3px rgba(16,24,40,.06);
}
/* Search fills the row; the mini-cart (restored) pins to the right. */
body.sm-account header.site-header .col-full {
  display: flex !important;
  align-items: center;
  gap: 18px;
}
body.sm-account header.site-header .site-search {
  float: none !important;
  flex: 1 1 auto;
  width: auto !important;
  max-width: 820px !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.sm-account header.site-header .site-header-cart {
  display: flex !important;
  flex: 0 0 auto;
  align-items: center;
  margin-left: auto;
}
@media (max-width: 768px) {
body.sm-account header.site-header .site-header-cart { display: none !important; }
}
body.sm-account header.site-header .site-search .widget_product_search,
body.sm-account header.site-header .site-search form.woocommerce-product-search { margin: 0 !important; }
@media (max-width: 991.98px) {
body.sm-account header.site-header .col-full { flex-wrap: wrap !important; }
body.sm-account header.site-header .site-branding { order: 1; margin-right: auto !important; }
body.sm-account header.site-header .menu-toggle { order: 2 !important; }
body.sm-account header.site-header .site-search {
    order: 3; flex: 1 1 100% !important; width: 100% !important; max-width: none !important;
  }
}
/* =========================================================
   C) MY-ACCOUNT — aurora at ALL viewports (was un-aurora everywhere).
   Keeps the sidebar/top-nav + bento-grid layout; the green Star/credit
   cards keep their identity (their inner panels sit on the frosted card).
   ========================================================= */
body.sm-account { background: var(--sm-au-ground) !important; }
body.sm-account .woocommerce-MyAccount-navigation, body.sm-account .woocommerce-MyAccount-navigation *,
body.sm-account .woocommerce-MyAccount-content, body.sm-account .woocommerce-MyAccount-content * {
  font-family: var(--sm-au-font);
}
body.sm-account .woocommerce-MyAccount-navigation,
body.sm-account .sm-bento-card {
  background: var(--sm-au-card) !important;
  border: 1px solid var(--sm-au-card-bd) !important;
  box-shadow: var(--sm-au-card-sh) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1);
}
body.sm-account .sm-bento-card { border-radius: 18px !important; }
@media (max-width: 768px) {
/* uniform aurora ground behind everything (replaces the white slab) */
body.sm-account .entry-content,
  body.sm-account .sm-acct-shell { background: var(--smk-ground) !important; }
/* full-width content: drop the container margin/padding, 8px gutter via shell */
body.sm-account .site-content .col-full {
    margin-left: 0 !important; margin-right: 0 !important;
    padding-left: 0 !important; padding-right: 0 !important;
    max-width: none !important; width: 100% !important;
  }
body.sm-account .sm-acct-shell {
    max-width: none !important;
    padding: 6px 8px 100px !important;
  }
/* ---------- HERO — frosted white, compact ---------- */
body.sm-account .sm-acct-hero {
    background: var(--smk-card) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    backdrop-filter: blur(18px) saturate(1.35);
    border: 1px solid var(--smk-card-bd) !important;
    box-shadow: var(--smk-card-sh) !important;
    color: #141a22 !important;
    padding: 16px 18px !important;
    margin-top: 3px !important;
    margin-bottom: 20px !important;
    overflow: hidden;
  }
/* profile now lives inside the hero (moved in markup) */
body.sm-account .sm-acct-hero .sm-acct-profile {
    display: flex !important; align-items: center; justify-content: space-between;
    padding: 0 !important; margin: 0 0 13px 0 !important;
  }
body.sm-account .sm-acct-hero .sm-acct-greeting { color: #5b6573 !important; margin-bottom: 2px !important; }
body.sm-account .sm-acct-hero .sm-acct-profile-name {
    color: #141a22 !important; font-size: 22px !important;
    overflow: visible !important; text-overflow: clip !important;
  }
body.sm-account .sm-acct-hero .sm-acct-profile-actions { gap: 8px !important; }
body.sm-account .sm-acct-hero .sm-acct-icon-btn {
    width: 38px !important; height: 38px !important;
    background: rgba(20,26,34,0.05) !important; border: 1px solid rgba(20,26,34,0.10) !important;
  }
body.sm-account .sm-acct-hero .sm-acct-icon-btn svg { stroke: #141a22 !important; }
body.sm-account .sm-acct-hero .sm-acct-avatar { width: 44px !important; height: 44px !important; }
/* redeem row restyled for the light hero (was dark/gold) */
body.sm-account .sm-acct-hero-redeem {
    background: rgba(47,111,26,0.07) !important;
    border: 1px solid rgba(47,111,26,0.15) !important;
    padding: 9px 12px !important; margin-bottom: 13px !important;
  }
body.sm-account .sm-acct-hero-redeem,
  body.sm-account .sm-acct-hero-redeem .sm-acct-hero-redeem-bal { color: #141a22 !important; }
body.sm-account .sm-acct-hero-redeem .sm-acct-hero-redeem-sub { color: #5b6573 !important; }
body.sm-account .sm-acct-hero-redeem .sm-acct-hero-redeem-cta { color: #2f6f1a !important; }
body.sm-account .sm-acct-hero-redeem.is-join .sm-acct-hero-redeem-ic { background: rgba(47,111,26,0.14) !important; }
body.sm-account .sm-acct-hero-redeem.is-join .sm-acct-hero-redeem-ic svg { fill: #2f6f1a !important; }
/* metrics — 4 equal columns, dark text, Savings first (green) */
body.sm-account .sm-acct-hero-metrics { display: flex !important; align-items: center; width: 100% !important; gap: 0 !important; }
body.sm-account .sm-acct-hero-metrics .sm-acct-hero-metric { flex: 1 1 0 !important; min-width: 0 !important; text-align: center !important; padding: 0 2px !important; }
body.sm-account .sm-acct-hero-metrics .sm-acct-hero-value { color: #141a22 !important; font-size: 17px !important; white-space: nowrap; }
body.sm-account .sm-acct-hero-metrics .sm-acct-hero-label { color: #5b6573 !important; font-size: 9px !important; margin-top: 4px !important; letter-spacing: .05em; }
body.sm-account .sm-acct-hero-metric--savings .sm-acct-hero-value { color: #1f4d0d !important; }
body.sm-account .sm-acct-hero-metrics .sm-acct-hero-divider {
    flex: 0 0 1px !important; width: 1px !important; height: 26px !important;
    background: rgba(20,26,34,0.12) !important; margin: 0 !important; align-self: center;
  }
/* ---------- OTHER CARDS — frosted glass, harmonised with the hero ---------- */
body.sm-account .sm-buy-card,
  body.sm-account .sm-acct-quick,
  body.sm-account .sm-mini-order,
  body.sm-account .sm-acct-group {
    background: var(--smk-card) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.22);
    backdrop-filter: blur(14px) saturate(1.22);
    border: 1px solid var(--smk-card-bd) !important;
    box-shadow: var(--smk-card-sh) !important;
  }
/* menu items inside a frosted group become transparent so the glass reads through */
body.sm-account .sm-acct-group .sm-acct-menu-item { background: transparent !important; }
body.sm-account .sm-acct-group .sm-acct-menu-item + .sm-acct-menu-item { border-top: 1px solid rgba(20,26,34,0.07) !important; }
/* ---------- HEADER — account icon inline + compacted ---------- */
body.sm-account header.site-header .site-header-account {
    display: flex !important; order: 3 !important; margin-left: 0 !important; align-items: center;
  }
body.sm-account header.site-header .site-header-account .account-label { display: none !important; }
body.sm-account header.site-header .sm-deliverto-wrap { order: 2 !important; margin-left: auto !important; }
body.sm-account header.site-header .menu-toggle { order: 4 !important; }
body.sm-account header.site-header .site-branding { margin-right: 0 !important; }
body.sm-account .site-branding .custom-logo { max-width: 138px !important; }
body.sm-account header.site-header { padding-top: 5px !important; padding-bottom: 5px !important; }
body.sm-account header.site-header .col-full {
    column-gap: 10px !important; row-gap: 9px !important;
    padding-top: 6px !important; padding-bottom: 8px !important;
  }
body.sm-account header.site-header .sm-deliverto { width: 34px !important; height: 34px !important; }
body.sm-account header.site-header .menu-toggle { width: 34px !important; height: 34px !important; padding: 0 !important; }
body.sm-account header.site-header .dgwt-wcas-search-input,
  body.sm-account header.site-header .site-search input { padding-top: 9px !important; padding-bottom: 9px !important; }
}
/* v2.5.99 — order detail / receipt: the checkout ledger rows */
body.sm-account .sm-od-brk-row.is-disc > span { color: #2f6f1a !important; }
body.sm-account .sm-od-brk-row.is-disc > span:first-child { font-weight: 600; }
body.sm-account .sm-od-brk-row.is-ship { padding-top: 9px; border-top: 1px dashed var(--acc-line); }
body.sm-account .sm-od-brk-row.is-taxable { font-size: 12px; margin-bottom: -5px; }
body.sm-account .sm-od-brk-row.is-taxable > span { color: var(--acc-muted) !important; font-weight: 600 !important; }
