/**
 * Payment screens only: checkout, order-pay, thank-you, cart.
 */

:root {
	--fab-bg: #f5f7fb;
	--fab-navy: #0c1b33;
	--fab-text: #122033;
	--fab-muted: #5c6b82;
	--fab-line: #e5e7eb;
	--fab-blue: #1d4ed8;
	--fab-blue-dark: #1e40af;
	--fab-card: #ffffff;
	--fab-radius: 12px;
	--fab-max: 1100px;
	--fab-font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--woocommerce: #1d4ed8;
	--wc-primary: #1d4ed8;
	--wc-primary-text: #ffffff;
	--wc-form-border-color: #d7deea;
	--wc-form-border-radius: 8px;
}

.woocommerce,
.woocommerce-page {
	color: var(--fab-text);
	font-family: var(--fab-font);
}

.pay-intro {
	margin: 0 0 28px;
}

.pay-intro h1,
.thankyou-title {
	margin: 0;
	color: var(--fab-text);
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.pay-intro p {
	margin: 8px 0 0;
	color: var(--fab-muted);
	font-size: 1.05rem;
}

.customer-summary {
	margin: 0 0 28px;
}

.customer-summary-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 16px;
}

.customer-summary-card {
	background: var(--fab-card);
	border: 1px solid var(--fab-line);
	border-radius: var(--fab-radius);
	padding: 22px 24px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.customer-summary-card--billing {
	width: 100%;
}

.customer-summary-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
}

.customer-summary-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding-right: 4px;
}

.customer-summary-text {
	flex: 1;
	min-width: 0;
}

.customer-summary-illustration {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-right: 4px;
}

.customer-summary-illustration img {
	display: block;
	width: 110px;
	height: 110px;
	object-fit: contain;
}

.customer-summary-label {
	margin: 0;
	color: var(--fab-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.customer-summary-card--billing > .customer-summary-label {
	margin: 0 0 12px;
}

.customer-summary-edit {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--fab-blue);
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.customer-summary-edit:hover,
.customer-summary-edit:focus-visible {
	color: var(--fab-blue-dark);
	text-decoration: underline;
	text-underline-offset: 2px;
	outline: none;
}

body.threedfab-modal-open {
	overflow: hidden;
}

.threedfab-modal[hidden] {
	display: none !important;
}

.threedfab-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.threedfab-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 27, 51, 0.45);
}

.threedfab-modal__panel {
	position: relative;
	z-index: 1;
	width: min(100%, 520px);
	max-height: min(90vh, 720px);
	overflow: auto;
	background: var(--fab-card);
	border: 1px solid var(--fab-line);
	border-radius: var(--fab-radius);
	box-shadow: 0 16px 40px rgba(16, 24, 40, 0.18);
	padding: 20px 22px 22px;
}

.threedfab-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.threedfab-modal__title {
	margin: 0;
	color: var(--fab-text);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}

.threedfab-modal__close {
	margin: 0;
	padding: 0 4px;
	border: 0;
	background: none;
	color: var(--fab-muted);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.threedfab-modal__close:hover,
.threedfab-modal__close:focus-visible {
	color: var(--fab-text);
	outline: none;
}

.threedfab-edit-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 14px;
}

.threedfab-field {
	margin: 0;
}

.threedfab-field--full {
	grid-column: 1 / -1;
}

.threedfab-field--check {
	margin-bottom: 12px;
}

.threedfab-field--check label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--fab-text);
	font-size: 0.95rem;
	font-weight: 500;
	cursor: pointer;
}

.threedfab-field label {
	display: block;
	margin-bottom: 6px;
	color: var(--fab-muted);
	font-size: 0.8rem;
	font-weight: 600;
}

.threedfab-field input[type="text"],
.threedfab-field input[type="email"],
.threedfab-field input[type="tel"],
.threedfab-field select {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #d7deea;
	border-radius: 8px;
	background: #fff;
	color: var(--fab-text);
	font-family: inherit;
	font-size: 0.98rem;
	box-sizing: border-box;
}

.threedfab-field input:focus,
.threedfab-field select:focus {
	border-color: var(--fab-blue);
	outline: 2px solid rgba(29, 78, 216, 0.15);
	outline-offset: 0;
}

.threedfab-field input:disabled,
.threedfab-field select:disabled {
	background: #f3f5f9;
	color: var(--fab-muted);
	cursor: not-allowed;
}

.threedfab-modal__actions {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.threedfab-btn {
	min-height: 42px;
	padding: 0 16px;
	border-radius: 8px;
	border: 1px solid transparent;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
}

.threedfab-btn--ghost {
	background: #fff;
	border-color: var(--fab-line);
	color: var(--fab-text);
}

.threedfab-btn--ghost:hover,
.threedfab-btn--ghost:focus-visible {
	border-color: #c5cede;
	outline: none;
}

.threedfab-btn--primary {
	background: var(--fab-blue);
	border-color: var(--fab-blue);
	color: #fff;
}

.threedfab-btn--primary:hover,
.threedfab-btn--primary:focus-visible {
	background: var(--fab-blue-dark);
	border-color: var(--fab-blue-dark);
	outline: none;
}

.customer-summary-line {
	margin: 0 0 6px;
	color: var(--fab-text);
	font-size: 0.98rem;
	line-height: 1.45;
}

.customer-summary-line:last-child {
	margin-bottom: 0;
}

.customer-summary-line a {
	color: var(--fab-text);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.customer-summary-line a:hover {
	color: var(--fab-blue);
}

.customer-summary-same {
	color: var(--fab-muted);
	font-style: italic;
}

.pay-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
	gap: 28px;
	align-items: start;
}

.pay-summary,
.pay-methods {
	min-width: 0;
}

.pay-section-title {
	margin: 0 0 12px;
	font-size: 1rem;
	font-weight: 700;
}

.pay-card,
.woocommerce-checkout-review-order-table,
#payment.woocommerce-checkout-payment,
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
.cart_totals {
	background: var(--fab-card);
	border: 1px solid var(--fab-line);
	border-radius: var(--fab-radius);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.pay-card {
	overflow: hidden;
}

.woocommerce table.shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-radius: 0;
	background: transparent;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid #eef2f7;
	background: transparent;
	vertical-align: top;
}

.woocommerce table.shop_table thead th {
	color: var(--fab-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: left;
	text-transform: uppercase;
}

.woocommerce table.shop_table td.product-quantity,
.woocommerce table.shop_table td.product-subtotal,
.woocommerce table.shop_table td.product-total,
.woocommerce table.shop_table th.product-quantity,
.woocommerce table.shop_table th.product-total {
	text-align: right;
	white-space: nowrap;
}

.pay-product-name {
	display: inline-block;
	margin-bottom: 8px;
	color: var(--fab-text);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
}

.woocommerce .wc-item-meta,
.woocommerce dl.variation {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce .wc-item-meta li,
.woocommerce dl.variation {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	margin: 0;
	padding: 7px 0;
	border-top: 1px solid #eef2f7;
	color: var(--fab-text);
	font-size: 0.92rem;
	line-height: 1.4;
}

.woocommerce .wc-item-meta li p,
.woocommerce dl.variation dd,
.woocommerce dl.variation dd p {
	margin: 0;
	flex: 1 1 140px;
	overflow-wrap: anywhere;
	text-align: right;
}

.woocommerce .wc-item-meta-label,
.woocommerce dl.variation dt {
	color: var(--fab-muted);
	font-weight: 500;
}

.woocommerce table.shop_table tfoot th {
	color: var(--fab-muted);
	font-weight: 500;
	text-align: left;
}

.woocommerce table.shop_table tfoot td {
	text-align: right;
	font-weight: 600;
}

.woocommerce table.shop_table tr.order-total th,
.woocommerce table.shop_table tr.order-total td {
	padding-top: 18px;
	padding-bottom: 18px;
	border-bottom: 0;
	color: var(--fab-text);
}

.woocommerce table.shop_table tr.order-total th {
	font-size: 1.125rem;
	font-weight: 700;
}

.woocommerce table.shop_table tr.order-total td,
.woocommerce table.shop_table tr.order-total .woocommerce-Price-amount {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
}

.woocommerce table.shop_table tr.order-total small,
.woocommerce table.shop_table tr.order-total .includes_tax {
	display: block;
	margin-top: 4px;
	color: var(--fab-muted);
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.4;
}

#payment .wc_payment_methods,
.woocommerce-checkout-payment .wc_payment_methods {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 0;
}

#payment .wc_payment_method,
.woocommerce-checkout-payment .wc_payment_method {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 12px;
	align-items: center;
	margin: 0;
	padding: 16px 18px;
	border-bottom: 1px solid var(--fab-line);
	background: #fff;
}

#payment .wc_payment_method:has(.input-radio:checked),
.woocommerce-checkout-payment .wc_payment_method:has(.input-radio:checked) {
	background: #f4f7ff;
	box-shadow: inset 3px 0 0 var(--fab-blue);
}

#payment .wc_payment_method .input-radio,
.woocommerce-checkout-payment .wc_payment_method .input-radio {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--fab-blue);
}

#payment .wc_payment_method > label,
.woocommerce-checkout-payment .wc_payment_method > label {
	display: flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	color: var(--fab-text);
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
}

#payment .payment_box,
.woocommerce-checkout-payment .payment_box {
	grid-column: 1 / -1;
	margin: 8px 0 0;
	padding: 12px 14px;
	background: #f8fafc;
	color: var(--fab-muted);
	border-radius: 8px;
	font-size: 0.92rem;
}

#payment .payment_box p:last-child,
.woocommerce-checkout-payment .payment_box p:last-child {
	margin-bottom: 0;
}

#payment .form-row,
.woocommerce-checkout-payment .place-order {
	padding: 16px 18px 18px;
	margin: 0;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	margin: 0;
	padding: 12px 18px;
	background: var(--fab-blue);
	color: #fff;
	border: 0;
	border-radius: 10px;
	box-shadow: none;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-shadow: none;
	cursor: pointer;
}

.woocommerce #payment #place_order:hover,
.woocommerce-page #payment #place_order:hover {
	background: var(--fab-blue-dark);
	color: #fff;
}

.woocommerce #payment #place_order:focus-visible,
.woocommerce-page #payment #place_order:focus-visible {
	outline: 2px solid var(--fab-blue);
	outline-offset: 3px;
}

.woocommerce form .form-row {
	margin: 0 0 14px;
	padding: 0;
}

.woocommerce form .form-row label {
	display: block;
	margin: 0 0 6px;
	color: var(--fab-text);
	font-weight: 600;
	line-height: 1.3;
}

.woocommerce form .form-row .required {
	color: #991b1b;
	text-decoration: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .select2-container .select2-selection--single {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	background: #fff;
	color: var(--fab-text);
	border: 1px solid #d7deea;
	border-radius: 8px;
	box-shadow: none;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
}

.woocommerce form .form-row textarea {
	min-height: 120px;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row .select2-container--focus .select2-selection--single,
.woocommerce form .form-row .select2-container--open .select2-selection--single {
	border-color: var(--fab-blue);
	outline: 2px solid rgba(29, 78, 216, 0.28);
	outline-offset: 1px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	padding-left: 0;
	line-height: 24px;
	color: var(--fab-text);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
}

.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields {
	margin-bottom: 16px;
	padding: 20px 22px 8px;
}

.woocommerce form.checkout .col2-set,
.woocommerce form.checkout .col2-set .col-1,
.woocommerce form.checkout .col2-set .col-2 {
	float: none;
	width: 100%;
}

body.threedfab-checkout form.checkout.woocommerce-checkout {
	display: block;
}

#order_review_heading {
	margin: 8px 0 12px;
	font-size: 1rem;
	font-weight: 700;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-notice--error,
.woocommerce .woocommerce-notice--success,
.woocommerce .woocommerce-notice--info {
	position: relative;
	max-width: 100%;
	margin: 0 0 16px;
	padding: 14px 16px;
	list-style: none;
	background-image: none;
	border-radius: 10px;
	border-style: solid;
	border-width: 1px;
	outline: 0;
	overflow-wrap: anywhere;
}

.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-notice::before {
	display: none;
}

.woocommerce-error,
.woocommerce-error li,
.woocommerce-notice--error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.woocommerce-info,
.woocommerce-info li,
.woocommerce-notice--info {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1e3a8a;
}

.woocommerce-message,
.woocommerce-message li,
.woocommerce-notice--success {
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #166534;
}

.woocommerce-error a,
.woocommerce-message a,
.woocommerce-info a {
	color: inherit;
	font-weight: 600;
}

.thankyou-card {
	display: block;
	width: 100%;
	max-width: min(560px, calc(100vw - 32px));
	margin: 8px auto;
	padding: 36px 28px 32px;
	background: var(--fab-card);
	border: 1px solid var(--fab-line);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	text-align: center;
	overflow-wrap: anywhere;
	box-sizing: border-box;
}

.thankyou-mark {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 14px;
	background: #ecfdf3;
	color: #166534;
	border-radius: 50%;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
}

.thankyou-card .woocommerce-thankyou-order-received,
.thankyou-note,
.thankyou-card > p,
.thankyou-card .woocommerce-thankyou-order-received {
	display: inline-block;
	max-width: min(26rem, 100%);
	white-space: normal;
	overflow-wrap: anywhere;
	vertical-align: top;
}

.thankyou-card .woocommerce-thankyou-order-received {
	margin-top: 10px;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--fab-muted);
}

.woocommerce ul.order_details.woocommerce-order-overview {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 22px 0 8px;
	padding: 0;
	list-style: none;
	text-align: left;
}

.woocommerce ul.order_details.woocommerce-order-overview::before,
.woocommerce ul.order_details.woocommerce-order-overview::after {
	display: none;
	content: none;
}

.woocommerce ul.order_details.woocommerce-order-overview li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	float: none;
	width: auto;
	min-width: 0;
	max-width: 100%;
	margin: 0;
	padding: 12px 0;
	border: 0;
	border-top: 1px solid var(--fab-line);
	font-size: 0.92rem;
	line-height: 1.4;
	text-transform: none;
}

.woocommerce ul.order_details.woocommerce-order-overview li strong {
	display: inline;
	flex: 1 1 auto;
	margin: 0;
	font-size: 1em;
	font-weight: 700;
	line-height: 1.4;
	text-align: right;
	text-transform: none;
	overflow-wrap: anywhere;
}

.woocommerce ul.wc-bacs-bank-details {
	margin: 16px 0;
	padding: 12px 14px;
	list-style: none;
	background: #f8fafc;
	border-radius: 8px;
	text-align: left;
}

.thankyou-note {
	margin: 18px 0 20px;
	color: var(--fab-muted);
}

.thankyou-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	padding: 12px 18px;
	background: var(--fab-blue);
	color: #fff;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
}

.thankyou-back:hover,
.thankyou-back:focus-visible {
	background: var(--fab-blue-dark);
	color: #fff;
}

.woocommerce-verify-email {
	max-width: 480px;
	margin: 8px auto;
	padding: 28px 24px 18px;
	background: var(--fab-card);
	border: 1px solid var(--fab-line);
	border-radius: var(--fab-radius);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.woocommerce-verify-email .button,
.woocommerce-verify-email button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	background: var(--fab-blue);
	color: #fff;
	border: 0;
	border-radius: 10px;
	font-weight: 600;
	cursor: pointer;
}

.woocommerce-verify-email .button:hover,
.woocommerce-verify-email button[type="submit"]:hover {
	background: var(--fab-blue-dark);
	color: #fff;
}

.wc-block-checkout,
.wc-block-cart {
	font-family: var(--fab-font);
}

.wc-block-components-button,
.wc-block-components-checkout-place-order-button {
	min-height: 54px;
	border-radius: 10px;
	font-weight: 600;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .components-combobox-control__input {
	min-height: 48px;
	border-color: #d7deea;
	border-radius: 8px;
}

@media (min-width: 901px) {
	body.threedfab-checkout form.checkout.woocommerce-checkout {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
		column-gap: 28px;
		align-items: start;
	}

	body.threedfab-checkout #customer_details {
		grid-column: 1;
		grid-row: 1 / span 4;
	}

	body.threedfab-checkout #order_review_heading {
		grid-column: 2;
		grid-row: 1;
		margin-top: 0;
	}

	body.threedfab-checkout #order_review {
		grid-column: 2;
		grid-row: 2;
	}
}

@media (max-width: 900px) {
	.pay-layout,
	body.threedfab-checkout form.checkout.woocommerce-checkout {
		display: block;
	}

	.customer-summary-grid {
		grid-template-columns: 1fr;
	}

	.threedfab-edit-grid {
		grid-template-columns: 1fr;
	}

	.threedfab-modal__actions {
		flex-direction: column-reverse;
	}

	.threedfab-btn {
		width: 100%;
	}

	.pay-methods {
		margin-top: 8px;
	}

	.pay-intro h1,
	.thankyou-title {
		font-size: 1.6rem;
	}

	.woocommerce table.shop_table tr.order-total td,
	.woocommerce table.shop_table tr.order-total .woocommerce-Price-amount {
		font-size: 1.625rem;
	}
}

@media (max-width: 700px) {
	.customer-summary-content {
		gap: 16px;
	}

	.customer-summary-illustration img {
		width: 76px;
		height: 76px;
	}

	.threedfab-order-pay .shop_table thead {
		display: none;
	}

	.threedfab-order-pay .shop_table,
	.threedfab-order-pay .shop_table tbody {
		display: block;
		width: auto;
	}

	.threedfab-order-pay .shop_table tbody tr {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
	}

	.threedfab-order-pay .shop_table tbody td.product-name {
		flex: 1 0 100%;
		padding-bottom: 6px;
		border-bottom: 0;
	}

	.threedfab-order-pay .shop_table tbody td.product-quantity,
	.threedfab-order-pay .shop_table tbody td.product-subtotal {
		width: auto;
		padding-top: 0;
		border-bottom: 0;
	}

	.threedfab-order-pay .shop_table tbody td.product-quantity {
		flex: 1;
		text-align: left;
	}

	.threedfab-order-pay .shop_table tbody td.product-subtotal {
		flex: 0 0 auto;
		text-align: right;
	}

	.threedfab-order-pay .shop_table tfoot tr {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 12px;
	}

	.threedfab-order-pay .shop_table tfoot th,
	.threedfab-order-pay .shop_table tfoot td {
		display: block;
		width: auto;
		padding-left: 16px;
		padding-right: 16px;
	}

	.woocommerce .wc-item-meta li p,
	.woocommerce dl.variation dd,
	.woocommerce dl.variation dd p {
		flex-basis: 100%;
		text-align: left;
	}

	.thankyou-card {
		padding: 28px 18px 22px;
	}

	.woocommerce ul.order_details.woocommerce-order-overview li {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.woocommerce ul.order_details.woocommerce-order-overview li strong {
		flex-basis: auto;
		text-align: left;
	}
}

/* My Account -------------------------------------------------------------- */

body.threedfab-account .account-hello {
	margin: 0 0 12px;
	color: var(--fab-text);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
}

body.threedfab-account .woocommerce-MyAccount-content > p a,
body.threedfab-account .woocommerce-LostPassword a,
body.threedfab-account .woocommerce-MyAccount-content .woocommerce-Address-title a {
	color: var(--fab-blue);
	font-weight: 600;
}

body.logged-in.threedfab-account .woocommerce {
	display: block;
	width: 100%;
	max-width: none;
}

body.logged-in.threedfab-account .woocommerce-MyAccount-navigation,
body.logged-in.threedfab-account .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	max-width: none;
	min-width: 0;
}

@media (min-width: 901px) {
	body.logged-in.threedfab-account .woocommerce {
		display: grid;
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 28px;
		align-items: start;
	}

	body.logged-in.threedfab-account .woocommerce::before,
	body.logged-in.threedfab-account .woocommerce::after {
		content: none;
		display: none;
	}

	body.logged-in.threedfab-account .woocommerce-MyAccount-navigation {
		grid-column: 1;
		grid-row: 1;
	}

	body.logged-in.threedfab-account .woocommerce-MyAccount-content {
		grid-column: 2;
		grid-row: 1;
	}
}

body.threedfab-account .woocommerce-MyAccount-navigation ul {
	width: 100%;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--fab-card);
	border: 1px solid var(--fab-line);
	border-radius: var(--fab-radius);
	box-sizing: border-box;
}

body.threedfab-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	border: 0;
}

body.threedfab-account .woocommerce-MyAccount-navigation a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 14px;
	color: var(--fab-text);
	border-radius: 8px;
	text-decoration: none;
}

body.threedfab-account .woocommerce-MyAccount-navigation li.is-active a,
body.threedfab-account .woocommerce-MyAccount-navigation a:hover,
body.threedfab-account .woocommerce-MyAccount-navigation a:focus-visible {
	background: #f4f7ff;
	color: var(--fab-blue);
	font-weight: 600;
}

body.threedfab-account .woocommerce-MyAccount-content {
	min-width: 0;
	padding: 28px 24px;
	background: var(--fab-card);
	border: 1px solid var(--fab-line);
	border-radius: var(--fab-radius);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	overflow-wrap: break-word;
}

body.threedfab-account:not(.logged-in) .woocommerce {
	width: min(440px, 100%);
	margin-right: auto;
	margin-left: auto;
}

body.threedfab-account:not(.logged-in) .woocommerce:has(#customer_login) {
	width: min(920px, 100%);
}

body.threedfab-account:not(.logged-in) .woocommerce:not(:has(#customer_login)) {
	padding: 28px 24px 20px;
	background: var(--fab-card);
	border: 1px solid var(--fab-line);
	border-radius: var(--fab-radius);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

body.threedfab-account #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

body.threedfab-account #customer_login::before,
body.threedfab-account #customer_login::after,
body.threedfab-account .woocommerce-Addresses::before,
body.threedfab-account .woocommerce-Addresses::after {
	display: none;
	content: none;
}

body.threedfab-account #customer_login .u-column1,
body.threedfab-account #customer_login .u-column2,
body.threedfab-account #customer_login .col-1,
body.threedfab-account #customer_login .col-2 {
	float: none;
	width: auto;
	max-width: none;
	padding: 28px 24px 20px;
	background: var(--fab-card);
	border: 1px solid var(--fab-line);
	border-radius: var(--fab-radius);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

body.threedfab-account .woocommerce-ResetPassword .form-row-first,
body.threedfab-account .woocommerce-ResetPassword .form-row-last {
	float: none;
	width: 100%;
}

body.threedfab-account .woocommerce-form-login button[name="login"],
body.threedfab-account .woocommerce-form-register button[name="register"],
body.threedfab-account .woocommerce-ResetPassword button[type="submit"],
body.threedfab-account .woocommerce-EditAccountForm button[type="submit"],
body.threedfab-account .woocommerce-address-fields button[type="submit"],
body.threedfab-account .woocommerce-orders-table .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	background: var(--fab-blue);
	color: #fff;
	border: 0;
	border-radius: 10px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

body.threedfab-account .woocommerce-form-login button[name="login"],
body.threedfab-account .woocommerce-form-register button[name="register"],
body.threedfab-account .woocommerce-ResetPassword button[type="submit"] {
	width: 100%;
}

body.threedfab-account .woocommerce-form-login .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 14px;
}

body.threedfab-account .woocommerce-form-login button[name="login"]:hover,
body.threedfab-account .woocommerce-form-register button[name="register"]:hover,
body.threedfab-account .woocommerce-ResetPassword button[type="submit"]:hover,
body.threedfab-account .woocommerce-EditAccountForm button[type="submit"]:hover,
body.threedfab-account .woocommerce-address-fields button[type="submit"]:hover,
body.threedfab-account .woocommerce-orders-table .button:hover,
body.threedfab-account .woocommerce-form-login button[name="login"]:focus-visible,
body.threedfab-account .woocommerce-form-register button[name="register"]:focus-visible,
body.threedfab-account .woocommerce-ResetPassword button[type="submit"]:focus-visible,
body.threedfab-account .woocommerce-EditAccountForm button[type="submit"]:focus-visible,
body.threedfab-account .woocommerce-address-fields button[type="submit"]:focus-visible,
body.threedfab-account .woocommerce-orders-table .button:focus-visible {
	background: var(--fab-blue-dark);
	color: #fff;
}

body.threedfab-account .woocommerce-orders-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

body.threedfab-account .woocommerce-orders-table th,
body.threedfab-account .woocommerce-orders-table td {
	padding: 12px 10px;
	border-bottom: 1px solid var(--fab-line);
	text-align: left;
	vertical-align: middle;
}

body.threedfab-account .woocommerce-orders-table th {
	color: var(--fab-muted);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
}

body.threedfab-account .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

body.threedfab-account .woocommerce-Address-title h2,
body.threedfab-account .woocommerce-Address-title h3 {
	float: none;
	margin: 0 0 8px;
	font-size: 1.15rem;
	line-height: 1.3;
	overflow-wrap: normal;
	word-break: normal;
}

body.threedfab-account .woocommerce-Address {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--fab-line);
	border-radius: 10px;
}

body.threedfab-account .woocommerce-order-details,
body.threedfab-account .woocommerce-customer-details {
	margin-top: 8px;
}

body.threedfab-account .woocommerce-table--order-details {
	width: 100%;
}

body.threedfab-account .wc-item-meta {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

body.threedfab-account .wc-item-meta li {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin: 0;
	padding: 4px 0;
}

@media (max-width: 900px) {
	body.threedfab-account .woocommerce-MyAccount-navigation {
		margin-bottom: 16px;
	}

	body.threedfab-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
	}

	body.threedfab-account .woocommerce-MyAccount-navigation li {
		flex: 1 1 auto;
	}
}

@media (max-width: 1100px) {
	body.threedfab-account .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	body.threedfab-account #customer_login {
		grid-template-columns: 1fr;
	}

	body.threedfab-account .form-row-first,
	body.threedfab-account .form-row-last {
		float: none;
		width: 100%;
	}

	body.threedfab-account .woocommerce-MyAccount-content {
		padding: 20px 16px;
	}

	body.threedfab-account table.shop_table_responsive thead {
		display: none;
	}

	body.threedfab-account table.shop_table_responsive,
	body.threedfab-account table.shop_table_responsive tbody,
	body.threedfab-account table.shop_table_responsive tr,
	body.threedfab-account table.shop_table_responsive td {
		display: block;
		width: 100% !important;
	}

	body.threedfab-account table.shop_table_responsive tr {
		margin: 0 0 12px;
		padding: 8px 12px;
		border: 1px solid var(--fab-line);
		border-radius: 10px;
	}

	body.threedfab-account table.shop_table_responsive td {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 8px 0;
		border: 0;
		text-align: right;
	}

	body.threedfab-account table.shop_table_responsive td::before {
		content: attr(data-title);
		float: none;
		font-weight: 600;
		text-align: left;
	}

	body.threedfab-account table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions {
		justify-content: flex-end;
	}

	body.threedfab-account table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions::before {
		content: none;
	}
}
