/* ==========================================================================
   Secure layout: cart, checkout, order received, account pages, policies.
   Same brand, calmer delivery: readable sans for everything you read or type,
   Cruiser only for headings, no scanlines, no flicker, generous spacing.
   ========================================================================== */

.is-secure body {
	--f-read: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background:
		radial-gradient(90% 50% at 50% 0%, rgb(255 69 69 / 0.12), transparent 70%),
		#0a0606;
	color: #f3e9e9;
	font-family: var(--f-read);
	font-size: 16px;
	line-height: 1.5;
	cursor: auto;
	overflow: auto;
	height: auto;
}
.is-secure a,
.is-secure button,
.is-secure label,
.is-secure select { cursor: pointer; }

.secure { display: flex; flex-direction: column; min-height: 100dvh; }

.secure__head {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	padding: 14px clamp(16px, 4vw, 48px);
	border-bottom: 1px solid rgb(255 69 69 / 0.35);
	background: rgb(0 0 0 / 0.6);
}
.secure__brand img { width: 150px; height: auto; }
.secure__lock {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-self: center;
	font-weight: 600;
	color: #fff;
}
.secure__lock-icon { width: 24px; }
.secure__back { display: inline-flex; align-items: center; gap: 6px; color: #f3c9c9; font-size: 15px; text-decoration: none; }
.secure__back:hover { color: #fff; text-decoration: underline; }
.secure__back .pd-glyph { width: 16px; height: 16px; }

.steps {
	display: flex;
	justify-content: center;
	gap: clamp(8px, 3vw, 40px);
	margin: 0;
	padding: 18px 16px 0;
	list-style: none;
	font-size: 14px;
	color: #b89a9a;
}
.steps__item { display: inline-flex; align-items: center; gap: 8px; }
.steps__n {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	font-weight: 700;
	font-size: 13px;
}
.steps__item.is-current { color: #fff; font-weight: 600; }
.steps__item.is-current .steps__n { background: var(--red); border-color: var(--red); color: #000; }
.steps__item.is-done { color: #f3c9c9; }
.steps__item.is-done .steps__n { background: #f3c9c9; border-color: #f3c9c9; color: #000; }

.secure__main {
	flex: 1;
	width: 100%;
	padding: 24px clamp(16px, 4vw, 48px) 56px;
	outline: none;
}
.secure__title {
	margin: 4px 0 20px;
	font-family: var(--f-display);
	font-size: clamp(26px, 3.4vw, 40px);
	font-weight: 400;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 0 14px rgb(255 69 69 / 0.5);
}

/* Readable WooCommerce markup in secure mode (overrides the OS styles in woo.css). */
.is-secure .entry { color: #f3e9e9; font-family: var(--f-read); font-size: 16px; }
.is-secure .entry h2,
.is-secure .entry h3 { font-size: 17px; letter-spacing: 0.04em; }
.is-secure .entry label { font-family: var(--f-read); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #f3d6d6; }
.is-secure .entry input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.is-secure .entry select,
.is-secure .entry textarea {
	min-height: 46px;
	border: 1px solid #6b3a3a;
	border-radius: 2px;
	background: #140b0b;
	font-family: var(--f-read);
	font-size: 16px;
}
.is-secure .entry input:focus,
.is-secure .entry select:focus,
.is-secure .entry textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgb(255 69 69 / 0.25); }
.is-secure .entry .description { display: block; margin-top: 4px; color: #b89a9a; font-size: 13px; }
.is-secure .entry table { font-size: 15px; }
.is-secure .entry th { font-family: var(--f-read); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.is-secure .entry .amount { font-family: var(--f-read); font-size: 1em; font-weight: 700; }
.is-secure .entry .order-total .amount { font-size: 1.15em; color: #fff; text-shadow: none; }
.is-secure .entry .button,
.is-secure .entry button[type='submit'],
.is-secure .entry #place_order {
	font-family: var(--f-display);
	box-shadow: none;
	background: var(--red);
	color: #000;
}
.is-secure .entry .button:hover,
.is-secure .entry #place_order:hover { background: #ff6b6b; filter: none; box-shadow: 0 0 0 3px rgb(255 69 69 / 0.3); color: #000; }
.is-secure .entry #place_order { min-height: 58px; font-size: 17px; }
.is-secure .woocommerce-message,
.is-secure .woocommerce-info,
.is-secure .woocommerce-error { border-width: 1px; border-radius: 2px; font-family: var(--f-read); }
.is-secure .entry a { color: #ffb3b3; }
.is-secure .entry img { background: #1b0d0d; border-color: #4a2626; }

/* Checkout: form left, the order summary card right. */
.is-secure .entry form.checkout > #order_review_heading,
.is-secure .entry form.checkout > #order_review { padding-inline: 20px; background: #110909; border: 1px solid #4a2626; }
.is-secure .entry form.checkout > #order_review_heading { margin: 0; padding-top: 18px; border-bottom: 0; }
.is-secure .entry form.checkout > #order_review { padding-bottom: 20px; border-top: 0; }
.is-secure .entry #payment { border: 1px solid #4a2626; background: #0c0606; }

.paynote { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; margin: 16px 0 10px; color: #f3d6d6; font-size: 14px; }
.paynote__icon { width: 26px; }

.is-secure .trust { margin-top: 18px; border-color: #4a2626; background: #0c0606; }
.is-secure .trust__item { color: #d9bcbc; font-size: 14px; line-height: 1.4; }
.is-secure .trust__item b { font-family: var(--f-read); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.trust--compact { grid-template-columns: 1fr; }

.freebar { margin-bottom: 14px; }
.freebar p { margin: 0 0 6px; }
.freebar__track { display: block; height: 8px; background: #2a1414; }
.freebar__track i { display: block; height: 100%; background: var(--red); transition: width 0.4s; }

.next { margin: 26px 0; padding: 20px; border: 1px solid #4a2626; background: #110909; }
.next h2 { margin: 0 0 12px; }
.next__list { display: grid; gap: 12px; margin: 0; padding-left: 1.2em; }
.next__list b { display: block; color: #fff; }
.next__list .btn { margin-top: 8px; min-height: 40px; font-size: 13px; }

.secure__foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 24px;
	padding: 18px clamp(16px, 4vw, 48px) calc(18px + var(--safe-b));
	border-top: 1px solid rgb(255 69 69 / 0.25);
	color: #b89a9a;
	font-size: 14px;
}
.secure__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.secure__links a { color: #f3c9c9; }

@media (max-width: 640px) {
	.secure__head { grid-template-columns: 1fr auto; }
	.secure__lock { grid-column: 1 / -1; grid-row: 2; justify-self: start; font-size: 14px; }
	.secure__brand img { width: 120px; }
	.steps { justify-content: space-between; font-size: 12px; }
	.steps__name { line-height: 1.15; }
}

/* Trust list (shared look with SHOP.EXE, readable type). */
.is-secure .trust { display: grid; gap: 12px; margin: 18px 0 0; padding: 16px; list-style: none; border: 1px solid #4a2626; background: #0c0606; }
.is-secure .trust__item { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.is-secure .trust__item b { display: block; margin-bottom: 2px; color: #fff; }
.is-secure .entry .trust__icon,
.is-secure .trust__icon,
.is-secure .entry .paynote__icon { width: 28px; height: auto; border: 0; background: none; }

/* WooCommerce cart table, calmer. */
.is-secure .entry .shop_table td.product-thumbnail img { width: 72px; }
.is-secure .entry .shop_table .product-name a { color: #fff; font-weight: 600; text-decoration: none; }
.is-secure .entry .cart_totals { margin-top: 20px; }
.is-secure .entry .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 16px; }
@media (min-width: 900px) {
	.is-secure .entry .cart-collaterals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); }
	.is-secure .entry .cart-collaterals .cart_totals { grid-column: 2; }
}

/* WooCommerce's float widths fight the grid; let the grid decide. */
.is-secure .entry .cart-collaterals .cart_totals,
.is-secure .entry .cart-collaterals .cross-sells { float: none; width: 100%; }

@media (max-width: 899px) {
	.is-secure .entry table.shop_table_responsive tr { display: block; padding: 12px 0; }
	.is-secure .entry table.shop_table_responsive td,
	.is-secure .entry table.shop_table_responsive th { display: block; padding: 4px 0; border: 0; text-align: left; }
	.is-secure .entry table.shop_table_responsive td::before {
		display: block;
		margin-bottom: 2px;
		color: #b89a9a;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}
	.is-secure .entry table.shop_table_responsive td.product-remove::before,
	.is-secure .entry table.shop_table_responsive td.product-thumbnail::before,
	.is-secure .entry table.shop_table_responsive td.actions::before { display: none; }
	.is-secure .entry table.shop_table_responsive td.product-remove { float: right; }
	.is-secure .entry .cart_totals table th { display: none; }
	.is-secure .entry .woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; }
	.is-secure .entry .woocommerce-shipping-destination,
	.is-secure .entry .woocommerce-shipping-calculator { font-size: 14px; }
	.is-secure .entry .actions .coupon { margin-bottom: 10px; }
	.is-secure .entry .actions .button { width: 100%; }
}

/* Very wide screens: keep the checkout centred instead of stretching inputs 2000px wide. */
@media (min-width: 1800px) {
	.secure__head,
	.secure__main,
	.secure__foot { padding-inline: calc((100vw - 1560px) / 2); }
}
