/* ==========================================================================
   Aesthetic Peptides Checkout
   Cart page · cart drawer · checkout · order-received page.

   Tokens come from the theme when it defines them and fall back to the source's
   measured design tokens (source-cdp/design-tokens.json) otherwise, so this
   stylesheet renders correctly even if it loads before the theme's.

   LOCKED #12: the WHOLE order-received page is styled here — Woo's overview strip
   ABOVE the payment card and its order-details / address blocks BELOW it — not
   just the payment card. Verified at 390 first, then 820 and 1440.
   ========================================================================== */

.apck-wrap,
.apck-drawer,
.apck-order-received,
.apck-card {
	--apck-bg: var(--bg, #06070e);
	--apck-bg2: var(--bg-2, #080b13);
	--apck-panel: var(--panel, rgba(255, 255, 255, .025));
	--apck-line: var(--line, rgba(255, 255, 255, .075));
	--apck-line2: var(--line-2, rgba(255, 255, 255, .15));
	--apck-text: var(--text, #eef2fb);
	--apck-body: var(--body, #a9b4c9);
	--apck-muted: var(--muted, #7d879c);
	--apck-dim: var(--dim, #586071);
	--apck-accent: var(--accent, #5b8fe0);
	--apck-accent2: var(--accent-2, #a9caff);
	--apck-accent-ink: var(--accent-ink, #060b18);
	--apck-accent-soft: var(--accent-soft, rgba(91, 143, 224, .12));
	--apck-warn: var(--warn, #fbbf24);
	--apck-warn-soft: rgba(251, 191, 36, .1);
	--apck-bad: var(--bad, #f87171);
	--apck-bad-soft: rgba(248, 113, 113, .1);
	--apck-radius: var(--radius, 10px);
	--apck-radius-s: var(--radius-s, 7px);
	--apck-font: var(--font, "Inter", "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif);
	--apck-display: var(--display, Georgia, "Iowan Old Style", "Times New Roman", serif);
	--apck-mono: var(--mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
}

/* ---------- Page shell ---------- */

.apck-wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px 84px;
	font-family: var(--apck-font);
	color: var(--apck-body);
	box-sizing: border-box;
}

.apck-notices { margin: 22px 0 0; }

.apck-page-head { padding: 52px 0 0; }
.apck-eyebrow {
	display: block;
	font-family: var(--apck-mono);
	font-size: 10.5px;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--apck-accent);
	font-weight: 600;
}
.apck-page-title,
.apck-or-title {
	font-family: var(--apck-display);
	font-size: clamp(27px, 3.4vw, 42px);
	letter-spacing: -.02em;
	line-height: 1.06;
	margin: 12px 0 0;
	font-weight: 400;
	color: var(--apck-text);
}
.apck-page-sub { color: var(--apck-muted); max-width: 680px; margin: 12px 0 0; font-size: 15px; }
.apck-lead { color: var(--apck-muted); font-size: 16px; }
.apck-muted { color: var(--apck-muted); }
.apck-note { font-size: 12.5px; color: var(--apck-muted); margin: 10px 0 0; }
.apck-note-warn { color: #fde68a; }
.apck-hint { font-size: 12px; color: var(--apck-dim); }

.apck-standalone {
	max-width: 620px;
	margin: 0 auto;
	padding: 72px 0 96px;
	text-align: center;
}
.apck-standalone h1,
.apck-standalone h2 {
	font-family: var(--apck-display);
	font-weight: 400;
	font-size: clamp(26px, 3.6vw, 38px);
	color: var(--apck-text);
	margin: 0 0 12px;
}

/* ---------- Buttons ---------- */

.apck-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 8px;
	font-family: var(--apck-font);
	font-weight: 650;
	font-size: 14.5px;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s, filter .15s;
}
.apck-btn-primary {
	background: linear-gradient(180deg, var(--apck-accent2), var(--apck-accent));
	color: var(--apck-accent-ink);
	box-shadow: 0 12px 34px rgba(20, 48, 120, .42);
}
.apck-btn-primary:hover { filter: brightness(1.08); color: var(--apck-accent-ink); }
.apck-btn-ghost {
	background: rgba(255, 255, 255, .04);
	color: var(--apck-text);
	border-color: var(--apck-line2);
}
.apck-btn-ghost:hover { border-color: var(--apck-accent); background: var(--apck-accent-soft); color: #fff; }
.apck-btn-block { width: 100%; }
.apck-btn[disabled],
.apck-btn.is-disabled { opacity: .42; cursor: not-allowed; pointer-events: none; }

/* ---------- Panels ---------- */

.apck-panel {
	background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
	border: 1px solid var(--apck-line);
	border-radius: var(--apck-radius);
	padding: 26px;
}
.apck-panel + .apck-panel { margin-top: 14px; }
.apck-panel h2 {
	margin: 0 0 4px;
	font-family: var(--apck-display);
	font-size: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: 0;
	font-weight: 700;
	color: var(--apck-text);
}
.apck-panel > p { margin: 0 0 18px; color: var(--apck-muted); font-size: 13.5px; }
.apck-n {
	font-family: var(--apck-mono);
	font-size: 11px;
	color: var(--apck-accent);
	border: 1px solid rgba(91, 143, 224, .32);
	background: var(--apck-accent-soft);
	border-radius: 4px;
	padding: 2px 6px;
	flex: none;
}

/* ---------- Fields ---------- */

.apck-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apck-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.apck-field.apck-full { grid-column: 1 / -1; }
.apck-field > label {
	font-family: var(--apck-mono);
	font-size: 11px;
	font-weight: 600;
	color: #95a3bd;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.apck-field > label i {
	font-style: normal;
	color: var(--apck-dim);
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	font-family: var(--apck-font);
}
.apck-field input,
.apck-field select,
.apck-field textarea {
	width: 100%;
	height: 44px;
	padding: 0 13px;
	border-radius: 8px;
	background: rgba(3, 5, 11, .5);
	border: 1px solid var(--apck-line2);
	outline: 0;
	color: var(--apck-text);
	font-family: var(--apck-font);
	font-size: 15px;
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.apck-field select option { background: #0a0d16; color: var(--apck-text); }
.apck-field textarea { height: auto; min-height: 96px; padding: 12px 13px; resize: vertical; }
.apck-field input:focus,
.apck-field select:focus,
.apck-field textarea:focus {
	border-color: var(--apck-accent);
	box-shadow: 0 0 0 3px var(--apck-accent-soft);
	background: rgba(3, 5, 11, .78);
}
.apck-field input::placeholder,
.apck-field textarea::placeholder { color: var(--apck-dim); }
.apck-field input:disabled { opacity: .7; cursor: not-allowed; }
.apck-field.has-error input,
.apck-field.has-error select { border-color: var(--apck-bad); box-shadow: 0 0 0 3px var(--apck-bad-soft); }
.apck-field-msg { font-size: 12.5px; color: #fca5a5; }

/* The honeypot. Off-screen, never display:none (bots skip hidden inputs). */
.apck-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Choice chips (shipping method) ---------- */

.apck-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.apck-choice { position: relative; display: block; }
.apck-choice input { position: absolute; opacity: 0; pointer-events: none; }
.apck-choice > span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 122px;
	padding: 12px 15px;
	border-radius: 8px;
	border: 1px solid var(--apck-line2);
	background: rgba(255, 255, 255, .03);
	font-weight: 650;
	font-size: 14px;
	cursor: pointer;
	color: var(--apck-text);
	transition: border-color .15s, background .15s;
}
.apck-choice > span small { font-weight: 500; color: var(--apck-muted); font-size: 12px; }
.apck-choice > span small s { color: var(--apck-dim); }
.apck-choice input:checked + span {
	border-color: var(--apck-accent);
	background: var(--apck-accent-soft);
	box-shadow: 0 0 0 1px var(--apck-accent);
}
.apck-choice input:focus-visible + span { outline: 2px solid var(--apck-accent); outline-offset: 2px; }
.apck-choice.is-disabled > span { opacity: .55; cursor: not-allowed; }

/* ---------- Opt-in + coupon ---------- */

.apck-optin {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 16px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--apck-line2);
	border-radius: 8px;
	background: rgba(255, 255, 255, .03);
	cursor: pointer;
}
.apck-optin input { margin-top: 3px; flex: none; }
.apck-optin > span { display: flex; flex-direction: column; gap: 4px; }
.apck-optin strong { color: var(--apck-text); font-size: 14px; }
.apck-optin small { color: var(--apck-muted); font-size: 12.5px; line-height: 1.6; }

.apck-coupon { margin: 18px 0 0; }
.apck-coupon-label {
	display: block;
	font-family: var(--apck-mono);
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #95a3bd;
	margin-bottom: 6px;
}
.apck-coupon-row { display: flex; gap: 10px; flex-wrap: wrap; }
.apck-coupon-row input {
	flex: 1 1 180px;
	min-width: 0;
	height: 44px;
	padding: 0 13px;
	border-radius: 8px;
	background: rgba(3, 5, 11, .5);
	border: 1px solid var(--apck-line2);
	color: var(--apck-text);
	font-family: var(--apck-font);
	font-size: 15px;
}

/* ---------- Callouts ---------- */

.apck-callout {
	display: block;
	padding: 14px 16px;
	border-radius: var(--apck-radius-s);
	font-size: 13.5px;
	line-height: 1.6;
	background: var(--apck-accent-soft);
	border: 1px solid rgba(91, 143, 224, .28);
	color: #c9dcff;
	margin: 14px 0 0;
}
.apck-callout a { color: var(--apck-accent2); }
.apck-callout-warn { background: var(--apck-warn-soft); border-color: rgba(251, 191, 36, .35); color: #fde68a; }
.apck-callout-error { background: var(--apck-bad-soft); border-color: rgba(248, 113, 113, .4); color: #fca5a5; }
.apck-minbar { margin-top: 22px; }

/* ---------- Cart lines (shared: drawer, cart page, checkout summary) ---------- */

.apck-line {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--apck-line);
	align-items: center;
}
.apck-line:last-child { border-bottom: 0; }
.apck-line-img {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	background: #060a14;
	border: 1px solid var(--apck-line);
	flex: none;
}
.apck-line-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apck-line-main { min-width: 0; }
.apck-line-main h4 { margin: 0; font-size: 14px; color: var(--apck-text); font-weight: 650; line-height: 1.35; }
.apck-line-sub { color: var(--apck-muted); font-size: 12.5px; font-family: var(--apck-mono); margin-top: 2px; }
.apck-line-ctl { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.apck-line-total {
	font-weight: 700;
	text-align: right;
	color: var(--apck-text);
	font-family: var(--apck-mono);
	white-space: nowrap;
}
.apck-was { display: block; color: var(--apck-dim); font-size: 12px; text-decoration: line-through; font-weight: 500; }
.apck-remove {
	background: none;
	border: 0;
	color: var(--apck-dim);
	font-size: 12px;
	padding: 0;
	text-decoration: underline;
	cursor: pointer;
	font-family: var(--apck-font);
}
.apck-remove:hover { color: var(--apck-bad); }

.apck-qty {
	display: inline-flex;
	align-items: center;
	height: 32px;
	border: 1px solid var(--apck-line2);
	border-radius: 6px;
	background: rgba(255, 255, 255, .04);
}
.apck-qty button {
	width: 28px;
	height: 100%;
	background: none;
	border: 0;
	font-size: 14px;
	color: #ccd7ee;
	cursor: pointer;
	line-height: 1;
}
.apck-qty button:hover { color: #fff; }
.apck-qty input {
	width: 34px;
	text-align: center;
	background: none;
	border: 0;
	outline: 0;
	font-weight: 700;
	font-size: 13px;
	color: var(--apck-text);
	-moz-appearance: textfield;
	appearance: textfield;
	font-family: var(--apck-font);
}
.apck-qty input::-webkit-outer-spin-button,
.apck-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Summary rows ---------- */

.apck-summary-rows { display: flex; flex-direction: column; gap: 9px; margin: 16px 0 18px; }
.apck-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--apck-body); }
.apck-row span:last-child { color: var(--apck-text); white-space: nowrap; }
.apck-row-total {
	font-size: 17px;
	font-weight: 800;
	padding-top: 12px;
	border-top: 1px solid var(--apck-line);
	color: var(--apck-text);
}
.apck-fs-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-top: 8px; }
.apck-fs-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--apck-accent), var(--apck-accent2)); }

/* ---------- Cart page ---------- */

.apck-cart-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 32px;
	padding: 22px 0 0;
	align-items: start;
}
.apck-cart-lines { padding: 8px 26px; }
.apck-cart-summary { position: sticky; top: 96px; }
.apck-cart-continue {
	display: block;
	text-align: center;
	margin-top: 12px;
	font-size: 13.5px;
	color: var(--apck-accent2);
}

/* ---------- Checkout ---------- */

.apck-checkout {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 32px;
	padding: 22px 0 0;
	align-items: start;
}
.apck-summary { position: sticky; top: 96px; }
.apck-summary-lines { margin-bottom: 4px; }

/* Payment options — each row carries its own NETWORK. */
.apck-pay-option {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 15px 16px;
	border: 1px solid var(--apck-line2);
	border-radius: 9px;
	background: rgba(255, 255, 255, .03);
	cursor: pointer;
	margin-bottom: 10px;
	transition: border-color .15s, background .15s;
}
.apck-pay-option:last-child { margin-bottom: 0; }
.apck-pay-option input { margin-top: 4px; flex: none; }
.apck-pay-option:has(input:checked) {
	border-color: var(--apck-accent);
	background: var(--apck-accent-soft);
	box-shadow: 0 0 0 1px var(--apck-accent);
}
.apck-pay-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.apck-pay-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.apck-pay-name { font-weight: 700; font-size: 14.5px; color: var(--apck-text); }
.apck-pay-tag {
	font-family: var(--apck-mono);
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--apck-accent);
	border: 1px solid rgba(91, 143, 224, .32);
	background: var(--apck-accent-soft);
	border-radius: 4px;
	padding: 2px 6px;
	white-space: nowrap;
}
.apck-pay-net { font-size: 13px; color: var(--apck-accent2); font-family: var(--apck-mono); }
.apck-pay-net strong { color: var(--apck-accent2); }
.apck-pay-hint { font-size: 12.5px; color: var(--apck-muted); line-height: 1.6; }

/* ---------- Cart drawer ---------- */

.apck-scrim {
	position: fixed;
	inset: 0;
	background: rgba(3, 4, 9, .7);
	z-index: 60;
	backdrop-filter: blur(4px);
}
/* Belt-and-braces on the click-swallowing-overlay defect family. The scrim is
   emitted with the HTML `hidden` attribute and the UA `[hidden]{display:none}`
   rule normally handles it — but that rule is a single low-specificity UA
   declaration, so any theme reset that sets `display` on the element (or any
   future `display` added to the rule above) would resurrect a full-viewport
   fixed overlay that is invisible AND eats every tap. Pin it explicitly, and
   make a closed drawer non-interactive even though it is translated off-screen. */
.apck-scrim[hidden] { display: none !important; }
.apck-drawer[aria-hidden="true"] { pointer-events: none; }
.apck-drawer.is-open { pointer-events: auto; }
.apck-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 70;
	width: min(450px, 100%);
	background: var(--apck-bg2);
	border-left: 1px solid var(--apck-line);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform .28s cubic-bezier(.2, .8, .2, 1);
	box-shadow: -40px 0 100px rgba(0, 0, 0, .7);
	font-family: var(--apck-font);
	color: var(--apck-body);
}
.apck-drawer.is-open { transform: none; }
.apck-drawer-scroll { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.apck-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	border-bottom: 1px solid var(--apck-line);
	flex: none;
}
.apck-drawer-head h2 { margin: 0; font-family: var(--apck-display); font-size: 19px; color: var(--apck-text); font-weight: 400; }
.apck-drawer-close {
	background: none;
	border: 0;
	color: var(--apck-muted);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}
.apck-drawer-close:hover { color: var(--apck-text); }
.apck-drawer-body { flex: 1 1 auto; overflow: auto; padding: 6px 22px; min-height: 0; }
.apck-drawer-foot {
	padding: 18px 22px 22px;
	border-top: 1px solid var(--apck-line);
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: none;
}
.apck-drawer-cartlink { text-align: center; font-size: 13px; color: var(--apck-accent2); }
.apck-empty { padding: 40px 0; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.apck-empty p { margin: 0; color: var(--apck-muted); }

/* ==========================================================================
   ORDER-RECEIVED PAGE (LOCKED #12)
   Woo's overview strip ABOVE the payment card, and its order-details and
   address blocks BELOW it, in the same card language as the payment card.
   ========================================================================== */

.apck-order-received {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px 84px;
	font-family: var(--apck-font);
	color: var(--apck-body);
	box-sizing: border-box;
}

.apck-or-head { padding: 52px 0 0; text-align: center; }
.apck-or-head .apck-eyebrow { text-align: center; }
.apck-or-lead {
	color: var(--apck-muted);
	font-size: 16px;
	line-height: 1.7;
	max-width: 560px;
	margin: 14px auto 0;
	background: none;
	border: 0;
	padding: 0;
}
/* Neutralise Woo's own notice chrome on the thank-you line. */
.apck-order-received .woocommerce-notice--success::before { display: none; }

/* The overview strip. A responsive auto-fit grid of tiles — the stock
   definition-list collapses badly at 390px because a long payment-method value
   such as "USDT on Ethereum (ERC-20)" forces its own row and the hairline
   dividers then read as broken rules. */
.apck-or-overview {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
	border: 0;
}
.apck-or-overview > li {
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--apck-line);
	border-radius: 9px;
	background: rgba(255, 255, 255, .03);
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	float: none;
	width: auto;
	text-transform: none;
	font-size: inherit;
	line-height: inherit;
}
.apck-or-k {
	font-family: var(--apck-mono);
	font-size: 10px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--apck-muted);
}
.apck-or-v { color: var(--apck-text); font-size: 15px; font-weight: 700; min-width: 0; }
.apck-or-v-break { overflow-wrap: anywhere; font-size: 14px; }
.apck-or-v .amount { color: var(--apck-text); }

/* Payment card. */
.apck-pay-card {
	margin: 20px 0 0;
	border: 1px solid var(--apck-accent);
	border-radius: var(--apck-radius);
	background: linear-gradient(180deg, rgba(91, 143, 224, .08), rgba(255, 255, 255, .012));
	padding: 26px;
	box-shadow: 0 18px 60px rgba(20, 48, 120, .22);
}
.apck-pay-title {
	margin: 0 0 10px;
	font-family: var(--apck-display);
	font-size: 22px;
	font-weight: 700;
	color: var(--apck-text);
	letter-spacing: 0;
}
.apck-pay-lead { margin: 0 0 18px; font-size: 14.5px; line-height: 1.7; color: var(--apck-body); }
.apck-pay-lead strong { color: var(--apck-text); }
.apck-pay-rows { display: flex; flex-direction: column; gap: 2px; }
.apck-pay-row {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid var(--apck-line);
	align-items: baseline;
}
.apck-pay-k {
	font-family: var(--apck-mono);
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--apck-muted);
}
.apck-pay-v { color: var(--apck-text); font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.apck-pay-network { color: var(--apck-accent2); font-family: var(--apck-mono); font-size: 14px; }
.apck-pay-amount { color: var(--apck-text); font-family: var(--apck-mono); font-size: 17px; }
.apck-pay-usd { color: var(--apck-muted); font-size: 13px; }

.apck-wallet-block { margin: 18px 0 0; display: flex; flex-direction: column; gap: 8px; }
.apck-wallet-copy {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	padding: 12px 14px;
	border: 1px dashed var(--apck-line2);
	border-radius: 8px;
	background: rgba(3, 5, 11, .5);
}
.apck-wallet-addr {
	font-family: var(--apck-mono);
	font-size: 14px;
	color: var(--apck-accent2);
	overflow-wrap: anywhere;
	flex: 1 1 220px;
	min-width: 0;
	background: none;
	padding: 0;
}
.apck-copy-btn {
	flex: none;
	min-height: 36px;
	padding: 0 14px;
	border-radius: 6px;
	border: 1px solid var(--apck-line2);
	background: rgba(255, 255, 255, .05);
	color: var(--apck-text);
	font-family: var(--apck-font);
	font-size: 13px;
	font-weight: 650;
	cursor: pointer;
}
.apck-copy-btn:hover { border-color: var(--apck-accent); background: var(--apck-accent-soft); }

.apck-pay-warn {
	margin: 16px 0 0;
	padding: 13px 16px;
	border-radius: 8px;
	background: var(--apck-warn-soft);
	border: 1px solid rgba(251, 191, 36, .35);
	color: #fde68a;
	font-size: 13.5px;
	line-height: 1.6;
}
.apck-pay-instructions { margin: 16px 0 0; font-size: 13.5px; line-height: 1.75; color: var(--apck-body); }
.apck-pay-hold,
.apck-pay-contact { margin: 10px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--apck-muted); }

/* Order details + addresses, below the card. */
.apck-card {
	margin: 18px 0 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
	border: 1px solid var(--apck-line);
	border-radius: var(--apck-radius);
	padding: 26px;
	font-family: var(--apck-font);
	color: var(--apck-body);
}
.apck-card-title {
	margin: 0 0 16px;
	font-family: var(--apck-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--apck-text);
}

.apck-table { width: 100%; border-collapse: collapse; border: 0; margin: 0; }
.apck-table th,
.apck-table td {
	text-align: left;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--apck-line);
	font-size: 14px;
	color: var(--apck-body);
	vertical-align: top;
}
.apck-table thead th {
	font-family: var(--apck-mono);
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--apck-muted);
	font-weight: 600;
}
.apck-table td:last-child,
.apck-table th:last-child { text-align: right; white-space: nowrap; }
.apck-table tbody a { color: var(--apck-text); font-weight: 650; }
.apck-table .amount { color: var(--apck-text); }
.apck-table tfoot th { color: var(--apck-muted); font-weight: 600; }
.apck-table tfoot tr:last-child th,
.apck-table tfoot tr:last-child td {
	border-bottom: 0;
	font-size: 16px;
	font-weight: 800;
	color: var(--apck-text);
	padding-top: 14px;
}
.apck-table .wc-item-meta,
.apck-table .variation { margin: 4px 0 0; font-size: 12.5px; color: var(--apck-muted); }
.apck-table .wc-item-meta p { margin: 0; }

.apck-contact-strip {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 13px 16px;
	border: 1px solid var(--apck-line);
	border-radius: 8px;
	background: rgba(255, 255, 255, .03);
	margin-bottom: 18px;
}
.apck-contact-strip strong { color: var(--apck-text); font-size: 14.5px; overflow-wrap: anywhere; }

.apck-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.apck-address { min-width: 0; float: none; width: auto; }
.apck-address-title {
	margin: 0 0 10px;
	font-family: var(--apck-mono);
	font-size: 10.5px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--apck-muted);
	font-weight: 600;
}
.apck-customer-details address {
	font-style: normal;
	border: 0;
	padding: 0;
	border-radius: 0;
	font-size: 14px;
	line-height: 1.8;
	color: var(--apck-body);
	overflow-wrap: anywhere;
}
.apck-customer-details address p { margin: 4px 0 0; }
.apck-order-received a { color: var(--apck-accent2); }

/* ==========================================================================
   RESPONSIVE — verified at 390 FIRST, then 820 and 1440.
   ========================================================================== */

@media (max-width: 1000px) {
	.apck-checkout,
	.apck-cart-grid { grid-template-columns: 1fr; gap: 26px; }
	.apck-summary,
	.apck-cart-summary { position: static; }
}

@media (max-width: 820px) {
	.apck-addresses { grid-template-columns: 1fr; gap: 20px; }
	.apck-pay-row { grid-template-columns: 1fr; gap: 3px; }
	.apck-or-overview { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}

@media (max-width: 720px) {
	.apck-fields { grid-template-columns: 1fr; }
	.apck-wrap { padding-bottom: 60px; }
	.apck-page-head { padding-top: 34px; }
	.apck-panel { padding: 20px 18px; }
	.apck-cart-lines { padding: 6px 18px; }
	.apck-card,
	.apck-pay-card { padding: 20px 18px; }
	.apck-or-head { padding-top: 34px; }
}

/* 390px: the width the stock order-received page fails at. */
@media (max-width: 480px) {
	.apck-or-overview { grid-template-columns: 1fr; }
	.apck-or-overview > li { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
	.apck-or-v,
	.apck-or-v-break { text-align: right; font-size: 14px; }
	.apck-line { grid-template-columns: 56px minmax(0, 1fr); row-gap: 8px; }
	.apck-line-total { grid-column: 2; text-align: left; }
	.apck-line-img { width: 56px; height: 56px; }
	.apck-choices { flex-direction: column; }
	.apck-choice > span { min-width: 0; }
	.apck-table th,
	.apck-table td { font-size: 13.5px; }
	.apck-pay-title { font-size: 19px; }
	.apck-page-title,
	.apck-or-title { font-size: 26px; }
	.apck-wallet-addr { font-size: 12.5px; }
	.apck-drawer { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.apck-drawer,
	.apck-btn { transition: none !important; }
}
