/*
Theme Name: Onramp Checkout
Theme URI: https://insta-onramp.com/
Author: Vanta Technologies
Author URI: https://vantatech.ca/
Description: A clean, minimal WooCommerce theme built around a single trustworthy checkout flow. Designed to pair with the Insta-Onramp / 2530gateway payment gateway. Refined, fast, and distraction-free.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
WC requires at least: 5.8
WC tested up to: 10.6.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onramp-checkout
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --ink:        #14181f;
  --ink-soft:   #4a525e;
  --ink-faint:  #8a94a3;
  --line:       #e6e9ef;
  --line-soft:  #f0f2f6;
  --paper:      #ffffff;
  --canvas:     #f6f7f9;

  /* Brand accent — red */
  --accent:     #e2342f;
  --accent-ink: #bf201c;
  --accent-wash:#fdecec;

  /* Dark order panel */
  --panel:      #141417;
  --panel-row:  #1d1d22;
  --panel-line: #2b2b32;
  --on-dark:    #f4f4f6;
  --on-dark-soft:#a6a6b0;

  /* Form fields */
  --field-fill: #eef2fe;
  --field-line: #d8e0f5;

  --success:    #18a957;
  --header-bg:  #0d0d10;
  --danger:     #c0392b;

  --radius:     16px;
  --radius-sm:  12px;
  --shadow:     0 1px 2px rgba(20,24,31,.04), 0 12px 32px -12px rgba(20,24,31,.12);
  --shadow-sm:  0 1px 2px rgba(20,24,31,.05);
  --maxw:       1140px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 540;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Site header
   ============================================================ */
.site-header {
  background: var(--header-bg);
  border-bottom: none;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.site-brand:hover { text-decoration: none; color: #fff; }
.site-brand .mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
}
.site-brand .mark svg { width: 18px; height: 18px; }
.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,.62);
  font-weight: 500;
}
.secure-badge svg { width: 15px; height: 15px; }

/* Red checkout progress strip under the header */
.checkout-progress {
  height: 4px;
  background: rgba(0,0,0,.06);
}
.checkout-progress span {
  display: block;
  height: 100%;
  width: 66%;
  background: var(--accent);
}

/* ============================================================
   Main / page shell
   ============================================================ */
.site-main { padding: 40px 0 80px; }

.page-intro { text-align: center; margin: 8px 0 28px; }
.page-intro h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; }
.page-intro p { color: var(--ink-soft); margin: 0; font-size: 16px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.entry-content { padding: 28px; }
.entry-content > *:first-child { margin-top: 0; }

/* ============================================================
   WooCommerce — general
   ============================================================ */
.woocommerce, .woocommerce-page { color: var(--ink); }

.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-noreviews {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--accent-wash);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin: 0 0 20px;
  font-size: 14.5px;
  list-style: none;
}
.woocommerce-error {
  border-left-color: var(--danger);
  background: #fdeceb;
}
.woocommerce-error li { list-style: none; }

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order,
.wp-element-button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  cursor: pointer;
  transition: background .15s ease, transform .05s ease;
  line-height: 1.2;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover {
  background: var(--accent-ink);
}
.woocommerce #place_order:active { transform: translateY(1px); }

.woocommerce #place_order {
  width: 100%;
  padding: 16px 22px;
  font-size: 16px;
  margin-top: 6px;
}

/* Form fields */
.woocommerce form .form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.woocommerce form .form-row {
  margin: 0 0 16px;
  padding: 0;
}
.woocommerce .form-row input.input-text,
.woocommerce .form-row textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce select,
.select2-container .select2-selection--single {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.woocommerce .form-row input.input-text:focus,
.woocommerce .form-row textarea:focus,
.woocommerce select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}
.select2-container--default .select2-selection--single {
  height: auto;
  border-radius: var(--radius-sm);
  border-color: var(--line);
  padding: 5px 6px;
}

/* ============================================================
   Boxed fields (Victoria-style) — checkout billing/shipping
   ============================================================ */
#customer_details .form-row,
.woocommerce-billing-fields .form-row,
.woocommerce-shipping-fields .form-row,
.woocommerce-additional-fields .form-row {
  background: var(--field-fill);
  border: 1.5px solid var(--field-line);
  border-radius: var(--radius-sm);
  padding: 9px 14px 7px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#customer_details .form-row:focus-within,
.woocommerce-billing-fields .form-row:focus-within,
.woocommerce-shipping-fields .form-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}
#customer_details .form-row label,
.woocommerce-billing-fields .form-row label,
.woocommerce-shipping-fields .form-row label,
.woocommerce-additional-fields .form-row label {
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 1px;
}
#customer_details .form-row input.input-text,
#customer_details .form-row textarea,
#customer_details .form-row select,
.woocommerce-billing-fields .form-row input.input-text,
.woocommerce-shipping-fields .form-row input.input-text,
.woocommerce-additional-fields .form-row textarea {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 2px 0 !important;
  font-size: 15.5px;
  box-shadow: none !important;
}
#customer_details .form-row input.input-text:focus,
#customer_details .form-row textarea:focus {
  outline: none;
  box-shadow: none;
}
/* Country / state select2 inside boxed field */
#customer_details .select2-container--default .select2-selection--single {
  background: transparent;
  border: none;
  padding: 0;
}
#customer_details .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 0;
  line-height: 1.5;
}

/* ============================================================
   Checkout layout
   ============================================================ */
.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: start;
}
.woocommerce-checkout #customer_details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  width: 100%;
  float: none;
}
.woocommerce-checkout h3 {
  font-size: 19px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.woocommerce-checkout #order_review_heading { display: none; }

#order_review {
  position: sticky;
  top: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
#order_review::before {
  content: "Order summary";
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 540;
  margin-bottom: 16px;
}

.woocommerce-checkout #order_review table.shop_table {
  width: 100%;
  border: none;
  border-collapse: collapse;
  margin: 0 0 8px;
  font-size: 14.5px;
}
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
  padding: 11px 0;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}
.woocommerce-checkout #order_review table.shop_table td:last-child,
.woocommerce-checkout #order_review table.shop_table th:last-child { text-align: right; }
.woocommerce-checkout #order_review .order-total th,
.woocommerce-checkout #order_review .order-total td {
  font-size: 17px;
  font-weight: 700;
  border-bottom: none;
  padding-top: 14px;
}
.woocommerce-checkout #order_review .cart_item .product-name { color: var(--ink-soft); }

/* Payment box */
#payment {
  background: transparent;
  margin-top: 6px;
}
#payment ul.payment_methods {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px;
  margin: 0 0 16px;
  list-style: none;
}
#payment ul.payment_methods li {
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  transition: background .12s ease;
}
#payment ul.payment_methods li:hover { background: var(--canvas); }
#payment ul.payment_methods li label {
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
#payment ul.payment_methods li img { max-height: 24px; width: auto; display: inline; }
#payment .payment_box {
  background: var(--canvas);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 13px 15px;
  margin: 4px 0 0;
}
#payment .payment_box::before { display: none; }
#payment .woocommerce-privacy-policy-text { font-size: 12.5px; color: var(--ink-faint); }
#payment .place-order { padding: 14px 0 0; }

.checkout-trust {
  margin-top: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.checkout-trust svg { width: 14px; height: 14px; opacity: .7; }

/* Coupon */
.woocommerce-form-coupon-toggle .woocommerce-info { border-left-color: var(--ink-faint); background: var(--canvas); }
.woocommerce form.checkout_coupon {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
}

/* ============================================================
   Cart (kept tidy in case it is shown)
   ============================================================ */
.woocommerce-cart table.shop_table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  border-collapse: separate;
}
.woocommerce-cart table.shop_table th { background: var(--canvas); padding: 14px; }
.woocommerce-cart table.shop_table td { padding: 14px; border-top: 1px solid var(--line-soft); }
.cart-collaterals .cart_totals {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

/* ============================================================
   Pay for order — full checkout look (order-pay endpoint)
   ============================================================ */

/* Steps progress bar */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex-wrap: wrap;
}
.checkout-steps li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-faint);
  padding: 0 18px;
  position: relative;
}
.checkout-steps li:not(:last-child)::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--line);
  margin-left: 18px;
}
.checkout-steps li span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--canvas);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-faint);
}
.checkout-steps li.is-done { color: var(--ink-soft); }
.checkout-steps li.is-done span { background: var(--accent-wash); border-color: var(--accent-wash); color: var(--accent); }
.checkout-steps li.is-active { color: var(--ink); }
.checkout-steps li.is-active span { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Neutralise the default summary-panel styling on this form, since the
   form is now the whole two-column grid rather than just a side panel. */
#order_review.onramp-pay-form {
  position: static;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
#order_review.onramp-pay-form::before { display: none; }

.onramp-pay-form .pay-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Left column cards */
.pay-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  margin-bottom: 20px;
}
.pay-card:last-child { margin-bottom: 0; }
.pay-card h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 18px;
}
.pay-step {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 auto;
}
.pay-detail-list { display: grid; gap: 12px; }
.pay-detail { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.pay-detail__k { color: var(--ink-faint); font-weight: 600; }
.pay-detail__v { color: var(--ink); text-align: right; }
.pay-subhead {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-faint);
  margin: 20px 0 8px;
}
.pay-address {
  font-style: normal;
  background: var(--canvas);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.pay-muted { color: var(--ink-faint); font-size: 14px; margin: 0; }

/* Payment card (left) */
.pay-card--payment #payment { background: transparent; }
.pay-card--payment #payment ul.payment_methods {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px;
  margin: 0 0 16px;
}
.onramp-pay-form #payment .payment_box { padding: 13px 15px; background: var(--canvas); border-radius: var(--radius-sm); }
.onramp-pay-form #payment .payment_box::before { display: none; }
.onramp-pay-form #payment .payment_box p { margin: 0; }
.onramp-pay-form #payment .payment_box p + p { margin-top: 8px; }
.pay-card--payment .place-order { padding: 0; margin: 0; }

/* ---------- Right column: dark order panel ---------- */
.pay-right {
  position: sticky;
  top: 24px;
  background: var(--panel);
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
  padding: 26px;
  color: var(--on-dark);
}
.pay-right__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.pay-right__head svg { width: 20px; height: 20px; color: var(--success); }
.pay-right__rule {
  height: 2px;
  margin: 14px 0 18px;
  background: linear-gradient(90deg, var(--success) 0%, var(--success) 30%, var(--panel-line) 30%, var(--panel-line) 100%);
  border-radius: 2px;
}

.pay-items { list-style: none; margin: 0 0 16px; padding: 0; }
.pay-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--panel-line);
}
.pay-item__thumb {
  position: relative;
  flex: 0 0 auto;
  width: 52px; height: 52px;
}
.pay-item__thumb img {
  width: 52px; height: 52px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  display: block;
}
.pay-item__qty {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid var(--panel);
}
.pay-item__name {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-dark);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.pay-item__price { font-size: 14.5px; font-weight: 700; color: var(--on-dark); white-space: nowrap; }
.pay-free { font-style: normal; color: var(--success); font-weight: 800; letter-spacing: .04em; }

.pay-order-ref {
  font-size: 12.5px;
  color: var(--on-dark-soft);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.pay-totals { width: 100%; border-collapse: collapse; margin: 0 0 6px; font-size: 14px; }
.pay-totals th, .pay-totals td { padding: 9px 0; text-align: left; border: none; }
.pay-totals td { text-align: right; color: var(--on-dark); font-weight: 600; }
.pay-totals th { font-weight: 600; color: var(--on-dark-soft); }
.pay-totals .pay-grand th,
.pay-totals .pay-grand td {
  font-size: 20px;
  font-weight: 800;
  color: var(--on-dark);
  padding-top: 16px;
  border-top: 1px solid var(--panel-line);
}
.pay-totals .pay-grand th { font-family: var(--font-display); font-weight: 540; }
.pay-totals .amount { color: inherit; }
/* Free shipping etc. shown by WooCommerce */
.pay-totals td .woocommerce-Price-amount { color: var(--on-dark); }

.pay-why {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--panel-line);
}
.pay-why h4 {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 540;
  font-size: 17px;
  color: var(--on-dark);
  margin: 0 0 16px;
}
.pay-why__item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.pay-why__item:last-child { margin-bottom: 0; }
.pay-why__item svg { width: 26px; height: 26px; color: var(--success); flex: 0 0 auto; margin-top: 1px; }
.pay-why__item p { margin: 0; font-size: 13px; color: var(--on-dark-soft); line-height: 1.5; }
.pay-why__item strong { display: block; color: var(--on-dark); font-size: 13.5px; margin-bottom: 2px; }

@media (max-width: 880px) {
  .onramp-pay-form .pay-grid { grid-template-columns: 1fr; }
  .pay-right { position: static; }
}

/* ============================================================
   Order received / thank you
   ============================================================ */
.confirmation-intro { margin-top: 8px; }
.confirm-check {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(24,169,87,.12);
  color: var(--success);
  animation: confirm-pop .45s cubic-bezier(.34, 1.56, .64, 1) both;
}
.confirm-check svg { width: 32px; height: 32px; }
@keyframes confirm-pop {
  0% { transform: scale(.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.woocommerce-order {
  max-width: 720px;
  margin: 0 auto;
}
.woocommerce-order .woocommerce-notice--success { display: none; }

/* Order overview pills (number / date / total / payment method) */
.woocommerce ul.woocommerce-order-overview.order_details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  border: none;
}
.woocommerce ul.woocommerce-order-overview.order_details li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  margin: 0;
  border-right: 1px solid var(--line); /* override WC default border */
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}
.woocommerce ul.woocommerce-order-overview.order_details li strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  font-weight: 540;
}

/* Order details + customer details tables */
.woocommerce-order-details,
.woocommerce-customer-details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
  margin: 0 0 22px;
}
.woocommerce-order-details__title,
.woocommerce-column__title,
.woocommerce-customer-details h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 540;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.woocommerce table.woocommerce-table--order-details {
  width: 100%;
  border: none;
  border-collapse: collapse;
  font-size: 14.5px;
}
.woocommerce table.woocommerce-table--order-details th,
.woocommerce table.woocommerce-table--order-details td {
  padding: 11px 0;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}
.woocommerce table.woocommerce-table--order-details td:last-child,
.woocommerce table.woocommerce-table--order-details th:last-child { text-align: right; }
.woocommerce table.woocommerce-table--order-details tfoot .order-total th,
.woocommerce table.woocommerce-table--order-details tfoot .order-total td {
  font-size: 17px;
  font-weight: 700;
  border-bottom: none;
  padding-top: 14px;
}
.woocommerce-customer-details address {
  font-style: normal;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--canvas);
  padding: 16px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 26px 0;
  margin-top: auto;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-faint);
}
.site-footer a { color: var(--ink-soft); }

body { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1 0 auto; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 880px) {
  .woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
  #order_review { position: static; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .entry-content, .woocommerce-checkout #customer_details, #order_review { padding: 20px; }
  .secure-badge span { display: none; }
}
