/* Checkout + order received (design.md §Cart & checkout). Shared page /
   summary / control styling is in cart-checkout.css.

   The design's checkout is three numbered cards — 2 Information, 3 Shipping,
   4 Payment. WooCommerce's checkout is one form of sibling sections
   (fieldsets): contact, shipping address, billing address, shipping
   options, payment, note, terms, actions. Each section paints the card
   ground (#141412); a card *starts* at contact, shipping options and
   payment (12px of black above, the numbered title row), and the sections
   between continue the card above them. All three stay open on one page
   (the agreed build — the design's accordion would mean driving WC's React
   form); cart-checkout.js moves the step bar's highlight to the card in
   view. The numbers are a CSS counter, so a cart that needs no shipping
   (no Shipping card) still counts on correctly. */

/* ---- Form: cards --------------------------------------------------------- */
.tt-checkout .wc-block-checkout__form {
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	counter-reset: tt-step 1;
}

.tt-checkout .wc-block-checkout__form > * {
	margin: 0 !important;
}

.tt-checkout .wc-block-checkout__form > .tt-checkout-head {
	margin-bottom: 36px !important;
}

.tt-checkout .wc-block-components-checkout-step {
	position: relative;
	margin: 0 !important;
	padding: 0 32px 32px !important;
	border: 0 !important;
	background: var(--wp--preset--color--ink, #141412);
	min-inline-size: 0;
}

.tt-checkout .wc-block-components-checkout-step__container,
.tt-checkout .wc-block-components-checkout-step__content {
	margin: 0 !important;
	padding: 0 !important;
}

.tt-checkout .wc-block-components-checkout-step__content > * {
	margin-bottom: 18px !important;
}

.tt-checkout .wc-block-components-checkout-step__content > :last-child {
	margin-bottom: 0 !important;
}

/* Section titles inside a card ("CONTACT", "SHIPPING ADDRESS", "BILLING
   ADDRESS"): 13px bright red, 0.15em. */
.tt-checkout .wc-block-components-checkout-step__heading-container {
	margin: 0 0 18px !important;
	padding: 0 !important;
}

.tt-checkout .wc-block-components-checkout-step__heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin: 0 !important;
}

.tt-checkout .wc-block-components-checkout-step__title {
	margin: 0 !important;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-weight: 400 !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	letter-spacing: 1.95px !important;
	text-transform: uppercase !important;
	color: var(--wp--preset--color--red-bright, #ff4349) !important;
}

/* WooCommerce's own step numbers stay off (ours are on the cards). */
.tt-checkout .wc-block-components-checkout-step__title::before {
	display: none !important;
}

.tt-checkout .wc-block-components-checkout-step__description {
	margin: 6px 0 0 !important;
	font-size: 14px !important;
	line-height: 1.5;
	color: var(--wp--preset--color--grey-light, #adadad) !important;
}

.tt-checkout .wc-block-components-checkout-step__heading-content,
.tt-checkout .wc-block-components-checkout-step__heading-content a {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-size: 14px !important;
	letter-spacing: 1.12px;
	text-transform: uppercase;
	color: var(--wp--preset--color--grey-light, #adadad) !important;
}

.tt-checkout .wc-block-components-checkout-step__heading-content a {
	color: var(--wp--preset--color--red-bright, #ff4349) !important;
	text-decoration: none !important;
	transition: color 0.25s ease;
}

.tt-checkout .wc-block-components-checkout-step__heading-content a:hover {
	color: #fff !important;
}

/* Card starts. */
.tt-checkout .wc-block-checkout__contact-fields,
.tt-checkout .wc-block-checkout__shipping-option,
.tt-checkout .wc-block-checkout__payment-method {
	counter-increment: tt-step;
}

.tt-checkout .wc-block-checkout__shipping-option,
.tt-checkout .wc-block-checkout__payment-method {
	margin-top: 12px !important;
	padding-top: 26px !important;
}

/* Shipping / Payment: WooCommerce's step title *is* the card title — 24px,
   after the 36px number square. */
.tt-checkout .wc-block-checkout__shipping-option > .wc-block-components-checkout-step__heading-container,
.tt-checkout .wc-block-checkout__payment-method > .wc-block-components-checkout-step__heading-container {
	margin-bottom: 30px !important;
}

.tt-checkout .wc-block-checkout__shipping-option .wc-block-components-checkout-step__title,
.tt-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__title {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 24px !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #fff !important;
}

.tt-checkout .wc-block-checkout__shipping-option .wc-block-components-checkout-step__title::before,
.tt-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__title::before,
.tt-checkout .wc-block-checkout__contact-fields::before {
	content: counter(tt-step) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--wp--preset--color--red, #cf2026) !important;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 15px !important;
	line-height: 1;
	letter-spacing: 0;
	color: #fff !important;
	position: static !important;
	transform: none !important;
}

/* Information: WooCommerce has no section for the card itself, so its title
   row is drawn on the contact section (number + "Information"), and the
   contact title below it reads as the CONTACT sub-label. */
.tt-checkout .wc-block-checkout__contact-fields {
	padding-top: 92px !important;
}

.tt-checkout .wc-block-checkout__contact-fields::before,
.tt-checkout .wc-block-checkout__contact-fields::after {
	position: absolute !important;
	top: 26px;
}

.tt-checkout .wc-block-checkout__contact-fields::before {
	left: 32px;
}

.tt-checkout .wc-block-checkout__contact-fields::after {
	content: "Information";
	left: 88px;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 24px;
	line-height: 36px;
	color: #fff;
}

/* Continuation sections: the divider under Contact, and the gap between the
   sections of one card. */
.tt-checkout .wc-block-checkout__shipping-fields,
.tt-checkout .wc-block-checkout__billing-fields,
.tt-checkout .wc-block-checkout__shipping-method,
.tt-checkout .wc-block-checkout__pickup-options {
	padding-top: 32px !important;
	background-image: linear-gradient(#30302e, #30302e);
	background-size: calc(100% - 64px) 1px;
	background-position: 32px 0;
	background-repeat: no-repeat;
}

.tt-checkout .wc-block-checkout__billing-fields {
	background-image: none;
	padding-top: 0 !important;
}

/* Payment card tail: note, extra fields, terms, place order. */
.tt-checkout .wc-block-checkout__order-notes,
.tt-checkout .wc-block-checkout__order-fields,
.tt-checkout .wc-block-checkout__terms,
.tt-checkout .wc-block-checkout__actions {
	position: relative;
	margin: 0 !important;
	padding: 0 32px 24px !important;
	border: 0 !important;
	background: var(--wp--preset--color--ink, #141412);
}

.tt-checkout .wc-block-checkout__actions {
	padding-bottom: 36px !important;
}

.tt-checkout .wc-block-checkout__terms {
	font-family: var(--wp--preset--font-family--encode-sans, "Encode Sans", sans-serif);
	font-size: 14px !important;
	line-height: 1.6 !important;
	color: #8c8c88 !important;
}

.tt-checkout .wc-block-checkout__terms--with-separator {
	padding-top: 0 !important;
	border-top: 0 !important;
}

.tt-checkout .wc-block-checkout__terms a {
	color: var(--wp--preset--color--grey-light, #adadad) !important;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.tt-checkout .wc-block-checkout__terms a:hover {
	color: #fff !important;
	text-decoration-color: currentColor;
}

.tt-checkout .wc-block-checkout__actions_row {
	display: block !important;
}

.tt-checkout .wc-block-checkout__add-note {
	margin: 0 !important;
}

/* Express payments (only when a gateway offers them) sit above the cards. */
.tt-checkout .wc-block-components-express-payment {
	margin: 0 0 12px !important;
}

.tt-checkout .wc-block-components-express-payment-continue-rule {
	margin: 0 0 12px !important;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 12px !important;
	letter-spacing: 1.44px;
	text-transform: uppercase;
	color: #8c8c88 !important;
}

/* ---- Information card ------------------------------------------------------ */
/* Address grid, desktop: First 3 | Last 3; Company 6; Address 4 | Apt 2;
   City 2 | Country 2 | State 1 | ZIP 1 — WooCommerce lists country before
   the street, so the fields are placed by `order`. */
.tt-checkout .wc-block-components-address-form {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px;
	margin: 0 !important;
}

.tt-checkout .wc-block-components-address-form > * {
	grid-column: span 6;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	flex: none !important;
}

.tt-checkout .wc-block-components-address-form__first_name { order: 1; grid-column: span 3 !important; }
.tt-checkout .wc-block-components-address-form__last_name { order: 2; grid-column: span 3 !important; }
.tt-checkout .wc-block-components-address-form__company { order: 3; }
.tt-checkout .wc-block-components-address-form__address_1 { order: 4; grid-column: span 4 !important; }
.tt-checkout .wc-block-components-address-form__address_2,
.tt-checkout .wc-block-components-address-form__address_2-toggle { order: 5; grid-column: span 2 !important; }
.tt-checkout .wc-block-components-address-form__city { order: 6; grid-column: span 2 !important; }
.tt-checkout .wc-block-components-address-form__country { order: 7; grid-column: span 2 !important; }
.tt-checkout .wc-block-components-address-form__state { order: 8; grid-column: span 1 !important; }
.tt-checkout .wc-block-components-address-form__postcode { order: 9; grid-column: span 1 !important; }
.tt-checkout .wc-block-components-address-form__phone { order: 10; }
.tt-checkout .wc-block-components-address-form > :not([class*="wc-block-components-address-form__"]) { order: 20; }

/* "+ Add apartment, suite, etc." — a quiet link in the Apt slot. */
.tt-checkout .wc-block-components-address-form__address_2-toggle {
	align-self: end;
	display: flex !important;
	align-items: center;
	height: 50px;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-size: 13px !important;
	letter-spacing: 1.04px;
	text-align: left;
	text-transform: uppercase;
	text-decoration: none !important;
	color: var(--wp--preset--color--grey-light, #adadad) !important;
	cursor: pointer;
	transition: color 0.25s ease;
}

.tt-checkout .wc-block-components-address-form__address_2-toggle:hover {
	color: #fff !important;
}

/* Saved-address card (returning customers). */
.tt-checkout .wc-block-components-address-card {
	padding: 16px 20px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #1c1c1a !important;
	font-size: 15px;
	color: var(--wp--preset--color--grey-light, #adadad) !important;
}

.tt-checkout .wc-block-components-address-card__edit {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-size: 14px !important;
	letter-spacing: 1.12px;
	text-transform: uppercase;
	text-decoration: none !important;
	color: var(--wp--preset--color--red-bright, #ff4349) !important;
	transition: color 0.25s ease;
}

.tt-checkout .wc-block-components-address-card__edit:hover {
	color: #fff !important;
}

/* "Create an account" panel (guest checkout). */
.tt-checkout .wc-block-checkout__create-account {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 22px 24px;
	background: #1c1c1a;
}

.tt-checkout .wc-block-checkout__create-account > * {
	margin: 0 !important;
}

.tt-checkout .wc-block-checkout__guest-checkout-notice {
	font-size: 14px !important;
	color: var(--wp--preset--color--grey-light, #adadad) !important;
}

/* ---- Shipping card ------------------------------------------------------------ */
/* Each rate: #1c1c1a tile, round radio, name + delivery time, price right;
   the chosen one gets a 2px red ring. */
.tt-checkout .wc-block-components-radio-control,
.tt-checkout .wc-block-components-shipping-rates-control__package {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.tt-checkout .wc-block-components-radio-control__option,
.tt-checkout .wc-block-components-radio-control-accordion-option {
	position: relative;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #1c1c1a !important;
	box-shadow: inset 0 0 0 1px #3c3c3a !important;
	transition: box-shadow 0.25s ease;
}

.tt-checkout .wc-block-components-radio-control__option {
	display: block !important;
	padding: 20px 22px 20px 58px !important;
	color: #fff !important;
	cursor: pointer;
}

.tt-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
	background: transparent !important;
	box-shadow: none !important;
}

.tt-checkout .wc-block-components-radio-control__option:hover,
.tt-checkout .wc-block-components-radio-control-accordion-option:hover {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--red, #cf2026) !important;
}

.tt-checkout .wc-block-components-radio-control__option-checked,
.tt-checkout .wc-block-components-radio-control__option--checked-option-highlighted,
.tt-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--red, #cf2026) !important;
}

/* Inside a highlighted accordion option, only the outer tile gets the ring. */
.tt-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option-checked,
.tt-checkout .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: none !important;
}

.tt-checkout .wc-block-components-radio-control--highlight-checked::after,
.tt-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option::after,
.tt-checkout .wc-block-components-radio-control__option::after {
	display: none !important;
}

.tt-checkout .wc-block-components-radio-control__input {
	position: absolute !important;
	top: 50% !important;
	left: 22px !important;
	width: 20px !important;
	height: 20px !important;
	min-width: 20px;
	margin: -10px 0 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--grey, #73736f) !important;
	appearance: none;
	cursor: pointer;
	transform: none !important;
}

.tt-checkout .wc-block-components-radio-control__input::before {
	display: none !important;
}

.tt-checkout .wc-block-components-radio-control__input:checked {
	background: radial-gradient(circle, var(--wp--preset--color--red, #cf2026) 0 5px, transparent 5.5px) !important;
}

.tt-checkout .wc-block-components-radio-control__input:focus-visible {
	outline: 2px solid #fff !important;
	outline-offset: 2px;
}

.tt-checkout .wc-block-components-radio-control__option-layout {
	display: flex !important;
	flex-direction: column;
	gap: 4px;
	padding: 0 !important;
}

.tt-checkout .wc-block-components-radio-control__label-group,
.tt-checkout .wc-block-components-radio-control__description-group {
	display: flex !important;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}

.tt-checkout .wc-block-components-radio-control__label,
.tt-checkout .wc-block-components-radio-control__secondary-label {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-weight: 400 !important;
	font-size: 18px !important;
	line-height: 1.3 !important;
	color: #fff !important;
}

.tt-checkout .wc-block-components-radio-control__description,
.tt-checkout .wc-block-components-radio-control__secondary-description {
	font-family: var(--wp--preset--font-family--encode-sans, "Encode Sans", sans-serif) !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	color: var(--wp--preset--color--grey-light, #adadad) !important;
}

.tt-checkout .wc-block-components-shipping-rates-control__no-shipping-address-message,
.tt-checkout .wc-block-components-shipping-rates-control__no-results-notice {
	margin: 0 !important;
	font-size: 15px !important;
	color: var(--wp--preset--color--grey-light, #adadad) !important;
}

/* Place order: "PLACE ORDER — $1,389.91" with an ordinary word space. */
.tt-checkout .wc-block-components-checkout-place-order-button__separator {
	margin: 0 0.4em !important;
}

/* ---- Payment card ------------------------------------------------------------ */
/* The gateway's own fields render in the selected method's panel — a
   #1c1c1a block under its option. */
.tt-checkout .wc-block-components-radio-control-accordion-content {
	padding: 0 24px 24px 58px !important;
	font-size: 15px !important;
	line-height: 1.55;
	color: var(--wp--preset--color--grey-light, #adadad) !important;
}

.tt-checkout .wc-block-components-radio-control-accordion-content:empty {
	display: none;
}

.tt-checkout .wc-block-components-payment-method-label,
.tt-checkout .wc-block-components-payment-method-label--with-icon {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-size: 18px !important;
	color: #fff !important;
}

.tt-checkout .wc-block-checkout__no-payment-methods-notice {
	margin: 0 !important;
}

/* ---- Order summary items -------------------------------------------------------- */
/* WooCommerce frames the summary in a bordered box of its own. */
.tt-checkout .wp-block-woocommerce-checkout-order-summary-block,
.tt-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper {
	border: 0 !important;
	border-radius: 0 !important;
}

.tt-checkout .wc-block-components-order-summary-item .wc-block-components-sale-badge {
	display: none !important;
}

/* "1 × Ruger Precision Rifle …   $344.99" — WooCommerce's line (thumbnail
   with a quantity badge, details, price) flattened into one text row. */
.tt-checkout .wc-block-components-order-summary {
	margin: 0 !important;
	padding: 0 0 28px !important;
	border: 0 !important;
	background: repeating-linear-gradient(90deg, #60605c 0 6px, transparent 6px 12px) left bottom / 100% 1px no-repeat;
}

.tt-checkout .wc-block-components-order-summary__content {
	display: flex;
	flex-direction: column;
	padding: 0 !important;
}

.tt-checkout .wc-block-components-order-summary-item {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 0 20px;
	align-items: baseline;
	margin: 0 !important;
	padding: 12px 0 !important;
	border: 0 !important;
}

.tt-checkout .wc-block-components-order-summary-item__image {
	display: contents !important;
}

.tt-checkout .wc-block-components-order-summary-item__image img {
	display: none !important;
}

.tt-checkout .wc-block-components-order-summary-item__quantity {
	position: static !important;
	display: inline !important;
	min-width: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-size: 15px !important;
	line-height: 1.45 !important;
	color: var(--wp--preset--color--grey-light, #adadad) !important;
	transform: none !important;
}

.tt-checkout .wc-block-components-order-summary-item__quantity > span[aria-hidden="true"]::after {
	content: " ×";
}

.tt-checkout .wc-block-components-order-summary-item__description {
	margin: 0 !important;
	padding: 0 !important;
}

.tt-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	text-transform: none !important;
	font-family: var(--wp--preset--font-family--encode-sans, "Encode Sans", sans-serif) !important;
	font-weight: 400 !important;
	font-size: 15px !important;
	line-height: 1.45 !important;
	color: #fff !important;
}

.tt-checkout .wc-block-components-order-summary-item__individual-prices,
.tt-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-metadata,
.tt-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-badge {
	display: none !important;
}

.tt-checkout .wc-block-components-order-summary-item__total-price {
	margin: 0 !important;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-weight: 400 !important;
	font-size: 16px !important;
	color: #fff !important;
	text-align: right;
}

/* The summary's own title ("Order summary"): the desktop panel label; on
   mobile WooCommerce turns it into the show/hide toggle. */
.tt-checkout .wc-block-components-checkout-order-summary__title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: 0 !important;
}

.tt-checkout .wc-block-components-checkout-order-summary__title-price {
	display: none;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-size: 18px !important;
	color: #fff !important;
}

.tt-checkout .wc-block-components-checkout-order-summary__title-icon {
	display: none;
}

.tt-checkout .wc-block-components-checkout-order-summary__content {
	display: flex !important;
	flex-direction: column;
	gap: 14px;
	padding: 0 !important;
}

/* ---- Order received --------------------------------------------------------------- */
.tt-order-received__main {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tt-order-received__main > * {
	margin: 0 !important;
}

.tt-order-received__main > .tt-checkout-head {
	margin-bottom: 24px !important;
}

.tt-order-received__panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding: 48px;
	background: var(--wp--preset--color--ink, #141412);
}

.tt-order-received__panel > * {
	margin: 0 !important;
}

.tt-order-received__panel .wp-block-woocommerce-order-confirmation-status {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 0 !important;
}

.tt-order-received__panel .wp-block-woocommerce-order-confirmation-status > * {
	margin: 0 !important;
}

.tt-order-received__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 0 14px !important;
	background: var(--wp--preset--color--red, #cf2026);
	font-size: 26px;
	line-height: 1;
	color: #fff;
}

.tt-order-received__number {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 14px;
	letter-spacing: 2.1px;
	text-transform: uppercase;
	color: var(--wp--preset--color--grey-light, #adadad);
}

.tt-order-received__panel .wp-block-woocommerce-order-confirmation-status h1 {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-weight: 400 !important;
	font-size: 38px !important;
	line-height: 1.15 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: #fff !important;
}

.tt-order-received__panel .wp-block-woocommerce-order-confirmation-status p {
	max-width: 640px;
	margin-top: 14px !important;
	font-family: var(--wp--preset--font-family--encode-sans, "Encode Sans", sans-serif);
	font-size: 17px !important;
	line-height: 1.6;
	text-wrap: pretty;
	color: var(--wp--preset--color--grey-light, #adadad);
}

.tt-order-received__panel .wp-block-woocommerce-order-confirmation-status p.tt-order-received__number {
	margin-top: 0 !important;
	font-size: 14px !important;
}

.tt-order-received__email {
	color: #fff;
}

/* WooCommerce's failed-order / verify-email links and form. */
.tt-order-received__panel .wp-block-woocommerce-order-confirmation-status .button {
	display: inline-flex;
	margin: 0 12px 0 0;
	padding: 14px 24px;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--grey, #73736f);
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-size: 16px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	transition: box-shadow 0.2s ease;
}

.tt-order-received__panel .wp-block-woocommerce-order-confirmation-status .button:hover {
	box-shadow: inset 0 0 0 2px var(--wp--preset--color--red, #cf2026);
}

.tt-order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 !important;
}

.tt-order-actions > * {
	margin: 0 !important;
}

.tt-order-actions__btn {
	box-sizing: border-box;
	height: 52px;
	padding: 0 24px !important;
	font-size: 16px !important;
	letter-spacing: 0.8px !important;
}

/* Addresses, downloads, extra fields: ink cards with a red label. */
.tt-order-received__addresses {
	gap: 12px !important;
	margin: 0 !important;
}

.tt-order-received__addresses > .wp-block-column {
	margin: 0 !important;
}

.tt-order-received__main .wp-block-woocommerce-order-confirmation-shipping-wrapper,
.tt-order-received__main .wp-block-woocommerce-order-confirmation-billing-wrapper,
.tt-order-received__main .wp-block-woocommerce-order-confirmation-downloads-wrapper,
.tt-order-received__main .wp-block-woocommerce-order-confirmation-additional-fields-wrapper,
.tt-order-received__main .wp-block-woocommerce-order-confirmation-additional-information:not(:empty) {
	height: 100%;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 28px;
	background: var(--wp--preset--color--ink, #141412);
	font-family: var(--wp--preset--font-family--encode-sans, "Encode Sans", sans-serif);
	font-size: 15px;
	line-height: 1.55;
	color: var(--wp--preset--color--grey-light, #adadad);
}

.tt-order-received__heading {
	margin: 0 0 14px !important;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif) !important;
	font-weight: 400 !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	letter-spacing: 1.95px !important;
	text-transform: uppercase !important;
	color: var(--wp--preset--color--red-bright, #ff4349) !important;
}

.tt-order-received__main .wc-block-order-confirmation-shipping-address,
.tt-order-received__main .wc-block-order-confirmation-billing-address {
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
}

.tt-order-received__main address {
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	font-style: normal;
}

.tt-order-received__main .woocommerce-customer-details--phone {
	margin: 6px 0 0;
}

/* Summary column: WooCommerce's totals table read as the summary list. */
.tt-order-received__summary .wp-block-woocommerce-order-confirmation-totals-wrapper,
.tt-order-received__summary .wp-block-woocommerce-order-confirmation-totals {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin: 0 !important;
}

.tt-order-received__summary .wc-block-order-confirmation-totals__table {
	width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
	font-family: var(--wp--preset--font-family--encode-sans, "Encode Sans", sans-serif);
	font-size: 16px;
	line-height: 1.5;
}

.tt-order-received__summary .wc-block-order-confirmation-totals__table thead {
	display: none;
}

.tt-order-received__summary .wc-block-order-confirmation-totals__table th,
.tt-order-received__summary .wc-block-order-confirmation-totals__table td {
	padding: 7px 0 !important;
	border: 0 !important;
	background: none !important;
	font-weight: 400 !important;
	text-align: left;
	vertical-align: baseline;
}

.tt-order-received__summary .wc-block-order-confirmation-totals__table tbody td {
	padding: 12px 0 !important;
	font-size: 15px;
	color: #fff;
}

.tt-order-received__summary .wc-block-order-confirmation-totals__table tbody tr:last-child td {
	padding-bottom: 28px !important;
	background: repeating-linear-gradient(90deg, #60605c 0 6px, transparent 6px 12px) left bottom / 100% 1px no-repeat !important;
}

.tt-order-received__summary .wc-block-order-confirmation-totals__table tfoot tr:first-child th,
.tt-order-received__summary .wc-block-order-confirmation-totals__table tfoot tr:first-child td {
	padding-top: 28px !important;
}

.tt-order-received__summary .wc-block-order-confirmation-totals__table .product-quantity {
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	font-weight: 400;
	color: var(--wp--preset--color--grey-light, #adadad);
}

.tt-order-received__summary .wc-block-order-confirmation-totals__table .wc-item-meta {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: #8c8c88;
}

.tt-order-received__summary .wc-block-order-confirmation-totals__table .wc-item-meta p {
	display: inline;
	margin: 0;
}

.tt-order-received__summary .wc-block-order-confirmation-totals__total {
	padding-left: 20px !important;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	text-align: right !important;
	white-space: nowrap;
	color: #fff;
}

.tt-order-received__summary .wc-block-order-confirmation-totals__label {
	color: var(--wp--preset--color--grey-light, #adadad);
}

/* Last tfoot row is the order total. */
.tt-order-received__summary .wc-block-order-confirmation-totals__table tfoot tr:last-child th,
.tt-order-received__summary .wc-block-order-confirmation-totals__table tfoot tr:last-child td {
	padding-top: 22px !important;
	border-top: 1px solid #3c3c3a !important;
	font-family: var(--wp--preset--font-family--base-model, "Base Model", sans-serif);
	color: #fff;
}

.tt-order-received__summary .wc-block-order-confirmation-totals__table tfoot tr:last-child th {
	font-size: 14px;
	letter-spacing: 1.68px;
	text-transform: uppercase;
	vertical-align: baseline;
}

.tt-order-received__summary .wc-block-order-confirmation-totals__table tfoot tr:last-child td {
	font-size: 36px;
	line-height: 1;
}

.tt-order-received__summary .wc-block-order-confirmation-order-note {
	font-size: 15px;
	color: var(--wp--preset--color--grey-light, #adadad);
}

/* ---- Mobile ---------------------------------------------------------------------- */
@media (max-width: 1099px) {
	.tt-checkout .wc-block-components-checkout-step {
		padding: 0 16px 24px !important;
	}

	.tt-checkout .wc-block-checkout__form > .tt-checkout-head {
		margin-bottom: 24px !important;
	}

	.tt-checkout .wc-block-checkout__shipping-option,
	.tt-checkout .wc-block-checkout__payment-method {
		padding-top: 18px !important;
	}

	.tt-checkout .wc-block-checkout__shipping-option > .wc-block-components-checkout-step__heading-container,
	.tt-checkout .wc-block-checkout__payment-method > .wc-block-components-checkout-step__heading-container {
		margin-bottom: 18px !important;
	}

	.tt-checkout .wc-block-checkout__shipping-option .wc-block-components-checkout-step__title,
	.tt-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__title {
		gap: 14px;
		font-size: 20px !important;
	}

	.tt-checkout .wc-block-checkout__shipping-option .wc-block-components-checkout-step__title::before,
	.tt-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__title::before,
	.tt-checkout .wc-block-checkout__contact-fields::before {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
	}

	.tt-checkout .wc-block-checkout__contact-fields {
		padding-top: 74px !important;
	}

	.tt-checkout .wc-block-checkout__contact-fields::before,
	.tt-checkout .wc-block-checkout__contact-fields::after {
		top: 18px;
	}

	.tt-checkout .wc-block-checkout__contact-fields::before {
		left: 16px;
	}

	.tt-checkout .wc-block-checkout__contact-fields::after {
		left: 62px;
		font-size: 20px;
		line-height: 32px;
	}

	.tt-checkout .wc-block-checkout__shipping-fields,
	.tt-checkout .wc-block-checkout__shipping-method,
	.tt-checkout .wc-block-checkout__pickup-options {
		padding-top: 24px !important;
		background-size: calc(100% - 32px) 1px;
		background-position: 16px 0;
	}

	.tt-checkout .wc-block-checkout__order-notes,
	.tt-checkout .wc-block-checkout__order-fields,
	.tt-checkout .wc-block-checkout__terms,
	.tt-checkout .wc-block-checkout__actions {
		padding: 0 16px 24px !important;
	}

	/* Address grid, mobile: First | Last; everything else full; State | ZIP. */
	.tt-checkout .wc-block-components-address-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.tt-checkout .wc-block-components-address-form > *,
	.tt-checkout .wc-block-components-address-form__address_1,
	.tt-checkout .wc-block-components-address-form__address_2,
	.tt-checkout .wc-block-components-address-form__address_2-toggle,
	.tt-checkout .wc-block-components-address-form__city,
	.tt-checkout .wc-block-components-address-form__country {
		grid-column: span 2 !important;
	}

	.tt-checkout .wc-block-components-address-form__first_name,
	.tt-checkout .wc-block-components-address-form__last_name,
	.tt-checkout .wc-block-components-address-form__state,
	.tt-checkout .wc-block-components-address-form__postcode {
		grid-column: span 1 !important;
	}

	.tt-checkout .wc-block-components-address-form__address_2-toggle {
		height: auto;
		min-height: 44px;
	}

	.tt-checkout .wc-block-checkout__create-account {
		padding: 18px 16px;
	}

	.tt-checkout .wc-block-components-radio-control__option {
		padding: 16px 16px 16px 52px !important;
	}

	.tt-checkout .wc-block-components-radio-control__input {
		left: 16px !important;
	}

	.tt-checkout .wc-block-components-radio-control-accordion-content {
		padding: 0 16px 18px !important;
	}

	/* Summary → a full-bleed "SHOW ORDER SUMMARY  $total" band right under the
	   step bar; the assurances drop to the end of the page. The sidebar and
	   its totals wrapper step aside (display: contents) so the summary and the
	   assurances can be placed independently in the page column. */
	.tt-checkout .wc-block-checkout__sidebar,
	.tt-checkout .wc-block-checkout__sidebar > .wp-block-woocommerce-checkout-totals-block {
		display: contents !important;
	}

	/* …so the panel's fill layer would float free; the band paints itself. */
	.tt-checkout .wc-block-checkout__sidebar::before {
		display: none !important;
	}

	.tt-checkout .wp-block-woocommerce-checkout-order-summary-block:not(.checkout-order-summary-block-fill-wrapper) {
		order: -1;
		align-self: stretch;
		width: auto !important;
		margin: -28px -16px 0 !important;
		background: #1c1c1a;
		border-top: 1px solid #30302e;
	}

	.tt-checkout .wc-block-checkout__sidebar .tt-cart-assurances {
		order: 1;
	}

	/* WooCommerce also drops a second, full copy of the summary in above the
	   Place Order button on small screens; the design has only the band. */
	.tt-checkout .checkout-order-summary-block-fill-wrapper {
		display: none !important;
	}

	.tt-checkout .wc-block-components-checkout-order-summary__title {
		min-height: 56px;
		margin: 0 !important;
		padding: 0 16px !important;
		cursor: pointer;
	}

	.tt-checkout .wc-block-components-checkout-order-summary__title-text {
		display: flex;
		align-items: center;
		gap: 10px;
		letter-spacing: 1.3px !important;
	}

	/* WooCommerce's chevron, replaced by the design's 7px red L. */
	.tt-checkout .wc-block-components-checkout-order-summary__title-icon {
		display: none !important;
	}

	.tt-checkout .wc-block-components-checkout-order-summary__title-text::after {
		content: "";
		width: 7px;
		height: 7px;
		border-right: 1.5px solid var(--wp--preset--color--red-bright, #ff4349);
		border-bottom: 1.5px solid var(--wp--preset--color--red-bright, #ff4349);
		transform: translateY(-2px) rotate(45deg);
		transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
	}

	.tt-checkout .wc-block-components-checkout-order-summary__title[aria-expanded="true"] .wc-block-components-checkout-order-summary__title-text::after {
		transform: translateY(2px) rotate(225deg);
	}

	.tt-checkout .wc-block-components-checkout-order-summary__title-price {
		display: block;
	}

	.tt-checkout .wc-block-components-checkout-order-summary__content {
		gap: 14px;
		padding: 4px 16px 24px !important;
	}

	/* Collapsed only while WooCommerce has made the title a toggle — it does
	   so by the block's own width, so just under 1100 it may still be a plain,
	   always-open title. */
	.tt-checkout .wc-block-components-checkout-order-summary__title[aria-expanded="false"] + .wc-block-components-checkout-order-summary__content {
		display: none !important;
	}

	.tt-checkout .wc-block-components-checkout-order-summary__title:not([aria-expanded]) .wc-block-components-checkout-order-summary__title-price,
	.tt-checkout .wc-block-components-checkout-order-summary__title:not([aria-expanded]) .wc-block-components-checkout-order-summary__title-text::after {
		display: none;
	}

	.tt-checkout .wc-block-components-order-summary {
		padding-bottom: 20px !important;
	}

	.tt-checkout .wc-block-components-order-summary-item {
		gap: 0 16px;
		padding: 9px 0 !important;
	}

	.tt-checkout .wc-block-components-order-summary-item__quantity,
	.tt-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
		font-size: 14px !important;
		line-height: 1.4 !important;
	}

	.tt-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
		font-size: 28px !important;
	}

	/* The assurances outside the panel: no panel padding. */
	.tt-checkout .wc-block-checkout__sidebar .tt-cart-assurances__links {
		display: none;
	}

	/* Order received. */
	.tt-order-received__panel {
		align-items: stretch;
		gap: 20px;
		padding: 28px 18px;
	}

	.tt-order-received__panel .wp-block-woocommerce-order-confirmation-status h1 {
		font-size: 28px !important;
	}

	.tt-order-actions {
		flex-direction: column;
	}

	.tt-order-actions__btn {
		justify-content: center;
	}

	.tt-order-received__addresses {
		flex-direction: column;
	}

	.tt-order-received__main .wp-block-woocommerce-order-confirmation-shipping-wrapper,
	.tt-order-received__main .wp-block-woocommerce-order-confirmation-billing-wrapper,
	.tt-order-received__main .wp-block-woocommerce-order-confirmation-downloads-wrapper,
	.tt-order-received__main .wp-block-woocommerce-order-confirmation-additional-fields-wrapper,
	.tt-order-received__main .wp-block-woocommerce-order-confirmation-additional-information:not(:empty) {
		padding: 22px 18px;
	}

	.tt-order-received__summary .wc-block-order-confirmation-totals__table tfoot tr:last-child td {
		font-size: 30px;
	}
}
