/* Beacon Press: the surfaces the prototype did not draw (basket page, checkout, account, journal, legal pages,
   notices, search). Built only from the prototype's tokens and components (press.css, theme.css): ink type on white,
   hairline rules, 2px radius, the .btn system, Libre Caslon Display for titles, Manrope for text. Loaded last. */

/* ---------- Chrome additions ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; }
.foot__grid .foot__h { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; line-height: 1.65; }
.head__basket { color: inherit; }
.sel { text-decoration: none; }
a.sel:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-head__meta { font-size: 14px; color: rgba(255,255,255,.9); }
.page-head .label a { color: inherit; text-decoration: none; }
.page-head .label a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Catalogue tabs are links: the current one looks pressed (press.css .tab[aria-pressed]) */
a.tab { text-decoration: none; color: var(--ink); }
.tab[aria-current="true"] { color: var(--on); border-color: var(--s); transform: translateX(10px); }
.tab[aria-current="true"]::before { clip-path: inset(0 0 0 0); }
.tab[aria-current="true"], .tab[aria-current="true"] span:last-child { color: #FFFFFF; }
.tab[data-series="work"][aria-current="true"] { border-color: var(--f-ochre); }
@media (max-width: 1023px) { .tab[aria-current="true"] { transform: none; } }

/* Catalogue search (rail) and site search */
.rail__search { display: grid; gap: 8px; margin-top: 22px; }
.rail__search label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.rail__field { position: relative; display: flex; }
.rail__field input { width: 100%; min-height: 48px; padding: 0 48px 0 14px; border: 1px solid var(--ui); border-radius: var(--r); background: #FFFFFF; font-size: 15px; }
.rail__field input::placeholder { color: #6B7079; }
.rail__field button { position: absolute; right: 2px; top: 2px; bottom: 2px; width: 44px; display: grid; place-items: center; border: 0; background: none; border-radius: var(--r); }
.rail__clear { font-size: 14px; font-weight: 600; justify-self: start; display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 1023px) { .rail__search { margin-top: 4px; } }
.search-again { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 0 0 40px; }
.search-again .site-search { margin: 0; min-width: min(420px, 100%); }

/* Toolbar form keeps the prototype's layout */
form.toolbar__right { margin: 0; }

/* Product page additions */
.instant__note { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin-top: -10px; max-width: 34em; }
.instant__note b { color: var(--ink); font-weight: 600; }
.instant__note a, .plain a, .pd__info .help a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
.bp-cart { display: grid; gap: 22px; margin: 0; }
.pd__audio > * + * { margin-top: 8px; }
.prose--pd { font-size: 16px; }
.inside__text { color: #FFFFFF; display: grid; gap: 12px; max-width: 40em; }
.inside__text ol { list-style: decimal; padding-left: 1.4em; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* Drawer additions */
.drawer__error { display: grid; grid-template-columns: 20px 1fr; gap: 10px; margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--rule); border-left: 3px solid var(--error); font-size: 14px; line-height: 1.5; }
.drawer__error .i { color: var(--error); }
.drawer__note a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.line__title a { color: inherit; }
a.line__remove { color: var(--ink-2); }

/* ---------- Notices (WooCommerce) ---------- */
.bp-notices:empty, .woocommerce-notices-wrapper:empty { display: none; }
.bp-notices { margin: 16px 0 0; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice:not(.woocommerce-thankyou-order-received) {
  list-style: none; margin: 0 0 20px; padding: 14px 16px 14px 18px; background: #FFFFFF; color: #14161A;
  border: 1px solid #E1E3E6; border-left: 3px solid #0E5A43; border-radius: var(--r); font-size: 15px; line-height: 1.5;
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
}
.woocommerce-info { border-left-color: #2F4BD8; }
.woocommerce-error { border-left-color: var(--error); display: grid; gap: 6px; }
.woocommerce-error li { margin: 0; }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { color: #14161A; font-weight: 600; text-underline-offset: 3px; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }
.pd-page .bp-notices .woocommerce-message { margin-bottom: 0; }
.woocommerce-notices-wrapper { width: 100%; }

/* ---------- Generic pages and prose ---------- */
.page-main { padding-bottom: 120px; }
.page-main .page-head, .wc-flow .page-head { margin-bottom: 56px; }
.prose { max-width: 44em; font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(30px, 3vw, 40px); margin-top: 1.8em; line-height: 1.1; }
.prose h3 { font-size: 26px; margin-top: 1.6em; }
.prose h4 { font-family: var(--sans); font-size: 15px; font-weight: 700; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: #2F4BD8; }
.prose blockquote { border-left: 3px solid var(--ink); padding: 4px 0 4px 18px; color: var(--ink-2); }
.prose strong, .prose b { font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.prose th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1.5px solid var(--ink); }
.prose img { height: auto; border-radius: var(--r); }
.prose code { font-size: .92em; background: #F3F2EE; padding: 1px 5px; border-radius: var(--r); }

/* ---------- Journal ---------- */
.journal-head { margin-bottom: 32px; }
.jlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.jlist--page { margin-bottom: 48px; }
.jcard { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px 28px 32px 0; border-bottom: 1px solid var(--rule); }
.jcard + .jcard { padding-left: 28px; border-left: 1px solid var(--rule); }
.jlist--page .jcard:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.jcard .label { color: var(--ink-2); }
.jcard__t { font-size: 30px; line-height: 1.08; }
.jcard__t a { text-decoration: none; color: var(--ink); }
.jcard__t a::after { content: ""; position: absolute; inset: 0; }
.jcard__x { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.jcard .badge { justify-self: start; }
.jcard__go { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-top: 6px; }
.jcard__go .i { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .jcard:hover .jcard__t a { color: #2F4BD8; } .jcard:hover .jcard__go .i { transform: translateX(3px); } }
.jcard:focus-within { outline: 2px solid var(--ink); outline-offset: -2px; }
.jcard:focus-within a:focus-visible { outline: none; }
.pager .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 10px; text-decoration: none; font-weight: 600; border: 1px solid transparent; border-radius: var(--r); }
.pager .current { border-color: var(--ink); }
.entry { max-width: 1320px; }
.entry__head { gap: 14px; }
.entry__head h1 { max-width: 14em; }
.entry__head .badge--demo { color: #FFFFFF; border-color: rgba(255,255,255,.85); margin-left: 8px; vertical-align: middle; }
.entry .prose { margin: 0 auto 0 0; }
.entry__img { margin: 0 0 40px; }
.entry__img img { width: 100%; height: auto; border-radius: var(--r); }
.entry__foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule); }
.empty--404 { padding: 96px 0 140px; }
.empty--404 h1 { font-size: clamp(44px, 5vw, 64px); }
.empty__acts { display: flex; gap: 12px; flex-wrap: wrap; }
.empty__h { font-size: 34px; }
@media (max-width: 1023px) {
  .jlist { grid-template-columns: 1fr; }
  .jcard, .jcard + .jcard, .jlist--page .jcard:nth-child(3n+1) { padding: 24px 0 28px; border-left: 0; }
}

/* ---------- WooCommerce pages: shared form system ---------- */
.wc-wrap { padding-bottom: 120px; }
.wc-wrap h2, .wc-wrap h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; }
.wc-wrap h2 { font-size: 34px; line-height: 1.08; margin: 0 0 18px; }
.wc-wrap h3 { font-size: 26px; line-height: 1.1; margin: 0 0 14px; }
.wc-wrap label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.wc-wrap .required { color: var(--error); text-decoration: none; border: 0; }
.wc-wrap .optional { color: var(--ink-2); font-weight: 500; }
.wc-wrap input.input-text, .wc-wrap input[type="text"], .wc-wrap input[type="email"], .wc-wrap input[type="tel"], .wc-wrap input[type="password"], .wc-wrap input[type="number"], .wc-wrap select, .wc-wrap textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--ui); border-radius: var(--r); background: #FFFFFF; font-size: 16px; line-height: 1.4; color: var(--ink);
}
.wc-wrap textarea { min-height: 110px; }
.wc-wrap input:focus-visible, .wc-wrap select:focus-visible, .wc-wrap textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.wc-wrap .form-row { margin: 0 0 18px; }
.wc-wrap .form-row-first, .wc-wrap .form-row-last { width: calc(50% - 8px); float: left; }
.wc-wrap .form-row-last { float: right; }
.wc-wrap .form-row-wide, .wc-wrap .clear { clear: both; }
.wc-wrap .woocommerce-invalid input.input-text, .wc-wrap .woocommerce-invalid select { border-color: var(--error); }
.wc-wrap .woocommerce-input-wrapper { display: block; }
.wc-wrap .password-input { position: relative; display: block; }
.wc-wrap .show-password-input { position: absolute; right: 2px; top: 2px; bottom: 2px; width: 44px; border: 0; background: none; cursor: pointer; }
.wc-wrap .show-password-input::after { content: "Show"; font-size: 12px; font-weight: 600; }
.wc-wrap .show-password-input.display-password::after { content: "Hide"; }
.wc-wrap .password-input input { padding-right: 56px; }
.wc-wrap .woocommerce-form__label-for-checkbox { position: relative; display: block; padding-left: 34px; font-weight: 500; font-size: 15px; line-height: 1.5; cursor: pointer; }
.wc-wrap .woocommerce-form__label-for-checkbox > input[type="checkbox"] { position: absolute; left: 0; top: 1px; margin: 0; }
.wc-wrap input[type="checkbox"], .wc-wrap input[type="radio"] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #14161A; }
.wc-wrap .button, .wc-wrap button[type="submit"]:not(.btn), .wc-wrap a.button, #place_order {
  --bg: #14161A; --fg: #FFFFFF; --bd: #14161A;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: var(--r); border: 1px solid var(--bd); background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px;
  letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 140ms var(--ease-out);
}
.wc-wrap .button:active, #place_order:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .wc-wrap .button:hover, .wc-wrap button[type="submit"]:not(.btn):hover, #place_order:hover { --bg: #2F4BD8; --bd: #2F4BD8; }
}
.wc-wrap .button:disabled, .wc-wrap .button.disabled { --bg: #FFFFFF; --fg: #6B7079; --bd: #CDD1D6; cursor: not-allowed; }
.wc-wrap .woocommerce-Button--previous, .wc-wrap .woocommerce-button--previous { --bg: transparent; --fg: var(--ink); }
.wc-wrap table.shop_table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wc-wrap table.shop_table th, .wc-wrap table.shop_table td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.wc-wrap table.shop_table thead th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1.5px solid var(--ink); }
.wc-wrap table.shop_table tfoot th { font-weight: 600; }
.wc-wrap .amount { font-variant-numeric: tabular-nums; }
.wc-wrap .woocommerce-Price-currencySymbol { font: inherit; }
.bp-digital { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 14px 16px; margin: 0 0 20px; border: 1px solid var(--rule); border-left: 3px solid #2F4BD8; border-radius: var(--r); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.bp-digital b { color: var(--ink); font-weight: 600; }
.bp-digital .i { margin-top: 1px; color: var(--ink); }

/* ---------- Basket page ---------- */
.bp-basket { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
.bp-basket .woocommerce-cart-form { min-width: 0; }
.bp-lines { border-top: 1.5px solid var(--ink) !important; table-layout: fixed; }
.bp-lines .bp-col-cover { width: 96px; }
.bp-lines .bp-col-price { width: 90px; }
.bp-lines .bp-col-remove { width: 96px; }
.bp-update { display: none !important; }
.bp-lines td { padding: 20px 16px 20px 0 !important; }
.bp-lines .product-thumbnail { width: 88px; }
.bp-lines .product-thumbnail a { display: block; width: 72px; }
.bp-lines .product-thumbnail .cover { box-shadow: var(--shadow-object); }
.bp-lines .line__title { font-family: var(--display); font-size: 26px; line-height: 1.08; text-decoration: none; color: var(--ink); }
.bp-lines .line__meta { margin-top: 6px; }
.bp-lines .product-subtotal { font-weight: 700; white-space: nowrap; text-align: right !important; }
.bp-lines .product-remove { width: 90px; text-align: right !important; }
.bp-lines .product-remove a { justify-content: flex-end; margin: -10px 0 0; }
.bp-lines td.actions { border-bottom: 0 !important; padding-top: 24px !important; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.coupon { display: grid; gap: 6px; }
.coupon label { font-size: 12px !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.coupon__row { display: flex; gap: 8px; }
.coupon__row input { width: 220px !important; }
.bp-update[disabled] { opacity: .55; }
.cart-collaterals { display: grid; gap: 22px; padding: 28px; border: 1.5px solid var(--ink); border-radius: var(--r); position: sticky; top: calc(var(--head-h) + 24px); }
.cart-collaterals .cart_totals h2 { font-size: 30px; }
.cart-collaterals table.shop_table th { width: 40%; }
.cart-collaterals .order-total th, .cart-collaterals .order-total td { border-bottom: 0; padding-top: 18px; }
.cart-collaterals .order-total .amount { font-family: var(--display); font-weight: 400; font-size: 34px; }
.wc-proceed-to-checkout { margin-top: 18px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 16px; }
.cart-collaterals .nudge { margin: 0; }
.cart-empty.woocommerce-info { border-left-color: #14161A; }
.return-to-shop .button { margin-top: 8px; }
@media (max-width: 1023px) {
  .bp-basket { grid-template-columns: 1fr; gap: 32px; }
  .cart-collaterals { position: static; }
}
@media (max-width: 767px) {
  .bp-lines, .bp-lines tbody, .bp-lines tr { display: block; }
  .bp-lines tr.cart_item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .bp-lines td { display: block; padding: 0 !important; border: 0 !important; width: auto !important; }
  .bp-lines td::before { display: none; }
  .bp-lines .product-thumbnail { grid-row: span 2; width: 64px; }
  .bp-lines .product-thumbnail a { width: 64px; }
  .bp-lines .line__title { font-size: 21px; }
  .bp-lines .product-subtotal { grid-column: 3; grid-row: 1; }
  .bp-lines .product-remove { grid-column: 2 / span 2; grid-row: 2; text-align: left !important; }
  .bp-lines .product-remove a { justify-content: flex-start; margin: 0; padding-left: 0; }
  .bp-lines td.actions { display: grid; padding-top: 20px !important; }
  .coupon__row input { width: 100% !important; }
  .cart-collaterals { padding: 22px 18px; }
}

/* ---------- Checkout (inc/checkout.php, woocommerce/checkout/*) ----------
   A focused page: the logo, "Secure checkout" and a way back to the basket; no navigation, no full footer.
   Details and payment on the left, the order summary card on the right; on phones the summary comes first, folded
   to one line (items and total). The pay button is the one cobalt object on the page. */
.site-head--co { position: relative; } /* not sticky: nothing to navigate to, and the room goes to the form */
.site-head--co .head__in { justify-content: space-between; gap: 16px; }
.co-head__secure { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 0 auto; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.co-head__secure .i, .co-head__back .i { width: 18px; height: 18px; }
.co-head__back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.co-head__back:hover span { text-decoration: underline; text-underline-offset: 3px; }
.co-head__back:focus-visible, .co-foot a:focus-visible, .bp-co a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: var(--r); }
@media (max-width: 639px) { .co-head__secure span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .co-head__secure { margin-right: -4px; } }

.bp-co-page .page-head { --head-c: var(--f-cobalt); padding-top: 44px; padding-bottom: 40px; margin-bottom: 44px; gap: 12px; }
.bp-co-page .page-head h1 { font-size: clamp(44px, 4.6vw, 64px); }
.bp-co-page .page-head .lead { font-size: 18px; }
@media (max-width: 767px) { .bp-co-page .page-head { padding-top: 26px; padding-bottom: 24px; margin-bottom: 0; gap: 6px; } .bp-co-page .page-head h1 { font-size: 40px; } .bp-co-page .page-head .lead { font-size: 15px; line-height: 1.5; } }
.wc-flow--co .wc-wrap { padding-bottom: 72px; }

.bp-co { display: grid; grid-template-columns: minmax(0, 1fr) 420px; column-gap: 64px; align-items: start; }
.bp-co__main { grid-column: 1; grid-row: 1; min-width: 0; }
.bp-co__summary { grid-column: 2; grid-row: 1; min-width: 0; }
.bp-co form.checkout { display: block; }

/* Sections: a numbered editorial head over a rule */
.bp-co__sec + .bp-co__sec, .bp-bump + .bp-co__sec { margin-top: 40px; }
.bp-co__h { display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px !important; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); font-size: 34px !important; line-height: 1.05; }
.bp-co__n { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #2F4BD8; color: #FFFFFF; font-family: var(--sans); font-size: 14px; font-weight: 700; transform: translateY(-4px); }
.bp-co #customer_details .col-1, .bp-co #customer_details .col-2 { width: 100%; }
.bp-co #customer_details .col-2:empty { display: none; }
.bp-co #customer_details .col-2 { margin: 0; }
.bp-co .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.bp-co .woocommerce-billing-fields__field-wrapper > .form-row { float: none; width: auto; grid-column: 1 / -1; }
.bp-co .woocommerce-billing-fields__field-wrapper > .form-row-first { grid-column: 1; }
.bp-co .woocommerce-billing-fields__field-wrapper > .form-row-last { grid-column: 2; }
.bp-co .form-row .description { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.bp-co #billing_country_field strong { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border: 1px solid var(--rule); border-radius: var(--r); font-weight: 600; font-size: 16px; }
.bp-co .woocommerce-account-fields { margin-top: 4px; }
.bp-co .create-account, .bp-co .bp-optin { margin: 0 0 14px !important; }
.bp-co .bp-optin { padding-top: 0; }
.bp-co input[type="checkbox"], .bp-co input[type="radio"] { accent-color: #2F4BD8; }
.bp-co .woocommerce-form__label-for-checkbox { font-size: 14.5px; color: var(--ink-2); }
.bp-co .woocommerce-form__label-for-checkbox b { color: var(--ink); font-weight: 700; }
.bp-co .woocommerce-form__label-for-checkbox a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.bp-co .checkout-inline-error-message { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--error); }

/* Sign in and discount code: one quiet line each above the form */
.bp-co .woocommerce-form-login-toggle .woocommerce-info, .bp-co .woocommerce-form-coupon-toggle .woocommerce-info { margin: 0 0 10px; padding: 10px 14px; border: 1px solid var(--rule); border-left: 3px solid #14161A; font-size: 14px; justify-content: flex-start; }
.bp-co .woocommerce-form-login, .bp-co .checkout_coupon { margin: 0 0 18px; }
.bp-co .checkout_coupon .form-row-first, .bp-co .checkout_coupon .form-row-last { width: auto; float: none; }
.bp-co .checkout_coupon .form-row { margin: 0; }
.bp-co form.checkout { margin-top: 26px; }
.bp-co .woocommerce-notices-wrapper:empty + form.checkout, .bp-co__main > form.checkout:first-child { margin-top: 0; }

/* The order bump: optional, never ticked for you; the whole card is the label */
.bp-bump { margin-top: 36px; }
.bp-bump[hidden] { display: none; }
.bp-bump__card { position: relative; display: grid !important; grid-template-columns: 24px 64px minmax(0, 1fr); gap: 16px; align-items: start; margin: 0 !important; padding: 18px 18px 18px 16px; border: 1px solid var(--ui); border-left: 3px solid #2F4BD8; border-radius: var(--r); background: #FFFFFF; cursor: pointer; font-weight: 500 !important; transition: border-color 180ms ease, box-shadow 180ms ease; }
@media (hover: hover) and (pointer: fine) { .bp-bump__card:hover { border-color: #2F4BD8; } }
.bp-bump__card:has(input:checked) { border-color: #2F4BD8; box-shadow: inset 0 0 0 1px #2F4BD8; }
.bp-bump__card:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.bp-bump__card input[type="checkbox"] { width: 22px; height: 22px; margin: 2px 0 0; }
.bp-bump__cover { width: 64px; }
.bp-bump__cover .cover { box-shadow: var(--shadow-object); }
.bp-bump__body { display: grid; gap: 6px; min-width: 0; }
.bp-bump__kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #2F4BD8; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; line-height: 1.3; }
.bp-bump__opt { color: var(--ink-2); font-weight: 600; }
.bp-bump__name { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--display); font-size: 23px; line-height: 1.15; color: var(--ink); }
.bp-bump__name b { font-weight: 400; }
.bp-bump__price { flex: none; font-family: var(--sans); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bp-bump__desc { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* Payment */
.bp-co-secure { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.bp-co-secure .i { color: var(--ink); margin-top: 1px; }
.bp-co #payment { margin-top: 0; }
.bp-co #payment ul.payment_methods { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.bp-co #payment ul.payment_methods li { padding: 16px 18px; border: 1px solid var(--ui); border-radius: var(--r); background: #FFFFFF; }
.bp-co #payment ul.payment_methods li:has(input:checked) { border-color: #14161A; box-shadow: inset 0 0 0 .5px #14161A; }
.bp-co #payment ul.payment_methods li > label { display: inline; font-weight: 600; font-size: 16px; margin: 0; cursor: pointer; }
.bp-co #payment ul.payment_methods li > label img { display: inline-block; max-height: 22px; width: auto; margin-left: 6px; vertical-align: middle; }
.bp-co #payment ul.payment_methods li > input[type="radio"] { margin: 0 10px 0 0; vertical-align: -4px; }
.bp-co #payment .payment_box { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.bp-co #payment .payment_box p { margin: 0; }
.bp-co #payment .payment_box p + p, .bp-co #payment .payment_box p + fieldset, .bp-co #payment .payment_box fieldset + p { margin-top: 10px; }
.bp-co #payment .payment_method_cheque .payment_box { color: var(--ink); }
/* Stripe (WooCommerce Stripe Gateway): its Payment Element, saved cards, test-mode note and express buttons */
.bp-co #payment fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bp-co .wc-stripe-upe-element { min-height: 48px; padding: 2px 0; }
.bp-co .wc-stripe-upe-element iframe { width: 100% !important; }
.bp-co #wc-stripe-upe-errors, .bp-co .stripe-source-errors { color: var(--error); font-weight: 600; }
.bp-co #payment .testmode-info { padding: 10px 12px; border: 1px solid var(--rule); border-left: 3px solid #B08A12; color: var(--ink); }
.bp-co .woocommerce-SavedPaymentMethods { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.bp-co .woocommerce-SavedPaymentMethods label { display: inline; font-weight: 500; }
.bp-co #wc-stripe-express-checkout-element { margin: 0 0 8px; }
.bp-co #wc-stripe-express-checkout-button-separator { align-items: center; gap: 14px; margin: 14px 0 26px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.bp-co #wc-stripe-express-checkout-button-separator:not([style*="none"]) { display: flex !important; }
.bp-co #wc-stripe-express-checkout-button-separator::before, .bp-co #wc-stripe-express-checkout-button-separator::after { content: ""; flex: 1; border-top: 1px solid var(--rule); }

.bp-co #payment .place-order { display: grid; gap: 14px; margin: 0; }
.bp-co .woocommerce-terms-and-conditions-wrapper { display: grid; gap: 12px; }
.bp-co #payment .woocommerce-privacy-policy-text p { margin: 0; }
.bp-co .bp-consent { padding: 16px 18px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #FFFFFF; }
.bp-co .bp-consent .woocommerce-form__label-for-checkbox { color: var(--ink); }
.bp-co .bp-consent.woocommerce-invalid { border-color: var(--error); }
.bp-co #place_order { --bg: #2F4BD8; --bd: #2F4BD8; --fg: #FFFFFF; width: 100%; min-height: 60px; margin-top: 4px; font-size: 18px; font-weight: 700; letter-spacing: .005em; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .bp-co #place_order:hover { --bg: #14161A; --bd: #14161A; } }
.bp-co #place_order:focus-visible { outline: 3px solid #14161A; outline-offset: 3px; }
.bp-co #place_order:disabled { --bg: #FFFFFF; --fg: #6B7079; --bd: #CDD1D6; }
.bp-co .bp-paynote { margin: 0; font-size: 13.5px; text-align: center; }
.bp-co-assure { display: none; }
.bp-co-page .wc-wrap .woocommerce > .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 24px; }
@media (max-width: 767px) { .bp-co-page .wc-wrap .woocommerce > .woocommerce-notices-wrapper:not(:empty) { margin: 20px 0 8px; } }
.bp-co :is(input, select, button, a, label), .bp-co .woocommerce-NoticeGroup { scroll-margin-top: calc(var(--head-h) + 20px); }
.bp-bump__card, .bp-co__toggle, .bp-co #place_order, .bp-co #payment ul.payment_methods li > label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media (max-width: 1023px) {
  .bp-co-assure { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
  .bp-co-assure .i { color: #2F4BD8; }
  .bp-co-assure a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
}

/* The summary card */
.bp-co__summary { border: 1.5px solid var(--ink); border-radius: var(--r); background: #FFFFFF; }
.bp-co__toggle { display: none; }
.bp-co__sumbody { padding: 26px 28px 28px; }
.bp-co__sumh { margin: 0 0 6px !important; font-size: 32px !important; line-height: 1.05; }
.bp-co #order_review { margin: 0; padding: 0; border: 0; }
.bp-sum__lines, .bp-sum__totals { width: 100%; border-collapse: collapse; }
.bp-sum__lines td { padding: 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.bp-sum__lines td.bp-sum__cover { width: 72px; padding-right: 16px; }
.bp-sum__cover .cover { width: 56px; box-shadow: var(--shadow-object); }
.bp-sum__lines .product-name { padding-right: 12px; }
.bp-sum__title { display: block; font-family: var(--display); font-size: 21px; line-height: 1.12; }
.bp-sum__meta, .bp-sum__files { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.bp-sum__meta { font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.bp-sum dl.variation { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); }
.bp-sum dl.variation :is(dt, dd).variation-Format { display: none; }
.bp-sum__lines .product-total { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bp-sum__opens { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.bp-sum__opens .i { color: var(--ink); }
.bp-sum__totals { margin-top: 12px; }
.bp-sum__totals th, .bp-sum__totals td { padding: 8px 0; font-size: 15px; text-align: left; font-weight: 500; }
.bp-sum__totals td { text-align: right; font-variant-numeric: tabular-nums; }
.bp-sum__totals .order-total th, .bp-sum__totals .order-total td { padding-top: 14px; border-top: 1.5px solid var(--ink); vertical-align: baseline; }
.bp-sum__totals .order-total th { font-weight: 700; font-size: 16px; }
.bp-sum__totals .order-total .amount { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1; }
.bp-sum__totals .order-total strong { font-weight: 400; }
.bp-sum__totals .includes_tax { display: block; font-size: 13px; color: var(--ink-2); }
.bp-sum__totals .woocommerce-remove-coupon { margin-left: 6px; font-size: 13px; color: var(--ink-2); }
.bp-sum__vat { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); text-align: right; }

.bp-co-trust { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--rule); display: grid; gap: 16px; }
.bp-co-trust__h { margin: 0 !important; font-family: var(--sans) !important; font-size: 12px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); line-height: 1.3 !important; }
.bp-co-trust__list { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.bp-co-trust__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.bp-co-trust__list .i { color: #2F4BD8; margin-top: 1px; }
.bp-co-trust__list b { color: var(--ink); font-weight: 700; }
.bp-co-trust a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.bp-co-trust__help { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.bp-co-trust__links { display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 13px; }
.bp-co-trust__links a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 500; }

.co-foot { padding: 28px 0 36px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
.co-foot .wrap { display: grid; gap: 10px; }
.co-foot__links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.co-foot a { color: var(--ink); text-underline-offset: 3px; }
.co-foot__links a { display: inline-flex; align-items: center; min-height: 32px; }

@media (max-width: 1023px) {
  .bp-co { grid-template-columns: minmax(0, 1fr); }
  .bp-co__main, .bp-co__summary { grid-column: 1; grid-row: auto; }
  /* Phones and tablets: the summary first, folded to one line */
  .bp-co__summary { margin: 0 calc(-1 * var(--gutter)); border-width: 0 0 1px; border-color: var(--rule); border-radius: 0; }
  .js .bp-co__toggle { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; gap: 12px; align-items: center; width: 100%; min-height: 60px; padding: 0 var(--gutter); border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; }
  .bp-co__toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
  .bp-co__toggle-l { display: inline-flex; align-items: center; gap: 10px; color: #2F4BD8; }
  .bp-co__toggle-l .i { width: 20px; height: 20px; }
  .bp-co__toggle-hide, .bp-co__summary.is-open .bp-co__toggle-show { display: none; }
  .bp-co__summary.is-open .bp-co__toggle-hide { display: inline; }
  .bp-co-sumtotal { display: inline-flex; align-items: baseline; gap: 10px; }
  .bp-co-sumtotal__n { font-size: 13px; font-weight: 500; color: var(--ink-2); }
  .bp-co-sumtotal b { font-family: var(--display); font-weight: 400; font-size: 24px; }
  .bp-co__chev { width: 20px; height: 20px; transition: transform 220ms var(--ease-out); }
  .bp-co__summary.is-open .bp-co__chev { transform: rotate(180deg); }
  .js .bp-co__summary:not(.is-open) .bp-co__sumbody { display: none; }
  .bp-co__sumbody { padding: 4px var(--gutter) 24px; }
  .js .bp-co__sumh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .bp-co__main { margin-top: 28px; }
}
@media (max-width: 767px) {
  .bp-co__h { font-size: 28px !important; gap: 12px; }
  .bp-co__n { width: 26px; height: 26px; font-size: 13px; transform: translateY(-3px); }
  .bp-co .woocommerce-billing-fields__field-wrapper { grid-template-columns: minmax(0, 1fr); }
  .bp-co .woocommerce-billing-fields__field-wrapper > .form-row-first, .bp-co .woocommerce-billing-fields__field-wrapper > .form-row-last { grid-column: 1; }
  .bp-bump__card { grid-template-columns: 22px 44px minmax(0, 1fr); gap: 12px; padding: 16px 14px 16px 12px; }
  .bp-bump__cover { width: 44px; }
  .bp-bump__name { font-size: 20px; flex-wrap: wrap; }
  .bp-sum__title { font-size: 19px; }
  .bp-co #place_order { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .bp-co__chev, .bp-bump__card { transition: none; } }

/* ---------- Compact checkout (George, 27 Oct 2026: "you have to scroll on desktop quite a lot") ----------
   The same parts, closer together: a slimmer head band, the sign-in and discount links side by side, the UK-only
   country as one short line (the field is still there for WooCommerce and Stripe), tighter section heads and gaps,
   and no method label when card is the only way to pay. */
.bp-co-page .page-head { padding-top: 24px; padding-bottom: 22px; margin-bottom: 28px; gap: 6px; }
.bp-co-page .page-head h1 { font-size: clamp(36px, 3.4vw, 48px); }
.bp-co-page .page-head .lead { font-size: 16px; }
.bp-co .woocommerce-form-login-toggle, .bp-co .woocommerce-form-coupon-toggle { display: inline-block; width: calc(50% - 5px); vertical-align: top; }
.bp-co .woocommerce-form-login-toggle { margin-right: 6px; }
.bp-co .woocommerce-form-login-toggle .woocommerce-info, .bp-co .woocommerce-form-coupon-toggle .woocommerce-info { margin: 0 0 6px; padding: 8px 12px; font-size: 13.5px; }
.bp-co form.checkout { margin-top: 26px; }
.bp-co__sec + .bp-co__sec, .bp-bump + .bp-co__sec { margin-top: 28px; }
.bp-co__h { margin: 0 0 16px !important; padding-bottom: 10px; font-size: 28px !important; }
.bp-co__n { width: 26px; height: 26px; font-size: 13px; transform: translateY(-3px); }
.bp-co .woocommerce-billing-fields .form-row { margin-bottom: 14px; }
.bp-co #billing_country_field { margin-top: -6px; }
.bp-co #billing_country_field > label, .bp-co #billing_country_field .woocommerce-input-wrapper > :not(.description) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bp-co #billing_country_field .description { margin-top: 0; }
.bp-co .create-account, .bp-co .bp-optin { margin: 0 0 10px !important; }
.bp-bump { margin-top: 22px; }
.bp-bump__card { padding: 14px 16px 14px 14px; gap: 14px; grid-template-columns: 24px 52px minmax(0, 1fr); }
.bp-bump__cover { width: 52px; }
.bp-bump__name { font-size: 21px; }
.bp-co #payment ul.payment_methods { margin-bottom: 16px; }
.bp-co #payment ul.payment_methods li { padding: 12px 16px; }
.bp-co #payment ul.payment_methods li:only-child > input[type="radio"], .bp-co #payment ul.payment_methods li:only-child > label { display: none; }
.bp-co #payment ul.payment_methods li:only-child .payment_box { margin-top: 0; padding-top: 0; border-top: 0; }
.bp-co .woocommerce-terms-and-conditions-wrapper { gap: 8px; }
.bp-co .bp-consent { padding: 12px 14px; }
.bp-co #payment .place-order { gap: 10px; }
.bp-co #place_order { min-height: 56px; }
@media (max-width: 767px) {
  .bp-co-page .page-head { padding-top: 18px; padding-bottom: 16px; }
  .bp-co-page .page-head h1 { font-size: 32px; }
  .bp-co .woocommerce-form-login-toggle, .bp-co .woocommerce-form-coupon-toggle { width: 100%; margin-right: 0; }
}

/* ---------- One-screen checkout (George, 27 Oct 2026 evening: "far too tall") ----------
   Same design, much less height: a slim title band with no subheading, small section heads, shorter fields with
   tighter gaps, one-line options, a compact payment area and pay button, and a summary card with less padding. The
   repeated explanations are gone from the template; what is left is what a buyer needs to pay. */
.bp-co-page .page-head { padding-top: 14px; padding-bottom: 14px; margin-bottom: 20px; }
.bp-co-page .page-head h1 { font-size: 32px; line-height: 1.1; }
.bp-co-page .page-head .lead { display: none; }
.bp-co .woocommerce-form-login-toggle .woocommerce-info, .bp-co .woocommerce-form-coupon-toggle .woocommerce-info { margin: 0 0 4px; padding: 6px 12px; font-size: 13px; }
.bp-co form.checkout { margin-top: 14px; }
.bp-co__h { margin: 0 0 12px !important; padding-bottom: 6px; border-bottom-width: 1px; font-size: 22px !important; gap: 10px; }
.bp-co__n { width: 22px; height: 22px; font-size: 12px; transform: translateY(-2px); }
.bp-co__sec + .bp-co__sec, .bp-bump + .bp-co__sec { margin-top: 18px; }
.bp-co .woocommerce-billing-fields .form-row { margin-bottom: 10px; }
.bp-co .woocommerce-billing-fields label:not(.woocommerce-form__label-for-checkbox) { margin-bottom: 4px; font-size: 14px; }
.bp-co .woocommerce-billing-fields :is(input.input-text, select) { min-height: 42px; height: 42px; padding-top: 8px; padding-bottom: 8px; }
.bp-co #billing_country_field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
.bp-co .create-account, .bp-co .bp-optin { margin: 0 0 6px !important; }
.bp-co .woocommerce-form__label-for-checkbox { font-size: 14px; line-height: 1.4; }
.bp-bump { margin-top: 12px; }
.bp-bump__card { padding: 10px 12px; gap: 12px; grid-template-columns: 22px 40px minmax(0, 1fr); align-items: center; }
.bp-bump__cover { width: 40px; }
.bp-bump__body { gap: 2px; }
.bp-bump__kicker { font-size: 11px; }
.bp-bump__name { font-size: 18px; }
.bp-bump__desc { font-size: 13px; line-height: 1.4; }
.bp-co #payment ul.payment_methods { margin-bottom: 10px; }
.bp-co #payment ul.payment_methods li { padding: 10px 14px; }
.bp-co #payment .place-order { gap: 8px; }
.bp-co .woocommerce-terms-and-conditions-wrapper { gap: 6px; }
.bp-co #payment .woocommerce-privacy-policy-text { font-size: 12.5px; }
.bp-co .bp-consent { padding: 8px 12px; }
.bp-co #place_order { min-height: 50px; margin-top: 2px; font-size: 17px; }
.bp-co__sumbody { padding: 18px 20px 18px; }
.bp-co__sumh { margin: 0 0 2px !important; font-size: 24px !important; }
.bp-sum__lines td { padding: 10px 0; }
.bp-sum__lines td.bp-sum__cover { width: 56px; padding-right: 12px; }
.bp-sum__cover .cover { width: 44px; }
.bp-sum__title { font-size: 18px; }
.bp-sum__meta { margin-top: 2px; font-size: 12.5px; }
.bp-sum__files-all { margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.bp-sum__compat { margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.bp-sum__compat summary { display: inline-flex; align-items: center; min-height: 28px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bp-sum__compat p { margin: 4px 0 0; line-height: 1.45; }
.bp-sum__totals { margin-top: 8px; }
.bp-sum__totals .order-total th, .bp-sum__totals .order-total td { padding-top: 10px; }
.bp-sum__totals .order-total .amount { font-size: 30px; }
.bp-sum__vat { margin-top: 2px; font-size: 12.5px; }
.bp-co-trust { margin-top: 14px; padding-top: 12px; gap: 8px; }
.bp-co-trust__list { gap: 6px; }
.bp-co-trust__list li { gap: 10px; font-size: 13.5px; line-height: 1.4; }
.bp-co-trust__help { margin: 0; font-size: 13px; }
.bp-co-trust__links { gap: 0 12px; font-size: 12.5px; }
.bp-co-trust__links a { min-height: 26px; }
/* Card as the only way to pay: Stripe's own card box is the frame, so ours steps back. */
.bp-co #payment ul.payment_methods li:only-child { padding: 0; border: 0; background: none; box-shadow: none; }
.bp-co #payment ul.payment_methods li:only-child .payment_box { margin: 0; padding: 0; }
.bp-co #payment ul.payment_methods li:only-child .payment_box > p:empty { display: none; }
@media (min-width: 1024px) {
  .bp-co-page .page-head { padding-top: 10px; padding-bottom: 10px; margin-bottom: 16px; }
  .bp-co-page .page-head h1 { font-size: 28px; }
  .bp-co form.checkout { margin-top: 10px; }
  .bp-co__h { margin-bottom: 8px !important; padding-bottom: 4px; font-size: 19px !important; }
  .bp-co__sec + .bp-co__sec, .bp-bump + .bp-co__sec { margin-top: 14px; }
  .bp-co .woocommerce-billing-fields .form-row { margin-bottom: 8px; }
  .bp-co .woocommerce-billing-fields label:not(.woocommerce-form__label-for-checkbox) { margin-bottom: 2px; }
  .bp-bump { margin-top: 8px; }
  .bp-co #payment ul.payment_methods { margin-bottom: 6px; }
  .bp-co .bp-consent { padding: 6px 12px; }
  .bp-co #payment .place-order { gap: 6px; }
  .bp-co #payment .place-order > .woocommerce-terms-and-conditions-wrapper { display: contents; }
  .bp-co #payment .woocommerce-privacy-policy-text { order: 10; }
  .bp-co #payment #place_order { order: 9; }
}
@media (min-width: 1024px) {
  .bp-co { column-gap: 48px; grid-template-columns: minmax(0, 1fr) 380px; }
  .bp-co .bp-paynote { display: none; } /* the VAT line is in the summary beside it */
}
@media (max-width: 767px) {
  .bp-co-page .page-head { padding-top: 12px; padding-bottom: 12px; }
  .bp-co-page .page-head h1 { font-size: 28px; }
}

/* The order-pay page and anything else on WooCommerce's default checkout markup */
#payment { margin-top: 16px; }
#payment ul.payment_methods { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
#payment ul.payment_methods li { padding: 14px 16px; border: 1px solid var(--ui); border-radius: var(--r); }
#payment ul.payment_methods li > label { display: inline; font-size: 15px; }
#payment .payment_box { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
#payment .woocommerce-notice, #payment ul.payment_methods li.woocommerce-notice { border: 1px solid var(--rule); border-left: 3px solid #2F4BD8; }
#payment .place-order { display: grid; gap: 14px; margin: 0; }
#payment .woocommerce-privacy-policy-text { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
#payment .woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-wrapper a { color: var(--ink); font-weight: 600; }
.woocommerce-terms-and-conditions-wrapper .form-row, .bp-consent, .bp-optin { margin: 0 !important; }
.bp-consent { padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: var(--r); }
.bp-consent.woocommerce-invalid { border-color: var(--error); }
.bp-consent b { font-weight: 700; }
.bp-optin { padding-top: 6px; clear: both; }
.bp-optin a { color: var(--ink); font-weight: 600; }
#place_order { width: 100%; min-height: 56px; font-size: 16px; }
.bp-paynote { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: -4px 0 0; }
.blockUI.blockOverlay { background: rgba(255,255,255,.6) !important; }

/* Thank-you page and order details */
.woocommerce-thankyou-order-received { font-family: var(--display); font-size: clamp(30px, 3vw, 40px); line-height: 1.1; margin: 0 0 20px; }
.woocommerce-thankyou-order-received b { font-weight: 400; }
.bp-thanks { display: grid; gap: 12px; max-width: 44em; margin: 0 0 32px; color: var(--ink-2); }
.bp-thanks a { color: var(--ink); font-weight: 600; }
ul.woocommerce-order-overview { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin: 0 0 40px; padding: 0; border-top: 1.5px solid var(--ink); }
ul.woocommerce-order-overview li { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.woocommerce-order-details, .woocommerce-customer-details, .woocommerce-order-downloads { margin: 0 0 40px; }
.woocommerce-customer-details address { font-style: normal; line-height: 1.6; padding: 16px; border: 1px solid var(--rule); border-radius: var(--r); }

/* ---------- Account ---------- */
.woocommerce-account .wc-wrap > .woocommerce { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 56px; align-items: start; }
.woocommerce-account .wc-wrap > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account:not(.logged-in) .wc-wrap > .woocommerce { display: block; }
.bp-acct-nav { position: sticky; top: calc(var(--head-h) + 24px); }
.bp-acct-nav ul { display: grid; gap: 6px; }
.bp-acct-nav a { position: relative; display: flex; align-items: center; min-height: 52px; padding: 0 16px 0 26px; border: 1px solid var(--ui); border-radius: var(--r); background: #FFFFFF; font-size: 15px; font-weight: 600; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform 300ms var(--ease-pull), color 200ms ease; }
.bp-acct-nav a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #14161A; clip-path: inset(0 calc(100% - 10px) 0 0); transition: clip-path 320ms var(--ease-pull); }
.bp-acct-nav a[aria-current="page"] { color: #FFFFFF; border-color: #14161A; transform: translateX(10px); }
.bp-acct-nav a[aria-current="page"]::before { clip-path: inset(0 0 0 0); }
@media (hover: hover) and (pointer: fine) { .bp-acct-nav a:hover { transform: translateX(6px); } .bp-acct-nav a[aria-current="page"]:hover { transform: translateX(10px); } }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-MyAccount-content p + p, .woocommerce-MyAccount-content p + form { margin-top: 14px; }
.acct-hello { font-family: var(--display); font-size: clamp(30px, 3vw, 40px); line-height: 1.1; margin-bottom: 28px; }
.acct-hello span { display: block; margin-top: 10px; font-family: var(--sans); font-size: 15px; color: var(--ink-2); }
.acct-hello a { color: var(--ink); font-weight: 600; }
.acct-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--ink); }
.acct-tiles a { position: relative; display: grid; gap: 6px; padding: 24px 48px 26px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.acct-tiles li:nth-child(even) a { padding-left: 28px; border-left: 1px solid var(--rule); }
.acct-tiles b { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.08; }
.acct-tiles span { color: var(--ink-2); font-size: 15px; }
.acct-tiles .i { position: absolute; right: 16px; top: 30px; }
@media (hover: hover) and (pointer: fine) { .acct-tiles a:hover b { color: #2F4BD8; } .acct-tiles a:hover .i--go { transform: translateX(3px); } }
.woocommerce-MyAccount-content .woocommerce-orders-table .button, .woocommerce-MyAccount-content .woocommerce-table--order-downloads .button { min-height: 40px; padding: 0 14px; font-size: 14px; }
.woocommerce-MyAccount-content .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.woocommerce-MyAccount-content .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.woocommerce-MyAccount-content address { font-style: normal; line-height: 1.6; }
.woocommerce-MyAccount-content fieldset { border: 1px solid var(--rule); border-radius: var(--r); padding: 18px 20px 4px; margin: 10px 0 22px; }
.woocommerce-MyAccount-content legend { font-weight: 700; padding: 0 6px; }
.woocommerce-EditAccountForm::after, .woocommerce-address-fields__field-wrapper::after { content: ""; display: block; clear: both; }
.woocommerce-pagination { margin-top: 20px; display: flex; gap: 10px; }
/* Sign in and register, side by side */
.u-columns.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1.5px solid var(--ink); border-radius: var(--r); }
.u-columns.col2-set > .u-column1, .u-columns.col2-set > .u-column2 { padding: 36px; }
.u-columns.col2-set > .u-column2 { border-left: 1px solid var(--rule); }
.woocommerce-form-login, .woocommerce-form-register { border: 0; padding: 0; margin: 0; }
.woocommerce-form-login .woocommerce-form-login__rememberme { margin: 0 0 14px; }
.woocommerce-form-login .button, .woocommerce-form-register .button { width: 100%; min-height: 52px; }
.woocommerce-LostPassword { margin-top: 14px; font-size: 14px; }
.woocommerce-LostPassword a, .woocommerce-privacy-policy-text a { color: var(--ink); font-weight: 600; }
.woocommerce-privacy-policy-text { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0 0 16px; }
.woocommerce-ResetPassword { max-width: 32em; }
@media (max-width: 1023px) {
  .woocommerce-account .wc-wrap > .woocommerce { grid-template-columns: 1fr; gap: 28px; }
  .bp-acct-nav { position: static; }
  .bp-acct-nav ul { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 12px; }
  .bp-acct-nav ul::-webkit-scrollbar { display: none; }
  .bp-acct-nav a, .bp-acct-nav a[aria-current="page"] { transform: none !important; }
}
@media (max-width: 767px) {
  .acct-tiles { grid-template-columns: 1fr; }
  .acct-tiles li:nth-child(even) a { padding-left: 0; border-left: 0; }
  .u-columns.col2-set { grid-template-columns: 1fr; }
  .u-columns.col2-set > .u-column1, .u-columns.col2-set > .u-column2 { padding: 24px 18px; }
  .u-columns.col2-set > .u-column2 { border-left: 0; border-top: 1px solid var(--rule); }
  /* Responsive WooCommerce tables: one card per row */
  .wc-wrap table.shop_table_responsive thead { display: none; }
  .wc-wrap table.shop_table_responsive:not(.bp-lines) tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .wc-wrap table.shop_table_responsive:not(.bp-lines) td, .wc-wrap table.shop_table_responsive:not(.bp-lines) th { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border: 0; text-align: right; }
  .wc-wrap table.shop_table_responsive:not(.bp-lines) td::before { content: attr(data-title); font-weight: 600; text-align: left; }
  .cart-collaterals table.shop_table_responsive tr { padding: 4px 0; }
  /* Rows that already have a heading cell (basket totals): no second label from data-title (integration fix) */
  .wc-wrap table.shop_table_responsive:not(.bp-lines) tr:has(> th) { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .wc-wrap table.shop_table_responsive:not(.bp-lines) tr:has(> th) > th { padding: 6px 0; border: 0; text-align: left; }
  .wc-wrap table.shop_table_responsive:not(.bp-lines) tr:has(> th) > td::before { content: none; }
}

/* "From" on a multi-format price, small so the price keeps the prototype's line */
.price .price__from { margin: 0 6px 0 0; color: inherit; opacity: .9; }

/* ---------- beacon-publishing plugin markup (bp-*): the theme owns its look ---------- */
.bp-look__head { display: grid; gap: 14px; margin-bottom: 48px; }
.bp-look__title { font-family: var(--display); font-weight: 400; letter-spacing: -0.015em; line-height: 1; font-size: clamp(38px, 4.2vw, 62px); }
.bp-look__intro { color: var(--ink-2); max-width: 30em; }
.bp-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px dashed currentColor; border-radius: var(--r); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.inside .bp-badge, .pd-page[data-series] .pd__info .bp-badge { color: #FFFFFF; border-color: rgba(255,255,255,.85); }
.bp-btn, .bp-look-trigger { min-height: 48px; padding: 0 22px; border: 1px solid var(--ink); border-radius: var(--r); background: transparent; color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 140ms var(--ease-out); }
.bp-btn:active { transform: scale(.97); }
.bp-btn--quiet { min-height: 44px; border-color: transparent; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; padding: 0 8px; }
.inside .bp-btn { color: #FFFFFF; border-color: rgba(255,255,255,.92); }
.inside .bp-btn--quiet { border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .bp-btn:not([disabled]):hover { background: #14161A; color: #FFFFFF; border-color: #14161A; }
  .inside .bp-btn:not([disabled]):hover { background: #FFFFFF; color: #14161A; border-color: #FFFFFF; }
  .inside .bp-btn--quiet:not([disabled]):hover { background: transparent; color: #FFFFFF; border-color: transparent; text-decoration-thickness: 2px; }
}
.inside .bp-book:focus-visible { outline-color: #FFFFFF; }
.inside .bp-spread::before { background: var(--series-fill, #14161A); box-shadow: 0 2px 3px rgba(0,0,0,.3), 0 34px 64px -22px rgba(0,0,0,.6); }
.inside .bp-pg, .inside .bp-leaf__face { background: #FFFFFF; }
.inside .bp-pg--board { background: var(--series-fill, #14161A); color: #FFFFFF; }
.bp-reader__where { font-size: 15px; font-weight: 600; }
.bp-reader__where span { font-weight: 500; color: var(--ink-2); font-size: 14px; }
.bp-reader__hint { font-size: 14px; color: var(--ink-2); }
.bp-look__text { color: var(--ink); line-height: 1.7; }
.inside .bp-look__text { background: #FFFFFF; color: #14161A; padding: 32px; border-radius: var(--r); }
.bp-zoom { font-family: var(--sans); }
.bp-zoom__bar { border-bottom: 1px solid var(--rule); }
.bp-zoom .bp-btn { color: #14161A; border-color: #14161A; }
/* Audio sample, in the product details: the title reads as the section labels around it */
.pd__audio .bp-audio { display: grid; gap: 10px; }
.bp-audio__title { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); line-height: 1.3; }
.bp-audio__len { font-weight: 600; letter-spacing: 0; text-transform: none; }
.bp-audio__demo { margin: 0; }
.bp-player { padding: 10px 14px 10px 10px; border: 1px solid var(--rule); border-radius: var(--r); }
.bp-player__toggle, .bp-player__skip, .bp-player__speed { border: 1px solid currentColor; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.bp-player__speed { border-radius: var(--r); min-height: 44px; padding: 0 12px; font-weight: 600; }
.pd-page[data-series] .bp-player__seek { accent-color: #FFFFFF; }
.bp-player__time { font-size: 14px; font-weight: 600; }
.bp-audio__transcript summary { cursor: pointer; font-size: 14px; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.bp-audio__transcript-body { font-size: 15px; color: var(--ink-2); }
/* Account audiobooks */
.bp-library { display: grid; gap: 40px; }
.bp-audiobook__title { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.08; }
.bp-audiobook__meta { color: var(--ink-2); font-size: 14px; }
.bp-chapters { border-top: 1.5px solid var(--ink); margin-top: 12px; }
.bp-chapter { padding: 10px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; font-size: 16px; cursor: pointer; }
.bp-chapter__n { font-family: var(--display); font-size: 22px; min-width: 2ch; }
.bp-audiobook__downloads a { font-weight: 600; }

/* ---------- Integration (26 Oct 2026): real preview pages, zoom, text view, players, account library ---------- */
/* The zoom dialog and the text view are light surfaces inside the dark reading room: give them the ink tokens back */
.bp-zoom, .inside .bp-look__text { --ink: #14161A; --ink-2: #4A4F57; --rule: #D3D2CB; color: #14161A; }
.bp-zoom { background: var(--paper-2, #E9E8E2); }
.bp-zoom__bar { padding: 10px 20px; background: #FBFBF9; border-bottom: 1px solid #D3D2CB; }
.bp-zoom__title { font-size: 15px; font-weight: 600; }
.bp-zoom__level { font-size: 14px; font-weight: 600; }
.bp-zoom .bp-btn { min-height: 44px; min-width: 44px; justify-content: center; padding: 0 12px; }
.bp-zoom .bp-btn--quiet { border-color: #D3D2CB; text-decoration: none; }
.bp-zoom .bp-btn[disabled] { opacity: .35; }
.bp-zoom__pane { padding: 24px; }
.bp-zoom__img { background: #FFFFFF; box-shadow: 0 1px 2px rgba(20,22,26,.16), 0 18px 40px -18px rgba(20,22,26,.4); }
.bp-zoom :focus-visible { outline: 2px solid #14161A; outline-offset: 2px; }
@media (max-width: 767px) {
  .bp-zoom__bar { padding: 8px 12px; }
  .bp-zoom__title { font-size: 14px; flex-basis: 100%; }
  .bp-zoom__controls { width: 100%; justify-content: space-between; }
  .bp-zoom__pane { padding: 12px; }
}
/* Reader buttons: the theme's button look, quiet tools underlined; keyboard focus in white on the dark field */
.inside .bp-btn:focus-visible, .inside .bp-book:focus-visible, .inside .bp-look__text:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 4px; }
.inside .bp-look__text:focus-visible { outline-offset: 6px; }
.inside .bp-reader__tools .bp-btn--quiet { color: #FFFFFF; }
.inside .bp-page__err { color: #4A4F57; }
.inside .bp-board { color: #FFFFFF; font-size: 15px; line-height: 1.5; }
/* Read as text: the preview pages as a document (headings, the contents list, tables, sources) */
.bp-look__text { font-size: 16px; }
.inside .bp-look__text { max-width: 760px; padding: 40px 44px 48px; }
.bp-look__text > * + * { margin-top: 12px; }
.bp-look__text-title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -0.01em; }
.bp-look__text h4 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.15; margin-top: 40px; padding-top: 18px; border-top: 2px solid var(--series-fill, #14161A); }
.bp-look__text h4 .pg { display: block; margin-top: 6px; font-family: var(--sans); font-size: 13px; letter-spacing: .02em; color: #4A4F57; }
.bp-look__text h5, .bp-look__text h6 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--series-text, #14161A); margin-top: 22px; }
.bp-look__text section > * + *, .bp-look__text div > * + * { margin-top: 10px; }
.bp-look__text ul { list-style: disc; padding-left: 1.3em; }
.bp-look__text ol { list-style: decimal; padding-left: 1.5em; }
.bp-look__text li + li { margin-top: 4px; }
.bp-look__text li:has(> span:first-child + span:last-child) { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid #E1E3E6; margin: 0; }
.bp-look__text ul:has(> li > span:first-child + span:last-child) { padding-left: 0; }
.bp-look__text li > span:last-child:not(:first-child) { font-variant-numeric: tabular-nums; font-weight: 600; }
.bp-look__text small { display: block; font-size: 13px; color: #4A4F57; }
.bp-look__text blockquote { padding-left: 14px; border-left: 3px solid var(--series-fill, #14161A); }
.bp-look__text table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 14px; }
.bp-look__text caption { text-align: left; font-weight: 600; padding-bottom: 6px; }
.bp-look__text th, .bp-look__text td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid #E1E3E6; }
.bp-look__text a { color: inherit; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 767px) { .inside .bp-look__text { padding: 24px 18px 32px; } }
/* Sample player on the product page (light text on the series field) */
.pd-page[data-series] .bp-player { border-color: rgba(255,255,255,.4); }
.pd-page[data-series] .bp-player__toggle, .pd-page[data-series] .bp-player__time { color: #FFFFFF; }
.bp-player__toggle:focus-visible, .bp-player__skip:focus-visible, .bp-player__seek:focus-visible, .bp-chapter:focus-visible, .bp-player__speed select:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .bp-player__toggle:hover, .bp-player__skip:hover { background: #14161A; color: #FFFFFF; border-color: #14161A; }
  .pd-page[data-series] .bp-player__toggle:hover { background: #FFFFFF; color: #14161A; border-color: #FFFFFF; }
  .bp-chapter:hover .bp-chapter__t { text-decoration: underline; text-underline-offset: 4px; }
}
/* Account audiobooks: the cover beside the title, the player as one panel, chapters as a numbered list */
.bp-audiobook { padding: 28px; background: #FFFFFF; border: 1px solid var(--rule); border-radius: var(--r); }
.bp-audiobook__head { margin-bottom: 18px; }
.bp-audiobook__cover { width: 88px; border-radius: 2px; box-shadow: var(--shadow-object); }
.bp-audiobook__title a { text-decoration: none; }
.bp-audiobook__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.bp-audiobook__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 6px; }
.bp-audiobook__resume { font-size: 14px; margin-top: 6px; }
.bp-player--full { background: var(--paper, #F3F2EE); border-color: var(--rule); padding: 16px; }
.bp-player__now { font-weight: 600; }
.bp-player__speed select { min-height: 44px; border: 0; background: transparent; font: inherit; font-weight: 600; cursor: pointer; }
.bp-audiobook__chapters-title, .bp-audiobook__downloads h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-top: 22px; }
.bp-chapter { color: var(--ink); font-family: var(--sans); }
.bp-chapter[aria-current="true"] .bp-chapter__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bp-audiobook__downloads ul { display: grid; gap: 6px; margin-top: 8px; }
.bp-library__empty { color: var(--ink-2); }
@media (max-width: 767px) {
  .bp-audiobook { padding: 18px; }
  .bp-audiobook__cover { width: 64px; }
  .bp-audiobook__title { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-btn, .bp-look-trigger, .bp-player__toggle, .bp-player__skip { transition: none; }
  .bp-btn:active { transform: none; }
}

textarea { font: inherit; color: inherit; }
/* WooCommerce's country select (selectWoo) */
.wc-wrap .select2-container .select2-selection--single { height: 48px; border: 1px solid var(--ui); border-radius: var(--r); display: flex; align-items: center; }
.wc-wrap .select2-container .select2-selection--single .select2-selection__rendered { padding-left: 14px; font-size: 16px; line-height: 46px; color: var(--ink); }
.wc-wrap .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.wc-wrap .select2-container--focus .select2-selection--single, .wc-wrap .select2-container--open .select2-selection--single { outline: 2px solid var(--ink); outline-offset: 1px; }
.select2-dropdown { border-color: var(--ui) !important; border-radius: var(--r) !important; font-family: var(--sans); }
.select2-results__option--highlighted[aria-selected], .select2-results__option--highlighted[data-selected] { background: #14161A !important; }
/* The drawer sits outside the product's colour field: keep its help mark in ink (theme.css whitens it on product pages) */
body.pd-page[data-series] .drawer .help__mark { color: #14161A; }

/* Business information page: a plain two-column record */
.biz-info { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 0 24px; margin: 24px 0 32px; border-top: 1px solid var(--rule); max-width: 46em; }
.biz-info dt, .biz-info dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.biz-info dt { font-weight: 600; }
.biz-info dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 767px) { .biz-info { grid-template-columns: 1fr; } .biz-info dt { padding-bottom: 2px; border-bottom: 0; } .biz-info dd { padding-top: 0; } }

/* Sign-in page note for guest buyers (inc/woo.php) */
.bp-guest-note { margin: 0 0 24px; padding: 12px 16px; border: 1px solid var(--rule); border-radius: var(--r); background: #FFFFFF; font-size: 15px; line-height: 1.5; color: var(--ink); }
.bp-guest-note a { font-weight: 600; text-underline-offset: 3px; }

/* Stripe's hidden style-probe field (it reads our input font and colours for the card form) sits off to the right at
   full page width, which made the checkout scroll sideways once payments opened. Kept, but 1px and clipped. */
#wc-stripe-hidden-style-input { position: absolute !important; left: 0 !important; width: 1px !important; max-width: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; pointer-events: none !important; }
.bp-consent__promise { display: block; margin: 6px 0 0 34px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
/* Before-you-pay list (assets/js/checkout.js): names each missing item next to the Pay button. */
.bp-prepay { margin: 0; padding: 12px 14px; border: 1.5px solid var(--error); border-radius: var(--r); background: #FFFFFF; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.bp-prepay[hidden] { display: none; }
.bp-prepay p { margin: 0 0 6px; font-weight: 700; }
.bp-prepay ul { margin: 0; padding-left: 18px; }
.bp-prepay a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.bp-co .woocommerce-terms-and-conditions-wrapper .form-row.woocommerce-invalid label { color: var(--error); }
.bp-co .woocommerce-terms-and-conditions-wrapper .form-row.woocommerce-invalid input[type="checkbox"] { outline: 2px solid var(--error); outline-offset: 2px; }

/* Thank-you page: the downloads come first (27 Oct 2026). Headline, then the files, then the order row, then the
   small print and order details. WooCommerce's own downloads table would repeat the files, so it steps aside here. */
.woocommerce-order-received .woocommerce-order { display: flex; flex-direction: column; }
.woocommerce-order-received .woocommerce-order > * { order: 4; }
.woocommerce-order-received .woocommerce-order > .woocommerce-thankyou-order-received { order: 0; }
.woocommerce-order-received .woocommerce-order > .bp-ready { order: 1; }
.woocommerce-order-received .woocommerce-order > .woocommerce-order-overview { order: 2; }
.woocommerce-order-received .woocommerce-order > .bp-thanks { order: 3; }
.woocommerce-order-received .woocommerce-order-downloads { display: none; }
.bp-ready { margin: 0 0 36px; padding: 28px 30px; border: 1.5px solid var(--ink); border-radius: var(--r); background: #FFFFFF; }
.bp-ready h2 { margin: 0 0 18px !important; font-size: clamp(26px, 2.6vw, 34px) !important; line-height: 1.1; }
.bp-ready__title + .bp-ready__title { margin-top: 22px; }
.bp-ready__title h3 { margin: 0 0 10px !important; font-family: var(--sans) !important; font-size: 15px !important; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); }
.bp-ready__files { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bp-ready__btn { --bg: #2F4BD8; --bd: #2F4BD8; --fg: #FFFFFF; display: flex !important; width: 100%; min-height: 52px; justify-content: flex-start; gap: 12px; padding: 12px 18px; text-align: left; font-size: 15.5px; line-height: 1.3; white-space: normal; }
.bp-ready__btn .i { flex: none; width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .bp-ready__btn:hover { --bg: #14161A; --bd: #14161A; } }
.bp-ready__note { margin: 18px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.bp-ready__note a { color: var(--ink); font-weight: 600; }
.bp-ready--waiting { border-style: dashed; }
.bp-ready--waiting p, .bp-ready--closed p { margin: 0; color: var(--ink-2); }
.bp-thanks { font-size: 14.5px; }
@media (max-width: 767px) { .bp-ready { padding: 20px 18px; } }
.woocommerce-order-received .page-head { padding-top: 14px; padding-bottom: 14px; margin-bottom: 20px; }
.woocommerce-order-received .page-head h1 { font-size: 32px; line-height: 1.1; }
.woocommerce-order-received .page-head .lead { display: none; }
.woocommerce-order-received .woocommerce-thankyou-order-received { margin-bottom: 14px; }
