/* =====================================================================
   STM Checkout Style 2.0: the dark, two sided checkout (Chris's pick, 13 Nov 2026: "2 and easy").
   Scope: body.stmco-dark (the full checkout, order-pay and order received all carry it);
          body.stmco-main  the full checkout only;  body.stmco-pay  order-pay;  body.stmco-easy  the short form.
   The look of his new pages: ground #0b0b0e, boxes #131318 with a thin edge, Helvetica headings, Open Sans text,
   lilac for small notes, a white button. !important where the theme forces its own display font, capitals and sizes.
   Stripe's and PayPal's own boxes are theirs: nothing inside them is styled from here.
   ===================================================================== */
body.stmco-dark {
	--co-bg: #0b0b0e;
	--co-bg2: #101014;
	--co-box: #131318;
	--co-edge: #2a2a33;
	--co-line: #26262e;
	--co-field: #3a3a47;
	--co-fieldbg: #15151b;
	--co-ink: #ffffff;
	--co-mut: #b4b4c2;
	--co-acc: #b9afff;
	--co-sel: #8b7bff;
	--co-h: Helvetica, Arial, sans-serif;
	--co-t: "Open Sans", Helvetica, Arial, sans-serif;
	color: var(--co-ink);
}
/* the whole screen is dark on the checkout and order-pay pages (no footer there). On the order received page only the
   band between the site's header and footer is dark: the footer is drawn for a light page and would vanish on dark. */
body.stmco-main,
body.stmco-pay { background: var(--co-bg) !important; }
body.stmco-main #primary,
body.stmco-main #content,
body.stmco-main .page-entry-content,
body.stmco-pay #primary,
body.stmco-pay #content,
body.stmco-pay .page-entry-content { background: transparent !important; }
body.stmco-dark.woocommerce-order-received #primary { background: var(--co-bg) !important; }

/* ---------- nothing on the page but the checkout (not on the order received page) ---------- */
body.stmco-main #stm-announce,
body.stmco-main .stm-pm-bar,
body.stmco-main .stm-pm-menu,
body.stmco-main #stm-pm-toggle,
body.stmco-main header.elementor-location-header,
body.stmco-main footer.elementor-location-footer,
body.stmco-pay #stm-announce,
body.stmco-pay .stm-pm-bar,
body.stmco-pay .stm-pm-menu,
body.stmco-pay #stm-pm-toggle,
body.stmco-pay header.elementor-location-header,
body.stmco-pay footer.elementor-location-footer { display: none !important; }
body.stmco-main #primary,
body.stmco-pay #primary { padding-top: 0 !important; margin-top: 0 !important; }
body.stmco-main #primary .e-con,
body.stmco-pay #primary .e-con { padding-left: 24px !important; padding-right: 24px !important; }
body.stmco-main #primary .e-con-inner,
body.stmco-pay #primary .e-con-inner { max-width: 1080px !important; width: 100% !important; padding: 0 !important; }

/* ---------- lettering: his new pages' ---------- */
body.stmco-dark .woocommerce,
body.stmco-dark .woocommerce p,
body.stmco-dark .woocommerce label,
body.stmco-dark .woocommerce td,
body.stmco-dark .woocommerce th,
body.stmco-dark .woocommerce li,
body.stmco-dark .woocommerce span,
body.stmco-dark .woocommerce a { font-family: var(--co-t) !important; letter-spacing: 0 !important; text-transform: none !important; }
body.stmco-dark .woocommerce h1,
body.stmco-dark .woocommerce h2,
body.stmco-dark .woocommerce h3 {
	font: 400 21px/1.25 var(--co-h) !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--co-ink) !important;
	margin: 0 0 14px !important;
	padding: 0 !important;
}
body.stmco-dark .woocommerce a { color: var(--co-acc); }

/* =====================================================================
   THE FULL CHECKOUT
   ===================================================================== */
body.stmco-main .woocommerce { position: relative; padding: 28px 0 60px; color: var(--co-ink); }
body.stmco-main form.checkout > p,
body.stmco-main .stmco-a > p:not([id]),
body.stmco-main #customer_details > p,
body.stmco-main #customer_details .col-1 > p,
body.stmco-main #customer_details .col-2 > p,
body.stmco-main .woocommerce-account-fields > p:empty,
body.stmco-main .woocommerce-additional-fields > p { display: none !important; }
body.stmco-main .woocommerce-notices-wrapper > p,
body.stmco-main .woocommerce-notices-wrapper > br { display: none !important; }
body.stmco-main .woocommerce-notices-wrapper:not( :has( * ) ) { display: none !important; }      /* one holding nothing but a space still stood 28 px tall */      /* an empty paragraph the page editor leaves there took up 28 px */
body.stmco-main #order_review_heading { display: none !important; }      /* "Your order" is said in the block above the table */
body.stmco-main #order_review { display: contents; }
body.stmco-main .woocommerce > *,
body.stmco-main form.checkout > * { min-width: 0; }

/* THE GRID. Eight rows: three for messages above the form, one for the form's own error list, then the details, the payment,
   PayPal's buttons, and a last flexible row. The form covers all eight and lends its rows to its own parts (subgrid), so the
   order block can run down the left from the very top whatever appears on the right.
   Phones and tablets: one column, the order first, then paying. */
body.stmco-main .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto auto auto auto auto; }
body.stmco-main .woocommerce > .woocommerce-notices-wrapper:first-of-type { grid-row: 1; position: relative; z-index: 2; }
body.stmco-main .woocommerce > form.woocommerce-form-login { grid-row: 2; position: relative; z-index: 2; }
body.stmco-main .woocommerce > .woocommerce-notices-wrapper ~ .woocommerce-notices-wrapper,
body.stmco-main .woocommerce > .woocommerce-message,
body.stmco-main .woocommerce > .woocommerce-error,
body.stmco-main .woocommerce > .woocommerce-info,
body.stmco-main .woocommerce > .is-info,
body.stmco-main .woocommerce > .is-error,
body.stmco-main .woocommerce > .is-success { grid-row: 3; position: relative; z-index: 2; }
body.stmco-main .woocommerce > form.checkout { grid-row: 1 / span 8; grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; }
body.stmco-main form.checkout .stmco-left { grid-row: 4; }
body.stmco-main form.checkout > .woocommerce-NoticeGroup { grid-row: 5; }
body.stmco-main form.checkout > .stmco-a { grid-row: 6; }
body.stmco-main form.checkout #payment { grid-row: 7; }
body.stmco-main form.checkout .ppc-button-wrapper { grid-row: 8; }
body.stmco-main .woocommerce > .woocommerce-form-coupon-toggle { grid-row: 8; position: relative; z-index: 2; }        /* only until the script moves it into the order block */

/* laptops: two sides. The order on the left, paying on the right, a line between, to the edges of the screen. */
@media ( min-width: 900px ) {
	body.stmco-main::before { content: ""; position: fixed; top: 0; bottom: 0; left: 50%; right: 0; background: var(--co-bg2); border-left: 1px solid var(--co-line); z-index: 0; }
	body.stmco-main #primary { position: relative; z-index: 1; }
	body.stmco-main .woocommerce { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto auto auto auto 1fr; padding: 44px 0 72px; }
	body.stmco-main .woocommerce > .woocommerce-notices-wrapper,
	body.stmco-main .woocommerce > .woocommerce-message,
	body.stmco-main .woocommerce > .woocommerce-error,
	body.stmco-main .woocommerce > .woocommerce-info,
	body.stmco-main .woocommerce > .is-info,
	body.stmco-main .woocommerce > .is-error,
	body.stmco-main .woocommerce > .is-success,
	body.stmco-main .woocommerce > form.woocommerce-form-login,
	body.stmco-main form.checkout > .woocommerce-NoticeGroup,
	body.stmco-main form.checkout > .stmco-a,
	body.stmco-main form.checkout #payment,
	body.stmco-main form.checkout .ppc-button-wrapper { grid-column: 2; padding-left: 56px !important; max-width: 470px; box-sizing: content-box; }
	body.stmco-main form.checkout .stmco-left,
	body.stmco-main .woocommerce > .woocommerce-form-coupon-toggle { grid-column: 1; margin-left: auto !important; margin-right: 56px !important; width: calc(100% - 56px) !important; max-width: 420px !important; }
	body.stmco-main form.checkout .stmco-left { grid-row: 1 / span 8; align-self: start; }
	body.stmco-main form.checkout > .woocommerce-NoticeGroup { grid-row: 4; }
	body.stmco-main form.checkout > .stmco-a { grid-row: 5; }
	body.stmco-main form.checkout #payment { grid-row: 6; }
	body.stmco-main form.checkout .ppc-button-wrapper { grid-row: 7; }
	body.stmco-main .stmco-toggle { display: none !important; }
}
/* a browser too old for this layout shows the same parts in one column */
@supports not ( grid-template-rows: subgrid ) {
	body.stmco-main::before { display: none !important; }
	body.stmco-main .woocommerce,
	body.stmco-main .woocommerce > form.checkout { display: block !important; }
	body.stmco-main .woocommerce > *,
	body.stmco-main form.checkout > *,
	body.stmco-main form.checkout .stmco-left,
	body.stmco-main form.checkout #payment,
	body.stmco-main form.checkout .ppc-button-wrapper { max-width: 560px !important; margin-left: auto !important; margin-right: auto !important; padding-left: 0 !important; width: auto !important; }
}

/* the coupon form opens as a small panel over the page, wherever the totals are */
body.stmco-main form.checkout_coupon { position: fixed !important; left: 50%; top: 18vh; transform: translateX(-50%); width: min(440px, calc(100vw - 36px)) !important; z-index: 9999; box-shadow: 0 30px 90px rgba(0, 0, 0, .7) !important; }

/* ---------- the order side ---------- */
body.stmco-dark .stmco-brand { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 46px; text-decoration: none !important; color: var(--co-mut) !important; }
body.stmco-dark .stmco-brand img { display: block; height: 62px; width: auto; }
body.stmco-dark .stmco-brand b { font: 400 20px/1 var(--co-h); color: var(--co-ink); }
body.stmco-dark .stmco-brand .bk { display: inline-block; width: 8px; height: 8px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
body.stmco-dark .stmco-k { margin: 0 0 10px !important; font-size: 14px !important; color: var(--co-mut) !important; }
body.stmco-dark .stmco-total .nm { margin: 0 0 6px !important; font: 400 30px/1.15 var(--co-h) !important; color: var(--co-ink) !important; }
body.stmco-dark .stmco-total .big,
body.stmco-dark .stmco-total .big * { margin: 0 !important; font: 400 46px/1.05 var(--co-h) !important; letter-spacing: -.5px !important; color: var(--co-ink) !important; }
body.stmco-dark .stmco-total { margin-bottom: 30px; }
body.stmco-dark .stmco-toggle { display: none; }

body.stmco-dark table.shop_table,
body.stmco-dark form#order_review table { border: 0 !important; border-collapse: collapse; width: 100%; margin: 0 0 4px !important; background: transparent !important; border-top: 1px solid var(--co-line) !important; border-radius: 0 !important; }
body.stmco-dark table.shop_table thead { display: none; }
body.stmco-dark table.shop_table { display: table !important; table-layout: auto; }
body.stmco-dark table.shop_table tbody,
body.stmco-dark table.shop_table tfoot { display: table-row-group !important; }
body.stmco-dark table.shop_table tr { display: table-row !important; }
body.stmco-dark table.shop_table th,
body.stmco-dark table.shop_table td { display: table-cell !important; width: auto !important; }
body.stmco-dark table.shop_table td::before,
body.stmco-dark table.shop_table th::before,
body.stmco-dark table.shop_table tr::before,
body.stmco-dark table.shop_table tr::after { display: none !important; content: none !important; }      /* the theme's row clearers act as extra, empty cells */
body.stmco-dark table.shop_table th,
body.stmco-dark table.shop_table td,
body.stmco-dark form#order_review table th,
body.stmco-dark form#order_review table td { border: 0 !important; border-bottom: 1px solid var(--co-line) !important; padding: 15px 0 !important; background: transparent !important; font-size: 15px !important; font-weight: 400 !important; color: var(--co-ink) !important; line-height: 1.5 !important; text-align: left; vertical-align: top; }
body.stmco-dark table.shop_table td:last-child,
body.stmco-dark form#order_review table td:last-child { text-align: right; white-space: nowrap; }
body.stmco-dark table.shop_table td.product-name { padding-right: 16px !important; }
body.stmco-dark table.shop_table .product-quantity { font-weight: 400 !important; color: var(--co-mut) !important; }
body.stmco-dark table.shop_table dl.variation,
body.stmco-dark table.shop_table .tc-epo-metadata,
body.stmco-dark table.shop_table .wc-item-meta { margin: 4px 0 0 !important; font-size: 13px !important; color: var(--co-mut) !important; }
body.stmco-dark table.shop_table dl.variation *,
body.stmco-dark table.shop_table .tc-epo-metadata *,
body.stmco-dark table.shop_table .wc-item-meta * { font-size: 13px !important; color: var(--co-mut) !important; font-weight: 400 !important; margin: 0 !important; }
body.stmco-dark table.shop_table .tm-cart-edit-options,
body.stmco-dark table.shop_table .tm-cart-edit-options * { font-size: 13px !important; font-weight: 400 !important; color: var(--co-acc) !important; font-style: normal !important; text-decoration: underline; text-underline-offset: 3px; }
body.stmco-dark table.shop_table dl.variation dt,
body.stmco-dark table.shop_table .tc-epo-metadata dt { text-decoration: none !important; }
body.stmco-dark table.shop_table tfoot th,
body.stmco-dark table.shop_table tfoot td { color: var(--co-mut) !important; }
body.stmco-dark table.shop_table tfoot tr.order-total th,
body.stmco-dark table.shop_table tfoot tr.order-total td,
body.stmco-dark table.shop_table tfoot tr.order-total td * { color: var(--co-ink) !important; font-size: 16.5px !important; font-weight: 600 !important; border-bottom: 0 !important; }

/* the coupon: a quiet line under the totals */
body.stmco-dark .woocommerce-form-coupon-toggle .woocommerce-info { background: none !important; border: 0 !important; padding: 0 !important; margin: 6px 0 0 !important; font-size: 14px !important; color: var(--co-mut) !important; box-shadow: none !important; display: block !important; }
body.stmco-dark .woocommerce-form-coupon-toggle .woocommerce-info::before { display: none !important; }
body.stmco-dark .woocommerce-form-coupon-toggle a { color: var(--co-acc) !important; text-decoration: underline !important; text-underline-offset: 3px; font-weight: 400 !important; margin-left: 4px; }
body.stmco-dark form.checkout_coupon { border: 1px solid var(--co-field) !important; border-radius: 12px !important; background: var(--co-box) !important; padding: 20px 20px 12px !important; margin: 0 !important; }
body.stmco-dark form.checkout_coupon .clear { display: none; }
body.stmco-dark form.checkout_coupon p { margin: 0 0 10px !important; font-size: 13.5px !important; color: var(--co-mut) !important; float: none !important; width: auto !important; }
body.stmco-dark form.checkout_coupon .form-row { margin: 0 0 10px !important; padding: 0 !important; }
body.stmco-dark form.checkout_coupon button { background: transparent !important; color: var(--co-ink) !important; border: 1px solid #5a5a6e !important; border-radius: 8px !important; padding: 11px 18px !important; font: 600 14px/1 var(--co-t) !important; letter-spacing: 0 !important; text-transform: none !important; }
body.stmco-dark .stmco-coupon-slot:empty { display: none; }
body.stmco-dark .stmco-after { margin-top: 30px; padding: 18px 20px; border: 1px solid var(--co-edge); border-radius: 12px; background: var(--co-box); font-size: 13.5px; line-height: 1.55; color: var(--co-mut); font-family: var(--co-t); }
body.stmco-dark .stmco-after b { display: block; color: var(--co-ink); font-weight: 600; font-size: 14px; margin-bottom: 3px; }

/* ---------- the paying side: one tap buttons, then the details ---------- */
body.stmco-main #wc-stripe-express-checkout-element { margin: 0 0 4px !important; }
body.stmco-main #wc-stripe-express-checkout-button-separator { display: flex !important; align-items: center; gap: 14px; margin: 18px 0 26px !important; color: var(--co-mut) !important; font-size: 0 !important; text-align: center; }
body.stmco-main #wc-stripe-express-checkout-button-separator::before,
body.stmco-main #wc-stripe-express-checkout-button-separator::after { content: ""; flex: 1; height: 1px; background: var(--co-line); }
body.stmco-main #wc-stripe-express-checkout-button-separator::before { margin-right: 0; }
body.stmco-main #wc-stripe-express-checkout-button-separator > *,
body.stmco-main #wc-stripe-express-checkout-button-separator { font-size: 13.5px !important; }
/* the line "OR" only makes sense under a button: with no button showing it goes */
body.stmco-main #wc-stripe-express-checkout-element:empty + p + #wc-stripe-express-checkout-button-separator,
body.stmco-main #wc-stripe-express-checkout-element:empty + #wc-stripe-express-checkout-button-separator,
body.stmco-main #wc-stripe-express-checkout-element[style*="display: none"] ~ #wc-stripe-express-checkout-button-separator { display: none !important; }

body.stmco-dark #customer_details,
body.stmco-dark #customer_details .col-1,
body.stmco-dark #customer_details .col-2 { float: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
body.stmco-main .woocommerce-billing-fields > h3 { display: none !important; }     /* the two headings below take its place */
body.stmco-main .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; }
body.stmco-main .woocommerce-billing-fields__field-wrapper::before,
body.stmco-main .woocommerce-billing-fields__field-wrapper::after,
body.stmco-main #payment::before { font: 400 21px/1.25 var(--co-h); color: var(--co-ink); display: block; margin: 0 0 14px; }
body.stmco-main .woocommerce-billing-fields__field-wrapper::before { content: "Contact"; grid-column: 1 / -1; order: 1; }
body.stmco-main .woocommerce-billing-fields__field-wrapper::after { content: "Billing details"; grid-column: 1 / -1; order: 3; margin-top: 16px; }
body.stmco-main #payment::before { content: "Payment"; }
body.stmco-main .woocommerce-billing-fields__field-wrapper > .form-row { order: 20; grid-column: 1 / -1; }
body.stmco-main #billing_email_field { order: 2 !important; }
body.stmco-main #billing_first_name_field { order: 4 !important; grid-column: 1 !important; }
body.stmco-main #billing_last_name_field { order: 5 !important; grid-column: 2 !important; }
body.stmco-main #billing_company_field { order: 6 !important; }
body.stmco-main #billing_country_field { order: 7 !important; }
body.stmco-main #billing_address_1_field { order: 8 !important; }
body.stmco-main #billing_address_2_field { order: 9 !important; }
body.stmco-main #billing_city_field { order: 10 !important; }
body.stmco-main #billing_state_field { order: 11 !important; }
body.stmco-main #billing_postcode_field { order: 12 !important; }
body.stmco-main #billing_phone_field { order: 13 !important; }

body.stmco-dark .woocommerce form .form-row { float: none !important; width: auto !important; margin: 0 0 14px !important; padding: 0 !important; }
body.stmco-dark .woocommerce form .form-row label { display: block; font-size: 13.5px !important; font-weight: 400 !important; color: var(--co-mut) !important; margin: 0 0 6px !important; line-height: 1.4 !important; }
body.stmco-dark .woocommerce form .form-row label .required,
body.stmco-dark .woocommerce form .form-row label abbr { color: var(--co-mut) !important; text-decoration: none !important; border: 0 !important; }
body.stmco-dark .woocommerce form .form-row label .optional { color: #8a8a99 !important; }
body.stmco-dark .woocommerce form .form-row input.input-text,
body.stmco-dark .woocommerce form .form-row textarea,
body.stmco-dark .woocommerce form .form-row select:not(.select2-hidden-accessible),
body.stmco-dark .woocommerce form .form-row .select2-selection {
	font: 400 15.5px var(--co-t) !important;
	color: var(--co-ink) !important;
	background: var(--co-fieldbg) !important;
	border: 1px solid var(--co-field) !important;
	border-radius: 8px !important;
	min-height: 46px;
	height: auto;
	padding: 10px 13px !important;
	box-shadow: none !important;
	transition: border-color .15s, box-shadow .15s;
	width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}
body.stmco-dark .woocommerce form .form-row textarea { min-height: 92px; }
body.stmco-dark .woocommerce form .form-row input.input-text::placeholder,
body.stmco-dark .woocommerce form .form-row textarea::placeholder { color: #77778a !important; }
body.stmco-dark .woocommerce form .form-row input.input-text:focus,
body.stmco-dark .woocommerce form .form-row textarea:focus,
body.stmco-dark .woocommerce form .form-row select:focus,
body.stmco-dark .woocommerce form .form-row .select2-container--focus .select2-selection,
body.stmco-dark .woocommerce form .form-row .select2-container--open .select2-selection { border-color: var(--co-sel) !important; box-shadow: 0 0 0 3px rgba(139, 123, 255, .24) !important; outline: none !important; }
body.stmco-dark .woocommerce form .form-row.woocommerce-invalid input.input-text,
body.stmco-dark .woocommerce form .form-row.woocommerce-invalid .select2-selection { border-color: #e0687a !important; }
body.stmco-dark .woocommerce form .form-row input:-webkit-autofill { -webkit-text-fill-color: #fff !important; box-shadow: 0 0 0 1000px #15151b inset !important; caret-color: #fff; }
body.stmco-dark .select2-container { width: 100% !important; }
body.stmco-dark select.select2-hidden-accessible { width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; position: absolute !important; }
body.stmco-dark .select2-container--default .select2-selection--single { height: 46px !important; display: flex !important; align-items: center; padding: 0 13px !important; }
body.stmco-dark .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--co-ink) !important; padding: 0 !important; line-height: 1.3 !important; font: 400 15.5px var(--co-t) !important; }
body.stmco-dark .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px !important; right: 8px !important; }
body.stmco-dark .select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: #b4b4c2 transparent transparent transparent !important; }
body.stmco-dark .select2-dropdown { background: #15151b !important; border: 1px solid #3a3a47 !important; color: #fff !important; border-radius: 8px !important; overflow: hidden; font-family: "Open Sans", Helvetica, Arial, sans-serif; }
body.stmco-dark .select2-dropdown .select2-search__field { background: #0b0b0e !important; color: #fff !important; border: 1px solid #3a3a47 !important; border-radius: 6px !important; padding: 8px 10px !important; }
body.stmco-dark .select2-dropdown .select2-results__option { color: #fff !important; padding: 9px 13px !important; font-size: 15px !important; background: transparent !important; }
body.stmco-dark .select2-dropdown .select2-results__option--highlighted,
body.stmco-dark .select2-dropdown .select2-results__option[aria-selected="true"],
body.stmco-dark .select2-dropdown .select2-results__option[data-selected="true"] { background: #2a2540 !important; color: #fff !important; }

/* the short form: the company name and the note stay folded away until asked for */
body.stmco-easy #billing_company_field.stmco-more,
body.stmco-easy .woocommerce-additional-fields { display: none !important; }
body.stmco-easy #billing_company_field.stmco-more.stmco-show,
body.stmco-easy .woocommerce-additional-fields.stmco-show { display: block !important; }
body.stmco-dark .woocommerce-additional-fields > h3 { display: none !important; }
body.stmco-dark .woocommerce-additional-fields { margin-top: 4px; }
body.stmco-dark .stmco-morelinks { display: flex !important; flex-wrap: wrap; gap: 6px 22px; margin: 2px 0 10px !important; }
body.stmco-dark .stmco-morelinks a { font-size: 14px !important; color: var(--co-acc) !important; text-decoration: underline !important; text-underline-offset: 3px; }
/* the line that says an account comes with the order (ST Order Accounts) */
body.stmco-dark .stmoa-note { margin: 12px 0 0 !important; font-size: 13.5px !important; line-height: 1.5 !important; color: var(--co-mut) !important; }
body.stmco-dark .woocommerce-account-fields { margin: 12px 0 0 !important; padding: 0 !important; }
body.stmco-dark .woocommerce-account-fields .form-row { margin: 0 !important; padding: 0 !important; }
body.stmco-dark .woocommerce-billing-fields,
body.stmco-dark .woocommerce-shipping-fields { margin: 0 !important; padding: 0 !important; }
body.stmco-main .woocommerce-billing-fields > p:not(.stmco-morelinks):not(.stmoa-note) { display: none !important; }      /* the page editor wraps our small script in a paragraph */
body.stmco-dark .woocommerce-shipping-fields:empty { display: none; }
body.stmco-dark .woocommerce-terms-and-conditions-wrapper .required { display: none !important; }
body.stmco-dark .woocommerce form input[type=checkbox] { accent-color: #8b7bff; width: 17px; height: 17px; margin: 2px 0 0 !important; flex: none; }
body.stmco-dark .woocommerce label.woocommerce-form__label-for-checkbox { display: flex !important; align-items: flex-start; gap: 0; cursor: pointer; margin: 0 !important; }
body.stmco-dark .woocommerce label.woocommerce-form__label-for-checkbox br { display: none !important; }
body.stmco-dark .woocommerce label.woocommerce-form__label-for-checkbox > span { display: block; font-size: 14px !important; color: var(--co-mut) !important; line-height: 1.5 !important; padding-left: 29px; position: relative; }
body.stmco-dark .woocommerce label.woocommerce-form__label-for-checkbox > span::before { content: "" !important; position: absolute !important; left: 0; top: 2px; width: 18px !important; height: 18px !important; margin: 0 !important; border: 1.5px solid #6c6c7c !important; border-radius: 4px !important; background: transparent none !important; box-sizing: border-box !important; box-shadow: none !important; display: block !important; }
body.stmco-dark .woocommerce label.woocommerce-form__label-for-checkbox > input:checked + span::before { border-color: #8b7bff !important; background: #8b7bff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat !important; }
body.stmco-dark .woocommerce label.woocommerce-form__label-for-checkbox > span::after { display: none !important; }

/* ---------- payment ---------- */
body.stmco-dark #payment { background: transparent !important; border-radius: 0 !important; margin-top: 30px; padding: 0 !important; border: 0 !important; }
body.stmco-dark #payment ul.payment_methods { border: 1px solid var(--co-field) !important; border-radius: 10px !important; background: var(--co-fieldbg) !important; padding: 0 !important; margin: 0 !important; list-style: none !important; overflow: hidden; }
body.stmco-dark #payment ul.payment_methods li.wc_payment_method { border: 0 !important; border-bottom: 1px solid var(--co-line) !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important; background: transparent !important; box-shadow: none !important; line-height: 1.5; list-style: none !important; }
body.stmco-dark #payment ul.payment_methods li.wc_payment_method:last-child { border-bottom: 0 !important; }
body.stmco-dark #payment ul.payment_methods li.wc_payment_method label[for^="payment_method_"] { display: flex !important; align-items: center; gap: 12px; padding: 15px 16px !important; margin: 0 !important; font-size: 15px !important; font-weight: 400 !important; color: var(--co-ink) !important; cursor: pointer; }
body.stmco-dark #payment ul.payment_methods li.wc_payment_method label[for^="payment_method_"]::before { content: "" !important; display: inline-block !important; flex: none; width: 17px !important; height: 17px !important; border: 1.5px solid #6c6c7c !important; border-radius: 50% !important; background: transparent !important; box-shadow: none !important; margin: 0 !important; position: static !important; }
body.stmco-dark #payment ul.payment_methods li.wc_payment_method:has( input.input-radio:checked ) label[for^="payment_method_"]::before { border-color: #8b7bff !important; background: radial-gradient( circle, #8b7bff 0 4.5px, transparent 5.5px ) !important; }
body.stmco-dark #payment ul.payment_methods li.wc_payment_method label[for^="payment_method_"]::after { display: none !important; }
body.stmco-dark #payment ul.payment_methods li.wc_payment_method label[for^="payment_method_"] img { max-height: 22px; width: auto; margin-left: auto !important; float: none !important; }
/* on the order-pay page the page editor wraps the label in a paragraph and leaves empty ones about */
body.stmco-dark #payment ul.payment_methods li.wc_payment_method > p { margin: 0 !important; padding: 0 !important; }
body.stmco-dark #payment ul.payment_methods li.wc_payment_method > p:empty,
body.stmco-dark #payment ul.payment_methods li.wc_payment_method label br,
body.stmco-dark #payment .form-row > p:empty,
body.stmco-dark #payment div.payment_box p:empty { display: none !important; }
body.stmco-dark #payment div.payment_box { background: transparent !important; border-radius: 0 !important; margin: 0 !important; padding: 0 16px 16px !important; font-size: 13.5px !important; color: var(--co-mut) !important; }
body.stmco-dark #payment div.payment_box::before,
body.stmco-dark #payment div.payment_box::after { display: none !important; content: none !important; border: 0 !important; }
body.stmco-dark #payment div.payment_box p { color: var(--co-mut) !important; font-size: 13.5px !important; margin: 0 0 8px !important; }
body.stmco-dark #payment div.payment_box label { color: var(--co-mut) !important; }
body.stmco-dark #payment .place-order { padding: 0 !important; margin: 14px 0 0 !important; background: transparent !important; float: none !important; }
body.stmco-dark .woocommerce-terms-and-conditions-wrapper { margin: 0 0 4px; }
body.stmco-dark .woocommerce-terms-and-conditions-wrapper .form-row { margin: 0 !important; }
body.stmco-dark .woocommerce-terms-and-conditions-wrapper label,
body.stmco-dark .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p { font-size: 14px !important; color: var(--co-mut) !important; line-height: 1.5 !important; }
body.stmco-dark .woocommerce-terms-and-conditions-wrapper a { color: var(--co-ink) !important; text-decoration: underline !important; text-underline-offset: 3px; }
body.stmco-dark .woocommerce-terms-and-conditions { background: var(--co-fieldbg) !important; border: 1px solid var(--co-field) !important; border-radius: 8px; padding: 14px 16px !important; margin: 0 0 12px !important; color: var(--co-mut) !important; font-size: 12.5px !important; }
body.stmco-dark .woocommerce-terms-and-conditions * { color: var(--co-mut) !important; font-size: 12.5px !important; line-height: 1.55 !important; font-family: var(--co-t) !important; }
body.stmco-dark .woocommerce-terms-and-conditions h2 { font-size: 14px !important; color: var(--co-ink) !important; margin: 0 0 8px !important; }
body.stmco-dark #payment button#place_order,
body.stmco-dark button#place_order {
	display: block !important;
	width: 100% !important;
	min-height: 54px;
	background: #ffffff !important;
	color: #0b0b0e !important;
	font: 600 16.5px/1 var(--co-t) !important;
	letter-spacing: .1px !important;
	text-transform: none !important;
	border: 0 !important;
	border-radius: 9px !important;
	padding: 16px 24px !important;
	margin: 18px 0 0 !important;
	cursor: pointer;
	float: none !important;
	box-shadow: none !important;
	transition: background .15s;
}
body.stmco-dark button#place_order:hover,
body.stmco-dark button#place_order:focus-visible { background: #e8e6ff !important; }
body.stmco-dark .ppc-button-wrapper { margin-top: 14px; }
body.stmco-dark .stmco-trust { margin: 16px 0 0; text-align: left; }
body.stmco-dark .stmco-lock { display: flex !important; align-items: flex-start; gap: 9px; margin: 0 !important; font-size: 12.5px !important; line-height: 1.5 !important; color: var(--co-mut) !important; font-weight: 400 !important; }
body.stmco-dark .stmco-lock svg { flex: none; margin-top: 2px; color: var(--co-mut); }

/* ---------- messages ---------- */
body.stmco-dark .woocommerce-info,
body.stmco-dark .woocommerce-message,
body.stmco-dark .woocommerce-error { font-family: var(--co-t) !important; font-size: 13.5px !important; border-radius: 10px !important; border: 1px solid var(--co-edge) !important; background: var(--co-box) !important; color: var(--co-mut) !important; padding: 13px 16px !important; margin: 0 0 18px !important; box-shadow: none !important; list-style: none !important; display: block !important; }
body.stmco-dark .woocommerce-info::before,
body.stmco-dark .woocommerce-message::before,
body.stmco-dark .woocommerce-error::before { display: none !important; }
body.stmco-dark .woocommerce-error { border-color: #6d2c38 !important; background: #1d1216 !important; color: #ffc2ca !important; }
body.stmco-dark .woocommerce-error li { color: #ffc2ca !important; margin: 0 0 4px !important; padding: 0 !important; list-style: none !important; font-size: 13.5px !important; background: transparent !important; border: 0 !important; }
body.stmco-dark .woocommerce-error li::before { display: none !important; }
body.stmco-dark .woocommerce form .form-row .checkout-inline-error-message { margin: 6px 0 0 !important; font-size: 13px !important; color: #ffc2ca !important; }
body.stmco-dark .woocommerce-error a,
body.stmco-dark .woocommerce-error strong { color: #fff !important; }
body.stmco-dark .woocommerce-message a,
body.stmco-dark .woocommerce-info a { color: var(--co-acc) !important; float: none !important; margin: 0 10px 0 0 !important; padding: 0 !important; background: none !important; border: 0 !important; font: 400 13.5px var(--co-t) !important; text-decoration: underline !important; text-underline-offset: 3px; }
/* "...has been added to your cart. Continue shopping" says nothing a buyer at the checkout needs, and its button leads away */
body.stmco-main .woocommerce-message:has( a.wc-forward ) { display: none !important; }
body.stmco-dark .woocommerce-message:focus,
body.stmco-dark .woocommerce-error:focus,
body.stmco-dark .woocommerce-info:focus { outline: 1px solid #8b7bff !important; outline-offset: 0 !important; }
body.stmco-dark .blockUI.blockOverlay { background: #0b0b0e !important; opacity: .55 !important; }

/* =====================================================================
   ORDER-PAY (invoices, audiobook orders, FIX MY BOOK): one card
   ===================================================================== */
body.stmco-pay .woocommerce { max-width: 600px; margin: 0 auto; padding: 40px 0 70px; }
body.stmco-pay .stmco-sum-pay { margin: 0 0 6px; }
body.stmco-pay .stmco-sum-pay .stmco-brand { margin-bottom: 26px; }
body.stmco-pay form#order_review { background: var(--co-box); border: 1px solid var(--co-edge); border-radius: 16px; padding: 28px 30px 30px; }
body.stmco-pay form#order_review table { border-top: 0 !important; }

/* =====================================================================
   ORDER RECEIVED
   ===================================================================== */
body.stmco-dark.woocommerce-order-received .woocommerce { padding: 36px 0 70px; }
body.stmco-dark .woocommerce-order { background: var(--co-box); border: 1px solid var(--co-edge); border-radius: 16px; padding: 30px 32px; color: var(--co-ink); max-width: 860px; margin: 0 auto; }
body.stmco-dark .woocommerce-order .woocommerce-thankyou-order-received { font: 400 26px/1.25 var(--co-h) !important; color: var(--co-ink) !important; margin: 0 0 18px !important; background: none !important; border: 0 !important; padding: 0 !important; }
body.stmco-dark ul.woocommerce-thankyou-order-details { list-style: none !important; margin: 0 0 22px !important; padding: 16px 0 !important; border-top: 1px solid var(--co-line) !important; border-bottom: 1px solid var(--co-line) !important; display: flex; flex-wrap: wrap; gap: 12px 36px; }
body.stmco-dark ul.woocommerce-thankyou-order-details li { font-size: 12.5px !important; color: var(--co-mut) !important; border: 0 !important; margin: 0 !important; padding: 0 !important; list-style: none !important; float: none !important; }
body.stmco-dark ul.woocommerce-thankyou-order-details li::before { display: none !important; }
body.stmco-dark ul.woocommerce-thankyou-order-details li strong { display: block; font-size: 15.5px !important; color: var(--co-ink) !important; font-weight: 600 !important; margin-top: 3px; }
body.stmco-dark .woocommerce-order p,
body.stmco-dark .woocommerce-order address { color: var(--co-mut) !important; font-style: normal !important; border: 0 !important; padding: 0 !important; font-size: 14.5px !important; line-height: 1.6 !important; }
body.stmco-dark .woocommerce-order .woocommerce-order-details,
body.stmco-dark .woocommerce-order .woocommerce-customer-details { margin: 26px 0 0 !important; }
body.stmco-dark .woocommerce-order table.shop_table thead { display: table-header-group; }
body.stmco-dark .woocommerce-order table.shop_table thead th { font-size: 12.5px !important; color: var(--co-mut) !important; }
body.stmco-dark .woocommerce-order table.shop_table a { color: var(--co-ink) !important; }
body.stmco-dark .woocommerce-order .button,
body.stmco-dark .woocommerce-order a.button { background: transparent !important; color: var(--co-ink) !important; border: 1px solid #5a5a6e !important; border-radius: 8px !important; padding: 12px 20px !important; font: 600 14px/1 var(--co-t) !important; letter-spacing: 0 !important; text-transform: none !important; margin: 0 8px 8px 0 !important; }
/* the "Send us your files" step (ST Order Next Step) on the dark page */
body.stmco-dark .stm-next-step { background: #17171f !important; border-color: var(--co-edge) !important; color: var(--co-ink) !important; font-family: var(--co-t) !important; }
body.stmco-dark .stm-next-step .k { color: var(--co-acc) !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; font-size: 14px !important; }
body.stmco-dark .stm-next-step h2 { font: 400 26px/1.2 var(--co-h) !important; color: var(--co-ink) !important; margin: 0 0 10px !important; }
body.stmco-dark .stm-next-step .t { color: var(--co-mut) !important; }
body.stmco-dark .stm-next-step a.go { background: #fff !important; color: #0b0b0e !important; border-radius: 9px !important; }
body.stmco-dark .stm-next-step a.go:hover { background: #e8e6ff !important; }

/* ---------- phones ---------- */
@media ( max-width: 899px ) {
	body.stmco-main #primary .e-con,
	body.stmco-pay #primary .e-con { padding-left: 18px !important; padding-right: 18px !important; }
	body.stmco-main .woocommerce { padding-top: 8px; }
	body.stmco-dark .stmco-brand { margin-bottom: 22px; }
	body.stmco-dark .stmco-brand img { height: 48px; }
	body.stmco-dark .stmco-total { margin-bottom: 0; }
	body.stmco-dark .stmco-total .nm { font-size: 22px !important; }
	body.stmco-dark .stmco-total .big,
	body.stmco-dark .stmco-total .big * { font-size: 34px !important; }
	body.stmco-main .stmco-toggle { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 0; background: none; border: 0; color: var(--co-acc); font: 400 14px/1.4 var(--co-t); cursor: pointer; }
	body.stmco-main .stmco-toggle::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; }
	body.stmco-main .stmco-left.stmco-open .stmco-toggle::after { transform: rotate(-135deg); margin-top: 3px; }
	body.stmco-main .stmco-lines { display: none; margin-top: 20px; }
	body.stmco-main .stmco-left.stmco-open .stmco-lines { display: block; }
	body.stmco-main form.checkout > .stmco-a { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--co-line); }
	body.stmco-pay form#order_review,
	body.stmco-dark .woocommerce-order { padding: 22px 18px; }
}
