/* PTC checkout v0.7.1 (plugin 0.7.18). Loads after ptc-v07.css on gated (ptc_v07) pages only.
 * Scope: body.ptc-v07 (preview gate). Flagged lines (C21–C26) key off body.ptc7-f-cNN, added only when the flag is on.
 * Section order = changelog order. Fonts (C27) live in ptc-v071-fonts.css. */

/* ---------- C03 parcels call-out: plain line + info icon, wraps, never truncates (drawer: full width, ~48px for 2 lines) ---------- */
body.ptc-v07 .ptc7-note--parcel { display:flex !important; align-items:flex-start !important; gap:8px !important; width:100% !important; max-width:100% !important; box-sizing:border-box !important; height:auto !important; min-height:0 !important; max-height:none !important; overflow:visible !important; white-space:normal !important; text-overflow:clip !important; overflow-wrap:break-word !important; margin:12px 0 0 !important; padding:0 !important; background:none !important; border:0 !important; border-radius:0 !important; font-size:14px !important; line-height:20px !important; font-weight:400 !important; color:#1C2B28 !important; }
body.ptc-v07 .ptc7-note--parcel > span:last-child { flex:1 1 auto !important; min-width:0 !important; white-space:normal !important; overflow:visible !important; text-overflow:clip !important; }
body.ptc-v07 .ptc7-note--parcel .ptc7-ico-info { flex:0 0 20px !important; margin-top:0 !important; }
body.ptc-v07 .ptc7-hint-wrap { height:auto !important; max-height:none !important; overflow:visible !important; white-space:normal !important; }
body.ptc-v07 .ptc7-hint-wrap:empty { display:none !important; }
/* drawer (D01/D02): directly under the dispatch summary, full footer width, hairline under it */
body.ptc-v07.breakdance .ptc7-cart-trigger .ptc7-drawer .bde-mini-cart-offcanvas-footer > .ptc7-hint-wrap { order:1 !important; display:block !important; width:100% !important; flex:0 0 auto !important; align-self:stretch !important; }
/* 0.7.18.1 C03: Figma 259:114 = 392x48 frame, 4px top/bottom padding, icon 20 + gap 12, text 360x40 (2 x 20px lines). No hairline under it, no min-height. */
body.ptc-v07.breakdance .ptc7-cart-trigger .ptc7-drawer .ptc7-hint-wrap .ptc7-note--parcel { margin:0 0 12px !important; padding:4px 0 !important; border:0 !important; gap:12px !important; min-height:0 !important; height:auto !important; box-sizing:border-box !important; }

/* ---------- C04 / C28 full-strength ink on every totals label + value ---------- */
body.ptc-v07 .ptc7-totals, body.ptc-v07 .ptc7-totals .ptc7-k, body.ptc-v07 .ptc7-totals .ptc7-v, body.ptc-v07 .ptc7-totals .ptc7-row span, body.ptc-v07 .ptc7-totals .amount, body.ptc-v07 .ptc7-tr th, body.ptc-v07 .ptc7-tr td, body.ptc-v07 .ptc7-tr .amount, body.ptc-v07 .ptc7-rev-total .ptc7-k, body.ptc-v07 .ptc7-rev-total .ptc7-v, body.ptc-v07 .ptc7-rev-total .amount { color:#1C2B28 !important; }
body.ptc-v07 main, body.ptc-v07 .ptc7-drawer, body.ptc-v07 .ptc7-sheet, body.ptc-v07 .ptc7-msum { color:#1C2B28; }

/* ---------- C05 GST: plain right-aligned line under Total ---------- */
body.ptc-v07 p.ptc7-gst, body.ptc-v07 .ptc7-gst { display:block !important; margin:4px 0 0 !important; padding:0 !important; background:none !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; text-align:right !important; font-size:14px !important; line-height:20px !important; font-weight:400 !important; color:#56615D !important; }
body.ptc-v07 .ptc7-gst .amount, body.ptc-v07 .ptc7-gst bdi { color:inherit !important; font-weight:inherit !important; font-size:inherit !important; background:none !important; }

/* ---------- C07 no unit price in the drawer or the cart price column; line totals on one right edge ---------- */
body.ptc-v07 .ptc7-drawer .ptc7-each, body.ptc-v07 .woocommerce-cart-form .product-subtotal .ptc7-each, body.ptc-v07 .woocommerce-cart-form .product-price .ptc7-each { display:none !important; }
body.ptc-v07 .woocommerce-cart-form td.product-subtotal { text-align:right !important; white-space:nowrap; }

/* ---------- C08 Continue shopping (cart, empty cart, checkout; never the drawer) ---------- */
body.ptc-v07 a.ptc7-cont { display:inline-flex !important; align-items:center !important; min-height:44px !important; font-size:14px !important; line-height:20px !important; font-weight:600 !important; color:#1C2B28 !important; text-decoration:underline !important; text-underline-offset:3px; }
body.ptc-v07 .ptc7-drawer a.ptc7-cont { display:none !important; }
body.ptc-v07 a.ptc7-cont--co { margin:0 0 16px !important; align-self:flex-start !important; }
body.ptc-v07 a.ptc7-cont--empty { margin:0 0 8px !important; }
body.ptc-v07 a.ptc7-cont--cart { display:flex !important; justify-content:center !important; width:100% !important; margin:8px 0 0 !important; }
/* 0.7.18.1 C08: exactly one link on the cart. Template 3132 already has a Text Link (.ptc7-textlink, styled to spec in ptc-v07.css),
 * so JS no longer injects .ptc7-cont--cart when it exists; this hides a stray injected copy if both ever render. */
body.ptc-v07 .ptc7-page:has(a.ptc7-textlink[href*="shop"]) a.ptc7-cont--cart, body.ptc-v07.ptc7-has-tplcont a.ptc7-cont--cart { display:none !important; }

/* ---------- C09 no login / account UI ---------- */
body.ptc-v07 .woocommerce-form-login-toggle, body.ptc-v07 form.woocommerce-form-login, body.ptc-v07 .woocommerce-account-fields { display:none !important; }
body.ptc-v07.breakdance .ptc7-form .woocommerce-billing-fields > h3 { margin-top:0 !important; }

/* ---------- C10 summary toggle + panel (<1024); desktop keeps the sidebar ---------- */
body.ptc-v07 .ptc7-msum { display:none; }
@media (max-width: 1023px) {
  body.ptc-v07.breakdance .ptc7-msum { display:block !important; margin:0 0 16px !important; width:100% !important; box-sizing:border-box !important; }
  body.ptc-v07.breakdance .ptc7-msum-toggle { display:flex !important; align-items:center !important; gap:8px !important; width:100% !important; min-height:52px !important; margin:0 !important; padding:12px 16px !important; box-sizing:border-box !important; background:#fff !important; border:1px solid #E1E6E3 !important; border-radius:8px !important; color:#1C2B28 !important; font-size:16px !important; line-height:22px !important; font-weight:600 !important; text-align:left !important; cursor:pointer; box-shadow:none !important; text-transform:none !important; letter-spacing:0 !important; }
  body.ptc-v07.breakdance .ptc7-msum-toggle[aria-expanded="true"] { border-radius:8px 8px 0 0 !important; border-bottom-color:transparent !important; }
  body.ptc-v07.breakdance .ptc7-msum-k::after { content:" · "; }
  body.ptc-v07.breakdance .ptc7-msum-meta { display:contents !important; }
  body.ptc-v07.breakdance .ptc7-msum-items { order:1; }
  body.ptc-v07.breakdance .ptc7-msum-chev { order:2; display:inline-block; margin-right:auto; }
  body.ptc-v07.breakdance .ptc7-msum-chev::after { content:"\25BE"; font-size:12px; color:#1C2B28; }
  body.ptc-v07.breakdance .ptc7-msum-toggle[aria-expanded="true"] .ptc7-msum-chev::after { content:"\25B4"; }
  body.ptc-v07.breakdance .ptc7-msum-amt { order:3; font-weight:600 !important; white-space:nowrap; }
  body.ptc-v07.breakdance .ptc7-msum-panel { background:#fff !important; border:1px solid #E1E6E3 !important; border-top:0 !important; border-radius:0 0 8px 8px !important; padding:16px !important; }
  body.ptc-v07.breakdance .ptc7-msum-panel[hidden] { display:none !important; }
  body.ptc-v07.breakdance .ptc7-msum-body { display:flex !important; flex-direction:column !important; gap:16px !important; }
  body.ptc-v07.breakdance .ptc7-msum-list li { display:grid !important; grid-template-columns:48px minmax(0,1fr) auto !important; gap:12px !important; align-items:start !important; padding:0 !important; }
  body.ptc-v07.breakdance .ptc7-msum-list li + li { margin-top:12px !important; }
  body.ptc-v07.breakdance .ptc7-msum-list .ptc7-sthumb img { margin:0 !important; }
  body.ptc-v07.breakdance .ptc7-msum-list .ptc7-osum-n { display:flex !important; flex-direction:column !important; gap:4px !important; min-width:0 !important; }
  body.ptc-v07.breakdance .ptc7-msum-list small { color:#56615D !important; font-size:14px !important; }
  body.ptc-v07.breakdance .ptc7-msum-edit { align-self:flex-start; min-height:44px; display:inline-flex; align-items:center; font-weight:600; text-decoration:underline; color:#1C2B28; }
  /* single column; the sidebar, template toggle and old sheet give way to the C10 panel */
  body.ptc-v07.breakdance.ptc7-msum-on .ptc7-page--co .ptc7-cols { grid-template-columns:minmax(0,1fr) !important; }
  body.ptc-v07.breakdance.ptc7-msum-on .ptc7-aside--co, body.ptc-v07.breakdance.ptc7-msum-on .ptc7-sum-toggle, body.ptc-v07.breakdance.ptc7-msum-on .ptc7-sheet { display:none !important; }
}

/* ---------- C11 "Contact information" H2, no helper, no keyline ---------- */
body.ptc-v07.breakdance .ptc7-form .ptc7-ckh--contact { margin:0 0 4px !important; padding:0 !important; border:0 !important; }
body.ptc-v07.breakdance .ptc7-form .woocommerce-billing-fields > h3, body.ptc-v07.breakdance .ptc7-form .ptc7-ckh--contact { border-bottom:0 !important; }
body.ptc-v07.breakdance .ptc7-form #billing_email_field .description { display:none !important; }

/* ---------- C12 asterisk + grey "Optional" + legend ---------- */
body.ptc-v07.breakdance .ptc7-form .form-row label .ptc7-req { display:inline !important; margin-left:2px; color:#1C2B28 !important; font-weight:600; }
body.ptc-v07.breakdance .ptc7-form .form-row label { display:flex !important; justify-content:flex-start !important; gap:4px; flex-wrap:wrap; }
body.ptc-v07.breakdance .ptc7-form .form-row label .ptc7-opt-lbl { margin-left:auto !important; font-size:14px !important; line-height:20px !important; font-weight:400 !important; color:#56615D !important; }
body.ptc-v07.breakdance .ptc7-form .form-row label .optional { display:none !important; }
body.ptc-v07.breakdance .ptc7-form .ptc7-req-legend { margin:0 0 16px !important; font-size:14px !important; line-height:20px !important; color:#56615D !important; }

/* ---------- C13 review rows: fixed label column, wrapping value, Edit 44×44, all top-aligned ---------- */
body.ptc-v07.breakdance .ptc7-form .ptc7-rev > div, body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r { display:grid !important; grid-template-columns:96px minmax(0,1fr) 44px !important; gap:12px !important; align-items:start !important; padding:12px 0 !important; }
body.ptc-v07.breakdance .ptc7-form .ptc7-rev dt { font-size:14px !important; line-height:22px !important; font-weight:400 !important; color:#56615D !important; }
body.ptc-v07.breakdance .ptc7-form .ptc7-rev dd { margin:0 !important; font-size:16px !important; line-height:22px !important; color:#1C2B28 !important; min-width:0 !important; overflow-wrap:anywhere; }
body.ptc-v07.breakdance .ptc7-form .ptc7-rev .ptc7-rev-addr { display:block; }
body.ptc-v07.breakdance .ptc7-form .ptc7-rev .ptc7-rev-phone { display:block; white-space:nowrap !important; overflow-wrap:normal !important; }
body.ptc-v07.breakdance .ptc7-form .ptc7-rev .ptc7-edit { align-self:start !important; justify-content:flex-end !important; align-items:flex-start !important; min-width:44px !important; min-height:44px !important; line-height:22px !important; padding:0 !important; margin:0 !important; }
body.ptc-v07.breakdance .ptc7-form .ptc7-rev-total { padding:12px 0 0 !important; }
body.ptc-v07.breakdance .ptc7-form .ptc7-rev-tr { display:grid !important; grid-template-columns:minmax(0,1fr) auto auto !important; gap:12px !important; align-items:start !important; }
body.ptc-v07.breakdance .ptc7-form .ptc7-rev-tr .ptc7-edit { min-height:44px !important; align-items:flex-start !important; line-height:24px !important; }
@media (max-width: 767px) {
  body.ptc-v07.breakdance .ptc7-form .ptc7-rev > div, body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r { grid-template-columns:84px minmax(0,1fr) 44px !important; gap:8px !important; }
}

/* ---------- C14 no item-count or section-number badges (progress stepper untouched) ---------- */
body.ptc-v07.breakdance .ptc7-form .woocommerce-billing-fields > h3::before { content:none !important; display:none !important; }
body.ptc-v07.breakdance .ptc7-form .ptc7-n, body.ptc-v07.breakdance .ptc7-form .ptc7-count-badge { display:none !important; }

/* ---------- C15 Total row: label + amount 18/600 ink, no item count ---------- */
body.ptc-v07 .ptc7-row--t, body.ptc-v07 .ptc7-row--t .ptc7-k, body.ptc-v07 .ptc7-row--t .ptc7-v, body.ptc-v07 .ptc7-row--t .amount, body.ptc-v07 .ptc7-tr--total th, body.ptc-v07 .ptc7-tr--total td, body.ptc-v07 .ptc7-tr--total .amount, body.ptc-v07 .ptc7-rev-tr .ptc7-k, body.ptc-v07 .ptc7-rev-tr .ptc7-v, body.ptc-v07 .ptc7-rev-tr .ptc7-v .amount { font-size:18px !important; line-height:24px !important; font-weight:600 !important; color:#1C2B28 !important; }
body.ptc-v07 .ptc7-rev-tr .ptc7-edit { font-size:14px !important; font-weight:600 !important; }

/* ---------- C16 no Woo privacy paragraph (PHP removes it; belt and braces) ---------- */
body.ptc-v07 .ptc7-form .woocommerce-privacy-policy-text { display:none !important; }

/* ---------- C17 / C18 bank panel + Copy buttons ---------- */
body.ptc-v07 .ptc7-page--or .ptc7-bank, body.ptc-v07 .ptc7-page--or .ptc7-bank-r, body.ptc-v07 .ptc7-page--or .ptc7-panel:has(.ptc7-bank) { background:#fff !important; }
body.ptc-v07.breakdance .ptc7-bank-r { display:grid !important; grid-template-columns:96px minmax(0,1fr) auto !important; gap:0 16px !important; align-items:center !important; padding:8px 0 !important; }
body.ptc-v07.ptc7-f-c23.breakdance .ptc7-bank-r { grid-template-columns:96px minmax(0,1fr) 80px !important; }
body.ptc-v07 .ptc7-bank dt { font-size:16px !important; line-height:24px !important; font-weight:400 !important; color:#56615D !important; }
body.ptc-v07 .ptc7-bank dd, body.ptc-v07 .ptc7-bank .ptc7-bank-v { font-size:18px !important; line-height:24px !important; font-weight:600 !important; color:#1C2B28 !important; overflow-wrap:anywhere; }
body.ptc-v07.breakdance .ptc7-copy { display:inline-flex !important; align-items:center !important; justify-content:center !important; width:100% !important; min-width:64px !important; height:44px !important; min-height:44px !important; padding:0 12px !important; box-sizing:border-box !important; background:#fff !important; border:1px solid #C9D1CD !important; border-radius:8px !important; font-size:14px !important; line-height:20px !important; font-weight:600 !important; color:#294C46 !important; text-decoration:none !important; text-transform:none !important; letter-spacing:0 !important; cursor:pointer; white-space:nowrap; }
body.ptc-v07.breakdance .ptc7-copy:hover { background:#F4F7F5 !important; border-color:#294C46 !important; }
body.ptc-v07.breakdance .ptc7-copy.is-copied, body.ptc-v07.breakdance .ptc7-copy[data-copied] { background:#EDF6F0 !important; border-color:#256A43 !important; color:#256A43 !important; }

/* ---------- C19 / C20 order received: steps + spacing (8px grid, cards hug content) ---------- */
body.ptc-v07.breakdance .ptc7-page--or .ptc7-panel { height:auto !important; min-height:0 !important; padding:24px !important; }
body.ptc-v07.breakdance .ptc7-next-h { margin:0 0 16px !important; }
body.ptc-v07.breakdance .ptc7-tl--v071 { display:flex !important; flex-direction:column !important; gap:16px !important; margin:0 !important; padding:0 !important; list-style:none !important; }
body.ptc-v07.breakdance .ptc7-tl--v071 li { display:grid !important; grid-template-columns:28px minmax(0,1fr) !important; gap:12px !important; align-items:start !important; padding:0 !important; margin:0 !important; }
body.ptc-v07.breakdance .ptc7-tl--v071 .ptc7-tl-t { display:block; padding-top:3px; font-size:16px !important; line-height:22px !important; font-weight:600 !important; color:#1C2B28 !important; overflow-wrap:anywhere; }
body.ptc-v07.breakdance .ptc7-tl--v071 .ptc7-tl-ship-line { display:block; margin-top:4px; font-size:14px !important; line-height:20px !important; font-weight:400 !important; color:#56615D !important; }
body.ptc-v07.breakdance .ptc7-page--or .ptc7-osum li { padding:16px 0 !important; }
body.ptc-v07.breakdance .ptc7-page--or .ptc7-panel > .ptc7-h2, body.ptc-v07.breakdance .ptc7-page--or .ptc7-aside--or .ptc7-h2 { margin-bottom:8px !important; }
body.ptc-v07.breakdance .ptc7-page--or .ptc7-row--t { margin-top:12px !important; padding-top:12px !important; }
body.ptc-v07.breakdance .ptc7-page--or .ptc7-dl dd { overflow-wrap:anywhere; }
@media (max-width: 767px) {
  body.ptc-v07.breakdance .ptc7-page--or .ptc7-panel { padding:16px !important; }
  body.ptc-v07.breakdance .ptc7-page--or .ptc7-main, body.ptc-v07.breakdance .ptc7-page--or .ptc7-cols { gap:24px !important; }
  body.ptc-v07.breakdance .ptc7-page--or .ptc7-aside--or { margin-top:0 !important; }
  body.ptc-v07.breakdance .ptc7-page--or .ptc7-dl > div { grid-template-columns:96px minmax(0,1fr) !important; }
}

/* ---------- C21 (flag) unit price under the strength line ---------- */
body.ptc-v07 .ptc7-unit { display:none; }
body.ptc-v07.ptc7-f-c21 .woocommerce-cart-form .ptc7-unit { display:block !important; margin:4px 0 0 !important; font-size:14px !important; line-height:20px !important; font-weight:400 !important; color:#56615D !important; text-align:left !important; }

/* ---------- C25 (flag) sticky bar hidden only while the keyboard is open / Place order in view ---------- */
body.ptc-v07.breakdance .ptc7-sticky { transition:transform .2s ease; }
body.ptc-v07.ptc7-f-c25.breakdance .ptc7-sticky.ptc7-sticky--off { transform:translateY(110%) !important; pointer-events:none !important; }
@media (prefers-reduced-motion: reduce) { body.ptc-v07.breakdance .ptc7-sticky { transition:none; } }

/* ---------- C26 (flag) order number line: sentence case 16/600 ink; emailed line 16 ink under the H1 ---------- */
body.ptc-v07.breakdance .ptc7-eyebrow .ptc7-ordno--c26, body.ptc-v07.breakdance .ptc7-ordno--c26 { font-size:16px !important; line-height:24px !important; font-weight:600 !important; letter-spacing:0 !important; text-transform:none !important; color:#1C2B28 !important; }
body.ptc-v07.ptc7-f-c26.breakdance .ptc7-eyebrow:has(.ptc7-ordno--c26) { text-transform:none !important; letter-spacing:0 !important; }
body.ptc-v07.breakdance .ptc7-status { display:block; }
body.ptc-v07.breakdance .ptc7-status .ptc7-or-title { display:block !important; }
body.ptc-v07.breakdance .ptc7-status .ptc7-emailed { display:block !important; margin-top:8px; font-size:16px !important; line-height:24px !important; font-weight:400 !important; color:#1C2B28 !important; overflow-wrap:anywhere; }

/* ---------- C29 visible focus ring everywhere in scope ---------- */
body.ptc-v07 main a:focus-visible, body.ptc-v07 main button:focus-visible, body.ptc-v07 main [role=button]:focus-visible, body.ptc-v07 main summary:focus-visible, body.ptc-v07 .ptc7-drawer a:focus-visible, body.ptc-v07 .ptc7-drawer button:focus-visible, body.ptc-v07 .ptc7-msum-toggle:focus-visible, body.ptc-v07 .ptc7-copy:focus-visible, body.ptc-v07 .ptc7-errsum:focus-visible { outline:2px solid #2F6B5D !important; outline-offset:2px !important; }
body.ptc-v07 main input[type=radio]:focus-visible, body.ptc-v07 main input[type=checkbox]:focus-visible, body.ptc-v07 .ptc7-opt:has(input:focus-visible) { outline:2px solid #2F6B5D !important; outline-offset:2px !important; box-shadow:0 0 0 3px #CFE3DC !important; }

/* ---------- C30 checkout H1: line-height 1.2, 16px under Continue shopping, no overlap 320–1440 ---------- */
body.ptc-v07.breakdance .ptc7-page--co .ptc7-h1--co, body.ptc-v07.breakdance .ptc7-page--co h1 { line-height:1.2 !important; height:auto !important; min-height:0 !important; position:static !important; margin-top:0 !important; overflow-wrap:anywhere; }
body.ptc-v07.breakdance .ptc7-page--co .ptc7-head { height:auto !important; min-height:0 !important; }

/* ---------- C31 error summary above the card ---------- */
body.ptc-v07.breakdance .ptc7-errsum { margin:0 0 24px !important; padding:16px !important; background:#FBECEE !important; border:1px solid #C2364B !important; border-radius:8px !important; color:#A1283B !important; }
body.ptc-v07.breakdance .ptc7-errsum h2 { display:flex !important; align-items:center !important; gap:8px !important; font-size:16px !important; line-height:22px !important; font-weight:600 !important; color:#A1283B !important; margin:0 0 8px !important; }
body.ptc-v07.breakdance .ptc7-errsum h2 .ptc7-ico-err { flex:0 0 20px; width:20px; height:20px; }
body.ptc-v07.breakdance .ptc7-errsum a { font-size:14px !important; line-height:20px !important; color:#A1283B !important; text-decoration:underline !important; }
body.ptc-v07.breakdance .woocommerce-NoticeGroup:has(.ptc7-errsum) { margin:0 !important; padding:0 !important; }

/* 0.7.18.1 C29: fields and qty inputs: border #2F6B5D + 3px #CFE3DC ring (text/number on :focus too, since browsers skip
 * :focus-visible on some click-focused inputs). html-prefixed to beat Breakdance/Woo input styles. Steppers clip their
 * children (overflow:hidden), so the stepper box carries the same ring while its input has focus. */
html body.ptc-v07.breakdance :is(main, .ptc7-drawer, .ptc7-page, .ptc7-msum, .ptc7-sheet) :is(input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=password], input:not([type]), input.qty, input.ptc7-q, textarea):is(:focus, :focus-visible),
html body.ptc-v07.breakdance :is(main, .ptc7-drawer, .ptc7-page, .ptc7-msum, .ptc7-sheet) select:focus-visible,
html body.ptc-v07.breakdance :is(main, .ptc7-drawer, .ptc7-page, .ptc7-msum, .ptc7-sheet) .select2-container--focus .select2-selection { border-color:#2F6B5D !important; box-shadow:0 0 0 3px #CFE3DC !important; outline:none !important; }
html body.ptc-v07.breakdance .ptc7-step:has(input:focus), html body.ptc-v07.breakdance :is(main, .ptc7-drawer, .ptc7-page) .quantity:has(input:focus) { border-color:#2F6B5D !important; box-shadow:0 0 0 3px #CFE3DC !important; }
/* C32 errored fields keep the red border on focus (re-asserted after the ring). */
html body.ptc-v07.breakdance .ptc7-form [aria-invalid="true"]:focus, html body.ptc-v07.breakdance .ptc7-form .woocommerce-invalid .input-text:focus { border:2px solid #C2364B !important; }

/* ---------- C32 every errored field: 1px red (2px on focus), message under it; Terms row too ---------- */
body.ptc-v07.breakdance .ptc7-form [aria-invalid="true"], body.ptc-v07.breakdance .ptc7-form .woocommerce-invalid .input-text, body.ptc-v07.breakdance .ptc7-form .woocommerce-invalid select { border:1px solid #C2364B !important; }
body.ptc-v07.breakdance .ptc7-form [aria-invalid="true"]:focus, body.ptc-v07.breakdance .ptc7-form .woocommerce-invalid .input-text:focus { border:2px solid #C2364B !important; }
body.ptc-v07.breakdance .ptc7-form .ptc7-ferr { display:flex !important; gap:6px; margin:6px 0 0 !important; font-size:14px !important; line-height:20px !important; color:#A1283B !important; }
body.ptc-v07.breakdance .ptc7-form .ptc7-terms-err input#terms, body.ptc-v07.breakdance .ptc7-form input#terms[aria-invalid="true"] { border:1px solid #C2364B !important; outline:1px solid #C2364B; }

/* ---------- C33 locked disclaimer under "No charge now…", clear of the sticky bar ---------- */
body.ptc-v07.breakdance .ptc7-form .place-order .ptc7-ck-disc { order:5; margin:0 !important; padding:0 28px 24px !important; text-align:center !important; font-size:14px !important; line-height:20px !important; color:#56615D !important; }
body.ptc-v07.breakdance .ptc7-form .place-order .ptc7-nocharge { padding-bottom:8px !important; }
@media (max-width: 767px) {
  body.ptc-v07.breakdance .ptc7-form .place-order .ptc7-ck-disc { padding:0 16px 24px !important; }
  /* 0.7.18.4: room under the disclaimer = live sticky bar height (--ptc7-sticky-h, set by ptc-v071.js) + 16 */
  body.ptc-v07.breakdance .ptc7-form .place-order { padding-bottom:calc(var(--ptc7-sticky-h, 89px) + 16px) !important; }
  body.ptc-v07.breakdance .ptc7-page--co { padding-bottom:0 !important; }
}

/* ---------- C34 / C35 notices ---------- */
body.ptc-v07 .ptc7-qmsg { white-space:normal !important; }

/* ---------- C37 320px reflow: no horizontal scroll, grids to one column, long values wrap ---------- */
body.ptc-v07 main, body.ptc-v07 .ptc7-page { max-width:100%; }
body.ptc-v07 .ptc7-page, body.ptc-v07 .ptc7-cols > *, body.ptc-v07 .ptc7-panel, body.ptc-v07 .ptc7-form, body.ptc-v07 .ptc7-aside { min-width:0 !important; }
body.ptc-v07 .ptc7-dl dd, body.ptc-v07 .ptc7-rev dd, body.ptc-v07 .ptc7-opt-t, body.ptc-v07 .ptc7-status, body.ptc-v07 .ptc7-dsum { overflow-wrap:anywhere; }
@media (max-width: 400px) {
  body.ptc-v07.breakdance .ptc7-cols { grid-template-columns:minmax(0,1fr) !important; }
  body.ptc-v07.breakdance .ptc7-bank-r, body.ptc-v07.ptc7-f-c23.breakdance .ptc7-bank-r { grid-template-columns:72px minmax(0,1fr) 72px !important; gap:0 8px !important; }
  body.ptc-v07.breakdance .ptc7-sticky .ptc7-cta { flex:0 1 200px !important; min-width:0 !important; }
  body.ptc-v07.breakdance .ptc7-form .ptc7-rev > div, body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r { grid-template-columns:72px minmax(0,1fr) 44px !important; }
  body.ptc-v07.breakdance .ptc7-dl > div { grid-template-columns:minmax(0,1fr) !important; gap:2px !important; }
  body.ptc-v07.breakdance .ptc7-cart-trigger .ptc7-drawer .woocommerce-mini-cart__buttons { grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important; }
}

/* ---------- C38 checkout + sheet totals: Subtotal / Australia Post (Express) / Total / Includes $X GST ---------- */
body.ptc-v07.breakdance .woocommerce-checkout-review-order-table tfoot tr:not(.ptc7-tr):not(.ptc7-ck-total) { display:none !important; }
body.ptc-v07.breakdance .woocommerce-checkout-review-order-table tfoot tr.ptc7-tr th { text-align:left !important; font-size:16px !important; line-height:24px !important; font-weight:400 !important; color:#1C2B28 !important; padding:4px 0 !important; border:0 !important; }
body.ptc-v07.breakdance .woocommerce-checkout-review-order-table tfoot tr.ptc7-tr td { text-align:right !important; font-size:16px !important; line-height:24px !important; color:#1C2B28 !important; padding:4px 0 !important; border:0 !important; }
body.ptc-v07.breakdance .woocommerce-checkout-review-order-table tfoot tr.ptc7-tr--sub th, body.ptc-v07.breakdance .woocommerce-checkout-review-order-table tfoot tr.ptc7-tr--sub td { padding-top:16px !important; }
body.ptc-v07.breakdance .woocommerce-checkout-review-order-table tfoot tr.ptc7-tr--total th, body.ptc-v07.breakdance .woocommerce-checkout-review-order-table tfoot tr.ptc7-tr--total td { padding-top:12px !important; border-top:1px solid var(--ptc7-line) !important; }
body.ptc-v07.breakdance .woocommerce-checkout-review-order-table tfoot tr.ptc7-tr--gst td { padding:0 !important; }

/* 0.7.18.1 C35: drawer copy of the cap sentence spans the text + controls columns. */
body.ptc-v07.breakdance .ptc7-cart-trigger .ptc7-drawer .woocommerce-mini-cart-item > .ptc7-qmsg { grid-column:2 / -1 !important; margin:4px 0 0 !important; }

/* ---------- 0.7.18.2 C13 review rows (Figma D06 254:1448 / M06 254:4714) ----------
 * Root cause: ptc-v07.css (<=767) sets ".ptc7-rev dt { grid-column:1/-1 }", so on mobile the dt filled row 1 and the
 * dd dropped into the 72px label column of row 2 (Edit at x=112). Explicit placement now:
 * >=768: label 140px | value minmax(0,1fr) | Edit 44px, gap 12 (D06). <=767: label on its own row, then
 * value minmax(0,1fr) | Edit 44px, gap 12 (M06: value 270 + 12 + 44 = 326). Edit top-aligned with the first value line. */
html body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r { display:grid !important; grid-template-columns:140px minmax(0,1fr) 44px !important; column-gap:12px !important; row-gap:0 !important; align-items:start !important; }
html body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r > dt { grid-column:1 !important; grid-row:1 !important; min-width:0 !important; }
html body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r > dd { grid-column:2 !important; grid-row:1 !important; min-width:0 !important; width:auto !important; max-width:none !important; }
html body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r > .ptc7-edit, html body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r > .ptc7-edit-sp { grid-column:3 !important; grid-row:1 !important; width:44px !important; }
html body.ptc-v07.breakdance .ptc7-form .ptc7-rev .ptc7-rev-shipto .ptc7-rev-addr { display:block !important; }
html body.ptc-v07.breakdance .ptc7-form .ptc7-rev .ptc7-rev-shipto .ptc7-rev-phone { display:block !important; white-space:nowrap !important; overflow-wrap:normal !important; word-break:normal !important; }
@media (max-width: 767px) {
  html body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r { grid-template-columns:minmax(0,1fr) 44px !important; row-gap:12px !important; }
  html body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r > dt { grid-column:1 / -1 !important; grid-row:1 !important; }
  html body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r > dd { grid-column:1 !important; grid-row:2 !important; }
  html body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r > .ptc7-edit, html body.ptc-v07.breakdance .ptc7-form .ptc7-rev > .ptc7-rev-r > .ptc7-edit-sp { grid-column:2 !important; grid-row:2 !important; }
}

/* ---------- 0.7.18.2 C37 320px: progress stepper must fit (QA: "Confirmation" right edge at 331) ----------
 * The ptc7-stepper markup comes from the Breakdance template (not printed by this plugin); gated CSS only, <=360px:
 * tighter gaps/padding, items may shrink (min-width:0), labels wrap instead of overflowing. Nothing changes above 360. */
@media (max-width: 360px) {
  html body.ptc-v07.breakdance .ptc7-stepper, html body.ptc-v07.breakdance [class*="ptc7-stepper__list"] { max-width:100% !important; min-width:0 !important; box-sizing:border-box !important; gap:4px !important; column-gap:4px !important; padding-left:0 !important; padding-right:0 !important; flex-wrap:nowrap !important; }
  html body.ptc-v07.breakdance [class*="ptc7-stepper__item"] { min-width:0 !important; flex:0 1 auto !important; gap:4px !important; padding-left:0 !important; padding-right:0 !important; margin-left:0 !important; margin-right:0 !important; }
  html body.ptc-v07.breakdance [class*="ptc7-stepper__label"], html body.ptc-v07.breakdance [class*="ptc7-stepper__text"], html body.ptc-v07.breakdance [class*="ptc7-stepper__item"] > span:not([class*="num"]):not([class*="dot"]):not([class*="circle"]):not([class*="icon"]):not([class*="badge"]) { min-width:0 !important; white-space:normal !important; overflow-wrap:anywhere !important; font-size:12px !important; line-height:16px !important; letter-spacing:0 !important; }
  html body.ptc-v07.breakdance [class*="ptc7-stepper__num"], html body.ptc-v07.breakdance [class*="ptc7-stepper__dot"], html body.ptc-v07.breakdance [class*="ptc7-stepper__circle"], html body.ptc-v07.breakdance [class*="ptc7-stepper__icon"] { flex-shrink:0 !important; }
  html body.ptc-v07.breakdance [class*="ptc7-stepper__line"], html body.ptc-v07.breakdance [class*="ptc7-stepper__sep"] { flex:1 1 4px !important; min-width:4px !important; width:auto !important; margin-left:2px !important; margin-right:2px !important; }
  html body.ptc-v07.breakdance .ptc7-steps ol { gap:4px !important; flex-wrap:wrap !important; }
  html body.ptc-v07.breakdance .ptc7-steps .ptc7-st { min-width:0 !important; gap:4px !important; }
  html body.ptc-v07.breakdance .ptc7-steps .ptc7-st + .ptc7-st::before { width:8px !important; }
}

/* 0.7.18.3 C37 cart at 320: the <=767 rule puts Remove in row 2 at margin-left:146px (stepper 134 + gap 12), so at
 * 320 its right edge (327 on staging) passed the line card (overflow:hidden) and "Remove" was clipped to "Remo".
 * Below 375 there is no room for stepper + Remove on one row (cols 2-3 ~150-180px), so Remove gets its own row
 * under the stepper, left-aligned with it, 44px target kept. 375+ (incl. 390) is unchanged. */
@media (max-width: 374px) {
  html body.ptc-v07.breakdance .ptc7-lines tr.cart_item { grid-template-rows:auto auto auto !important; }
  html body.ptc-v07.breakdance .ptc7-lines tr.cart_item td.product-remove { grid-column:2 / 4 !important; grid-row:3 !important; justify-self:start !important; align-self:start !important; margin:-8px 0 0 !important; min-width:0 !important; max-width:100% !important; }
  html body.ptc-v07.breakdance .ptc7-lines tr.cart_item td.product-remove a.remove { padding:0 !important; white-space:nowrap !important; max-width:100% !important; }
  html body.ptc-v07.breakdance .ptc7-lines tr.cart_item td.product-name { min-width:0 !important; overflow-wrap:anywhere !important; }
  html body.ptc-v07.breakdance .ptc7-lines tr.cart_item td.product-quantity { min-width:0 !important; }
  html body.ptc-v07.breakdance .ptc7-lines tr.cart_item td.product-thumbnail { grid-row:1 / span 2 !important; }
}

/* ---------- 0.7.18.4 ---------- */
/* C33: disclaimer always rendered as a block under "No charge now…" */
body.ptc-v07.breakdance .ptc7-form .place-order .ptc7-ck-disc { display:block !important; visibility:visible !important; width:100% !important; box-sizing:border-box !important; }
/* C15: checkout sidebar Total row 18/24/600 ink (overrides the C38 16/400 tfoot rule above; Subtotal + shipping unchanged) */
body.ptc-v07.breakdance .woocommerce-checkout-review-order-table tfoot tr.ptc7-tr.ptc7-tr--total th, body.ptc-v07.breakdance .woocommerce-checkout-review-order-table tfoot tr.ptc7-tr.ptc7-tr--total td, body.ptc-v07.breakdance .woocommerce-checkout-review-order-table tfoot tr.ptc7-tr.ptc7-tr--total td .amount, body.ptc-v07.breakdance .woocommerce-checkout-review-order-table tfoot tr.ptc7-tr.ptc7-tr--total td bdi { font-size:18px !important; line-height:24px !important; font-weight:600 !important; color:#1C2B28 !important; }
/* C04: Woo price <bdi>/.amount inherit the surrounding ink (Breakdance paints bdi #000); drawer line amounts are ink */
body.ptc-v07.breakdance .ptc7-drawer .ptc7-amt, body.ptc-v07.breakdance .ptc7-drawer .woocommerce-mini-cart-item .quantity { color:#1C2B28 !important; }
body.ptc-v07.breakdance .ptc7-drawer .woocommerce-Price-amount, body.ptc-v07.breakdance .ptc7-drawer bdi, body.ptc-v07.breakdance .ptc7-page bdi, body.ptc-v07.breakdance .ptc7-sheet bdi, body.ptc-v07.breakdance .ptc7-msum bdi, body.ptc-v07.breakdance .ptc7-sticky bdi { color:inherit !important; }
/* C05 (found in MAN_C36_cart.png / MAN_C10_390.png): the GST amount <span> kept the v0.7 pill (bg + 2px 10px padding) from
   ptc-v07.css:42 / :225. Plain inline amount everywhere, drawer path included. */
body.ptc-v07.breakdance .ptc7-gst > span, body.ptc-v07.breakdance .ptc7-gst .woocommerce-Price-amount, body.ptc-v07.breakdance .ptc7-cart-trigger .ptc7-drawer .ptc7-gst > span, body.ptc-v07.breakdance .ptc7-cart-trigger .ptc7-drawer .ptc7-gst .woocommerce-Price-amount { display:inline !important; padding:0 !important; margin:0 !important; background:none !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; font-size:inherit !important; line-height:inherit !important; font-weight:inherit !important; color:inherit !important; }
/* C37 drawer at 320 (QA_drawer_C_320.png: BUTTON.ptc7-inc r=229 > DIV.ptc7-step inner 227): the stepper got squeezed below its
   134px (3×44 + 2px border) and overflow:hidden clipped "+". Below 375 the middle (number) column absorbs the squeeze; the
   −/+ buttons stay 44 wide. 375+ unchanged. */
@media (max-width: 374px) {
  html body.ptc-v07.breakdance .ptc7-step { grid-template-columns:44px minmax(0, 1fr) 44px !important; box-sizing:border-box !important; width:134px; max-width:100% !important; min-width:0 !important; }
  html body.ptc-v07.breakdance .ptc7-step .ptc7-q { width:100% !important; min-width:0 !important; box-sizing:border-box !important; }
}

/* ---------- 0.7.18.5 C29 ---------- */
/* Parcel cards: the ring sits on the card (the 22px radio keeps its own ring too). Higher specificity than the
   Breakdance form/label rules; keyboard focus only (:focus-visible), not on click. */
html body.ptc-v07.breakdance .ptc7-ck-sec--delivery .ptc7-opts .ptc7-opt:has(input:focus-visible) { outline:2px solid #2F6B5D !important; outline-offset:2px !important; box-shadow:0 0 0 3px #CFE3DC !important; }
html body.ptc-v07.breakdance .ptc7-ck-sec--delivery .ptc7-opts .ptc7-opt input.ptc7-opt-in:focus-visible { outline:2px solid #2F6B5D !important; outline-offset:2px !important; box-shadow:0 0 0 3px #CFE3DC !important; }
/* Same C29 rings without relying on <main id="bde-main"> (present on staging today; insurance if a template drops it). */
body.ptc-v07 .ptc7-page :is(a, button, [role=button], summary):focus-visible { outline:2px solid #2F6B5D !important; outline-offset:2px !important; }
body.ptc-v07 .ptc7-page :is(input[type=radio], input[type=checkbox]):focus-visible { outline:2px solid #2F6B5D !important; outline-offset:2px !important; box-shadow:0 0 0 3px #CFE3DC !important; }
/* Sole gateway radio: mirror Woo's own hide (JS adds .ptc7-pay-one + tabindex -1 only when it is the only method). */
html body.ptc-v07.breakdance .ptc7-form #payment li.wc_payment_method > input.ptc7-pay-one { display:none !important; }
html body.ptc-v07.breakdance .ptc7-form #payment li.wc_payment_method:has(> input.ptc7-pay-one) > label { margin-left:0 !important; }
/* Gated header copy 3137 only (body.ptc-v07 exists only when the gate is on, and then 3137 replaces 2749): menu toggle,
   search toggle, account icon link, mini-cart link. Class-based on purpose (no bde-*-3137-* IDs; see the 2749→3137 lesson).
   SCOPE QUESTION for the DL/Sam: header chrome is outside v0.7.1; this ring is v0.7-gated only. The skip link
   (.bde-skip-link) is printed by Breakdance core outside the header element, so it is site-wide and NOT styled here. */
html body.ptc-v07.breakdance header.bde-header-builder :is(.breakdance-menu-toggle, .js-search-form-expand-button, .bde-icon-icon, .bde-mini-cart-toggle):focus-visible { outline:2px solid #2F6B5D !important; outline-offset:2px !important; box-shadow:0 0 0 3px #CFE3DC !important; border-radius:4px; }

/* ---------- 0.7.18.6 ---------- */
/* C19/C20: heading→list 16. ptc-v07.css `.ptc7-page--or .ptc7-panel .ptc7-h2 { margin-bottom:12px }` out-specified the
   0.7.18 `.ptc7-next-h` rule (r2 panel: heading→list=12). */
html body.ptc-v07.breakdance .ptc7-page--or .ptc7-panel .ptc7-h2.ptc7-next-h, html body.ptc-v07.breakdance .ptc7-page--or .ptc7-h2.ptc7-next-h { margin:0 0 16px !important; padding:0 !important; }
/* The card that holds the steps hugs them: 24 desktop / 16 mobile all round, nothing under step 3. The shortcode
   wrapper (Breakdance element div between the card and the h2/ol) gets no margin/padding of its own. */
html body.ptc-v07.breakdance .ptc7-page--or .ptc7-panel:has(.ptc7-tl--v071) { height:auto !important; min-height:0 !important; padding:24px !important; align-self:start !important; }
html body.ptc-v07.breakdance .ptc7-page--or .ptc7-panel :has(> .ptc7-tl--v071) { margin:0 !important; padding:0 !important; min-height:0 !important; height:auto !important; }
html body.ptc-v07.breakdance .ptc7-page--or .ptc7-panel:has(.ptc7-tl--v071) > :last-child, html body.ptc-v07.breakdance .ptc7-page--or .ptc7-tl--v071 > li:last-child { margin-bottom:0 !important; padding-bottom:0 !important; }
@media (max-width: 767px) {
  html body.ptc-v07.breakdance .ptc7-page--or .ptc7-panel:has(.ptc7-tl--v071) { padding:16px !important; }
}
/* C23/C17 at mobile: Copy column 80 (spec 96 / 1fr / 80). 375–400: full spec, gap 16. <375 (320): label 72, gap 8,
   Copy still 80, so the value column keeps ≥ ~88px at 320 (C37). */
@media (max-width: 400px) {
  html body.ptc-v07.breakdance .ptc7-bank-r, html body.ptc-v07.ptc7-f-c23.breakdance .ptc7-bank-r { grid-template-columns:96px minmax(0,1fr) 80px !important; gap:0 16px !important; }
}
@media (max-width: 374px) {
  html body.ptc-v07.breakdance .ptc7-bank-r, html body.ptc-v07.ptc7-f-c23.breakdance .ptc7-bank-r { grid-template-columns:72px minmax(0,1fr) 80px !important; gap:0 8px !important; }
}
/* C36: the toast sits above the mini-cart off-canvas overlay (the overlay was catching the real mouse at 1440) and
   always takes the pointer. */
html body.ptc-v07 .ptc7-toast { z-index:2147483000 !important; pointer-events:auto !important; }
/* C36 "drawer suppressed" on the gated cart page: while an AJAX add is in flight / just done, the Breakdance mini-cart
   off-canvas (our .ptc7-drawer) is not shown; JS closes it if Breakdance opens it (html.ptc7-sup-drawer, cart only). */
html.ptc7-sup-drawer body.ptc-v07.woocommerce-cart .bde-mini-cart-offcanvas { visibility:hidden !important; opacity:0 !important; pointer-events:none !important; transition:none !important; }
html.ptc7-sup-drawer body.ptc-v07.woocommerce-cart .bde-mini-cart-offcanvas * { transition:none !important; }
