/* Native generic skin (native_skins_v1.md NS-B) — mirrors the stock
   Shopify checkout/account idiom. Self-contained: no Riode. Design
   tokens up top; the N3 settings group writes the same variables. */
:root {
  --ng-accent: #2a6fd6;
  --ng-accent-dark: #1f5cb8;
  --ng-accent-tint: #f4f8fe;
  --ng-text: #1a1a1a;
  --ng-muted: #6b6b6b;
  --ng-border: #d9d9d9;
  --ng-border-soft: #e8e8e8;
  --ng-bg: #ffffff;
  --ng-sidebar-bg: #f7f7f7;
  --ng-radius: 6px;
  --ng-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.ng, .ng * { box-sizing: border-box; }
body.ng { margin: 0; background: var(--ng-bg); color: var(--ng-text);
  font: 14px/1.5 var(--ng-font); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* the sidebar's full-bleed fill paints past the wrap */ }
.ng a { color: var(--ng-accent); text-decoration: none; }
.ng a:hover { text-decoration: underline; }
.ng-wrap { max-width: 1100px; margin: 0 auto; padding: 0 22px; }

/* header / footer chrome */
.ng-header { border-bottom: 1px solid var(--ng-border-soft); background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.04); position: relative; z-index: 2; }
.ng-header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.ng-logo { font-size: 21px; font-weight: 650; letter-spacing: -.01em; color: var(--ng-text); }
.ng-logo:hover { text-decoration: none; }
.ng-logo img { max-height: 46px; display: block; }
.ng-cart-link { color: var(--ng-accent); display: inline-flex; }
.ng-footer { border-top: 1px solid var(--ng-border-soft); margin-top: 44px; }
.ng-footer-links { padding: 16px 0; margin: 0; font-size: 12px; color: var(--ng-muted); }
.ng-footer-links a { margin-right: 16px; color: var(--ng-muted); text-decoration: underline; }
/* THE STORE'S HEADER AND FOOTER (Alex, 2026-11-20 11:58 PM; the theme lane's mockup). No script, no picture: the band is
   a colour (--ng-band, from native.appearance.band), so the card page loads nothing new. */
.ng-topline { font-size: 12px; text-align: center; padding: 6px 0; color: var(--ng-muted); border-bottom: 1px solid var(--ng-border-soft); }
.ng-header-inner { gap: 22px; }
.ng-nav { display: flex; gap: 22px; flex: 1 1 auto; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.ng-nav::-webkit-scrollbar { display: none; }
.ng-nav a { font-size: 14px; color: var(--ng-text); }
.ng-nav a:hover, .ng-nav a.is-active { color: var(--ng-accent); text-decoration: none; }
.ng-header-side { display: flex; align-items: center; gap: 18px; margin-left: auto; white-space: nowrap; }
.ng-header-secure { font-size: 12px; color: var(--ng-muted); display: inline-flex; align-items: center; gap: 5px; }
.ng-header-phone { font-size: 14px; font-weight: 600; color: var(--ng-text); }
.ng-footer-cols { display: flex; flex-wrap: wrap; gap: 28px 60px; padding-top: 28px; padding-bottom: 8px; }
.ng-footer-col { min-width: 160px; }
.ng-footer-store { flex: 1 1 260px; }
.ng-footer-name { font-size: 16px; font-weight: 650; margin-bottom: 8px; }
.ng-footer-head { font-size: 13px; font-weight: 650; margin-bottom: 8px; }
.ng-footer-col .ng-footer-links { padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ng-footer-col .ng-footer-links a { margin: 0; text-decoration: none; }
.ng-footer-contact { padding: 0; margin: 0 0 4px; font-size: 12px; color: var(--ng-muted); }
.ng-footer-contact a { color: inherit; font-weight: 600; }
.ng-footer-legal { font-size: 11px; color: var(--ng-muted); padding-top: 14px; padding-bottom: 18px; border-top: 1px solid var(--ng-border-soft); }
/* the band: header, its top line and the footer on the owner's colour, text light or dark by its brightness; a logo
   on a dark band shows in the band's text colour (a light logo of its own is a later upload) */
.ng-has-band .ng-topline, .ng-has-band .ng-header, .ng-has-band .ng-footer { background: var(--ng-band); color: var(--ng-band-fg); border-color: transparent; }
.ng-has-band .ng-topline, .ng-has-band .ng-header-secure, .ng-has-band .ng-footer-contact, .ng-has-band .ng-footer-legal { color: var(--ng-band-fg); opacity: .85; }
.ng-has-band .ng-logo, .ng-has-band .ng-nav a, .ng-has-band .ng-header-phone, .ng-has-band .ng-cart-link,
.ng-has-band .ng-footer-links a, .ng-has-band .ng-footer-contact a { color: var(--ng-band-fg); }
.ng-has-band .ng-footer { margin-top: 44px; }
.ng-has-band .ng-footer-legal { border-top-color: rgba(127,127,127,.35); }
.ng-has-band .ng-logo img { filter: var(--ng-band-logo, none); }
@media (max-width: 900px) {
  .ng-header-inner { flex-wrap: wrap; }
  /* the menu row wraps on a phone rather than scrolling hidden past the edge (site's F2 on #416) */
  .ng-nav { order: 3; flex-basis: 100%; padding-top: 4px; flex-wrap: wrap; gap: 6px 18px; overflow-x: visible; }
  .ng-header-secure { display: none; }
}
@media (max-width: 640px) { .ng-header-phone { display: none; } }

/* checkout breadcrumb (Cart › Information › Payment) */
.ng-crumbs { font-size: 12.5px; color: var(--ng-muted); margin: 18px 0 6px; }
.ng-crumbs a { color: var(--ng-accent); }
.ng-crumbs .is-current { color: var(--ng-text); font-weight: 600; }
.ng-crumbs .ng-sep { margin: 0 7px; color: #b5b5b5; }

/* the two-column checkout shell (summary right on desktop; on mobile the
   FORM comes first and the summary/payment follow — owner call 2026-07-16) */
.ng-checkout { display: flex; flex-wrap: wrap; align-items: flex-start; }
.ng-co-main { flex: 1 1 520px; padding: 10px 44px 44px 0; min-width: 0; max-width: 620px; }
.ng-co-side { flex: 1 1 380px; max-width: 480px; background: var(--ng-sidebar-bg);
  border-left: 1px solid var(--ng-border-soft); padding: 24px 24px 44px 40px; align-self: stretch;
  position: sticky; top: 0; }
/* Shopify-style full bleed: the gray band continues to the viewport's
   right edge (body overflow-x hides the painted excess) */
.ng-co-side::after { content: ""; position: absolute; top: 0; bottom: 0;
  left: 100%; width: 50vw; background: var(--ng-sidebar-bg); }
/* the full-bleed paint is CLIPPED at the page, never scrollable (the theme lane measured scrollWidth 528px past the
   viewport; body's overflow-x is not honoured everywhere, iOS Safari included): clip does not make a scroll container,
   so the panel's sticky still works */
.ng-main { overflow-x: clip; }
@media (max-width: 999px) {
  .ng-co-main { padding-right: 0; max-width: none; }
  .ng-co-side { max-width: none; border-left: 0; border-top: 1px solid var(--ng-border-soft);
    padding: 18px 22px; margin: 0 -22px; position: static; }
  .ng-co-side::after { display: none; }   /* stacked: nothing to bleed into */
}

/* section headings + form grid */
.ng h2.ng-h { font-size: 18px; font-weight: 650; letter-spacing: -.01em; margin: 32px 0 12px; }
.ng h2.ng-h:first-child, .ng .ng-notice + h2.ng-h, .ng .ng-alert + h2.ng-h { margin-top: 14px; }
.ng-field { margin-bottom: 12px; }
.ng-row { display: flex; gap: 12px; }
.ng-row > .ng-field { flex: 1; min-width: 0; }
.ng label { display: block; font-size: 12.5px; font-weight: 500; color: #4a4a4a; margin: 0 0 5px 1px; }
.ng input[type=text], .ng input[type=email], .ng input[type=password],
.ng input[type=tel], .ng input[type=number], .ng select, .ng textarea {
  width: 100%; height: 46px; padding: 11px 13px; font: inherit; font-size: 14px; color: var(--ng-text);
  background: #fff; border: 1px solid var(--ng-border); border-radius: var(--ng-radius);
  outline: none; appearance: none; -webkit-appearance: none;
  box-shadow: 0 1px 2px rgba(0,0,0,.03) inset;
  transition: border-color .12s ease, box-shadow .12s ease; }
.ng textarea { height: auto; }
.ng ::placeholder { color: #9a9a9a; }
.ng select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23707070'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 32px; }
.ng input:focus, .ng select:focus, .ng textarea:focus {
  border-color: var(--ng-accent); box-shadow: 0 0 0 2px rgba(42,111,214,.18); }
.ng input[readonly] { background: var(--ng-sidebar-bg); color: var(--ng-muted); box-shadow: none; }

/* buttons */
.ng-btn { display: inline-block; width: 100%; padding: 16px 24px; font: 650 15.5px/1 var(--ng-font);
  color: #fff; background: var(--ng-accent); border: 0;
  border-radius: var(--ng-btn-radius, var(--ng-radius));    /* N3 button-shape token */
  cursor: pointer; text-align: center; box-shadow: 0 1px 2px rgba(0,0,0,.12);
  transition: background .12s ease, box-shadow .12s ease; }
.ng-btn:hover { background: var(--ng-accent-dark); box-shadow: 0 2px 6px rgba(0,0,0,.16); }
.ng-btn:active { box-shadow: 0 1px 2px rgba(0,0,0,.12) inset; }
/* link-styled buttons: outrank ".ng a"'s accent color (0-1-1) or anchor
   buttons read as blank blue blocks */
.ng a.ng-btn { color: #fff; text-decoration: none; }
.ng-btn-secondary { background: #fff; color: var(--ng-accent); border: 1px solid var(--ng-border); box-shadow: none; }
.ng a.ng-btn.ng-btn-secondary { color: var(--ng-accent); }
.ng-btn-secondary:hover { background: var(--ng-accent-tint); }
.ng-btn[disabled] { opacity: .55; cursor: default; }

/* option cards (shipping + payment) — bordered radio rows; the SELECTED
   row gets the accent outline + tint, the Shopify signature */
.ng-opts { border: 1px solid var(--ng-border-soft); border-radius: 10px; overflow: hidden;
  margin-bottom: 6px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.ng-opt + .ng-opt { border-top: 1px solid var(--ng-border-soft); }
.ng-opt-row { display: flex; align-items: center; gap: 11px; padding: 14px 16px; cursor: pointer; }
.ng-opt-row input[type=radio] { accent-color: var(--ng-accent); width: 18px; height: 18px; margin: 0; flex: none; }
.ng-opt-row label { font-size: 14px; font-weight: 500; color: var(--ng-text); margin: 0; cursor: pointer; flex: 1; }
.ng-opt-price { font-weight: 650; font-size: 13.5px; }
.ng-opt:has(input[type=radio]:checked) { background: var(--ng-accent-tint);
  box-shadow: 0 0 0 1px var(--ng-accent) inset; position: relative; z-index: 1; }
/* first/last options inherit the group's curve so the selected tint +
   accent ring follow the rounded corners instead of poking square ears */
.ng-opts .ng-opt:first-child { border-top-left-radius: 9px; border-top-right-radius: 9px; }
.ng-opts .ng-opt:last-child { border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; }
.ng-opt:has(input[type=radio]:checked) .ng-opt-row label { font-weight: 600; }
/* the chosen option's panel SLIDES open and the others closed, as the cart's shipping options do (Alex, 2026-11-21
   11:43 AM). CSS only: /checkout already runs store_init's accordionSync, which toggles .is-open and sets each panel's
   max-height to its measured height (0 when closed); .is-open's 50rem is the no-JS open state. The padding lives on the
   inner body, so a closed panel shows nothing; visibility follows the slide, so a closed panel's fields (the save-card
   box) can't be tabbed into. No motion for a reader who asks for less. */
.ng-opt .js-ship-desc, .ng-opt .js-pay-panel { overflow: hidden; max-height: 0; opacity: 0; visibility: hidden;
  transition: max-height .3s ease, opacity .3s ease, visibility 0s linear .3s; }
.ng-opt .js-ship-desc.is-open, .ng-opt .js-pay-panel.is-open { max-height: 50rem; opacity: 1; visibility: visible;
  transition: max-height .3s ease, opacity .3s ease, visibility 0s; }
.ng-opt { transition: background-color .2s ease, box-shadow .2s ease; }
/* the total eases in when a shipping choice changes it (store_init adds .is-changed for 0.5 s) */
#checkout-total.is-changed { animation: ng-total-in .5s ease; }
@keyframes ng-total-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ng-opt, .ng-opt .js-ship-desc, .ng-opt .js-pay-panel { transition: none; }
  #checkout-total.is-changed { animation: none; }
}
.ng-opt .ship-desc-body, .ng-opt .pay-panel-body { padding: 0 16px 14px 45px; font-size: 12.5px; color: var(--ng-muted); }
.ng-opt .pay-panel-body input, .ng-opt .pay-panel-body select { margin-bottom: 8px; background: #fff; }
.ng-opt .pay-panel-body label { margin-top: 4px; }

/* order summary lines */
.ng-sum-item { display: flex; align-items: center; gap: 13px; padding: 9px 0; }
.ng-sum-thumb { position: relative; flex: none; }
.ng-sum-thumb img { width: 64px; height: 64px; border-radius: 8px; border: 1px solid var(--ng-border);
  background: #fff; object-fit: cover; display: block; }
.ng-sum-qty { position: absolute; top: -8px; right: -8px; min-width: 21px; height: 21px; padding: 0 6px;
  border-radius: 11px; background: rgba(90,90,90,.92); color: #fff; font-size: 11.5px; font-weight: 600;
  line-height: 21px; text-align: center; box-shadow: 0 0 0 2px var(--ng-sidebar-bg); }
.ng-sum-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 500; }
.ng-sum-name a { color: var(--ng-text); }
.ng-sum-name .ng-sku { color: var(--ng-muted); font-size: 12px; font-weight: 400; display: block; margin-top: 1px; }
.ng-sum-price { font-weight: 550; font-size: 13.5px; }
.ng-totals { border-top: 1px solid var(--ng-border); margin-top: 14px; padding-top: 13px; }
.ng-total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 3px 0; font-size: 13.5px; }
.ng-total-row.ng-grand { font-size: 15.5px; font-weight: 650; padding-top: 12px; }
.ng-total-row.ng-grand .ng-amount { font-size: 21px; letter-spacing: -.01em; display: inline-flex; align-items: baseline; gap: 7px; }
.ng-total-row.ng-grand .ng-currency { font-size: 12px; font-weight: 500; color: var(--ng-muted); }
/* The confirmation page (Alex, 2026-11-22 4:45 PM): the invoice buttons under the thank-you, the ONE tier line above Subtotal */
.ng-invoice { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.ng-invoice .ng-inv { width: auto; padding: 10px 18px; text-decoration: none; white-space: nowrap; }
.ng-tier-line { font-weight: 600; }

/* checkboxes, alerts, small print */
.ng-check { display: flex; gap: 9px; align-items: flex-start; margin: 10px 0; font-size: 13.5px; }
.ng-check input { accent-color: var(--ng-accent); width: 17px; height: 17px; margin-top: 1px; flex: none; }
.ng-check label { font-size: 13.5px; font-weight: 400; color: var(--ng-text); margin: 0; }
.ng-alert { border: 1px solid #f0c4c4; background: #fdf1f1; color: #a12622;
  border-radius: var(--ng-radius); padding: 12px 14px; margin-bottom: 14px; font-size: 13.5px; }
.ng-notice { border: 1px solid var(--ng-border-soft); background: var(--ng-sidebar-bg);
  border-radius: var(--ng-radius); padding: 12px 14px; margin: 14px 0; font-size: 13.5px; }
.ng-muted { color: var(--ng-muted); }
.ng-secure { display: inline-flex; align-items: center; gap: 6px; color: var(--ng-muted); font-size: 12px; }

/* review-step + confirmation shared bits — elevated white cards */
.ng-review-block { border: 1px solid var(--ng-border-soft); border-radius: 10px;
  background: #fff; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); overflow: hidden; }
.ng-review-row { display: flex; align-items: baseline; gap: 16px; padding: 14px 18px; font-size: 13.5px; line-height: 1.55; }
.ng-review-row + .ng-review-row { border-top: 1px solid var(--ng-border-soft); }
.ng-review-row .ng-rv-label { flex: 0 0 96px; color: var(--ng-muted);
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ng-review-row .ng-rv-value { flex: 1; min-width: 0; }
.ng-review-row .ng-rv-action { flex: none; font-size: 12.5px; font-weight: 500; }
.rev-saved-card { font-weight: 550; }
.ng-confirm-head { text-align: center; margin: 34px 0 26px; }
.ng-confirm-head .ng-tick { width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid #2e9e5b; color: #2e9e5b; display: inline-flex; align-items: center;
  justify-content: center; margin-bottom: 14px; }
.ng-confirm-head h1 { font-size: 24px; font-weight: 650; margin: 0 0 6px; }
.ng-confirm-head p { color: var(--ng-muted); margin: 0; }

/* narrow centered card pages (auth, lookup — the classic Shopify account look) */
.ng-card-page { max-width: 430px; margin: 52px auto; padding: 0 22px; }
.ng-card-page h1 { font-size: 27px; font-weight: 650; text-align: center; letter-spacing: -.01em; margin: 0 0 24px; }
.ng-card-page .ng-links { text-align: center; font-size: 13px; margin-top: 16px; }
/* a store content page (store_pages_v1.md): the page blocks' shared stylesheet (store-pages.css) takes
   this skin's tokens; a page that uses the side-by-side row or a full-width block gets the page width
   (the card width suits a page of text; a two-column contact page needs the room) */
.ng-content-page { --sp-panel-bg: var(--ng-sidebar-bg); --sp-field-border: var(--ng-border);
  --sp-field-radius: var(--ng-radius); --sp-btn-bg: var(--ng-accent); --sp-btn-radius: var(--ng-btn-radius, var(--ng-radius)); }
.ng-content-page:has(.sp-row, .sp-full) { max-width: 1100px; }
.ng-content-page .sp-crumbs { margin-top: 0; }
.ng-account-wrap { max-width: 1000px; margin: 34px auto; padding: 0 22px; }
.ng-account-wrap h1 { font-size: 27px; font-weight: 650; letter-spacing: -.01em; margin: 0 0 20px; }

/* card-number field: brand icon left (the shared abcties sprite, y-offsets
   computed from the real cell geometry so icons center in the 46px input)
   + validation check right (inline SVG — grey, turns green when
   Store.cardField's Luhn sets .valid; the sprite's two check cells sit
   15px apart and can't render singly in a 46px window). */
.ng #card_number {
  background-image: url(/assets/images/checkout/images_v2.png),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2c2c2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 120px 361px, 19px 19px;
  background-position: 10px -114px, right 13px center;
  padding-left: 72px; padding-right: 44px;
}
.ng #card_number.visa       { background-position: 10px -156px, right 13px center; }
.ng #card_number.mastercard { background-position: 10px -240px, right 13px center; }
.ng #card_number.amex       { background-position: 10px -282px, right 13px center; }
.ng #card_number.discover   { background-position: 10px -324px, right 13px center; }
.ng #card_number.valid {
  background-image: url(/assets/images/checkout/images_v2.png),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e9e5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.ng #cvv, .ng #vault_cvv {
  background-image: url(/assets/images/checkout/images_v2.png);
  background-repeat: no-repeat;
  background-size: 120px 361px;
  background-position: 10px -114px;
  padding-left: 72px;
}

/* ---- account area (Ring 2): slim left nav + content ---- */
.ng-acct { display: flex; gap: 40px; align-items: flex-start; margin-top: 26px; }
.ng-acct-nav { flex: 0 0 190px; position: sticky; top: 20px; }
.ng-acct-nav ul { list-style: none; margin: 0; padding: 0; }
.ng-acct-nav a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--ng-text); font-size: 13.5px; }
.ng-acct-nav a:hover { background: var(--ng-sidebar-bg); text-decoration: none; }
.ng-acct-nav li.is-active a { background: var(--ng-accent-tint); color: var(--ng-accent); font-weight: 600; }
.ng-acct-nav .ng-acct-signout { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ng-border-soft); }
.ng-acct-nav .ng-acct-signout a { color: var(--ng-muted); font-size: 12.5px; }
.ng-acct-main { flex: 1; min-width: 0; }
.ng-acct-main h1 { font-size: 24px; font-weight: 650; letter-spacing: -.01em; margin: 0 0 18px; }

/* mobile drawer plumbing — inert on desktop. The three controls are
   LABELS, so they need .ng-prefixed selectors to outrank ".ng label"
   (display/margin/color — the specificity bug class). */
.ng-acct-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ng-acct-bar, .ng-acct-drawer-head, .ng .ng-acct-scrim { display: none; }

@media (max-width: 799px) {
  /* stretch (not the desktop flex-start) or the bar shrink-wraps;
     margin-top 0 so the bar hugs the top edge */
  .ng-acct { flex-direction: column; gap: 12px; margin-top: 0; align-items: stretch; }

  /* ONE top bar on account pages (owner-picked app-bar layout): boxed
     hamburger LEFT, brand stacked over the crumb, cart RIGHT. The chrome
     header hides here so two bars never stack. */
  .ng-page-account .ng-header, .ng-page-account .ng-nav { display: none; }
  .ng-page-account .ng-account-wrap { margin-top: 0; }
  .ng-acct-bar { display: flex; align-items: center; gap: 11px; margin: 0 -22px;
    padding: 8px 14px; min-height: 52px; background: var(--ng-bg);
    border-bottom: 1px solid var(--ng-border-soft); }
  .ng .ng-acct-menu-btn { display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; margin: 0; flex: 0 0 auto; color: var(--ng-text); background: #fff;
    border: 1px solid var(--ng-border); border-radius: 6px; cursor: pointer; }
  .ng-acct-toggle:focus-visible ~ .ng-acct-bar .ng-acct-menu-btn { outline: 2px solid var(--ng-accent); outline-offset: 1px; }
  .ng-acct-bar-mid { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; line-height: 1.25; }
  .ng-acct-brand { color: var(--ng-accent); font-weight: 700; font-size: 14.5px; letter-spacing: -.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ng-acct-brand img { max-height: 20px; width: auto; display: block; }
  .ng-acct-crumb { font-size: 11.5px; color: var(--ng-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ng-acct-crumb b { color: var(--ng-text); font-weight: 600; }
  .ng-acct-cart { display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; flex: 0 0 auto; color: var(--ng-text); }
  /* on a banded store this bar IS the header (the chrome header hides here), so it wears the band and its logo:
     the theme's own band logo unfiltered, else the store logo in the band's text colour (site's F1 on #416) */
  .ng-has-band .ng-acct-bar { background: var(--ng-band); color: var(--ng-band-fg); border-bottom-color: transparent; }
  .ng-has-band .ng-acct-brand, .ng-has-band .ng-acct-crumb b, .ng-has-band .ng-acct-cart { color: var(--ng-band-fg); }
  .ng-has-band .ng-acct-crumb { color: var(--ng-band-fg); opacity: .85; }
  .ng-has-band .ng-acct-brand img { filter: var(--ng-band-logo, none); }
  .ng.ng-has-band .ng-acct-menu-btn { color: var(--ng-band-fg); background: transparent; border-color: rgba(127,127,127,.55); }

  /* the drawer (nav restyled off-canvas; same markup as the sidebar) */
  .ng-acct-nav { position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; width: 264px;
    max-width: 82vw; background: #fff; border-right: 1px solid var(--ng-border-soft);
    box-shadow: 12px 0 30px rgba(0,0,0,.14); padding: 0 10px 12px; overflow-y: auto;
    transform: translateX(-105%); visibility: hidden;
    transition: transform .26s ease, visibility .26s; }
  .ng-acct-drawer-head { display: flex; justify-content: space-between; align-items: center;
    padding: 14px 6px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--ng-border-soft);
    font-size: 13px; font-weight: 650; }
  .ng .ng-acct-close { display: inline-flex; padding: 6px; margin: 0; color: var(--ng-muted); cursor: pointer; }
  .ng-acct-nav a { padding: 11px 10px; }
  .ng-acct-nav .ng-acct-signout a { padding: 7px 10px; }
  .ng .ng-acct-scrim { display: block; position: fixed; inset: 0; z-index: 55; margin: 0;
    background: rgba(15,18,22,.42); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .26s ease, visibility .26s; }
  .ng-acct-toggle:checked ~ .ng-acct-nav { transform: none; visibility: visible; }
  .ng-acct-toggle:checked ~ .ng-acct-scrim { opacity: 1; visibility: visible; pointer-events: auto; }
  body.ng:has(.ng-acct-toggle:checked) { overflow: hidden; }
  @media (prefers-reduced-motion: reduce) {
    .ng-acct-nav, .ng-acct-scrim { transition: none; }
  }
}

/* dashboard tiles + banners */
.ng-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.ng-tile { display: block; padding: 18px 16px; border: 1px solid var(--ng-border-soft); border-radius: 10px;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.06); color: var(--ng-text); font-weight: 550; }
.ng-tile:hover { border-color: var(--ng-accent); color: var(--ng-accent); text-decoration: none; }
.ng-banner { border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; font-size: 13.5px; }
.ng-banner-warn  { background: #fdf6e7; border: 1px solid #f0dcae; color: #8a6116; }
.ng-banner-alert { background: #fdf1f1; border: 1px solid #f0c4c4; color: #a12622; }
.ng-banner-info  { background: var(--ng-accent-tint); border: 1px solid #c9dcf7; color: #1f5cb8; }
.ng-banner form { display: inline; }
.ng-banner button { background: none; border: 0; padding: 0; color: inherit; font: inherit;
  text-decoration: underline; cursor: pointer; }

/* tables (orders, events) + status chip + pager */
.ng-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ng-table th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ng-muted); padding: 8px 10px; border-bottom: 1px solid var(--ng-border); }
.ng-table td { padding: 12px 10px; border-bottom: 1px solid var(--ng-border-soft); vertical-align: middle; }
.ng-chip { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11.5px; font-weight: 600;
  background: var(--ng-sidebar-bg); border: 1px solid var(--ng-border-soft); color: #4a4a4a; white-space: nowrap; }
.ng-pager { display: flex; gap: 10px; margin-top: 16px; }
.ng-pager a { padding: 9px 18px; border: 1px solid var(--ng-border); border-radius: var(--ng-radius);
  color: var(--ng-text); font-size: 13px; font-weight: 500; }
.ng-pager a:hover { background: var(--ng-sidebar-bg); text-decoration: none; }
.ng-empty { text-align: center; padding: 40px 0; color: var(--ng-muted); }

/* order detail: steps, panels, items, totals */
.ng-steps { display: flex; gap: 6px; list-style: none; margin: 0 0 8px; padding: 0; flex-wrap: wrap; }
.ng-steps li { flex: 1; min-width: 90px; text-align: center; font-size: 11.5px; font-weight: 600;
  color: var(--ng-muted); padding: 8px 4px 10px; border-bottom: 3px solid var(--ng-border-soft); }
.ng-steps li.is-done { color: var(--ng-text); border-bottom-color: #9fc3ef; }
.ng-steps li.is-current { color: var(--ng-accent); border-bottom-color: var(--ng-accent); }
.ng-step-desc { font-size: 12.5px; color: var(--ng-muted); margin: 0 0 14px; }
.ng-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 14px 0; }
.ng-panel { border: 1px solid var(--ng-border-soft); border-radius: 10px; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.06); padding: 14px 16px; font-size: 13px; }
.ng-panel h4 { margin: 0 0 7px; font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ng-muted); }
.ng-items { margin: 8px 0; }
.ng-item-row { display: flex; gap: 13px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--ng-border-soft); }
.ng-item-row img { width: 56px; height: 56px; border-radius: 8px; border: 1px solid var(--ng-border); object-fit: cover; }
.ng-item-info { flex: 1; min-width: 0; font-size: 13.5px; }
.ng-item-info .ng-sku { color: var(--ng-muted); font-size: 12px; display: block; }
.ng-item-price { font-weight: 550; }
.ng-acct-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.ng-acct-actions .ng-btn { width: auto; padding: 12px 20px; font-size: 14px; text-decoration: none; }
.ng-linkbtn { background: none; border: 0; padding: 0; color: var(--ng-accent); font: inherit;
  font-size: 12.5px; cursor: pointer; }
.ng-linkbtn:hover { text-decoration: underline; }
.ng-linkbtn-danger { color: #a12622; }

/* ---- favorites grid (saved-items 'favorites' mode) ---- */
.ng-fav-list { border: 1px solid var(--ng-border); border-radius: var(--ng-radius); overflow: hidden; }
.ng-fav-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.ng-fav-row + .ng-fav-row { border-top: 1px solid var(--ng-border); }
.ng-fav-thumb { flex: 0 0 54px; width: 54px; height: 54px; border: 1px solid var(--ng-border);
  border-radius: 8px; overflow: hidden; background: var(--ng-sidebar-bg); }
.ng-fav-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ng-fav-info { flex: 1 1 auto; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ng-fav-info .fav-name { font-size: 13.5px; font-weight: 550; color: var(--ng-text); }
.ng-fav-buy { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ng-fav-buy .quantity { width: 74px; height: 40px; text-align: center; }
.ng-fav-price { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.ng-fav-buy .ng-btn { height: 40px; }
.ng-fav-remove { border: none; background: none; color: var(--ng-muted); font-size: 20px; line-height: 1;
  cursor: pointer; padding: 4px 6px; }
.ng-fav-remove:hover { color: #b42318; }
@media (max-width: 640px) {
  .ng-fav-row { flex-wrap: wrap; }
  .ng-fav-buy { flex: 1 1 100%; justify-content: flex-start; }
}

/* availability pills (favorites + shared) */
.ng-pill { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11.5px; font-weight: 600; }
.ng-pill-in  { background: #e6f4ea; color: #1e7e3e; }
.ng-pill-low { background: #fdf3e0; color: #9a6b0f; }
.ng-pill-out { background: #f1f1f1; color: #777; }

/* ---- cart slide-over (opens on cart:added from the account pages) ---- */
.ng-cartdw { position: fixed; top: 0; bottom: 0; right: 0; width: 360px; max-width: 92vw;
  background: #fff; z-index: 80; border-left: 1px solid var(--ng-border-soft);
  box-shadow: -12px 0 30px rgba(0,0,0,.16); display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .3s ease; }
body.ng-cartdw-open .ng-cartdw { transform: none; }
.ng-cartdw-scrim { position: fixed; inset: 0; z-index: 75; background: rgba(15,18,22,.42);
  opacity: 0; transition: opacity .3s ease; }
body.ng-cartdw-open .ng-cartdw-scrim { opacity: 1; }
.ng-cartdw-head { display: flex; align-items: center; gap: 9px; padding: 15px 16px;
  border-bottom: 1px solid var(--ng-border-soft); font-size: 14px; }
.ng-cartdw-tick { display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: #e6f4ea; color: #1e7e3e; flex: 0 0 auto; }
.ng-cartdw-head b { flex: 1; font-weight: 650; }
.ng-cartdw-x { border: 0; background: none; color: var(--ng-muted); cursor: pointer;
  display: inline-flex; padding: 6px; }
.ng-cartdw-items { flex: 1; overflow-y: auto; padding: 6px 16px; }
.ng-cartdw-row { display: flex; align-items: center; gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--ng-border-soft); }
.ng-cartdw-row:last-child { border-bottom: 0; }
.ng-cartdw-row.is-new { background: var(--ng-accent-tint); margin: 0 -10px; padding: 11px 10px;
  border-radius: 8px; border-bottom: 0; }
.ng-cartdw-row.is-new + .ng-cartdw-row { border-top: 1px solid var(--ng-border-soft); }
.ng-cartdw-row img, .ng-cartdw-noimg { width: 52px; height: 52px; border-radius: 8px;
  border: 1px solid var(--ng-border-soft); object-fit: cover; background: var(--ng-sidebar-bg); flex: 0 0 auto; }
.ng-cartdw-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ng-cartdw-name { font-size: 13px; font-weight: 550; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; }
.ng-cartdw-just { font-size: 10.5px; font-weight: 700; color: var(--ng-accent);
  text-transform: uppercase; letter-spacing: .06em; }
.ng-cartdw-meta { font-size: 12px; color: var(--ng-muted); }
.ng-cartdw-line { font-size: 13px; font-weight: 650; white-space: nowrap; }
.ng-cartdw-foot { padding: 14px 16px 16px; border-top: 1px solid var(--ng-border-soft); }
.ng-cartdw-sub { display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--ng-muted); margin-bottom: 12px; }
.ng-cartdw-sub b { color: var(--ng-text); font-size: 15px; font-weight: 650; }
@media (prefers-reduced-motion: reduce) {
  .ng-cartdw, .ng-cartdw-scrim { transition: none; }
}

/* cart badge — rides span.cart-count (core.js paints it); observer hides at 0 */
.ng-cart-link, .ng-acct-cart { position: relative; }
.ng-cart-badge { position: absolute; top: -7px; right: -9px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 9px; background: var(--ng-accent); color: #fff;
  font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; }
.ng-acct-cart .ng-cart-badge { top: 0; right: -3px; }
.ng-cart-badge[hidden] { display: none; }
.ng-cartdw-empty { color: var(--ng-muted); font-size: 13px; text-align: center; margin: 26px 0; }
.ng-cartdw-tick[hidden], .ng-cartdw-checkout[hidden] { display: none; }

/* status chip tints (orders list, both layouts) — unknown labels keep the
   neutral chip */
.ng-chip-good { background: #e6f4ea; border-color: #cfe9d6; color: #1e7e3e; }
.ng-chip-info { background: #f4f8fe; border-color: #d8e6fa; color: #2a6fd6; }
.ng-chip-warn { background: #fdf3e0; border-color: #f3e3bd; color: #9a6b0f; }
.ng-chip-off  { background: #f1f1f1; border-color: #e4e4e4; color: #777; }

/* mobile orders list: restack each table row into the approved two-line
   shape (scoped to .ng-orders — the order-detail items table keeps its
   table rendering) */
.ng-ord-items { display: none; }
@media (max-width: 799px) {
  .ng-orders thead { display: none; }
  .ng-orders, .ng-orders tbody { display: block; }
  .ng-orders tr { display: flex; flex-wrap: wrap; align-items: center; row-gap: 3px;
    position: relative; padding: 12px 2px; border-bottom: 1px solid var(--ng-border-soft); }
  .ng-orders td { display: block; padding: 0; border: 0; }
  .ng-orders .ng-ord-num { order: 1; }
  .ng-orders .ng-ord-status { order: 2; margin-left: auto; }
  .ng-orders tr::before { content: ""; width: 100%; order: 3; }   /* the line break */
  .ng-orders .ng-ord-date { order: 4; }
  .ng-orders .ng-ord-total { order: 5; }
  .ng-orders .ng-ord-date, .ng-orders .ng-ord-total { font-size: 12px; color: var(--ng-muted); }
  .ng-orders .ng-ord-total::before { content: "\00B7"; margin: 0 5px; }
  .ng-orders .ng-ord-items { display: inline; }
  .ng-orders .ng-ord-ship, .ng-orders .ng-ord-view { display: none; }
  /* whole row tappable via the stretched number link */
  .ng-orders .ng-ord-link::after { content: ""; position: absolute; inset: 0; }
}

/* responsive button labels: full text on desktop, short on phones (the
   order-detail action row wrapped its third button) */
.ng-lbl-short { display: none; }
@media (max-width: 799px) {
  .ng-lbl-full { display: none; }
  .ng-lbl-short { display: inline; }
}

/* orders paging: Newer/Older on desktop, Load-more on phones */
.ng-loadmore { display: none; }
@media (max-width: 799px) {
  .ng-pager-orders { display: none; }
  .ng .ng-loadmore { display: block; margin-top: 14px; padding: 13px 20px; font-size: 14px; }
}

/* The terms and conditions at checkout, large (Alex, 2026-11-22): the store page in a native <dialog> (#terms-modal) */
.terms-modal { width: min(900px, 92vw); max-height: 86vh; padding: 28px 32px 22px; border: 0; border-radius: 8px; overflow: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35); color: #222; background: #fff; }
.terms-modal::backdrop { background: rgba(0, 0, 0, .55); }
.terms-modal-title { margin: 0 0 16px; font-size: 22px; font-weight: 700; }
.terms-modal-close { position: absolute; top: 8px; right: 14px; margin: 0; }
/* the page's own headings sit under the dialog's title, never above it (site's N1 on #434) */
.terms-modal-body h1, .terms-modal-body h2 { font-size: 18px; line-height: 1.3; margin: 22px 0 10px; }
.terms-modal-body h3, .terms-modal-body h4, .terms-modal-body h5, .terms-modal-body h6 { font-size: 16px; line-height: 1.3; margin: 18px 0 8px; }
.terms-modal-close button { border: 0; background: none; font-size: 28px; line-height: 1; color: #666; cursor: pointer; }
.terms-modal-foot { margin: 20px 0 0; text-align: right; }
.terms-modal-foot .ng-btn { width: auto; }
@media (max-width: 575px) { .terms-modal { padding: 22px 16px 16px; } }
