/* =========================================================================
   THE BRAINTREE WARDROBE - styles (Editorial edition)
   A light, classy, fashion-retail aesthetic. Braintree CI as accent.
   Cohort palette tokens. Rubik only, treated editorially. Prefix bt-wd-.
   Zero em-dashes or en-dashes anywhere (brand rule).
   ========================================================================= */

:root {
  /* Braintree CI, repurposed for an editorial light system */
  --bt-forest: #002E2D;       /* ink, dark anchor, primary buttons */
  --bt-forest-2: #001E1E;     /* deepest */
  --bt-teal: #00D59C;         /* Grow accent, used sparingly */
  --bt-teal-2: #00B584;
  --bt-teal-text: #006A4F;    /* accent text on light (AA) */
  --bt-grow-soft: #E9F7F1;
  --bt-lime: #7AD93B;         /* rare flourish */
  --bt-amber-text: #8A5D00;
  --bt-err-text: #B83412;

  /* Editorial neutrals (warm paper) */
  --bt-canvas: #FFFFFF;
  --bt-paper: #F7F6F2;        /* warm paper ground */
  --bt-paper-2: #EFEDE7;      /* slightly deeper */
  --bt-stone: #E7E4DC;        /* product backdrop */
  --bt-ink: #1C211F;          /* body text */
  --bt-ink-2: #5C635F;        /* secondary */
  --bt-ink-3: #6C726D;        /* muted labels, AA on white and paper */
  --bt-line: #E6E3DC;         /* warm hairline (decorative dividers) */
  --bt-line-2: #D8D4CA;
  --bt-line-input: #8F8B80;   /* form-control boundary, 3:1 on light (WCAG 1.4.11) */
  --bt-leaf-text: #41600F;    /* payroll status text on leaf-soft (AA) */
  --bt-urgent: #FF5000;       /* genuine deadlines only */

  --bt-font: 'Rubik', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --bt-wrap: 1360px;
  --bt-gut: clamp(20px, 5vw, 76px);
  --bt-radius: 3px;
  --bt-radius-lg: 6px;

  --bt-shadow-soft: 0 16px 44px -28px rgba(20, 30, 25, 0.30);
  --bt-shadow-rail: 0 30px 70px -34px rgba(20, 30, 25, 0.40);

  --bt-ease: cubic-bezier(0.4, 0, 0.1, 1);
  --bt-dur: 0.4s;
}

/* ---- Reset ---- */
:where(*, *::before, *::after) { box-sizing: border-box; }
:where(#bt-wd-app, #bt-wd-app *) { margin: 0; }
#bt-wd-app, body { padding: 0; }
body {
  font-family: var(--bt-font);
  color: var(--bt-ink);
  background: var(--bt-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
#bt-wd-app img { max-width: 100%; display: block; }
:where(#bt-wd-app a) { color: inherit; text-decoration: none; }
#bt-wd-app button { font-family: inherit; cursor: pointer; }
#bt-wd-app :focus-visible { outline: 2px solid var(--bt-forest); outline-offset: 3px; }
#bt-wd-main:focus, #bt-wd-main:focus-visible,
#bt-wd-confirm-h:focus, #bt-wd-confirm-h:focus-visible { outline: none; }

/* ---- Inline icon sizing ---- */
.bt-wd-btn svg { width:17px; height:17px; flex-shrink:0; }
.bt-wd-cart-pill svg { width:19px; height:19px; flex-shrink:0; }
.bt-wd-acct__btn svg { width:19px; height:19px; }
.bt-wd-config__crumb svg { width:15px; height:15px; vertical-align:middle; }
.bt-wd-sizeguide svg { width:15px; height:15px; vertical-align:-3px; }
.bt-wd-pay__title svg { width:19px; height:19px; vertical-align:-4px; flex-shrink:0; }
.bt-wd-hint svg { width:14px; height:14px; vertical-align:-2px; }
.bt-wd-popia svg { width:14px; height:14px; vertical-align:-2px; }
.bt-wd-auth__demo svg { width:14px; height:14px; vertical-align:-2px; }
.bt-wd-card__cta svg { width:16px; height:16px; }

/* ---- Utilities ---- */
.bt-wd-sr { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.bt-wd-skip { position:fixed; top:-100px; left:16px; z-index:2000; background:var(--bt-forest); color:#fff; padding:12px 20px; font-weight:500; transition:top 0.2s ease; }
.bt-wd-skip:focus { top:0; }
.bt-wd-wrap { max-width:var(--bt-wrap); margin:0 auto; padding-inline:var(--bt-gut); }
.bt-wd-grain { display:none; }   /* editorial system is flat, no grain */

/* eyebrow / label = wide-tracked uppercase */
.bt-wd-eyebrow {
  font-size:11px; font-weight:500; letter-spacing:0.26em; text-transform:uppercase;
  color:var(--bt-ink-3); display:inline-block;
}
.bt-wd-eyebrow--onForest { color:rgba(255,255,255,0.6); }

/* ---- Buttons (squared, refined, tracked) ---- */
.bt-wd-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-weight:500; font-size:13px; line-height:1; letter-spacing:0.1em; text-transform:uppercase; text-align:center;
  padding:16px 30px; border-radius:var(--bt-radius); border:1px solid transparent;
  transition: background var(--bt-dur) var(--bt-ease), color var(--bt-dur) var(--bt-ease), border-color var(--bt-dur) var(--bt-ease);
  min-height:50px;
}
.bt-wd-btn--forest { background:var(--bt-forest); color:#fff; border-color:var(--bt-forest); }
.bt-wd-btn--forest:hover { background:var(--bt-forest-2); border-color:var(--bt-forest-2); }
.bt-wd-btn--outline { background:transparent; color:var(--bt-forest); border-color:var(--bt-forest); }
.bt-wd-btn--outline:hover { background:var(--bt-forest); color:#fff; }
.bt-wd-btn--outline-light { background:transparent; color:#fff; border-color:rgba(255,255,255,0.5); }
.bt-wd-btn--outline-light:hover { background:#fff; color:var(--bt-forest); border-color:#fff; }
.bt-wd-btn--grow { background:var(--bt-forest); color:#fff; border-color:var(--bt-forest); }
.bt-wd-btn--grow:hover { background:var(--bt-forest-2); border-color:var(--bt-forest-2); }
.bt-wd-btn--block { width:100%; }
.bt-wd-btn--lg { padding:18px 34px; }
.bt-wd-btn[disabled], .bt-wd-btn[aria-disabled="true"] { opacity:0.35; cursor:not-allowed; pointer-events:none; }

/* ---- Headings (editorial, lighter weights) ---- */
.bt-wd-display { font-weight:300; line-height:1.02; letter-spacing:-0.015em; font-size:clamp(42px, 6.6vw, 92px); }
.bt-wd-h1 { font-weight:400; line-height:1.08; letter-spacing:-0.01em; font-size:clamp(30px, 4vw, 48px); }
.bt-wd-h2 { font-weight:400; line-height:1.12; letter-spacing:-0.005em; font-size:clamp(26px, 3.1vw, 40px); }
.bt-wd-h3 { font-weight:500; line-height:1.22; font-size:clamp(19px, 2vw, 24px); }
.bt-wd-lead { font-weight:300; font-size:clamp(16px, 1.4vw, 19px); line-height:1.6; color:var(--bt-ink-2); }
.bt-wd-body { font-size:16px; line-height:1.65; color:var(--bt-ink-2); }

/* thin accent underline on a hero phrase */
.bt-wd-ul { position:relative; white-space:nowrap; }
.bt-wd-ul::after {
  content:""; position:absolute; left:0; right:0; bottom:-0.06em; height:1.5px;
  background:var(--bt-teal); transform:scaleX(0); transform-origin:left;
  transition:transform 0.9s var(--bt-ease) 0.3s;
}
.bt-wd-ul--lit::after { transform:scaleX(1); }
.bt-wd-ul--onForest::after { background:var(--bt-teal); }

.bt-wd-reveal { opacity:0; transform:translateY(20px); transition:opacity 0.8s var(--bt-ease), transform 0.8s var(--bt-ease); }
.bt-wd-reveal.bt-wd-in { opacity:1; transform:none; }

/* =========================================================================
   NAV (light, minimal, hairline)
   ========================================================================= */
.bt-wd-nav { position:sticky; top:0; z-index:100; background:rgba(255,255,255,0.92); backdrop-filter:saturate(180%) blur(12px); border-bottom:1px solid var(--bt-line); }
.bt-wd-nav__inner { max-width:var(--bt-wrap); margin:0 auto; padding:0 var(--bt-gut); height:74px; display:flex; align-items:center; gap:30px; }
.bt-wd-nav__logo { display:flex; align-items:center; gap:13px; flex-shrink:0; }
.bt-wd-nav__logo img { height:30px; width:auto; align-self:flex-start; }
.bt-wd-nav__wordmark { font-weight:500; font-size:11px; letter-spacing:0.22em; text-transform:uppercase; color:var(--bt-ink-3); border-left:1px solid var(--bt-line-2); padding-left:13px; }
.bt-wd-nav__links { display:flex; align-items:center; gap:30px; margin-left:18px; }
.bt-wd-nav__link { font-size:12px; font-weight:500; letter-spacing:0.14em; text-transform:uppercase; color:var(--bt-ink-2); position:relative; padding:10px 0; transition:color 0.2s ease; }
.bt-wd-nav__link:hover, .bt-wd-nav__link[aria-current="page"] { color:var(--bt-forest); }
.bt-wd-nav__link[aria-current="page"]::after { content:""; position:absolute; left:0; right:0; bottom:0; height:1.5px; background:var(--bt-forest); }
.bt-wd-nav__spacer { flex:1; }
.bt-wd-nav__actions { display:flex; align-items:center; gap:18px; }

.bt-wd-cart-pill { display:inline-flex; align-items:center; gap:9px; background:transparent; border:0; color:var(--bt-forest); padding:8px 4px; font-weight:500; font-size:11px; letter-spacing:0.14em; text-transform:uppercase; transition:opacity 0.2s ease; }
.bt-wd-cart-pill:hover { opacity:0.6; }
.bt-wd-cart-pill__count { min-width:20px; height:20px; padding:0 6px; border-radius:999px; background:var(--bt-forest); color:#fff; font-weight:600; font-size:11px; letter-spacing:0; display:inline-flex; align-items:center; justify-content:center; }
.bt-wd-cart-pill__count.bt-wd-bump { animation:bt-wd-bump 0.4s var(--bt-ease); }
@keyframes bt-wd-bump { 0%{transform:scale(1)} 40%{transform:scale(1.5)} 100%{transform:scale(1)} }

.bt-wd-acct { position:relative; }
.bt-wd-acct__btn { display:inline-flex; align-items:center; gap:8px; background:transparent; border:0; color:var(--bt-forest); padding:6px; font-size:13px; font-weight:500; }
.bt-wd-acct__btn:hover { opacity:0.6; }
.bt-wd-acct__avatar { width:30px; height:30px; border-radius:999px; border:1px solid var(--bt-line-2); color:var(--bt-forest); display:inline-flex; align-items:center; justify-content:center; font-weight:500; font-size:12px; letter-spacing:0.02em; }
.bt-wd-acct__menu { position:absolute; right:0; top:calc(100% + 14px); min-width:240px; background:#fff; color:var(--bt-ink); border:1px solid var(--bt-line); box-shadow:var(--bt-shadow-rail); padding:8px; display:none; z-index:120; }
.bt-wd-acct__menu[data-open="true"] { display:block; }
.bt-wd-acct__head { padding:12px 14px 14px; border-bottom:1px solid var(--bt-line); margin-bottom:6px; }
.bt-wd-acct__name { font-weight:500; font-size:15px; }
.bt-wd-acct__email { font-size:12.5px; color:var(--bt-ink-3); margin-top:3px; word-break:break-all; }
.bt-wd-acct__item { display:flex; align-items:center; gap:11px; width:100%; text-align:left; background:transparent; border:0; padding:12px 14px; font-size:13px; color:var(--bt-ink); font-weight:500; letter-spacing:0.02em; }
.bt-wd-acct__item:hover { background:var(--bt-paper); }
.bt-wd-acct__item svg { width:17px; height:17px; flex-shrink:0; color:var(--bt-ink-3); }

.bt-wd-nav__burger { display:none; background:transparent; border:0; padding:8px; color:var(--bt-forest); }
.bt-wd-nav__burger svg { width:24px; height:24px; }

/* =========================================================================
   FOOTER (single dark Braintree anchor, refined)
   ========================================================================= */
.bt-wd-footer { background:var(--bt-forest); color:#fff; position:relative; }
.bt-wd-footer__inner { max-width:var(--bt-wrap); margin:0 auto; padding:80px var(--bt-gut) 48px; position:relative; }
.bt-wd-footer__grid { display:grid; grid-template-columns:1.8fr 1fr 1fr 1.2fr; gap:48px; }
.bt-wd-footer__logo img { height:32px; width:auto; align-self:flex-start; margin-bottom:22px; }
.bt-wd-footer__cred { font-style:italic; font-size:14px; color:rgba(255,255,255,0.66); max-width:32ch; line-height:1.6; }
.bt-wd-footer__h { font-size:11px; font-weight:500; letter-spacing:0.2em; text-transform:uppercase; color:rgba(255,255,255,0.66); margin-bottom:20px; }
.bt-wd-footer__link { display:block; color:rgba(255,255,255,0.82); font-size:14px; padding:7px 0; transition:color 0.2s ease; }
.bt-wd-footer__link:hover { color:var(--bt-teal); }
.bt-wd-footer__bottom { max-width:var(--bt-wrap); margin:0 auto; padding:26px var(--bt-gut); border-top:1px solid rgba(255,255,255,0.12); display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; align-items:center; }
.bt-wd-footer__legal { font-size:12px; color:rgba(255,255,255,0.56); line-height:1.6; max-width:84ch; }
.bt-wd-footer__grow { font-weight:400; font-size:15px; color:#fff; letter-spacing:0.01em; }
.bt-wd-footer__grow span { color:var(--bt-teal); }

/* =========================================================================
   SECTION SCAFFOLD
   ========================================================================= */
.bt-wd-sec { padding:clamp(64px, 9vw, 128px) 0; position:relative; }
.bt-wd-sec--forest { background:var(--bt-forest); color:#fff; }
.bt-wd-sec--forest2 { background:var(--bt-forest-2); color:#fff; }
.bt-wd-sec--off { background:var(--bt-paper); }
.bt-wd-sec--canvas { background:var(--bt-canvas); }
.bt-wd-sec__head { max-width:62ch; margin-bottom:54px; }
.bt-wd-sec--forest .bt-wd-h2, .bt-wd-sec--forest2 .bt-wd-h2 { color:#fff; }
.bt-wd-sec--forest .bt-wd-lead, .bt-wd-sec--forest2 .bt-wd-lead { color:rgba(255,255,255,0.72); }

/* =========================================================================
   HERO (light editorial, how-it-works)
   ========================================================================= */
.bt-wd-hero { background:var(--bt-paper); color:var(--bt-ink); position:relative; overflow:hidden; border-bottom:1px solid var(--bt-line); }
.bt-wd-hero__inner { max-width:var(--bt-wrap); margin:0 auto; padding:clamp(56px,8vw,110px) var(--bt-gut); display:grid; grid-template-columns:1.05fr 0.95fr; gap:clamp(40px,6vw,90px); align-items:center; position:relative; z-index:2; }
.bt-wd-hero__eyebrow { margin-bottom:26px; }
.bt-wd-hero__title { color:var(--bt-forest); margin-bottom:28px; }
.bt-wd-hero__sub { color:var(--bt-ink-2); font-size:clamp(16px,1.5vw,19px); line-height:1.6; max-width:44ch; margin-bottom:38px; font-weight:300; }
.bt-wd-hero__cta { display:flex; gap:14px; flex-wrap:wrap; }
.bt-wd-hero__trust { margin-top:36px; display:flex; gap:32px; flex-wrap:wrap; }
.bt-wd-hero__trust div { display:flex; align-items:center; gap:9px; font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:var(--bt-ink-3); }
.bt-wd-hero__trust svg { width:17px; height:17px; color:var(--bt-teal-2); flex-shrink:0; }
.bt-wd-hero__stage { position:relative; }

.bt-wd-hero-cluster { position:relative; min-height:440px; }
.bt-wd-hero-cluster__main { position:relative; z-index:3; width:84%; margin:0 auto; background:var(--bt-stone); border-radius:var(--bt-radius-lg); padding:8px; }
.bt-wd-hero-cluster__chip { position:absolute; z-index:4; background:#fff; border:1px solid var(--bt-line); padding:12px 16px; box-shadow:var(--bt-shadow-soft); display:flex; align-items:center; gap:10px; font-weight:500; font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:var(--bt-forest); }
.bt-wd-hero-cluster__chip svg { width:18px; height:18px; color:var(--bt-teal-2); }
.bt-wd-hero-cluster__chip--a { top:7%; left:-3%; }
.bt-wd-hero-cluster__chip--b { bottom:9%; right:-2%; }
.bt-wd-hero-cluster__price { }

/* =========================================================================
   GARMENT RENDER (flat editorial backdrop)
   ========================================================================= */
/* Product tiles show real branded mockups on a white ground. Contain keeps the whole
   product visible (the logo is part of the image), and white matches the mockups' own
   white background so there is no visible seam. */
.bt-wd-garment { position:relative; width:100%; aspect-ratio:4 / 5; background:var(--bt-canvas); overflow:hidden; display:grid; place-items:center; }
.bt-wd-garment__grain { display:none; }
.bt-wd-garment svg.bt-wd-garment__svg { width:70%; height:70%; position:relative; z-index:2; }
.bt-wd-garment__photo { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; z-index:3; }
.bt-wd-garment__badge { position:absolute; z-index:5; top:16px; left:16px; }

/* pill badge = small tracked label */
.bt-wd-pill { display:inline-flex; align-items:center; gap:6px; font-size:10px; font-weight:600; letter-spacing:0.14em; padding:6px 11px; text-transform:uppercase; border-radius:2px; }
.bt-wd-pill--teal { background:var(--bt-forest); color:#fff; }
.bt-wd-pill--lime { background:var(--bt-teal); color:var(--bt-forest); }
.bt-wd-pill--dark { background:var(--bt-forest); color:var(--bt-teal); }
.bt-wd-pill--soft { background:var(--bt-paper-2); color:var(--bt-forest); }

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.bt-wd-steps { display:grid; grid-template-columns:repeat(4, 1fr); gap:40px; }
.bt-wd-step { position:relative; }
.bt-wd-step__n { font-weight:300; font-size:48px; color:var(--bt-forest); line-height:1; letter-spacing:-0.02em; margin-bottom:22px; display:flex; align-items:center; gap:16px; }
.bt-wd-step__n::after { content:""; height:1px; flex:1; background:var(--bt-line-2); }
.bt-wd-step__t { font-size:18px; font-weight:500; color:var(--bt-forest); margin-bottom:10px; }
.bt-wd-step__d { font-size:14.5px; line-height:1.6; color:var(--bt-ink-2); font-weight:300; }

.bt-wd-proof { display:grid; grid-template-columns:repeat(3, 1fr); gap:0; border-top:1px solid var(--bt-line); border-bottom:1px solid var(--bt-line); }
.bt-wd-proof__item { padding:40px 32px; display:flex; gap:18px; align-items:flex-start; background:transparent; }
.bt-wd-proof__item + .bt-wd-proof__item { border-left:1px solid var(--bt-line); }
.bt-wd-proof__icon { width:24px; height:24px; flex-shrink:0; }
.bt-wd-proof__icon svg { width:24px; height:24px; color:var(--bt-teal-2); }
.bt-wd-proof__t { font-weight:500; font-size:16px; color:var(--bt-forest); }
.bt-wd-proof__d { font-size:13.5px; color:var(--bt-ink-2); margin-top:5px; font-weight:300; line-height:1.55; }

/* FAQ */
.bt-wd-faq { max-width:900px; margin:0 auto; }
.bt-wd-faq__item { border-bottom:1px solid var(--bt-line); }
.bt-wd-faq__q { width:100%; text-align:left; background:transparent; border:0; padding:28px 4px; display:flex; gap:18px; align-items:center; font-size:18px; font-weight:400; color:var(--bt-forest); }
.bt-wd-faq__q:hover { opacity:0.65; }
.bt-wd-faq__chev { width:20px; height:20px; flex-shrink:0; margin-left:auto; color:var(--bt-forest); transition:transform 0.3s var(--bt-ease); }
.bt-wd-faq__q[aria-expanded="true"] .bt-wd-faq__chev { transform:rotate(180deg); }
.bt-wd-faq__a { overflow:hidden; max-height:0; transition:max-height 0.4s var(--bt-ease); }
.bt-wd-faq__a-inner { padding:0 4px 30px; font-size:15.5px; line-height:1.7; color:var(--bt-ink-2); max-width:72ch; font-weight:300; }

/* final CTA band (dark anchor) */
.bt-wd-cta-band { background:var(--bt-forest); color:#fff; text-align:center; position:relative; overflow:hidden; }
.bt-wd-cta-band__inner { max-width:720px; margin:0 auto; padding:clamp(72px,9vw,128px) var(--bt-gut); position:relative; z-index:2; }
.bt-wd-cta-band h2 { color:#fff; margin-bottom:22px; }
.bt-wd-cta-band p { color:rgba(255,255,255,0.72); font-size:18px; margin-bottom:40px; font-weight:300; }

/* =========================================================================
   AUTH GATE (light, editorial)
   ========================================================================= */
.bt-wd-auth { min-height:100vh; display:grid; grid-template-columns:1.1fr 1fr; background:var(--bt-canvas); }
.bt-wd-auth__bg { position:relative; background:var(--bt-stone); overflow:hidden; display:grid; place-items:center; }
.bt-wd-auth__bg .bt-wd-garment { width:62%; aspect-ratio:4/5; }
.bt-wd-auth__glow { display:none; }
.bt-wd-auth__card { align-self:center; justify-self:center; width:100%; max-width:440px; background:transparent; padding:clamp(32px,5vw,56px); }
.bt-wd-auth__brand { text-align:left; margin-bottom:36px; }
.bt-wd-auth__brand img { display:block; height:60px; width:auto; margin:0 0 28px; }
.bt-wd-auth__title { font-size:28px; font-weight:400; color:var(--bt-forest); letter-spacing:-0.01em; line-height:1.15; }
.bt-wd-auth__sub { font-size:14.5px; color:var(--bt-ink-2); margin-top:12px; font-weight:300; }
.bt-wd-tabs { display:grid; grid-template-columns:1fr 1fr; gap:0; border-bottom:1px solid var(--bt-line); margin-bottom:30px; }
.bt-wd-tab { border:0; background:transparent; padding:14px 4px; font-weight:500; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--bt-ink-3); position:relative; }
.bt-wd-tab[aria-pressed="true"] { color:var(--bt-forest); }
.bt-wd-tab[aria-pressed="true"]::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background:var(--bt-forest); }

/* forms */
.bt-wd-field { margin-bottom:22px; }
.bt-wd-label { display:block; font-size:11px; font-weight:500; letter-spacing:0.12em; text-transform:uppercase; color:var(--bt-ink-2); margin-bottom:9px; }
.bt-wd-label .bt-wd-opt { font-weight:400; letter-spacing:0; text-transform:none; color:var(--bt-ink-3); }
.bt-wd-input, .bt-wd-select, .bt-wd-textarea { width:100%; padding:14px 2px; border:0; border-bottom:1.5px solid var(--bt-line-input); border-radius:0; font-size:16px; font-family:inherit; color:var(--bt-ink); background:transparent; transition:border-color 0.2s ease; }
.bt-wd-input:focus, .bt-wd-select:focus, .bt-wd-textarea:focus { outline:none; border-color:var(--bt-forest); }
.bt-wd-input[aria-invalid="true"] { border-color:var(--bt-urgent); }
.bt-wd-select { padding-block:14px; }
.bt-wd-hint { font-size:12.5px; color:var(--bt-ink-3); margin-top:8px; font-weight:300; }
.bt-wd-err { font-size:13px; color:var(--bt-err-text); margin-top:9px; display:flex; gap:6px; align-items:center; font-weight:400; }
.bt-wd-err svg { width:15px; height:15px; flex-shrink:0; }
.bt-wd-inputwrap { position:relative; }
.bt-wd-reveal-pw { position:absolute; right:0; top:50%; transform:translateY(-50%); background:transparent; border:0; padding:8px; color:var(--bt-ink-3); font-size:11px; font-weight:500; letter-spacing:0.1em; text-transform:uppercase; }
.bt-wd-reveal-pw:hover { color:var(--bt-forest); }
.bt-wd-pwrules { list-style:none; padding:0; margin:14px 0 0; display:grid; gap:7px; }
.bt-wd-pwrules li { font-size:12.5px; color:var(--bt-ink-3); display:flex; gap:8px; align-items:center; font-weight:300; }
.bt-wd-pwrules li svg { width:14px; height:14px; flex-shrink:0; }
.bt-wd-pwrules li[data-met="true"] { color:var(--bt-teal-text); }
.bt-wd-pwrules li[data-met="true"] svg { color:var(--bt-teal-text); }
.bt-wd-pwrules li[data-met="false"] svg { color:var(--bt-ink-3); }
.bt-wd-errsum { background:#FCF1EC; border:1px solid #F0D3C8; padding:16px 18px; margin-bottom:24px; }
.bt-wd-errsum h3 { font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--bt-err-text); margin-bottom:8px; }
.bt-wd-errsum a { color:var(--bt-err-text); font-size:13px; text-decoration:underline; display:block; padding:2px 0; }
.bt-wd-auth__foot { margin-top:26px; font-size:12px; color:var(--bt-ink-3); line-height:1.6; text-align:left; font-weight:300; }
.bt-wd-auth__demo { margin-top:18px; border-left:2px solid var(--bt-teal); padding:4px 0 4px 14px; font-size:12px; color:var(--bt-ink-2); line-height:1.6; font-weight:300; }
.bt-wd-auth__demo svg { color:var(--bt-teal-2); }
.bt-wd-authsubmit-wrap { margin-top:8px; }
#bt-wd-authsubmit { margin-top:6px; }

/* =========================================================================
   SHOP
   ========================================================================= */
.bt-wd-shop-hero { background:var(--bt-canvas); color:var(--bt-forest); padding:clamp(48px,6vw,86px) 0 clamp(36px,4vw,52px); position:relative; border-bottom:1px solid var(--bt-line); }
.bt-wd-shop-hero__title { color:var(--bt-forest); max-width:16ch; margin-top:18px; }
.bt-wd-shop-hero__sub { color:var(--bt-ink-2); max-width:54ch; margin-top:20px; font-size:18px; font-weight:300; line-height:1.6; }
.bt-wd-shop-hero__filters { display:flex; gap:8px; flex-wrap:wrap; margin-top:38px; }
.bt-wd-chip { background:transparent; border:1px solid var(--bt-line-2); color:var(--bt-ink-2); padding:10px 20px; border-radius:999px; font-size:11px; font-weight:500; letter-spacing:0.1em; text-transform:uppercase; transition:all 0.2s ease; }
.bt-wd-chip:hover { border-color:var(--bt-forest); color:var(--bt-forest); }
.bt-wd-chip[aria-pressed="true"] { background:var(--bt-forest); color:#fff; border-color:var(--bt-forest); }

.bt-wd-cat-divider { font-size:13px; font-weight:500; letter-spacing:0.22em; color:var(--bt-ink-3); text-transform:uppercase; padding:24px 0 4px; display:flex; align-items:baseline; gap:16px; border-bottom:1px solid var(--bt-line); margin-bottom:8px; }
.bt-wd-cat-divider span { font-size:12px; font-weight:300; letter-spacing:0.04em; color:var(--bt-ink-3); text-transform:none; }
/* department band (Wardrobe / Goods) */
.bt-wd-dept-band { padding:30px 0 18px; }
.bt-wd-dept-band__eyebrow { display:block; font-size:12px; font-weight:600; letter-spacing:0.24em; text-transform:uppercase; color:var(--bt-teal-text); margin-bottom:10px; }
.bt-wd-dept-band__title { font-size:clamp(30px,4.4vw,46px); font-weight:300; letter-spacing:-0.01em; color:var(--bt-forest); line-height:1.05; }
.bt-wd-dept-band__sub { margin-top:8px; font-size:16px; font-weight:300; color:var(--bt-ink-2); max-width:46ch; }
.bt-wd-grid > div:first-child .bt-wd-dept-band { padding-top:6px; }
/* goods finish chip (configurator) */
.bt-wd-finish { display:flex; align-items:center; gap:12px; }
.bt-wd-swatch--static { width:34px; height:34px; border-radius:999px; box-shadow:inset 0 0 0 2px #fff, 0 0 0 1px var(--bt-line-2); flex:0 0 auto; }
.bt-wd-finish__note { font-size:14px; font-weight:300; color:var(--bt-ink-2); }

.bt-wd-grid { display:grid; grid-template-columns:repeat(12, 1fr); gap:clamp(28px,3vw,56px) clamp(20px,2.2vw,40px); }
.bt-wd-card { grid-column:span 6; background:transparent; border:0; display:flex; flex-direction:column; }
.bt-wd-card--feature { grid-column:span 6; }
.bt-wd-card__media { position:relative; display:block; overflow:hidden; background:var(--bt-canvas); }
.bt-wd-card__media .bt-wd-garment { transition:transform 0.7s var(--bt-ease); }
.bt-wd-card:hover .bt-wd-card__media .bt-wd-garment { transform:scale(1.04); }
.bt-wd-card__body { padding:18px 2px 0; display:flex; flex-direction:column; gap:5px; flex:1; }
.bt-wd-card__code { font-size:10px; font-weight:500; letter-spacing:0.18em; text-transform:uppercase; color:var(--bt-ink-3); }
.bt-wd-card__name { font-size:16px; font-weight:400; color:var(--bt-forest); align-self:flex-start; }
.bt-wd-card:hover .bt-wd-card__name { text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.bt-wd-card__blurb { font-size:13px; line-height:1.55; color:var(--bt-ink-2); font-weight:300; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.bt-wd-card__foot { margin-top:10px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.bt-wd-card__price { font-size:16px; font-weight:500; color:var(--bt-forest); }
.bt-wd-card__price small { font-size:11px; font-weight:300; color:var(--bt-ink-3); }
.bt-wd-card__swatches { display:flex; gap:5px; }
.bt-wd-sw { width:14px; height:14px; border-radius:999px; border:1px solid rgba(0,0,0,0.14); }
.bt-wd-card__cta { margin-top:14px; }
.bt-wd-card__cta.bt-wd-btn { padding:13px 20px; min-height:auto; }

/* =========================================================================
   CONFIGURATOR
   ========================================================================= */
.bt-wd-config { display:grid; grid-template-columns:1.1fr 0.9fr; gap:clamp(32px,5vw,80px); align-items:start; }
.bt-wd-config__media { position:sticky; top:96px; }
.bt-wd-config__stage { background:var(--bt-canvas); border:1px solid var(--bt-line); border-radius:3px; padding:0; position:relative; overflow:hidden; }
.bt-wd-config__garment { aspect-ratio:4 / 5; }
.bt-wd-config__garment .bt-wd-garment { aspect-ratio:4/5; }
.bt-wd-config__thumbs { display:flex; gap:10px; margin-top:12px; }
.bt-wd-thumb { width:72px; height:88px; border:1px solid var(--bt-line); overflow:hidden; background:var(--bt-stone); padding:0; position:relative; }
.bt-wd-thumb[aria-pressed="true"] { border-color:var(--bt-forest); }
.bt-wd-thumb .bt-wd-garment { aspect-ratio:auto; height:100%; }
.bt-wd-thumb__label { position:absolute; bottom:0; left:0; right:0; font-size:9px; font-weight:500; text-transform:uppercase; letter-spacing:0.08em; color:var(--bt-ink-2); background:rgba(247,246,242,0.96); padding:3px 2px; text-align:center; }

.bt-wd-config__panel { padding-top:8px; }
.bt-wd-config__crumb { font-size:11px; letter-spacing:0.12em; text-transform:uppercase; color:var(--bt-ink-3); margin-bottom:22px; display:inline-flex; align-items:center; gap:8px; }
.bt-wd-config__crumb:hover { color:var(--bt-forest); }
.bt-wd-config__cat { font-size:11px; font-weight:500; letter-spacing:0.2em; text-transform:uppercase; color:var(--bt-ink-3); }
.bt-wd-config__name { font-size:clamp(30px,3.6vw,44px); font-weight:300; color:var(--bt-forest); letter-spacing:-0.01em; margin:10px 0 16px; line-height:1.05; }
.bt-wd-config__blurb { font-size:15.5px; line-height:1.65; color:var(--bt-ink-2); margin-bottom:34px; max-width:50ch; font-weight:300; }

.bt-wd-opt-group { margin-bottom:30px; }
.bt-wd-opt-group__head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:14px; gap:12px; }
.bt-wd-opt-group__label { font-size:11px; font-weight:500; letter-spacing:0.16em; text-transform:uppercase; color:var(--bt-forest); }
.bt-wd-opt-group__sel { font-size:13px; color:var(--bt-ink-2); font-weight:400; }
.bt-wd-sizeguide { font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--bt-ink-2); font-weight:500; background:transparent; border:0; text-decoration:underline; text-underline-offset:3px; padding:0; }
.bt-wd-sizeguide:hover { color:var(--bt-forest); }

.bt-wd-radio-row { display:flex; flex-wrap:wrap; gap:8px; }
.bt-wd-fit, .bt-wd-size { border:1px solid var(--bt-line-2); background:#fff; border-radius:var(--bt-radius); padding:12px 18px; font-size:13px; font-weight:400; color:var(--bt-ink); transition:all 0.18s var(--bt-ease); min-width:48px; min-height:46px; }
.bt-wd-fit:hover, .bt-wd-size:hover { border-color:var(--bt-forest); }
.bt-wd-fit[aria-checked="true"], .bt-wd-size[aria-checked="true"] { background:var(--bt-forest); color:#fff; border-color:var(--bt-forest); }
.bt-wd-size[aria-disabled="true"] { color:var(--bt-ink-3); cursor:not-allowed; position:relative; background:var(--bt-paper); border-style:solid; border-color:var(--bt-line); }
.bt-wd-size[aria-disabled="true"]::after { content:""; position:absolute; inset:0; background:linear-gradient(to top left, transparent 47%, var(--bt-line-2) 48%, var(--bt-line-2) 52%, transparent 53%); }

.bt-wd-swatches { display:flex; flex-wrap:wrap; gap:12px; }
.bt-wd-swatch { width:38px; height:38px; border-radius:999px; border:0; position:relative; padding:0; cursor:pointer; box-shadow:inset 0 0 0 2px #fff, 0 0 0 1.5px var(--bt-line-input); }
.bt-wd-swatch[aria-checked="true"] { box-shadow:inset 0 0 0 2px #fff, 0 0 0 1.5px var(--bt-forest); }
.bt-wd-swatch__tick { position:absolute; inset:0; display:none; place-items:center; }
.bt-wd-swatch[aria-checked="true"] .bt-wd-swatch__tick { display:grid; }
.bt-wd-swatch__tick svg { width:16px; height:16px; filter:drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }

.bt-wd-stepper { display:inline-flex; align-items:center; border:1px solid var(--bt-line-2); border-radius:var(--bt-radius); overflow:hidden; }
.bt-wd-stepper button { width:46px; height:48px; background:#fff; border:0; font-size:18px; color:var(--bt-forest); display:grid; place-items:center; }
.bt-wd-stepper button:hover:not([disabled]) { background:var(--bt-paper); }
.bt-wd-stepper button[disabled] { color:var(--bt-ink-3); opacity:0.5; cursor:not-allowed; }
.bt-wd-stepper input { width:54px; height:48px; border:0; border-left:1px solid var(--bt-line-2); border-right:1px solid var(--bt-line-2); text-align:center; font-size:15px; font-weight:500; color:var(--bt-forest); -moz-appearance:textfield; }
.bt-wd-stepper input::-webkit-outer-spin-button, .bt-wd-stepper input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }

.bt-wd-config__buy { margin-top:34px; padding-top:30px; border-top:1px solid var(--bt-line); }
.bt-wd-config__total { display:flex; align-items:baseline; gap:14px; margin-bottom:4px; }
.bt-wd-config__total-lbl { font-size:11px; letter-spacing:0.14em; text-transform:uppercase; color:var(--bt-ink-3); font-weight:500; }
.bt-wd-config__total-val { font-size:30px; font-weight:400; color:var(--bt-forest); letter-spacing:-0.01em; }
.bt-wd-config__total-val small { font-size:12px; font-weight:300; color:var(--bt-ink-3); }
.bt-wd-config__unit { font-size:12.5px; color:var(--bt-ink-3); margin-top:0; margin-bottom:22px; font-weight:300; }
.bt-wd-config__reason { font-size:12.5px; color:var(--bt-ink-3); margin-top:14px; font-weight:300; }
.bt-wd-config__reassure { display:flex; align-items:flex-start; gap:10px; margin-top:20px; font-size:12.5px; color:var(--bt-ink-2); line-height:1.6; font-weight:300; }
.bt-wd-config__reassure svg { width:16px; height:16px; color:var(--bt-teal-2); flex-shrink:0; margin-top:1px; }

/* =========================================================================
   DRAWER / MODAL
   ========================================================================= */
.bt-wd-overlay { position:fixed; inset:0; background:rgba(20,30,25,0.4); z-index:500; opacity:0; visibility:hidden; transition:opacity 0.3s ease, visibility 0.3s; }
.bt-wd-overlay[data-open="true"] { opacity:1; visibility:visible; }
.bt-wd-drawer { position:fixed; top:0; right:0; height:100%; width:min(440px, 92vw); background:#fff; z-index:600; transform:translateX(100%); visibility:hidden; transition:transform 0.4s var(--bt-ease), visibility 0.4s; box-shadow:var(--bt-shadow-rail); display:flex; flex-direction:column; }
.bt-wd-drawer[data-open="true"] { transform:none; visibility:visible; }
.bt-wd-drawer__head { padding:26px 28px; border-bottom:1px solid var(--bt-line); display:flex; align-items:center; justify-content:space-between; }
.bt-wd-drawer__title { font-size:13px; font-weight:500; letter-spacing:0.14em; text-transform:uppercase; color:var(--bt-forest); }
.bt-wd-drawer__close { width:40px; height:40px; border:0; background:transparent; display:grid; place-items:center; color:var(--bt-ink-2); }
.bt-wd-drawer__close:hover { color:var(--bt-forest); }
.bt-wd-drawer__body { padding:28px; overflow:auto; }
.bt-wd-sizetable { width:100%; border-collapse:collapse; font-size:14px; }
.bt-wd-sizetable th, .bt-wd-sizetable td { padding:12px 10px; text-align:center; border-bottom:1px solid var(--bt-line); }
.bt-wd-sizetable th { color:var(--bt-ink-3); font-weight:500; font-size:11px; letter-spacing:0.08em; text-transform:uppercase; }
.bt-wd-sizetable td:first-child, .bt-wd-sizetable th:first-child { text-align:left; font-weight:500; color:var(--bt-forest); }

/* =========================================================================
   CART
   ========================================================================= */
.bt-wd-cartgrid { display:grid; grid-template-columns:1.7fr 1fr; gap:clamp(32px,4vw,64px); align-items:start; }
.bt-wd-cart-line { display:grid; grid-template-columns:104px 1fr auto; gap:22px; padding:28px 0; border-bottom:1px solid var(--bt-line); align-items:start; }
.bt-wd-cart-line:first-child { border-top:1px solid var(--bt-line); }
.bt-wd-cart-line__media { width:104px; height:130px; overflow:hidden; background:var(--bt-stone); }
.bt-wd-cart-line__media .bt-wd-garment { aspect-ratio:auto; height:100%; }
.bt-wd-cart-line__name { font-size:17px; font-weight:400; color:var(--bt-forest); }
.bt-wd-cart-line__meta { font-size:12px; letter-spacing:0.04em; color:var(--bt-ink-2); margin-top:8px; display:flex; flex-wrap:wrap; gap:5px 16px; font-weight:300; }
.bt-wd-cart-line__meta b { font-weight:400; color:var(--bt-ink); }
.bt-wd-cart-line__ctrls { display:flex; align-items:center; gap:18px; margin-top:16px; }
.bt-wd-cart-line__remove { background:transparent; border:0; color:var(--bt-ink-3); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; font-weight:500; display:inline-flex; gap:6px; align-items:center; padding:4px; }
.bt-wd-cart-line__remove:hover { color:var(--bt-err-text); }
.bt-wd-cart-line__remove svg { width:14px; height:14px; }
.bt-wd-cart-line__totals { text-align:right; min-width:110px; }
.bt-wd-cart-line__lt { font-size:17px; font-weight:500; color:var(--bt-forest); }
.bt-wd-cart-line__unit { font-size:12px; color:var(--bt-ink-3); margin-top:4px; font-weight:300; }

.bt-wd-summary { background:var(--bt-paper); border:0; padding:34px; position:sticky; top:96px; }
.bt-wd-summary__h { font-size:11px; font-weight:500; letter-spacing:0.16em; text-transform:uppercase; color:var(--bt-forest); margin-bottom:24px; }
.bt-wd-summary__row { display:flex; justify-content:space-between; gap:12px; padding:10px 0; font-size:14px; color:var(--bt-ink-2); font-weight:300; }
.bt-wd-summary__row b { color:var(--bt-ink); font-weight:400; }
.bt-wd-summary__row--total { border-top:1px solid var(--bt-line-2); margin-top:10px; padding-top:20px; font-size:15px; }
.bt-wd-summary__row--total b { font-size:24px; font-weight:400; color:var(--bt-forest); }
.bt-wd-summary__vat { font-size:12.5px; color:var(--bt-ink-3); }
.bt-wd-summary__cta { margin-top:26px; display:grid; gap:10px; }

.bt-wd-empty { text-align:center; padding:90px 20px; max-width:480px; margin:0 auto; }
.bt-wd-empty__icon { width:64px; height:64px; margin:0 auto 26px; display:grid; place-items:center; color:var(--bt-forest); }
.bt-wd-empty__icon svg { width:44px; height:44px; color:var(--bt-forest); }
.bt-wd-empty h2 { color:var(--bt-forest); margin-bottom:12px; }
.bt-wd-empty p { color:var(--bt-ink-2); margin-bottom:30px; font-weight:300; }

/* =========================================================================
   CHECKOUT
   ========================================================================= */
.bt-wd-steps-ind { display:flex; gap:8px; margin-bottom:48px; flex-wrap:wrap; }
.bt-wd-steps-ind__s { display:flex; align-items:center; gap:10px; font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--bt-ink-3); font-weight:500; }
.bt-wd-steps-ind__n { width:24px; height:24px; border-radius:999px; border:1px solid var(--bt-line-2); display:grid; place-items:center; font-size:12px; font-weight:500; }
.bt-wd-steps-ind__s[aria-current="step"] { color:var(--bt-forest); }
.bt-wd-steps-ind__s[aria-current="step"] .bt-wd-steps-ind__n { background:var(--bt-forest); color:#fff; border-color:var(--bt-forest); }
.bt-wd-steps-ind__s[data-done="true"] .bt-wd-steps-ind__n { background:var(--bt-forest); color:#fff; border-color:var(--bt-forest); }
.bt-wd-steps-ind__bar { width:30px; height:1px; background:var(--bt-line-2); align-self:center; }

.bt-wd-checkgrid { display:grid; grid-template-columns:1.5fr 1fr; gap:clamp(32px,4vw,64px); align-items:start; }
.bt-wd-fieldset { border:0; padding:0; margin:0 0 38px; }
.bt-wd-fieldset legend { font-size:11px; font-weight:500; letter-spacing:0.14em; text-transform:uppercase; color:var(--bt-forest); margin-bottom:22px; padding:0; display:flex; align-items:center; gap:12px; }
.bt-wd-fieldset legend span { width:24px; height:24px; border-radius:999px; border:1px solid var(--bt-line-2); color:var(--bt-forest); display:grid; place-items:center; font-size:12px; }
.bt-wd-2col { display:grid; grid-template-columns:1fr 1fr; gap:24px; }

.bt-wd-pay { display:grid; gap:0; border-top:1px solid var(--bt-line); }
.bt-wd-pay__card { border:0; border-bottom:1px solid var(--bt-line); padding:24px 2px; cursor:pointer; transition:background 0.2s ease; display:block; }
.bt-wd-pay__card:hover { background:var(--bt-paper); }
.bt-wd-pay__card[data-checked="true"] { background:transparent; }
.bt-wd-pay__top { display:flex; align-items:center; gap:14px; position:relative; cursor:pointer; }
.bt-wd-pay__input { position:absolute; left:0; top:50%; transform:translateY(-50%); width:20px; height:20px; margin:0; opacity:0; cursor:pointer; }
.bt-wd-pay__radio { width:20px; height:20px; border-radius:999px; border:1.5px solid var(--bt-line-input); flex-shrink:0; position:relative; }
.bt-wd-pay__input:focus-visible ~ .bt-wd-pay__radio { outline:2px solid var(--bt-forest); outline-offset:2px; }
.bt-wd-pay__card[data-checked="true"] .bt-wd-pay__radio { border-color:var(--bt-forest); }
.bt-wd-pay__card[data-checked="true"] .bt-wd-pay__radio::after { content:""; position:absolute; inset:3px; border-radius:999px; background:var(--bt-forest); }
.bt-wd-pay__title { font-size:16px; font-weight:400; color:var(--bt-forest); }
.bt-wd-pay__tag { margin-left:auto; font-size:10px; font-weight:500; letter-spacing:0.1em; text-transform:uppercase; color:var(--bt-ink-3); }
.bt-wd-pay__desc { font-size:13.5px; color:var(--bt-ink-2); margin-top:9px; padding-left:34px; line-height:1.6; font-weight:300; }
.bt-wd-pay__reveal { padding:4px 0 0 34px; margin-top:16px; }
.bt-wd-subopt { display:flex; gap:10px; align-items:flex-start; padding:12px 0; }
.bt-wd-subopt input { margin-top:3px; }
.bt-wd-subopt label { font-size:13.5px; color:var(--bt-ink); font-weight:300; }
.bt-wd-subopt small { display:block; color:var(--bt-ink-3); margin-top:3px; }

.bt-wd-consent { background:var(--bt-paper); border:0; border-left:2px solid var(--bt-teal); padding:22px; margin-top:14px; }
.bt-wd-consent__amt { font-weight:500; color:var(--bt-forest); }
.bt-wd-consent__text { font-size:13px; line-height:1.65; color:var(--bt-ink); font-weight:300; }
.bt-wd-check { display:flex; gap:12px; align-items:flex-start; margin-top:16px; }
.bt-wd-check input { width:19px; height:19px; margin-top:2px; flex-shrink:0; accent-color:var(--bt-forest); }
.bt-wd-check label { font-size:13.5px; line-height:1.6; color:var(--bt-ink); font-weight:300; }
.bt-wd-popia { font-size:12px; color:var(--bt-ink-2); margin-top:16px; padding-top:16px; border-top:1px solid var(--bt-line-2); line-height:1.6; font-weight:300; }

/* =========================================================================
   CONFIRMATION
   ========================================================================= */
.bt-wd-confirm { text-align:center; max-width:640px; margin:0 auto; }
.bt-wd-confirm__tick { width:72px; height:72px; margin:0 auto 30px; border-radius:999px; border:1px solid var(--bt-line-2); display:grid; place-items:center; }
.bt-wd-confirm__tick svg { width:36px; height:36px; color:var(--bt-teal-2); }
.bt-wd-confirm__ref { display:inline-flex; align-items:center; gap:10px; border:1px solid var(--bt-line); padding:10px 22px; font-weight:500; letter-spacing:0.1em; color:var(--bt-forest); margin:20px 0 30px; font-size:14px; white-space:nowrap; text-transform:uppercase; }
.bt-wd-confirm__next { background:var(--bt-paper); border:0; padding:28px; text-align:left; margin:28px 0; }
.bt-wd-confirm__next h2 { font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:var(--bt-forest); margin:0 0 12px; display:flex; gap:9px; align-items:center; }
.bt-wd-confirm__next h2 svg { width:18px; height:18px; color:var(--bt-teal-2); }
.bt-wd-confirm__next p { font-size:14px; color:var(--bt-ink-2); line-height:1.65; font-weight:300; }
.bt-wd-confirm__cta { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:8px; }

/* =========================================================================
   MY ORDERS + ADMIN
   ========================================================================= */
.bt-wd-order-card { background:#fff; border:1px solid var(--bt-line); padding:26px 28px; margin-bottom:14px; }
.bt-wd-order-card__top { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center; margin-bottom:16px; }
.bt-wd-order-card__ref { font-weight:500; letter-spacing:0.06em; color:var(--bt-forest); font-size:15px; }
.bt-wd-order-card__date { font-size:12px; letter-spacing:0.06em; text-transform:uppercase; color:var(--bt-ink-3); }
.bt-wd-order-card__items { font-size:14px; color:var(--bt-ink-2); line-height:1.6; font-weight:300; }
.bt-wd-order-card__foot { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-top:18px; padding-top:18px; border-top:1px solid var(--bt-line); flex-wrap:wrap; }
.bt-wd-order-card__total { font-size:19px; font-weight:500; color:var(--bt-forest); }

.bt-wd-status { display:inline-flex; align-items:center; gap:7px; font-size:11px; font-weight:500; letter-spacing:0.06em; text-transform:uppercase; padding:6px 12px; border-radius:2px; }
.bt-wd-status svg { width:13px; height:13px; }
.bt-wd-status--paid { background:var(--bt-grow-soft); color:var(--bt-teal-text); }
.bt-wd-status--payroll { background:var(--bt-paper-2); color:var(--bt-leaf-text); }
.bt-wd-status--pending { background:#FBF3E3; color:var(--bt-amber-text); }

.bt-wd-admin-stats { display:grid; grid-template-columns:repeat(4, 1fr); gap:0; margin-bottom:44px; border-top:1px solid var(--bt-line); border-bottom:1px solid var(--bt-line); }
.bt-wd-stat { padding:30px 28px; }
.bt-wd-stat + .bt-wd-stat { border-left:1px solid var(--bt-line); }
.bt-wd-stat__v { font-size:38px; font-weight:300; color:var(--bt-forest); letter-spacing:-0.02em; line-height:1; }
.bt-wd-stat__l { font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--bt-ink-3); margin-top:12px; font-weight:500; }

.bt-wd-toolbar { display:flex; gap:14px; flex-wrap:wrap; align-items:center; margin-bottom:24px; justify-content:space-between; }
.bt-wd-toolbar__filters { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.bt-wd-search { position:relative; }
.bt-wd-search input { padding-left:30px; min-width:240px; border-bottom:1.5px solid var(--bt-line-input); }
.bt-wd-search svg { position:absolute; left:4px; top:50%; transform:translateY(-50%); width:16px; height:16px; color:var(--bt-ink-3); }

.bt-wd-tablewrap { overflow-x:auto; border:1px solid var(--bt-line); background:#fff; }
.bt-wd-table { width:100%; border-collapse:collapse; font-size:13.5px; min-width:920px; }
.bt-wd-table th { text-align:left; background:var(--bt-paper); color:var(--bt-ink-3); font-weight:500; font-size:10.5px; letter-spacing:0.1em; text-transform:uppercase; padding:16px; border-bottom:1px solid var(--bt-line); white-space:nowrap; position:sticky; top:0; }
.bt-wd-table td { padding:16px; border-bottom:1px solid var(--bt-line); color:var(--bt-ink-2); vertical-align:top; font-weight:300; }
.bt-wd-table tr:last-child td { border-bottom:0; }
.bt-wd-table tr:hover td { background:var(--bt-paper); }
.bt-wd-table__ref { font-weight:500; color:var(--bt-forest); white-space:nowrap; letter-spacing:0.04em; }
.bt-wd-table__total { font-weight:500; color:var(--bt-forest); white-space:nowrap; }
.bt-wd-method { display:inline-flex; align-items:center; gap:6px; font-weight:400; color:var(--bt-ink); white-space:nowrap; }
.bt-wd-method svg { width:15px; height:15px; color:var(--bt-ink-3); }
.bt-wd-consent-y { color:var(--bt-teal-text); font-weight:500; display:inline-flex; gap:5px; align-items:center; }
.bt-wd-consent-n { color:var(--bt-ink-3); display:inline-flex; gap:5px; align-items:center; }
.bt-wd-consent-y svg, .bt-wd-consent-n svg { width:14px; height:14px; }
.bt-wd-admin-note { font-size:12.5px; color:var(--bt-ink-2); margin-top:20px; display:flex; gap:9px; align-items:flex-start; border-left:2px solid var(--bt-teal); padding:6px 0 6px 14px; line-height:1.6; font-weight:300; }
.bt-wd-admin-note svg { width:17px; height:17px; color:var(--bt-teal-2); flex-shrink:0; margin-top:1px; }

.bt-wd-banner { background:var(--bt-paper); color:var(--bt-ink-2); border-left:2px solid var(--bt-teal); padding:16px 20px; margin-bottom:28px; display:flex; gap:12px; align-items:center; font-size:13px; font-weight:300; }
.bt-wd-banner svg { width:18px; height:18px; color:var(--bt-teal-2); flex-shrink:0; }
.bt-wd-banner--urgent { border-left-color:var(--bt-urgent); }
.bt-wd-banner--urgent svg { color:var(--bt-urgent); }

/* =========================================================================
   TOAST
   ========================================================================= */
.bt-wd-toast-wrap { position:fixed; bottom:28px; left:50%; transform:translateX(-50%); z-index:900; display:flex; flex-direction:column; gap:10px; align-items:center; pointer-events:none; }
.bt-wd-toast { background:var(--bt-forest); color:#fff; padding:15px 24px; box-shadow:var(--bt-shadow-rail); display:flex; align-items:center; gap:12px; font-weight:400; font-size:13px; letter-spacing:0.04em; pointer-events:auto; transform:translateY(20px); opacity:0; transition:transform 0.4s var(--bt-ease), opacity 0.4s var(--bt-ease); }
.bt-wd-toast.bt-wd-in { transform:none; opacity:1; }
.bt-wd-toast__tick { width:24px; height:24px; border-radius:999px; background:var(--bt-teal); color:var(--bt-forest); display:grid; place-items:center; flex-shrink:0; }
.bt-wd-toast__tick svg { width:14px; height:14px; }

.bt-wd-page-head { padding:clamp(48px,6vw,82px) 0 12px; }
.bt-wd-pagewrap { padding-bottom:clamp(64px,9vw,120px); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width:1024px) {
  .bt-wd-hero__inner { grid-template-columns:1fr; gap:48px; }
  .bt-wd-hero__stage { max-width:460px; }
  .bt-wd-config { grid-template-columns:1fr; }
  .bt-wd-config__media { position:static; }
  .bt-wd-checkgrid { grid-template-columns:1fr; }
  .bt-wd-cartgrid { grid-template-columns:1fr; }
  .bt-wd-summary { position:static; }
  .bt-wd-card, .bt-wd-card--feature { grid-column:span 6; }
  .bt-wd-footer__grid { grid-template-columns:1fr 1fr; gap:36px; }
  .bt-wd-admin-stats { grid-template-columns:1fr 1fr; }
  .bt-wd-stat:nth-child(3) { border-left:0; }
  .bt-wd-stat:nth-child(n+3) { border-top:1px solid var(--bt-line); }
  .bt-wd-auth { grid-template-columns:1fr; }
  .bt-wd-auth__bg { display:none; }
}
@media (max-width:860px) {
  .bt-wd-nav__links { display:none; }
  .bt-wd-nav__burger { display:inline-flex; }
  .bt-wd-steps { grid-template-columns:1fr 1fr; gap:36px; }
  .bt-wd-proof { grid-template-columns:1fr; }
  .bt-wd-proof__item + .bt-wd-proof__item { border-left:0; border-top:1px solid var(--bt-line); }
}
@media (max-width:560px) {
  .bt-wd-card, .bt-wd-card--feature { grid-column:span 6; }
  .bt-wd-grid { gap:28px 14px; }
  .bt-wd-steps { grid-template-columns:1fr; }
  .bt-wd-2col { grid-template-columns:1fr; }
  .bt-wd-footer__grid { grid-template-columns:1fr; }
  .bt-wd-admin-stats { grid-template-columns:1fr 1fr; }
  .bt-wd-cart-line { grid-template-columns:80px 1fr; }
  .bt-wd-cart-line__totals { grid-column:1 / -1; text-align:left; display:flex; justify-content:space-between; border-top:1px solid var(--bt-line); padding-top:14px; margin-top:4px; }
  .bt-wd-nav__wordmark { display:none; }
  .bt-wd-hero__trust { gap:18px; }
}

/* mobile menu */
.bt-wd-nav__mobile { display:none; }
.bt-wd-mobilemenu { position:fixed; inset:74px 0 0; background:var(--bt-canvas); z-index:99; padding:32px var(--bt-gut); transform:translateX(100%); visibility:hidden; transition:transform 0.4s var(--bt-ease), visibility 0.4s var(--bt-ease); overflow:auto; }
.bt-wd-mobilemenu[data-open="true"] { transform:none; visibility:visible; }
.bt-wd-mobilemenu a { display:block; color:var(--bt-forest); font-size:15px; font-weight:500; letter-spacing:0.1em; text-transform:uppercase; padding:20px 0; border-bottom:1px solid var(--bt-line); }

.bt-wd-mobilebuy { display:none; }
@media (max-width:1024px) {
  .bt-wd-mobilebuy { position:sticky; bottom:0; z-index:80; display:flex; align-items:center; justify-content:space-between; gap:16px; background:#fff; border-top:1px solid var(--bt-line); padding:14px var(--bt-gut); margin:0 calc(-1 * var(--bt-gut)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
  .bt-wd-reveal { opacity:1; transform:none; }
  .bt-wd-ul::after { transition:none; }
}
/* ============================================================================
   THEME ARMOUR (for the embedded WordPress build)
   When the shop renders inside a themed page, the host theme's global button /
   link / input styles bleed onto the shop's controls (buttons take the theme
   accent colour). Re-assert the Braintree brand under the shop scopes with
   !important so the theme can never win, whatever the stylesheet load order.
   ============================================================================ */
#bt-wd-app button, .bt-wd-auth button, #bt-wd-toast button { box-shadow:none !important; text-shadow:none !important; background-image:none !important; }
#bt-wd-app a, .bt-wd-auth a { box-shadow:none !important; }
#bt-wd-app .bt-wd-chip { background:transparent !important; color:var(--bt-ink-2) !important; border:1px solid var(--bt-line-2) !important; }
#bt-wd-app .bt-wd-chip:hover { border-color:var(--bt-forest) !important; color:var(--bt-forest) !important; }
#bt-wd-app .bt-wd-chip[aria-pressed="true"] { background:var(--bt-forest) !important; color:#fff !important; border-color:var(--bt-forest) !important; }
#bt-wd-app .bt-wd-btn--forest, #bt-wd-app .bt-wd-btn--grow, .bt-wd-auth .bt-wd-btn--forest { background:var(--bt-forest) !important; color:#fff !important; border-color:var(--bt-forest) !important; }
#bt-wd-app .bt-wd-btn--forest:hover, #bt-wd-app .bt-wd-btn--grow:hover, .bt-wd-auth .bt-wd-btn--forest:hover { background:var(--bt-forest-2) !important; }
#bt-wd-app .bt-wd-btn--outline, .bt-wd-auth .bt-wd-btn--outline { background:transparent !important; color:var(--bt-forest) !important; border:1px solid var(--bt-forest) !important; }
#bt-wd-app .bt-wd-btn--outline:hover, .bt-wd-auth .bt-wd-btn--outline:hover { background:var(--bt-forest) !important; color:#fff !important; }
#bt-wd-app .bt-wd-btn--outline-light { background:transparent !important; color:#fff !important; border:1px solid rgba(255,255,255,0.5) !important; }
#bt-wd-app .bt-wd-btn--outline-light:hover { background:#fff !important; color:var(--bt-forest) !important; }
/* v1.0.11: the tabs were never armoured. The theme's global `button{background-color:#FF8200!important}`
   beat `.bt-wd-tab{background:transparent}` (no !important), turning the sign-in tabs orange. */
.bt-wd-auth .bt-wd-tab, #bt-wd-app .bt-wd-tab { background:transparent !important; border-radius:0 !important; box-shadow:none !important; color:var(--bt-ink-3) !important; }
.bt-wd-auth .bt-wd-tab[aria-pressed="true"], #bt-wd-app .bt-wd-tab[aria-pressed="true"] { color:var(--bt-forest) !important; }
#bt-wd-app .bt-wd-nav__link { color:var(--bt-ink-2) !important; }
#bt-wd-app .bt-wd-nav__link:hover, #bt-wd-app .bt-wd-nav__link[aria-current="page"] { color:var(--bt-forest) !important; }
#bt-wd-app .bt-wd-cart-pill { background:transparent !important; color:var(--bt-forest) !important; }
#bt-wd-app .bt-wd-cart-pill__count { background:var(--bt-forest) !important; color:#fff !important; }
#bt-wd-app .bt-wd-acct__avatar, .bt-wd-auth .bt-wd-acct__avatar { background:transparent !important; color:var(--bt-forest) !important; border:1px solid var(--bt-line-2) !important; }
#bt-wd-app .bt-wd-acct__btn { background:transparent !important; }
.bt-wd-auth .bt-wd-tab { background:transparent !important; color:var(--bt-ink-2) !important; }
.bt-wd-auth .bt-wd-tab[aria-pressed="true"] { background:var(--bt-forest) !important; color:#fff !important; }
#bt-wd-app .bt-wd-fit, #bt-wd-app .bt-wd-size { background:var(--bt-canvas) !important; color:var(--bt-ink) !important; border:1px solid var(--bt-line-2) !important; }
#bt-wd-app .bt-wd-fit[aria-checked="true"], #bt-wd-app .bt-wd-size[aria-checked="true"] { background:var(--bt-forest) !important; color:#fff !important; border-color:var(--bt-forest) !important; }
#bt-wd-app .bt-wd-input, .bt-wd-auth .bt-wd-input, #bt-wd-app .bt-wd-select { background:var(--bt-canvas) !important; color:var(--bt-ink) !important; border:1px solid var(--bt-line-input) !important; box-shadow:none !important; }
#bt-wd-app .bt-wd-stepper button { background:var(--bt-canvas) !important; color:var(--bt-ink) !important; }
#bt-wd-app ul, #bt-wd-app ol, .bt-wd-auth ul, .bt-wd-footer ul { list-style:none !important; margin:0; }


/* THEME ARMOUR v1.0.5: the embedding theme forces ALL <button>s to orange (#FF8200 !important)
   with white text. The original armour whitelisted only the primary button classes; re-assert
   the shop's own transparent backgrounds + intended text colour for the classes it missed, so
   swatches, the size-guide badge, cart Remove, FAQ rows, account menu and the burger read on
   brand. (Colour swatches keep their own inline colour via an inline !important in app.js.) */
#bt-wd-app .bt-wd-sizeguide { background:transparent !important; color:var(--bt-ink-2) !important; }
#bt-wd-app .bt-wd-sizeguide:hover { color:var(--bt-forest) !important; }
#bt-wd-app .bt-wd-cart-line__remove { background:transparent !important; color:var(--bt-ink-3) !important; }
#bt-wd-app .bt-wd-cart-line__remove:hover { color:var(--bt-err-text) !important; }
#bt-wd-app .bt-wd-faq__q { background:transparent !important; color:var(--bt-forest) !important; }
#bt-wd-app .bt-wd-acct__item { background:transparent !important; color:var(--bt-ink) !important; }
#bt-wd-app .bt-wd-acct__item:hover { background:var(--bt-paper) !important; }
#bt-wd-app .bt-wd-nav__burger { background:transparent !important; color:var(--bt-forest) !important; }
#bt-wd-app .bt-wd-drawer__close { background:transparent !important; color:var(--bt-ink-2) !important; }
#bt-wd-app .bt-wd-drawer__close:hover { color:var(--bt-forest) !important; }

/* v1.0.5 verify pass: the armour's `button { box-shadow:none !important }` (above) strips the
   colour swatch's ring, so the White swatch had no visible edge and no selected ring. Re-assert
   the ring (resting + selected) with !important; and assert the view-toggle backdrop directly. */
#bt-wd-app .bt-wd-swatch { box-shadow:inset 0 0 0 2px #fff, 0 0 0 1.5px var(--bt-line-input) !important; }
#bt-wd-app .bt-wd-swatch[aria-checked="true"] { box-shadow:inset 0 0 0 2px #fff, 0 0 0 1.5px var(--bt-forest) !important; }
#bt-wd-app .bt-wd-thumb { background:var(--bt-stone) !important; }

/* ============================================================================
   v1.0.13 GATE + CONTROL ARMOUR (launch-review fixes)
   The gate renders in .bt-wd-auth, OUTSIDE #bt-wd-app, so #bt-wd-app rules never
   reach it; the theme's author-!important button/link/input rules otherwise win.
   ============================================================================ */
/* #7 WCAG 2.4.7: a visible keyboard focus ring on the gate fields (the border-color
   focus at :295 is defeated by the theme's border !important). */
.bt-wd-auth .bt-wd-input:focus, .bt-wd-auth .bt-wd-input:focus-visible,
#bt-wd-app .bt-wd-input:focus-visible { outline:2px solid #002E2D !important; outline-offset:2px !important; }
/* #24 the placeholder was ~1.8:1 (invisible); lift to the muted-label token. */
.bt-wd-auth .bt-wd-input::placeholder, #bt-wd-app .bt-wd-input::placeholder { color:#6C726D !important; opacity:1 !important; }
/* #10 gate recovery links (forgot password / resend) were the theme's mint at ~2:1; use
   the AA teal-text token and keep the underline. */
.bt-wd-auth a, .bt-wd-auth__foot a, .bt-wd-auth .bt-wd-link { color:#006A4F !important; text-decoration:underline !important; }
.bt-wd-auth a:hover, .bt-wd-auth__foot a:hover, .bt-wd-auth .bt-wd-link:hover { color:#002E2D !important; }
/* #25 the theme forces 11.6px radius on <button> only, so a link-button and a real button
   stopped matching; pin every brand button to the brand radius. */
.bt-wd-auth .bt-wd-btn, #bt-wd-app .bt-wd-btn { border-radius:3px !important; }
/* v1.0.16 - the "Collection or delivery" select rendered a BLANK value (confirmed live). Root cause:
   the theme forces `line-height:44px` on selects, but with box-sizing:border-box, height:44px and
   14px top+bottom padding the content box is only ~16px tall - so a 44px line box pushes the chosen
   text far below the visible area and it clips. Pin a sane line-height (this is the real fix); the
   text-indent/padding/colour resets are kept as defence-in-depth. Verified: value now shows. */
#bt-wd-app .bt-wd-select, .bt-wd-auth .bt-wd-select { line-height:1.3 !important; text-indent:0 !important; padding-left:2px !important; padding-right:24px !important; color:var(--bt-ink) !important; -webkit-text-fill-color:var(--bt-ink) !important; }
