/* =====================================================================
   NexMacro · WooCommerce checkout theme
   Paste into: Elementor > Custom Code (<head>, inside <style>) or
   Appearance > Customize > Additional CSS, after nexmacro-global.css.

   Designed for the Elementor Pro "Checkout" widget (and also works with
   the classic [woocommerce_checkout] shortcode). Light form on the left,
   dark order summary on the right, like the design.
   ===================================================================== */

body.woocommerce-checkout:not(.woocommerce-order-received) {
  --co-paper: #F4F2ED; --co-card: #FFFFFF; --co-ink: #141413; --co-ink-2: #4A4743; --co-mute: #8A857D;
  --co-line: #DDD9D2; --co-line-2: #C9C4BB; --co-dark: #0C0C0C; --co-dark-2: #151514; --co-dark-line: #2A2927;
  --co-dark-ink: #F2F0EB; --co-dark-mute: #A9A59E; --co-amber: #B8650F; --co-amber-d: #FFB347; --co-green: #2E8F55;
  --co-col: 560px;
  background: linear-gradient(90deg, var(--co-paper) 0 50%, var(--co-dark) 50% 100%) !important;
  color: var(--co-ink);
}
@media (max-width: 1000px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) { background: var(--co-paper) !important; }
}

body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .woocommerce *,
body.woocommerce-checkout .e-checkout__container,
body.woocommerce-checkout .e-checkout__container * { box-sizing: border-box; }

/* coupon + login prompts sit above the form, aligned with the left column */
body.woocommerce-checkout .woocommerce > .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce > .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce > form.checkout_coupon,
body.woocommerce-checkout .woocommerce > form.woocommerce-form-login,
body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper {
  max-width: 560px; margin-top: 24px; margin-left: auto; margin-right: calc(50% + clamp(16px, 4vw, 56px));
}
@media (max-width: 1000px) {
  body.woocommerce-checkout .woocommerce > .woocommerce-form-coupon-toggle,
  body.woocommerce-checkout .woocommerce > .woocommerce-form-login-toggle,
  body.woocommerce-checkout .woocommerce > form.checkout_coupon,
  body.woocommerce-checkout .woocommerce > form.woocommerce-form-login,
  body.woocommerce-checkout .woocommerce > .woocommerce-notices-wrapper { max-width: none; margin: 16px clamp(16px, 4vw, 56px) 0; }
}

/* ---------- page wrappers: no theme padding, full bleed ---------- */
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .page-content,
body.woocommerce-checkout .entry-content { max-width: none !important; padding: 0 !important; margin: 0 !important; }
body.woocommerce-checkout .e-con:has(.elementor-widget-woocommerce-checkout-page) { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; padding: 0 !important; max-width: 100% !important; }

/* Theme and Elementor layers around the checkout (shortcode or widget): no cards, no white, full width.
   The two halves are painted by the form's own columns, so nothing above them can cover the design. */
html body.woocommerce-checkout:not(.woocommerce-order-received) :is(.nm-site-wrap, #page, .site, .site-content, .content-area, #primary, #main, .site-main, .nm-main, .entry-content, .page-content, .elementor, .e-con, .e-con-inner, .elementor-widget, .elementor-widget-container, .elementor-shortcode, .woocommerce):has(form.checkout) {
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important;
  padding-left: 0 !important; padding-right: 0 !important;
  --content-width: 100%; --container-max-width: 100%; --padding-left: 0px; --padding-right: 0px; --padding-top: 0px; --padding-bottom: 0px;
}
html body.woocommerce-checkout:not(.woocommerce-order-received) :is(.e-con, .e-con-inner, .elementor-widget, .elementor-widget-container, .elementor-shortcode):has(form.checkout) { padding: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
html body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout.woocommerce-checkout {
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important;
}

/* ---------- two columns ---------- */
body.woocommerce-checkout .e-checkout__container,
body.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid !important; grid-template-columns: 1fr 1fr !important; grid-template-rows: auto auto 1fr; gap: 0 !important; align-items: start;
  font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 15px; line-height: 1.5;
}
/* left: form */
body.woocommerce-checkout .e-checkout__column-start,
body.woocommerce-checkout form.checkout #customer_details {
  grid-column: 1; grid-row: 1 / span 3; width: 100% !important; float: none !important;
  padding: 28px clamp(16px, 4vw, 56px) 64px !important; display: flex; flex-direction: column; align-items: flex-end;
  color: var(--co-ink);
}
html body.woocommerce-checkout form.checkout #customer_details {
  background: var(--co-paper) !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 !important; max-width: none !important;
}
html body.woocommerce-checkout form.checkout #order_review_heading,
html body.woocommerce-checkout form.checkout #order_review {
  background: var(--co-dark) !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; margin: 0 !important; max-width: none !important;
}
html body.woocommerce-checkout form.checkout #order_review { grid-row: 2 / span 2; align-self: stretch; padding-top: 0 !important; padding-bottom: 64px !important; }
html body.woocommerce-checkout form.checkout #order_review_heading { padding-bottom: 18px !important; margin-bottom: 0 !important; }
body.woocommerce-checkout .e-checkout__column-start > *,
body.woocommerce-checkout form.checkout #customer_details > * { width: 100%; max-width: var(--co-col); }
/* right: summary */
body.woocommerce-checkout .e-checkout__column-end,
body.woocommerce-checkout form.checkout #order_review_heading,
body.woocommerce-checkout form.checkout #order_review {
  grid-column: 2; width: 100% !important; float: none !important; color: var(--co-dark-ink);
  padding-left: clamp(16px, 4vw, 56px) !important; padding-right: clamp(16px, 4vw, 56px) !important;
}
body.woocommerce-checkout .e-checkout__column-end { padding-top: 28px !important; padding-bottom: 64px !important; position: sticky; top: 0; }
body.woocommerce-checkout .e-checkout__column-end > *,
body.woocommerce-checkout form.checkout #order_review > *,
body.woocommerce-checkout form.checkout #order_review_heading { max-width: calc(var(--co-col) + 112px); }
body.woocommerce-checkout form.checkout #order_review_heading { padding-top: 28px !important; margin: 0 !important; }
body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 { width: 100% !important; float: none !important; max-width: var(--co-col); }

@media (max-width: 1000px) {
  body.woocommerce-checkout .e-checkout__container,
  body.woocommerce-checkout form.checkout.woocommerce-checkout { grid-template-columns: 1fr !important; }
  body.woocommerce-checkout .e-checkout__column-start,
  body.woocommerce-checkout form.checkout #customer_details { grid-column: 1; grid-row: auto; align-items: stretch; padding-bottom: 32px !important; }
  body.woocommerce-checkout .e-checkout__column-end,
  body.woocommerce-checkout form.checkout #order_review_heading,
  body.woocommerce-checkout form.checkout #order_review { grid-column: 1; background: var(--co-dark); position: static; }
  body.woocommerce-checkout form.checkout #order_review { padding-bottom: 40px !important; }
  html body.woocommerce-checkout form.checkout #order_review { grid-row: auto; }
  html body.woocommerce-checkout form.checkout #order_review_heading { padding-top: 32px !important; }
}

/* ---------- headings ---------- */
body.woocommerce-checkout h3,
body.woocommerce-checkout .e-checkout-secondary-title,
body.woocommerce-checkout #order_review_heading {
  font-family: 'Instrument Sans', system-ui, sans-serif !important; font-weight: 500 !important; font-size: 21px !important;
  letter-spacing: -0.015em !important; line-height: 1.2 !important; margin: 28px 0 14px !important; color: inherit !important; text-transform: none !important;
}
body.woocommerce-checkout .e-checkout__column-start h3:first-child,
body.woocommerce-checkout #customer_details h3:first-child { margin-top: 8px !important; }
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout .e-checkout__column-end h3 {
  font-family: 'JetBrains Mono', ui-monospace, monospace !important; font-size: 10.5px !important; font-weight: 400 !important;
  letter-spacing: .22em !important; text-transform: uppercase !important; color: var(--co-dark-mute) !important; margin-bottom: 18px !important;
}

/* ---------- fields ---------- */
body.woocommerce-checkout .form-row { margin: 0 0 12px !important; padding: 0 !important; }
body.woocommerce-checkout .form-row label {
  display: block; margin: 0 0 6px; font-size: 13px !important; font-weight: 500 !important; color: var(--co-ink-2) !important; line-height: 1.3 !important;
}
body.woocommerce-checkout .form-row .required { color: var(--co-amber) !important; text-decoration: none; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row { grid-column: 1 / -1; width: 100% !important; float: none !important; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first { grid-column: 1; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: 2; }
@media (max-width: 560px) {
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first,
  body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last,
  body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first,
  body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: 1 / -1; }
}

body.woocommerce-checkout .e-checkout__column-start input.input-text,
body.woocommerce-checkout .e-checkout__column-start textarea,
body.woocommerce-checkout .e-checkout__column-start select:not(.select2-hidden-accessible),
body.woocommerce-checkout #customer_details input.input-text,
body.woocommerce-checkout #customer_details textarea,
body.woocommerce-checkout #customer_details select:not(.select2-hidden-accessible),
body.woocommerce-checkout #payment input.input-text,
body.woocommerce-checkout #payment select:not(.select2-hidden-accessible),
body.woocommerce-checkout .checkout_coupon input.input-text,
body.woocommerce-checkout .select2-container .select2-selection--single {
  width: 100% !important; height: auto !important; min-height: 50px; padding: 13px 14px !important; line-height: 22px !important; margin: 0 !important;
  border: 1px solid var(--co-line) !important; border-radius: 8px !important; background: var(--co-card) !important;
  color: var(--co-ink) !important; font-family: 'Instrument Sans', system-ui, sans-serif !important; font-size: 15px !important;
  box-shadow: none !important; outline: none !important; transition: border-color .2s ease, box-shadow .2s ease !important;
}
body.woocommerce-checkout .select2-container .select2-selection--single { height: 50px !important; padding: 0 14px !important; }
body.woocommerce-checkout select:not(.select2-hidden-accessible) { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23141413' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 14px center !important; padding-right: 40px !important; }
body.woocommerce-checkout textarea { height: 96px !important; padding: 12px 14px !important; resize: vertical; }
body.woocommerce-checkout input.input-text::placeholder, body.woocommerce-checkout textarea::placeholder { color: #9A958C !important; }
body.woocommerce-checkout input.input-text:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout .select2-container--focus .select2-selection--single,
body.woocommerce-checkout .select2-container--open .select2-selection--single {
  border-color: var(--co-ink) !important; box-shadow: 0 0 0 1px var(--co-ink) !important;
}
body.woocommerce-checkout .woocommerce-invalid input.input-text,
body.woocommerce-checkout .woocommerce-invalid .select2-selection { border-color: #C2412D !important; }
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { line-height: 48px !important; padding: 0 !important; color: var(--co-ink) !important; }
body.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 48px !important; right: 10px !important; }
.select2-dropdown { border-color: #DDD9D2 !important; border-radius: 8px !important; font-family: 'Instrument Sans', system-ui, sans-serif; overflow: hidden; }
.select2-results__option--highlighted[aria-selected], .select2-results__option--highlighted[data-selected] { background: #141413 !important; color: #F4F2ED !important; }

/* checkboxes + radios */
body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout input[type="radio"] { accent-color: #141413; width: 18px; height: 18px; margin: 0 10px 0 0 !important; vertical-align: -4px; }
body.woocommerce-checkout .woocommerce-form__label-for-checkbox { display: inline-flex !important; align-items: center; font-size: 14px !important; color: var(--co-ink) !important; }
body.woocommerce-checkout #ship-to-different-address { font-size: 15px !important; font-family: 'Instrument Sans', system-ui, sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; margin-top: 20px !important; }

/* ---------- notices + coupon / login toggles ---------- */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
body.woocommerce-checkout .e-coupon-anchor-description,
body.woocommerce-checkout .e-woocommerce-login-anchor {
  border: 1px solid var(--co-line) !important; border-radius: 8px !important; background: var(--co-card) !important;
  color: var(--co-ink-2) !important; padding: 12px 14px !important; margin: 0 0 12px !important; font-size: 14px !important;
}
body.woocommerce-checkout .woocommerce-info::before { display: none !important; }
body.woocommerce-checkout .woocommerce-info a,
body.woocommerce-checkout .showcoupon, body.woocommerce-checkout .showlogin,
body.woocommerce-checkout .e-show-coupon-form, body.woocommerce-checkout .e-show-login {
  color: var(--co-ink) !important; font-weight: 500; text-decoration: underline !important; text-underline-offset: 3px; text-decoration-color: var(--co-line-2) !important;
}
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error {
  border: 1px solid #EAD5CF !important; border-radius: 8px !important; background: #FBF3F1 !important; color: #A3341F !important;
  padding: 12px 14px 12px 14px !important; font-size: 14px !important; list-style: none; margin: 0 0 16px !important;
}
body.woocommerce-checkout .woocommerce-message { border-color: #CFE5D7 !important; background: #F1F8F3 !important; color: #22704A !important; }
body.woocommerce-checkout .woocommerce-error::before, body.woocommerce-checkout .woocommerce-message::before { display: none !important; }
body.woocommerce-checkout form.checkout_coupon { border: 1px solid var(--co-line) !important; border-radius: 8px !important; padding: 14px !important; display: flex; gap: 8px; align-items: center; background: var(--co-card); }
body.woocommerce-checkout form.checkout_coupon p:not(.form-row) { display: none; }
body.woocommerce-checkout form.checkout_coupon .form-row { flex: 1; margin: 0 !important; width: auto !important; float: none !important; }
body.woocommerce-checkout form.checkout_coupon .form-row-last { flex: none; }

/* ---------- buttons ---------- */
body.woocommerce-checkout button.button,
body.woocommerce-checkout .button:not(#place_order) {
  height: 50px; padding: 0 20px !important; border: 1px solid var(--co-line-2) !important; border-radius: 8px !important;
  background: var(--co-card) !important; color: var(--co-ink) !important; font-family: 'Instrument Sans', system-ui, sans-serif !important;
  font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; cursor: pointer;
}
body.woocommerce-checkout button.button:hover { border-color: var(--co-ink) !important; }
/* The pay button: a dark keycap */
body.woocommerce-checkout #place_order {
  position: relative; width: 100% !important; height: 60px !important; margin-top: 8px !important; padding: 0 24px !important;
  border: 0 !important; border-radius: 12px !important; background: #141413 !important; color: #F4F2ED !important;
  font-family: 'Instrument Sans', system-ui, sans-serif !important; font-size: 13px !important; font-weight: 600 !important;
  letter-spacing: .14em !important; text-transform: uppercase !important; cursor: pointer;
  box-shadow: 0 5px 0 #000000, 0 0 0 1px rgba(255,255,255,.06) inset !important; transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease !important;
}
body.woocommerce-checkout #place_order:hover { background: #1F1E1C !important; box-shadow: 0 5px 0 #000000, 0 22px 44px -18px rgba(214,120,30,.65), 0 0 0 1px rgba(255,255,255,.06) inset !important; }
body.woocommerce-checkout #place_order:active { transform: translateY(4px); box-shadow: 0 1px 0 #000000 !important; }
/* on the dark summary column the pay key turns light */
body.woocommerce-checkout #order_review #place_order,
body.woocommerce-checkout .e-checkout__column-end #place_order { background: #F2F0EB !important; color: #0C0C0C !important; box-shadow: 0 5px 0 #A9A59E, 0 22px 44px -18px rgba(255,179,71,.45) !important; }
body.woocommerce-checkout #order_review #place_order:hover,
body.woocommerce-checkout .e-checkout__column-end #place_order:hover { background: #FFFFFF !important; box-shadow: 0 5px 0 #A9A59E, 0 26px 50px -16px rgba(255,179,71,.6) !important; }
body.woocommerce-checkout #order_review #place_order:active,
body.woocommerce-checkout .e-checkout__column-end #place_order:active { box-shadow: 0 1px 0 #A9A59E !important; }

/* ---------- order summary (dark) ---------- */
body.woocommerce-checkout .e-checkout__column-end,
body.woocommerce-checkout #order_review { font-family: 'Instrument Sans', system-ui, sans-serif; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100% !important; border: 0 !important; border-collapse: collapse !important; margin: 0 0 20px !important; background: transparent !important; color: var(--co-dark-ink) !important; font-size: 14.5px !important;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  border: 0 !important; background: transparent !important; padding: 9px 0 !important; color: inherit !important; font-weight: 400 !important; vertical-align: top;
}
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead { display: none; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table td:last-child,
body.woocommerce-checkout .woocommerce-checkout-review-order-table th + td { text-align: right; font-variant-numeric: tabular-nums; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item td { padding: 14px 0 !important; border-bottom: 1px solid var(--co-dark-line) !important; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name { font-size: 15px; font-weight: 500 !important; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-quantity { font-weight: 400 !important; color: var(--co-dark-mute); }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .variation { display: block; margin: 4px 0 0; font-size: 12.5px; color: var(--co-dark-mute); }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .variation dt,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .variation dd,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .variation p { display: inline; margin: 0; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th { color: var(--co-dark-mute) !important; text-align: left; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table del { color: #6F6B66; margin-right: 6px; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table ins { text-decoration: none; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart-discount td { color: var(--co-amber-d) !important; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td { padding-top: 18px !important; border-top: 1px solid var(--co-dark-line) !important; color: var(--co-dark-ink) !important; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th { font-size: 17px; font-weight: 600 !important; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td > strong,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td > strong .amount { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .includes_tax { display: block; font-size: 12px; color: var(--co-dark-mute); font-weight: 400; letter-spacing: 0; }
body.woocommerce-checkout #shipping_method { list-style: none !important; margin: 0 !important; padding: 0 !important; text-align: right; }
body.woocommerce-checkout #shipping_method li { margin: 0 0 6px !important; display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
body.woocommerce-checkout #shipping_method input[type="radio"] { accent-color: #F2F0EB; }

/* payment box: sits on the light side when the widget puts it there, on dark otherwise */
body.woocommerce-checkout #payment { background: transparent !important; border-radius: 0 !important; }
body.woocommerce-checkout #payment ul.payment_methods {
  list-style: none !important; margin: 0 0 16px !important; padding: 0 !important; border: 1px solid var(--co-line) !important; border-radius: 10px !important; overflow: hidden; background: var(--co-card) !important; color: var(--co-ink);
}
body.woocommerce-checkout #payment ul.payment_methods li { margin: 0 !important; padding: 14px 16px !important; border-top: 1px solid var(--co-line) !important; background: var(--co-card) !important; }
body.woocommerce-checkout #payment ul.payment_methods li:first-child { border-top: 0 !important; }
body.woocommerce-checkout #payment ul.payment_methods li > label { display: inline !important; font-size: 15px !important; font-weight: 500 !important; color: var(--co-ink) !important; }
body.woocommerce-checkout #payment ul.payment_methods li img { max-height: 22px; vertical-align: middle; margin-left: 6px; display: inline-block; }
body.woocommerce-checkout #payment div.payment_box {
  margin: 12px 0 0 !important; padding: 14px !important; border-radius: 8px !important; background: #F4F2ED !important; color: var(--co-ink-2) !important; font-size: 13.5px !important;
}
body.woocommerce-checkout #payment div.payment_box::before { display: none !important; }
body.woocommerce-checkout #payment div.payment_box fieldset { border: 0 !important; padding: 0 !important; margin: 0 !important; min-width: 0; background: transparent !important; }
body.woocommerce-checkout #payment div.payment_box p:last-child { margin-bottom: 0; }
body.woocommerce-checkout #payment div.payment_box .wc-stripe-upe-element { margin: 2px 0 0; }
body.woocommerce-checkout #payment div.payment_box .woocommerce-SavedPaymentMethods { margin: 0 !important; padding: 0 !important; }
body.woocommerce-checkout #payment div.payment_box .woocommerce-SavedPaymentMethods-saveNew { display: flex !important; align-items: center; margin: 12px 0 0 !important; padding: 0 !important; font-size: 13.5px; }
body.woocommerce-checkout #payment div.payment_box .woocommerce-SavedPaymentMethods-saveNew label { margin: 0 !important; font-size: 13.5px !important; font-weight: 400 !important; }
body.woocommerce-checkout #payment ul.payment_methods li > input[type="radio"] { margin: 0 12px 0 0 !important; vertical-align: -3px; }
body.woocommerce-checkout #wc-stripe-upe-errors:not(:empty), body.woocommerce-checkout [id$="-upe-errors"]:not(:empty) { margin-top: 10px; color: #A3341F; font-size: 13px; }
body.woocommerce-checkout #payment .place-order { padding: 0 !important; margin: 0 !important; }
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout .woocommerce-privacy-policy-text { font-size: 12.5px; color: var(--co-mute); line-height: 1.5; margin-bottom: 12px; }
body.woocommerce-checkout .e-checkout__column-end .woocommerce-privacy-policy-text,
body.woocommerce-checkout #order_review .woocommerce-privacy-policy-text { color: var(--co-dark-mute); }
body.woocommerce-checkout .woocommerce-privacy-policy-text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* PayPal's "Pay in 4" message draws dark text: give it a light strip on the dark column */
body.woocommerce-checkout #order_review .ppcp-messages:has(iframe),
body.woocommerce-checkout .e-checkout__column-end .ppcp-messages:has(iframe) { background: var(--co-paper); border-radius: 8px; padding: 10px 14px 6px; margin: 0 0 14px !important; }
/* PayPal's own buttons (shown instead of Place order when PayPal is picked) */
body.woocommerce-checkout #order_review .ppc-button-wrapper { margin-top: 12px; }

/* Express checkout (Apple Pay, Google Pay, Link) at the top of the form */
body.woocommerce-checkout .nx-co-express { margin: 0 0 8px; }
body.woocommerce-checkout #wc-stripe-express-checkout-element { margin: 0 !important; }
body.woocommerce-checkout #wc-stripe-express-checkout-button-separator {
  position: relative; display: block !important; margin: 18px 0 6px !important; padding: 0 !important; height: 20px; text-align: center !important;
  font-size: 0 !important; line-height: 20px !important; color: transparent !important;
  background: linear-gradient(var(--co-line), var(--co-line)) center / 100% 1px no-repeat;
}
body.woocommerce-checkout #wc-stripe-express-checkout-button-separator::after {
  content: "or fill in your details"; display: inline-block; padding: 0 12px; background: var(--co-paper);
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--co-mute);
}

/* the Elementor widget's own order-review box */
body.woocommerce-checkout .e-checkout__order_review,
body.woocommerce-checkout .e-checkout__order_review-2 { background: transparent !important; border: 0 !important; padding: 0 !important; }

/* ---------- order received (thank you) ---------- */
body.woocommerce-order-received:not(.nx-ty) { background: #0C0C0C !important; }
body.woocommerce-order-received:not(.nx-ty) .woocommerce-order {
  max-width: 760px; margin: 0 auto; padding: clamp(32px, 5vw, 72px) 16px; color: #F2F0EB; font-family: 'Instrument Sans', system-ui, sans-serif;
}
body.woocommerce-order-received:not(.nx-ty) .woocommerce-thankyou-order-received {
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 24px; color: #F2F0EB;
}
body.woocommerce-order-received:not(.nx-ty) ul.order_details {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 0 0 32px; padding: 0;
  border: 1px solid #2A2927; border-radius: 10px; overflow: hidden;
}
body.woocommerce-order-received:not(.nx-ty) ul.order_details li {
  float: none; margin: 0; padding: 14px 16px; border: 0; border-right: 1px solid #2A2927; font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #8F8B84;
}
body.woocommerce-order-received:not(.nx-ty) ul.order_details li strong { display: block; margin-top: 6px; font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 16px; letter-spacing: 0; text-transform: none; color: #F2F0EB; }
body.woocommerce-order-received:not(.nx-ty) h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: #F2F0EB; margin: 28px 0 12px; }
body.woocommerce-order-received:not(.nx-ty) table.shop_table { width: 100%; border: 1px solid #2A2927; border-radius: 10px; border-collapse: separate; border-spacing: 0; color: #D8D5CF; background: #0F0F0E; }
body.woocommerce-order-received:not(.nx-ty) table.shop_table th,
body.woocommerce-order-received:not(.nx-ty) table.shop_table td { padding: 12px 16px; border: 0; border-top: 1px solid #1E1D1C; background: transparent; }
body.woocommerce-order-received:not(.nx-ty) table.shop_table thead th { border-top: 0; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #8F8B84; font-weight: 400; }
body.woocommerce-order-received:not(.nx-ty) address { border: 1px solid #2A2927 !important; border-radius: 10px; padding: 16px; font-style: normal; color: #D8D5CF; line-height: 1.6; }
body.woocommerce-order-received:not(.nx-ty) a { color: #F2F0EB; }

/* ---------- WooCommerce Cart / Checkout BLOCKS (if your store uses them) ---------- */
.wp-block-woocommerce-checkout, .wp-block-woocommerce-cart { font-family: 'Instrument Sans', system-ui, sans-serif; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input {
  border-radius: 8px !important; border-color: #DDD9D2 !important; background: #FFFFFF !important; color: #141413 !important;
}
.wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button {
  height: 60px !important; border-radius: 12px !important; background: #141413 !important; color: #F4F2ED !important; border: 0 !important;
  font-weight: 600 !important; letter-spacing: .14em !important; text-transform: uppercase; box-shadow: 0 5px 0 #000 !important;
}

/* =====================================================================
   CHECKOUT C · light page, numbered steps, floating dark receipt
   (body.nx-co-c is added by the plugin; everything below only applies then)
   ===================================================================== */
html body.nx-co-c.woocommerce-checkout { background: #F4F2ED !important; --co-w: 600px; --co-gx: clamp(16px, 3.4vw, 48px); }

/* header + footer strips on one light page; phone and cart move into the receipt */
html body.nx-co-c #nx-co-header .r, html body.nx-co-c #nx-co-footer .r { background: transparent !important; }
html body.nx-co-c #nx-co-header .ri { display: none !important; }
html body.nx-co-c #nx-co-header .l { background: transparent !important; padding: 30px 0 0 !important; }
html body.nx-co-c #nx-co-footer .l { background: transparent !important; padding: 0 0 40px !important; }
html body.nx-co-c #nx-co-header .li, html body.nx-co-c #nx-co-footer .li { max-width: var(--co-w) !important; }
html body.nx-co-c #nx-co-header .li { padding: 0 var(--co-gx); min-height: 34px; box-sizing: border-box; }
html body.nx-co-c #nx-co-footer .l { padding-left: var(--co-gx) !important; padding-right: var(--co-gx) !important; }
html body.nx-co-c #nx-co-footer .li { max-width: calc(var(--co-w) - 2 * var(--co-gx)) !important; }

/* WooCommerce's own coupon + login prompts: the receipt has the code field, step 01 has "Log in" */
html body.nx-co-c .woocommerce-form-coupon-toggle,
html body.nx-co-c .woocommerce-form-login-toggle,
html body.nx-co-c .woocommerce > form.checkout_coupon { display: none !important; }
html body.nx-co-c .woocommerce > form.woocommerce-form-login,
html body.nx-co-c .woocommerce > .woocommerce-notices-wrapper,
html body.nx-co-c .woocommerce > .woocommerce-message,
html body.nx-co-c .woocommerce > .woocommerce-error,
html body.nx-co-c .woocommerce > .woocommerce-info {
  max-width: calc(var(--co-w) - 2 * var(--co-gx)) !important; margin: 20px calc(50% + var(--co-gx)) 0 auto !important; box-sizing: border-box;
}

/* ---- grid: steps on the left, receipt on the right ---- */
html body.nx-co-c.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; grid-template-rows: repeat(5, auto) 1fr !important;
  gap: 0 !important; align-items: start; color: #141413;
}
html body.nx-co-c.woocommerce-checkout form.checkout > * {
  grid-column: 1 !important; justify-self: end; width: 100% !important; max-width: var(--co-w) !important;
  padding-left: var(--co-gx) !important; padding-right: var(--co-gx) !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box;
}
html body.nx-co-c.woocommerce-checkout form.checkout #customer_details {
  grid-row: auto !important; display: block !important; justify-self: end; width: 100% !important; max-width: var(--co-w) !important;
  padding: 30px var(--co-gx) 0 !important; background: transparent !important; box-sizing: border-box;
}
html body.nx-co-c.woocommerce-checkout form.checkout #customer_details > *,
html body.nx-co-c.woocommerce-checkout #customer_details .col-1,
html body.nx-co-c.woocommerce-checkout #customer_details .col-2 { max-width: none !important; width: 100% !important; float: none !important; padding: 0 !important; }
html body.nx-co-c.woocommerce-checkout form.checkout #order_review_heading { display: none !important; }
html body.nx-co-c.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { padding-top: 24px !important; }

/* the receipt */
html body.nx-co-c.woocommerce-checkout form.checkout #order_review {
  grid-column: 2 !important; grid-row: 1 / span 6 !important; justify-self: start; align-self: start;
  position: sticky; top: 24px; z-index: 1;
  width: calc(100% - var(--co-gx) - 8px) !important; max-width: 470px !important;
  margin: 30px var(--co-gx) 40px 8px !important; padding: 24px 26px 26px !important;
  background: #0C0C0C !important; color: #F2F0EB !important; border-radius: 18px !important; border: 0 !important;
  box-shadow: 0 40px 80px -40px rgba(20,19,19,.55), 0 0 0 1px rgba(20,19,19,.08) !important;
  display: flex !important; flex-direction: column; gap: 22px; font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 14px;
}
html body.nx-co-c.admin-bar.woocommerce-checkout form.checkout #order_review { top: 56px; }
html body.nx-co-c :is(#order_review, #nxty-receipt) a { color: #F2F0EB; }
html body.nx-co-c #order_review .blockOverlay { background: #0C0C0C !important; }
html body.nx-co-c .nxco-rtop { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-height: 34px; }
html body.nx-co-c .nxco-rtop .tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13.5px; color: #D8D5CF !important; }
html body.nx-co-c .nxco-rtop .bag { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #2A2927; color: #F2F0EB; text-decoration: none; }
html body.nx-co-c .nxco-rtop .bag b { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #FFB347; color: #0C0C0C; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }
html body.nx-co-c .nxco-hero { position: relative; margin: 0 -8px; aspect-ratio: 2000 / 1097; overflow: hidden; }
html body.nx-co-c .nxco-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; }
html body.nx-co-c .nxco-hero figcaption { position: absolute; left: 8px; bottom: 6px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: #6F6B66; }

/* receipt table as stacked rows */
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r { display: block !important; width: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; font-size: 14px !important; color: #F2F0EB !important; }
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r tbody,
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r tfoot { display: flex; flex-direction: column; }
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r tbody { gap: 14px; }
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r tfoot { gap: 10px; margin-top: 22px; }
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r tr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r th,
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r td { display: block; padding: 0 !important; border: 0 !important; background: none !important; color: #F2F0EB !important; font-size: 14px !important; font-weight: 400 !important; text-align: left; line-height: 1.45; }
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r td:last-child:not([colspan]) { text-align: right; font-variant-numeric: tabular-nums; }
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r td[colspan] { width: 100%; }
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r .cart_item td { border: 0 !important; padding: 0 !important; }
html body.nx-co-c .nxco-line { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
html body.nx-co-c .nxco-thumb { position: relative; width: 68px; height: 68px; border-radius: 8px; border: 1px solid #2A2927; background: #141413; }
html body.nx-co-c .nxco-thumb img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: contain; border-radius: 7px; margin: 0 !important; }
html body.nx-co-c .nxco-qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #F2F0EB; color: #0C0C0C; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
html body.nx-co-c .nxco-nm { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
html body.nx-co-c .nxco-nm .t { font-size: 14.5px; font-weight: 500; }
html body.nx-co-c .nxco-nm .v, html body.nx-co-c .nxco-nm dl.variation { font-size: 13px; color: #8F8B84; margin: 0; }
html body.nx-co-c .nxco-nm dl.variation dt, html body.nx-co-c .nxco-nm dl.variation dd, html body.nx-co-c .nxco-nm dl.variation p { display: inline; margin: 0; }
html body.nx-co-c .nxco-pr { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14.5px; font-variant-numeric: tabular-nums; }
html body.nx-co-c .nxco-pr del { font-size: 12px; color: #6F6B66; }

/* discount code */
html body.nx-co-c #order_review tr.nxco-coupon { margin-bottom: 12px; }
html body.nx-co-c #order_review tr.nxco-coupon td { display: flex !important; flex-direction: column; gap: 6px; }
html body.nx-co-c .nxco-code { display: flex; gap: 10px; }
html body.nx-co-c .nxco-fl { position: relative; flex: 1 1 auto; min-width: 0; display: block; }
html body.nx-co-c .nxco-fl input { width: 100% !important; height: 50px !important; margin: 0 !important; padding: 20px 12px 6px !important; border: 1px solid #2A2927 !important; border-radius: 6px !important; background: #0E0E0D !important; color: #F2F0EB !important; font-family: 'Instrument Sans', system-ui, sans-serif !important; font-size: 14.5px !important; outline: none !important; box-shadow: none !important; }
html body.nx-co-c .nxco-fl input:focus { border-color: #F2F0EB !important; box-shadow: 0 0 0 1px #F2F0EB !important; }
html body.nx-co-c .nxco-fl label { position: absolute; left: 13px; top: 15px; margin: 0; font-size: 14.5px; line-height: 1.2; color: #6F6B66; pointer-events: none; transform-origin: left top; transition: transform .18s ease, top .18s ease, color .18s ease; }
html body.nx-co-c .nxco-fl input:focus + label, html body.nx-co-c .nxco-fl input:not(:placeholder-shown) + label { top: 7px; transform: scale(.78); color: #8F8B84; }
html body.nx-co-c .nxco-apply { flex: none; height: 50px !important; padding: 0 18px !important; border-radius: 6px !important; border: 1px solid #2A2927 !important; background: #1A1A19 !important; color: #A9A59E !important; cursor: pointer; font-family: 'Instrument Sans', system-ui, sans-serif !important; font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; transition: border-color .2s ease, color .2s ease; }
html body.nx-co-c .nxco-apply:hover { border-color: #F2F0EB !important; color: #F2F0EB !important; }
html body.nx-co-c .nxco-code-msg { font-size: 12.5px; color: #A9A59E; }
html body.nx-co-c .nxco-code-msg:empty { display: none; }
html body.nx-co-c .nxco-code-msg[data-ok="0"] { color: #E0705A; }

/* totals */
html body.nx-co-c :is(#order_review, #nxty-receipt) .cart-discount td { color: #FFB347 !important; }
html body.nx-co-c :is(#order_review, #nxty-receipt) .cart-discount a { color: #A9A59E; font-size: 12.5px; }
html body.nx-co-c :is(#order_review, #nxty-receipt) .nxco-saving td { color: #FFB347 !important; }
html body.nx-co-c :is(#order_review, #nxty-receipt) .nxco-saving td .amount { color: #FFB347; }
html body.nx-co-c :is(#order_review, #nxty-receipt) .nxco-saving .nxco-incl { color: #6F6B66; }
html body.nx-co-c :is(#order_review, #nxty-receipt) small.shipped_via { font-size: 12.5px; color: #8F8B84; }
html body.nx-co-c :is(#order_review, #nxty-receipt) .nxco-muted { color: #8F8B84; }
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r tr.order-total { padding-top: 12px; border: 0 !important; }
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r tr.order-total th { font-size: 19px !important; font-weight: 600 !important; }
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r tr.order-total td { display: inline-flex; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; gap: 0 8px; }
html body.nx-co-c :is(#order_review, #nxty-receipt) .order-total .nxco-cur { font-size: 12px; color: #8F8B84; }
html body.nx-co-c :is(#order_review, #nxty-receipt) .order-total strong, html body.nx-co-c :is(#order_review, #nxty-receipt) .order-total strong .amount { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
html body.nx-co-c :is(#order_review, #nxty-receipt) .order-total .includes_tax { flex-basis: 100%; text-align: right; font-size: 12px; color: #8F8B84; }
html body.nx-co-c :is(#order_review, #nxty-receipt) table.nxco-r tr.nxco-savings td { display: flex; justify-content: flex-end; }
html body.nx-co-c .nxco-pill { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255,179,71,.08); color: #FFB347; font-size: 12.5px; }

/* trust + help */
html body.nx-co-c .nxco-trust { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 20px 0 0; list-style: none; border-top: 1px solid #1E1D1C; }
html body.nx-co-c .nxco-trust li { display: flex; gap: 12px; align-items: center; margin: 0; font-size: 13.5px; color: #D8D5CF; }
html body.nx-co-c .nxco-trust svg { flex: none; color: #8F8B84; }
html body.nx-co-c .nxco-trust img { flex: none; width: 16px; height: 10px; border-radius: 1.5px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); margin: 0 0 0 0; }
html body.nx-co-c .nxco-help { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid #1E1D1C; border-radius: 8px; background: #0C0C0C; }
html body.nx-co-c .nxco-help img { width: 40px; height: 40px; border-radius: 50%; margin: 0; }
html body.nx-co-c .nxco-help span { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #8F8B84; }
html body.nx-co-c .nxco-help b { font-weight: 400; font-size: 14px; color: #F2F0EB; }

/* ---- left column: express, steps, fields ---- */
html body.nx-co-c .nx-co-express { display: flex; flex-direction: column; gap: 14px; margin: 0 0 28px; }
html body.nx-co-c .nx-co-express::before { content: "Express checkout"; font-size: 13.5px; font-weight: 500; color: #6B6760; text-align: center; }
html body.nx-co-c #wc-stripe-express-checkout-element { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin: 0 !important; }
html body.nx-co-c #wc-stripe-express-checkout-element > * { margin: 0 !important; min-width: 0; }
html body.nx-co-c #wc-stripe-express-checkout-button-separator {
  position: relative; display: block !important; margin: 0 !important; padding: 0 !important; height: 18px; text-align: center !important;
  font-size: 0 !important; line-height: 18px !important; color: transparent !important;
  background: linear-gradient(#DDD9D2, #DDD9D2) center / 100% 1px no-repeat;
}
html body.nx-co-c #wc-stripe-express-checkout-button-separator::after { content: "OR"; display: inline-block; padding: 0 14px; background: #F4F2ED; font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: #8A857D; }

html body.nx-co-c .woocommerce-billing-fields > h3 { display: none !important; }
html body.nx-co-c .woocommerce-billing-fields__field-wrapper,
html body.nx-co-c .woocommerce-shipping-fields__field-wrapper { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 12px !important; }
html body.nx-co-c .woocommerce-billing-fields__field-wrapper > .form-row,
html body.nx-co-c .woocommerce-shipping-fields__field-wrapper > .form-row { grid-column: 1 / -1 !important; margin: 0 !important; padding: 0 !important; width: 100% !important; float: none !important; }
html body.nx-co-c .woocommerce-billing-fields__field-wrapper > .form-row-first,
html body.nx-co-c .woocommerce-shipping-fields__field-wrapper > .form-row-first { grid-column: 1 / span 3 !important; }
html body.nx-co-c .woocommerce-billing-fields__field-wrapper > .form-row-last,
html body.nx-co-c .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: 4 / span 3 !important; }
html body.nx-co-c .woocommerce-billing-fields__field-wrapper > .nxco-third,
html body.nx-co-c .woocommerce-shipping-fields__field-wrapper > .nxco-third { grid-column: span 2 !important; }

/* step headings */
html body.nx-co-c .nxco-step { display: flex !important; align-items: baseline; justify-content: space-between; gap: 12px; margin: 16px 0 0 !important; }
html body.nx-co-c .nxco-step[data-priority="0"] { margin-top: 0 !important; }
html body.nx-co-c .nxco-h { display: flex; align-items: center; margin: 0 !important; padding: 0 !important; font-family: 'Instrument Sans', system-ui, sans-serif !important; font-weight: 600 !important; font-size: 20px !important; line-height: 1.2 !important; letter-spacing: -0.01em !important; color: #141413 !important; text-transform: none !important; }
html body.nx-co-c .nxco-h .num { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; margin-right: 12px; border-radius: 50%; border: 1px solid #C9C4BB; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10.5px; font-weight: 500; letter-spacing: 0; color: #6B6760; }
html body.nx-co-c .nxco-login { font-size: 13.5px; color: #3A3733 !important; text-decoration: underline !important; text-underline-offset: 3px; text-decoration-color: #C9C4BB !important; }
html body.nx-co-c .nxco-login:hover { color: #141413 !important; text-decoration-color: #141413 !important; }
html body.nx-co-c .nxco-sec { display: flex; flex-direction: column; gap: 12px; padding-top: 28px !important; }
html body.nx-co-c .nxco-hw { display: flex; flex-direction: column; gap: 4px; }
html body.nx-co-c .nxco-sub { margin: 0; font-size: 13.5px; color: #6B6760; }

/* floating labels (like the mock-up): the label sits in the field and shrinks once there is a value */
html body.nx-co-c #customer_details .form-row:has(> .woocommerce-input-wrapper > :is(.input-text, select)) { position: relative; }
html body.nx-co-c #customer_details .form-row:has(> .woocommerce-input-wrapper > :is(.input-text, select)) > label {
  position: absolute; left: 13px; top: 15px; z-index: 2; margin: 0 !important; max-width: calc(100% - 40px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 14.5px !important; font-weight: 400 !important; line-height: 1.2 !important; color: #8A857D !important; pointer-events: none;
  transform-origin: left top; transition: transform .18s ease, top .18s ease, color .18s ease;
}
html body.nx-co-c #customer_details .form-row.nxco-filled > label,
html body.nx-co-c #customer_details .form-row:focus-within > label,
html body.nx-co-c #customer_details .form-row:has(> .woocommerce-input-wrapper > select) > label { top: 7px !important; transform: scale(.78); color: #6B6760 !important; }
html body.nx-co-c #customer_details .form-row:has(> .woocommerce-input-wrapper > textarea) > label { top: 9px !important; transform: scale(.78); }
html body.nx-co-c #customer_details label abbr.required, html body.nx-co-c #customer_details label .required { display: none !important; }
html body.nx-co-c #customer_details label .optional { color: inherit; }
html body.nx-co-c #customer_details input.input-text,
html body.nx-co-c #customer_details select:not(.select2-hidden-accessible) {
  height: 50px !important; min-height: 50px; padding: 20px 12px 6px !important; line-height: 22px !important; border: 1px solid #D3CFC7 !important; border-radius: 6px !important; background-color: #FFFFFF !important; color: #141413 !important; font-size: 14.5px !important;
}
html body.nx-co-c #customer_details textarea { padding: 24px 12px 8px !important; border: 1px solid #D3CFC7 !important; border-radius: 6px !important; font-size: 14.5px !important; }
html body.nx-co-c #customer_details .input-text::placeholder, html body.nx-co-c #customer_details textarea::placeholder { color: transparent !important; }
html body.nx-co-c #customer_details .input-text:focus::placeholder, html body.nx-co-c #customer_details textarea:focus::placeholder { color: #A9A59E !important; }
html body.nx-co-c #customer_details input.input-text:focus, html body.nx-co-c #customer_details select:focus, html body.nx-co-c #customer_details textarea:focus,
html body.nx-co-c #customer_details .select2-container--focus .select2-selection--single,
html body.nx-co-c #customer_details .select2-container--open .select2-selection--single { border-color: #141413 !important; box-shadow: 0 0 0 1px #141413 !important; }
html body.nx-co-c #customer_details .select2-container .select2-selection--single { height: 50px !important; padding: 0 12px !important; border: 1px solid #D3CFC7 !important; border-radius: 6px !important; }
html body.nx-co-c #customer_details .select2-container .select2-selection--single .select2-selection__rendered { padding-top: 14px !important; line-height: 34px !important; font-size: 14.5px; }
html body.nx-co-c #customer_details .select2-container .select2-selection--single .select2-selection__arrow { top: 0 !important; height: 50px !important; }
html body.nx-co-c #customer_details input:-webkit-autofill { animation-name: nxcoAutofill; animation-duration: .01s; }
@keyframes nxcoAutofill { from { opacity: 1; } to { opacity: 1; } }
html body.nx-co-c #customer_details .woocommerce-invalid input.input-text,
html body.nx-co-c #customer_details .woocommerce-invalid .select2-selection { border-color: #C2412D !important; box-shadow: 0 0 0 1px #C2412D !important; }
html body.nx-co-c .checkout-inline-error-message { margin: 6px 0 0 !important; font-size: 12.5px; color: #C2412D; }

/* checkboxes */
html body.nx-co-c form.checkout input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; flex: none; width: 18px !important; height: 18px !important; margin: 0 10px 0 0 !important; padding: 0 !important;
  border: 1px solid #C9C4BB !important; border-radius: 4px !important; background: #FFFFFF !important; display: inline-grid !important; place-items: center; vertical-align: -4px; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
html body.nx-co-c form.checkout input[type="checkbox"]:checked { background: #141413 !important; border-color: #141413 !important; }
html body.nx-co-c form.checkout input[type="checkbox"]:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #FFFFFF; border-bottom: 2px solid #FFFFFF; transform: translateY(-1px) rotate(-45deg); }
html body.nx-co-c .nxco-cb label, html body.nx-co-c #ship-to-different-address label { display: inline-flex !important; align-items: center; margin: 0 !important; font-size: 14px !important; font-weight: 400 !important; color: #3A3733 !important; cursor: pointer; }
html body.nx-co-c .nxco-cb .optional { display: none; }
html body.nx-co-c #ship-to-different-address { margin: 16px 0 12px !important; font-size: 14px !important; }
html body.nx-co-c .woocommerce-additional-fields > h3 { font-size: 16px !important; margin: 16px 0 12px !important; }

/* option cards: shipping + payment */
html body.nx-co-c .nxco-ship #shipping_method { text-align: left !important; }
html body.nx-co-c .nxco-ship #shipping_method li { display: block !important; margin: 0 !important; }
html body.nx-co-c .nxco-opts { list-style: none; margin: 0 !important; padding: 0 !important; border: 1px solid #D3CFC7; border-radius: 6px; overflow: hidden; background: #FFFFFF; }
html body.nx-co-c .nxco-opt { position: relative; margin: 0 !important; border-top: 1px solid #D3CFC7; }
html body.nx-co-c .nxco-opt:first-child { border-top: 0; }
html body.nx-co-c .nxco-opt > input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
html body.nx-co-c .nxco-opt > label { display: flex !important; align-items: center; gap: 12px; margin: 0 !important; padding: 16px 14px; cursor: pointer; font-size: 14.5px !important; font-weight: 400 !important; color: #141413 !important; }
html body.nx-co-c .nxco-opt .radio { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1px solid #C9C4BB; background: #FFFFFF; box-sizing: border-box; transition: border-width .15s ease; }
html body.nx-co-c .nxco-opt .nm { flex: 1; display: flex; flex-direction: column; gap: 3px; }
html body.nx-co-c .nxco-opt .sub { font-size: 13px; color: #6B6760; }
html body.nx-co-c .nxco-opt .pr { font-variant-numeric: tabular-nums; }
html body.nx-co-c .nxco-opt.is-on, html body.nx-co-c .nxco-opt:has(> input:checked) { background: #FAF9F6; box-shadow: inset 0 0 0 1px #141413; z-index: 1; }
html body.nx-co-c .nxco-opt.is-on .radio, html body.nx-co-c .nxco-opt:has(> input:checked) .radio { border: 5px solid #141413; }
html body.nx-co-c .nxco-opt > input:focus-visible + label { outline: 2px solid #141413; outline-offset: -3px; }
html body.nx-co-c .nxco-note { margin: 0; padding: 16px 14px; border-radius: 6px; background: #EBE8E2; color: #6B6760; font-size: 14px; }

html body.nx-co-c #payment { background: transparent !important; border-radius: 0 !important; padding: 0 !important; }
html body.nx-co-c #payment ul.payment_methods { margin: 0 0 20px !important; padding: 0 !important; border: 1px solid #D3CFC7 !important; border-radius: 6px !important; background: #FFFFFF !important; overflow: hidden; }
html body.nx-co-c #payment ul.payment_methods li.wc_payment_method { position: relative; margin: 0 !important; padding: 0 !important; border-top: 1px solid #D3CFC7 !important; background: #FFFFFF !important; line-height: 1.4; }
html body.nx-co-c #payment ul.payment_methods li.wc_payment_method:first-child { border-top: 0 !important; }
html body.nx-co-c #payment ul.payment_methods li.wc_payment_method > input.input-radio { position: absolute; left: 14px; top: 17px; width: 18px; height: 18px; margin: 0 !important; opacity: 0; }
html body.nx-co-c #payment ul.payment_methods li.wc_payment_method > label { position: relative; display: flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: 16px 14px 16px 44px !important; cursor: pointer; font-size: 14.5px !important; font-weight: 400 !important; color: #141413 !important; }
html body.nx-co-c #payment ul.payment_methods li.wc_payment_method > label::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 1px solid #C9C4BB; background: #FFFFFF; box-sizing: border-box; transition: border-width .15s ease; }
html body.nx-co-c #payment ul.payment_methods li.wc_payment_method > label img { margin-left: auto !important; max-height: 22px; }
html body.nx-co-c #payment ul.payment_methods li.wc_payment_method:has(> input:checked) { background: #FAF9F6 !important; box-shadow: inset 0 0 0 1px #141413; z-index: 1; }
html body.nx-co-c #payment ul.payment_methods li.wc_payment_method:has(> input:checked) > label::before { border: 5px solid #141413; }
html body.nx-co-c #payment ul.payment_methods li.wc_payment_method > input:focus-visible + label { outline: 2px solid #141413; outline-offset: -3px; }
html body.nx-co-c #payment ul.payment_methods li.wc_payment_method:only-child > label { padding-left: 14px !important; }
html body.nx-co-c #payment ul.payment_methods li.wc_payment_method:only-child > label::before { display: none; }
html body.nx-co-c #payment div.payment_box { margin: 0 !important; padding: 14px !important; border-radius: 0 !important; border-top: 1px solid #D3CFC7; background: #F7F5F0 !important; color: #5E5A54 !important; font-size: 13.5px !important; }
html body.nx-co-c .ppcp-messages { margin: 0 !important; background: none !important; padding: 0 !important; }

/* pay button + legal text */
html body.nx-co-c #payment .place-order { display: flex; flex-direction: column; gap: 14px; margin: 0 !important; padding: 0 !important; }
html body.nx-co-c #payment .woocommerce-terms-and-conditions-wrapper, html body.nx-co-c #payment .woocommerce-privacy-policy-text { margin: 0; font-size: 12.5px; color: #8A857D; }
html body.nx-co-c #payment #place_order {
  position: relative; float: none !important; width: 100% !important; height: 58px !important; margin: 0 !important; padding: 0 24px !important;
  border: 0 !important; border-radius: 10px !important; background: #141413 !important; color: #F4F2ED !important;
  font-family: 'Instrument Sans', system-ui, sans-serif !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: .14em !important; text-transform: uppercase !important;
  box-shadow: 0 5px 0 #000000, 0 0 0 1px rgba(255,255,255,.06) inset !important; transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease !important;
}
html body.nx-co-c #payment #place_order::before { content: "K12"; position: absolute; left: 11px; top: 7px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 8.5px; font-weight: 500; letter-spacing: .16em; color: #6B6760; }
html body.nx-co-c #payment #place_order:hover { background: #1F1E1C !important; box-shadow: 0 5px 0 #000000, 0 22px 44px -18px rgba(214,120,30,.6), 0 0 0 1px rgba(255,255,255,.06) inset !important; }
html body.nx-co-c #payment #place_order:active { transform: translateY(4px); box-shadow: 0 1px 0 #000000 !important; }

/* ---- phones and tablets: one column, receipt on top ---- */
@media (max-width: 1000px) {
  html body.nx-co-c.woocommerce-checkout form.checkout.woocommerce-checkout { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: none !important; }
  html body.nx-co-c.woocommerce-checkout form.checkout > * { justify-self: center; }
  html body.nx-co-c.woocommerce-checkout form.checkout #order_review {
    grid-column: 1 !important; grid-row: auto !important; order: -1; position: static; justify-self: stretch;
    width: auto !important; max-width: none !important; margin: 16px !important; padding: 20px 18px 22px !important; border-radius: 14px !important;
  }
  html body.nx-co-c .nxco-hero { display: none; }
  html body.nx-co-c .woocommerce > form.woocommerce-form-login,
  html body.nx-co-c .woocommerce > .woocommerce-notices-wrapper,
  html body.nx-co-c .woocommerce > .woocommerce-message,
  html body.nx-co-c .woocommerce > .woocommerce-error,
  html body.nx-co-c .woocommerce > .woocommerce-info { margin: 16px auto 0 !important; max-width: calc(var(--co-w) - 2 * var(--co-gx)) !important; }
  html body.nx-co-c #nx-co-header .li { margin: 0 auto; }
  html body.nx-co-c #nx-co-footer .li { margin: 0 auto; }
}
@media (max-width: 560px) {
  html body.nx-co-c .woocommerce-billing-fields__field-wrapper > .form-row-first,
  html body.nx-co-c .woocommerce-billing-fields__field-wrapper > .form-row-last,
  html body.nx-co-c .woocommerce-billing-fields__field-wrapper > .nxco-third,
  html body.nx-co-c .woocommerce-shipping-fields__field-wrapper > .form-row-first,
  html body.nx-co-c .woocommerce-shipping-fields__field-wrapper > .form-row-last,
  html body.nx-co-c .woocommerce-shipping-fields__field-wrapper > .nxco-third { grid-column: 1 / -1 !important; }
  html body.nx-co-c .nxco-h { font-size: 18px !important; }
}

/* =====================================================================
   ORDER CONFIRMED (thank-you page) · Checkout C style
   (body.nx-ty is added by the plugin with the Checkout C design on)
   ===================================================================== */
html body.nx-ty :is(.nm-site-wrap, #page, .site, .site-content, .content-area, #primary, #main, .site-main, .nm-main, .entry-content, .page-content, .elementor, .e-con, .e-con-inner, .elementor-widget, .elementor-widget-container, .elementor-shortcode):has(.woocommerce),
html body.nx-ty .woocommerce:has(.nxty) {
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important;
  padding-left: 0 !important; padding-right: 0 !important;
  --content-width: 100%; --container-max-width: 100%; --padding-left: 0px; --padding-right: 0px; --padding-top: 0px; --padding-bottom: 0px;
}
html body.nx-ty :is(.e-con, .e-con-inner, .elementor-widget, .elementor-widget-container, .elementor-shortcode):has(.woocommerce) { padding: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
html body.nx-ty .entry-header, html body.nx-ty .page-header, html body.nx-ty h1.entry-title { display: none !important; }
html body.nx-ty .woocommerce > .woocommerce-notices-wrapper:empty { display: none !important; }

/* grid: status + details on the left, the dark receipt on the right */
html body.nx-ty .woocommerce-order.nxty {
  display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start;
  max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important;
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  color: #141413; font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 14px; line-height: 1.5;
}
html body.nx-ty .nxty > .nxty-head,
html body.nx-ty .nxty > .nxty-body { grid-column: 1; justify-self: end; width: 100%; max-width: var(--co-w); padding: 0 var(--co-gx); box-sizing: border-box; min-width: 0; }
html body.nx-ty .nxty > .nxty-head { grid-row: 1; }
html body.nx-ty .nxty > .nxty-body { grid-row: 2; padding-bottom: 56px; }
html body.nx-ty .nxty-rc {
  grid-column: 2; grid-row: 1 / span 2; justify-self: start; align-self: start; position: sticky; top: 24px; z-index: 1;
  width: calc(100% - var(--co-gx) - 8px); max-width: 470px; margin: 30px var(--co-gx) 40px 8px; padding: 24px 26px 26px; box-sizing: border-box;
  background: #0C0C0C; color: #F2F0EB; border-radius: 18px;
  box-shadow: 0 40px 80px -40px rgba(20,19,19,.55), 0 0 0 1px rgba(20,19,19,.08);
  display: flex; flex-direction: column; gap: 22px; font-size: 14px;
}
html body.nx-ty.admin-bar .nxty-rc { top: 56px; }
html body.nx-ty .nxty-rtop { justify-content: space-between; }
html body.nx-ty .nxty-rtop .lbl { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #8F8B84; }
html body.nx-ty .nxty-rc tr.order_item { display: block !important; }

/* hero (the mock-up's "done" state) */
@keyframes nxtyRing { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes nxtyCheck { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
html body.nx-ty .nxty-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: clamp(28px, 4vw, 56px) 0 clamp(28px, 3.4vw, 44px); }
html body.nx-ty .nxty-key-icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%; background: #141413; color: #F4F2ED; animation: nxtyRing .5s cubic-bezier(.2,.8,.2,1) both; }
html body.nx-ty .nxty-key-icon .tick { stroke-dasharray: 24; animation: nxtyCheck .5s ease .25s both; }
html body.nx-ty .nxty-key-icon.is-x { background: #F6E4DF; color: #C2412D; box-shadow: inset 0 0 0 1px #E9C3B9; }
html body.nx-ty .nxty-eyebrow { margin: 0; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #6B6760; }
html body.nx-ty .nxty-eyebrow span { margin: 0 .7em; color: #B5B0A7; }
html body.nx-ty .nxty .nxty-title {
  margin: 0 !important; padding: 0 !important; font-family: 'Instrument Sans', system-ui, sans-serif !important; font-weight: 400 !important;
  font-size: clamp(38px, 4.4vw, 58px) !important; line-height: 1 !important; letter-spacing: -0.04em !important; color: #141413 !important; text-transform: none !important;
}
html body.nx-ty .nxty-title em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
html body.nx-ty .nxty-lede { margin: 0; max-width: 34em; font-size: 16px; line-height: 1.6; color: #5E5A54; }
html body.nx-ty .nxty-lede b { font-weight: 400; color: #141413; overflow-wrap: anywhere; }
html body.nx-ty .nxty-ask { margin: 0; font-size: 14px; color: #6B6760; }
html body.nx-ty .nxty a[href^="tel:"] { white-space: nowrap; }
html body.nx-ty .nxty.is-bare > .nxty-head { padding-bottom: 56px; }
html body.nx-ty .woocommerce .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html body.nx-ty .nxty a { color: #141413; }
html body.nx-ty .nxty-ask a, html body.nx-ty .nxty-lede a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #C9C4BB; }
html body.nx-ty .nxty-ask a:hover, html body.nx-ty .nxty-lede a:hover { text-decoration-color: #141413; }

/* cards */
html body.nx-ty .nxty-card { margin: 0; background: #FFFFFF; border: 1px solid #D3CFC7; border-radius: 10px; }

/* progress */
html body.nx-ty .nxty-trackcard { margin: 0 0 28px; overflow: hidden; }
html body.nx-ty .nxty-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 20px 20px 18px; list-style: none; }
html body.nx-ty .nxty-track li { position: relative; display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 26px 10px 0 0; min-width: 0; }
html body.nx-ty .nxty-track li::before { content: ""; position: absolute; left: 14px; right: 0; top: 6px; height: 2px; background: #E5E1DA; }
html body.nx-ty .nxty-track li.is-done::before { background: #141413; }
html body.nx-ty .nxty-track li:last-child::before { display: none; }
html body.nx-ty .nxty-track .dot { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #D3CFC7; background: #FFFFFF; box-sizing: border-box; }
html body.nx-ty .nxty-track .is-done .dot { border-color: #141413; background: #141413; }
html body.nx-ty .nxty-track .is-now .dot { border: 4px solid #141413; background: #FFB347; }
html body.nx-ty .nxty-track b { font-size: 13.5px; font-weight: 500; color: #141413; }
html body.nx-ty .nxty-track li:not(.is-done):not(.is-now) b { color: #8A857D; font-weight: 400; }
html body.nx-ty .nxty-track .sub { font-size: 12.5px; line-height: 1.4; color: #6B6760; }
html body.nx-ty .nxty-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 13px 20px; border-top: 1px solid #E5E1DA; background: #FAF9F6; font-size: 13px; line-height: 1.5; color: #5E5A54; }
html body.nx-ty .nxty-note svg { flex: none; margin-top: 2px; color: #8A857D; }

/* whatever the payment method prints (bank details, voucher). Hidden when it only printed scripts */
html body.nx-ty .nxty-extra { margin: 0 0 28px; font-size: 14px; line-height: 1.6; color: #3A3733; }
html body.nx-ty .nxty-extra:not(:has(> :not(script, style, noscript, link, template, input[type="hidden"]))) { display: none; }
html body.nx-ty .nxty-extra > p { margin: 0 0 12px; }
html body.nx-ty .nxty-extra :is(h2, h3) { margin: 0 0 10px !important; font-family: 'Instrument Sans', system-ui, sans-serif !important; font-size: 16px !important; font-weight: 600 !important; letter-spacing: -0.01em; color: #141413 !important; }
html body.nx-ty .nxty-extra h2 { font-size: 20px !important; }
html body.nx-ty .nxty-extra ul.order_details {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin: 0 0 16px !important; padding: 0 !important; list-style: none;
  background: #E5E1DA; border: 1px solid #D3CFC7; border-radius: 10px; overflow: hidden;
}
html body.nx-ty .nxty-extra ul.order_details li {
  float: none !important; margin: 0 !important; padding: 12px 14px !important; border: 0 !important; background: #FFFFFF;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px !important; letter-spacing: .16em; text-transform: uppercase; color: #6B6760; line-height: 1.5 !important;
}
html body.nx-ty .nxty-extra ul.order_details li strong { display: block; margin-top: 4px; font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 14.5px !important; font-weight: 500; letter-spacing: 0; text-transform: none; color: #141413; overflow-wrap: anywhere; }

/* sections */
html body.nx-ty .nxty-sec { display: flex; flex-direction: column; gap: 12px; margin: 0 0 28px; }
html body.nx-ty .nxty-hw { display: flex; flex-direction: column; gap: 4px; }
html body.nx-ty .nxty .nxty-h { margin: 0 !important; padding: 0 !important; font-family: 'Instrument Sans', system-ui, sans-serif !important; font-size: 20px !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: -0.01em !important; color: #141413 !important; text-transform: none !important; }
html body.nx-ty .nxty-sub { margin: 0; font-size: 13.5px; color: #6B6760; }

/* order details */
html body.nx-ty dl.nxty-details { padding: 0; }
html body.nx-ty .nxty-details > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-top: 1px solid #E5E1DA; }
html body.nx-ty .nxty-details > div:first-child { border-top: 0; }
html body.nx-ty .nxty-details dt { margin: 0; font-size: 13px; font-weight: 400; color: #6B6760; }
html body.nx-ty .nxty-details dd { margin: 0; font-size: 14px; line-height: 1.55; color: #141413; overflow-wrap: anywhere; }
html body.nx-ty .nxty-details .m { color: #6B6760; }

/* get set up */
html body.nx-ty .nxty-setup { margin: 0; padding: 0; list-style: none; }
html body.nx-ty .nxty-setup li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin: 0; padding: 14px 16px; border-top: 1px solid #E5E1DA; }
html body.nx-ty .nxty-setup li:first-child { border-top: 0; }
html body.nx-ty .nxty-setup .th { display: block; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: #141413; }
html body.nx-ty .nxty-setup .th img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: 0 0; }
html body.nx-ty .nxty-setup li.is-pad .th img { object-fit: contain; object-position: center; padding: 5px; box-sizing: border-box; }
html body.nx-ty .nxty-setup .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body.nx-ty .nxty-setup .tx b { font-size: 14.5px; font-weight: 500; color: #141413; }
html body.nx-ty .nxty-setup .tx span { font-size: 13px; line-height: 1.45; color: #6B6760; }

/* buttons */
html body.nx-ty .nxty-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
html body.nx-ty .nxty .nxty-btn,
html body.nx-ty .nxty .nxty-ghost {
  display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 16px; box-sizing: border-box;
  border: 1px solid #D3CFC7; border-radius: 6px; background: #FFFFFF; color: #141413 !important;
  font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 13.5px; font-weight: 500; letter-spacing: 0; text-transform: none; text-decoration: none !important; white-space: nowrap;
  transition: border-color .2s ease;
}
html body.nx-ty .nxty .nxty-ghost { height: 50px; padding: 0 20px; font-size: 14px; }
html body.nx-ty .nxty .nxty-btn:hover, html body.nx-ty .nxty .nxty-ghost:hover { border-color: #141413; }
html body.nx-ty .nxty .nxty-keybtn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; height: 54px; min-width: 200px; padding: 0 28px; box-sizing: border-box;
  border-radius: 10px; background: #141413; color: #F4F2ED !important; text-decoration: none !important;
  font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 5px 0 #000000, 0 0 0 1px rgba(255,255,255,.06) inset; transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
}
html body.nx-ty .nxty .nxty-keybtn::before { content: "K12"; position: absolute; left: 11px; top: 7px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 8.5px; font-weight: 500; letter-spacing: .16em; color: #6B6760; }
html body.nx-ty .nxty .nxty-keybtn:hover { background: #1F1E1C; box-shadow: 0 5px 0 #000000, 0 22px 44px -18px rgba(214,120,30,.6), 0 0 0 1px rgba(255,255,255,.06) inset; }
html body.nx-ty .nxty .nxty-keybtn:active { transform: translateY(4px); box-shadow: 0 1px 0 #000000; }
html body.nx-ty .nxty .nxty-link { font-size: 13.5px; color: #3A3733 !important; text-decoration: underline !important; text-underline-offset: 3px; text-decoration-color: #C9C4BB !important; }
html body.nx-ty .nxty .nxty-link:hover { color: #141413 !important; text-decoration-color: #141413 !important; }
html body.nx-ty .nxty :is(a, button):focus-visible { outline: 2px solid #141413; outline-offset: 2px; }
html body.nx-ty .nxty-rc :is(a, button):focus-visible { outline-color: #F2F0EB; }

/* digital downloads (only if an order has any) */
html body.nx-ty .nxty-body .woocommerce-order-downloads { margin: 0 0 28px; }
html body.nx-ty .nxty-body .woocommerce-order-downloads__title { margin: 0 0 12px !important; font-size: 20px !important; font-weight: 600 !important; color: #141413 !important; }
html body.nx-ty .nxty-body table.woocommerce-table--order-downloads { width: 100%; border: 1px solid #D3CFC7 !important; border-radius: 10px; border-collapse: separate; border-spacing: 0; background: #FFFFFF; color: #141413; font-size: 13.5px; }
html body.nx-ty .nxty-body table.woocommerce-table--order-downloads :is(th, td) { padding: 12px 14px !important; border: 0 !important; border-top: 1px solid #E5E1DA !important; background: none !important; text-align: left; }
html body.nx-ty .nxty-body table.woocommerce-table--order-downloads thead th { border-top: 0 !important; font-size: 12.5px; font-weight: 500; color: #6B6760; }

/* the other states WooCommerce can show here: sign-in and email check for older orders */
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) { max-width: calc(var(--co-w) - 2 * var(--co-gx)) !important; margin: 0 calc(50% + var(--co-gx)) 0 auto !important; padding: 48px 0 56px !important; color: #141413; font-family: 'Instrument Sans', system-ui, sans-serif; background: transparent !important; box-shadow: none !important; border: 0 !important; }
html body.nx-ty .woocommerce-thankyou-order-received { margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: clamp(30px, 3.4vw, 42px) !important; font-weight: 400 !important; line-height: 1.05 !important; letter-spacing: -0.035em !important; color: #141413 !important; }
html body.nx-ty .woocommerce-thankyou-order-received::before { display: none !important; }
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) :is(form.woocommerce-verify-email, form.woocommerce-form-login) { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 14.5px; color: #3A3733; }
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) .form-row { margin: 0 0 14px !important; padding: 0 !important; float: none !important; width: 100% !important; }
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) label { display: block; margin: 0 0 6px; font-size: 13.5px; color: #3A3733; }
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) input.input-text { width: 100% !important; height: 50px !important; padding: 13px 14px !important; line-height: 22px !important; border: 1px solid #D3CFC7 !important; border-radius: 6px !important; background: #FFFFFF !important; color: #141413 !important; font-size: 14.5px !important; box-shadow: none !important; box-sizing: border-box; }
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) input.input-text:focus { border-color: #141413 !important; box-shadow: 0 0 0 1px #141413 !important; outline: none; }
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) button.button:not(#place_order) { height: 50px !important; padding: 0 24px !important; border: 0 !important; border-radius: 8px !important; background: #141413 !important; color: #F4F2ED !important; font-size: 13px !important; font-weight: 600 !important; letter-spacing: .14em !important; text-transform: uppercase !important; box-shadow: 0 4px 0 #000000 !important; cursor: pointer; }
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) a { color: #141413; text-decoration: underline; text-underline-offset: 3px; }

/* phones and tablets: one column, receipt between the status and the details */
@media (max-width: 1000px) {
  html body.nx-ty .woocommerce-order.nxty { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  html body.nx-ty .nxty > .nxty-head, html body.nx-ty .nxty > .nxty-body { grid-column: 1; grid-row: auto; justify-self: center; }
  html body.nx-ty .nxty-rc { grid-column: 1; grid-row: auto; position: static; justify-self: stretch; width: auto; max-width: none; margin: 0 16px 28px; padding: 20px 18px 22px; border-radius: 14px; }
  html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) { margin: 0 auto !important; max-width: var(--co-w) !important; padding-left: var(--co-gx) !important; padding-right: var(--co-gx) !important; box-sizing: border-box; }
}
@media (min-width: 640px) and (max-width: 1000px) {
  html body.nx-ty .nxty-rc { width: calc(var(--co-w) - 2 * var(--co-gx)); max-width: calc(100% - 32px); justify-self: center; margin: 0 auto 28px; }
}
@media (max-width: 560px) {
  html body.nx-ty .nxty-hero { gap: 18px; }
  html body.nx-ty .nxty-key-icon { width: 52px; height: 52px; }
  html body.nx-ty .nxty-lede { font-size: 15px; }
  html body.nx-ty .nxty-track { grid-template-columns: minmax(0, 1fr); padding: 18px 18px 6px; }
  html body.nx-ty .nxty-track li { padding: 0 0 16px 28px; }
  html body.nx-ty .nxty-track li::before { left: 6px; right: auto; top: 16px; bottom: 0; width: 2px; height: auto; }
  html body.nx-ty .nxty-track .dot { top: 2px; }
  html body.nx-ty .nxty-note { padding: 13px 18px; }
  html body.nx-ty .nxty-details > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 13px 16px; }
  html body.nx-ty .nxty-setup li { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; padding: 12px 14px; }
  html body.nx-ty .nxty-setup .th { width: 48px; height: 48px; }
  html body.nx-ty .nxty .nxty-btn { padding: 0 12px; }
  html body.nx-ty .nxty-actions > .nxty-ghost, html body.nx-ty .nxty-actions > .nxty-keybtn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html body.nx-ty .nxty-key-icon, html body.nx-ty .nxty-key-icon .tick { animation: none; }
}
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) > :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) { margin: 0 0 18px !important; padding: 14px 16px !important; border: 1px solid #D3CFC7 !important; border-radius: 8px; background: #FFFFFF !important; color: #3A3733 !important; font-size: 14px; list-style: none; }
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) > :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before { display: none !important; }
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; }
html body.nx-ty .woocommerce:has(> .woocommerce-thankyou-order-received) .lost_password { margin: 14px 0 0; font-size: 13.5px; }
