/**
 * woocommerce.css — WooCommerce style overrides for WindCodex theme.
 *
 * Tailwind CDN handles utility classes in templates.
 * This file styles WooCommerce's own generated markup (notices, payment
 * gateways, form fields, order tables) that can't use Tailwind directly.
 *
 * @package WindCodex
 */

/* ── Reset / base ───────────────────────────────────────────────────── */
.woocommerce,
.woocommerce-page {
	font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
}

/* ── Notices ────────────────────────────────────────────────────────── */
.woocommerce-notices-wrapper,
.wc-empty-cart-message {
	list-style: none;
	/* padding: 0 1rem; */
	margin: 0 auto 1.5rem;
	max-width: 80rem;
	/* matches max-w-7xl */
	box-sizing: border-box;
	width: 100%;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	border: 1px solid;
	border-radius: 1rem;
	padding: 1rem 1.25rem;
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	align-items: center;
	gap: 0.75rem;
}

.woocommerce-message {
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #166534;
}

.woocommerce-info {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.woocommerce-error {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.checkout-inline-error-message {
	font-size: 12px;
	color: #991b1b;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
	font-weight: 700;
	text-decoration: underline;
}

/* WC appends a <a class="button"> to success messages (e.g. "View Cart") */
.woocommerce-message .button,
.woocommerce-info .button {
	margin-left: auto;
	flex-shrink: 0;
	text-decoration: none;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 0.5rem;
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	white-space: nowrap;
}

.woocommerce-error .button {
	margin-left: auto;
	flex-shrink: 0;
}

/* ── Form labels & inputs (WC-generated markup — global) ────────────── */
.woocommerce form .form-row label,
.woocommerce-form-row label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #475569;
	margin-bottom: 6px;
}

.woocommerce form .form-row .required,
.woocommerce-form-row .required {
	color: #ef4444;
}

.woocommerce form .form-row .woocommerce-input-wrapper,
.woocommerce-form-row .woocommerce-input-wrapper {
	display: block;
	width: 100%;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.woocommerce-form-row input.input-text,
.woocommerce-form-row select,
.woocommerce-form-row textarea {
	width: 100%;
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 0.875rem;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	font-family: 'Space Grotesk', ui-sans-serif, sans-serif;
	color: #0f172a;
	outline: none;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
}

.woocommerce form .form-row input.input-text::placeholder,
.woocommerce-form-row input.input-text::placeholder {
	color: #94a3b8;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
	border-color: #6347eb;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(99, 71, 235, 0.08);
}

.woocommerce form .form-row {
	margin-bottom: 1rem;
}

.woocommerce form .form-row.form-row-first,
.woocommerce form .form-row.form-row-last {
	width: 48%;
	display: inline-block;
	box-sizing: border-box;
}

.woocommerce form .form-row.form-row-first {
	float: left;
}

.woocommerce form .form-row.form-row-last {
	float: right;
}

.woocommerce form .form-row.form-row-wide {
	clear: both;
}

.woocommerce form::after,
.woocommerce-billing-fields::after,
.woocommerce-shipping-fields::after {
	content: '';
	display: table;
	clear: both;
}

/* ── Inline validation messages ─────────────────────────────────────── */
.woocommerce form .form-row .woocommerce-error,
.woocommerce form .form-row.woocommerce-invalid label,
.woocommerce form .form-row.woocommerce-invalid .select2-selection {
	color: #ef4444;
}

.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select {
	border-color: #10b981 !important;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08) !important;
}

/* ── Password ────────────────────────────────────────────────────────── */
.woocommerce-password-strength {
	display: inline-block;
	margin-top: 0.5rem;
	padding: 0.25rem 0.75rem;
	border-radius: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
}

.woocommerce-password-strength.strong {
	background: #d1fae5;
	color: #065f46;
}

.woocommerce-password-strength.good {
	background: #d1fae5;
	color: #065f46;
}

.woocommerce-password-strength.short {
	background: #fee2e2;
	color: #991b1b;
}

.woocommerce-password-strength.bad {
	background: #fef3c7;
	color: #92400e;
}

/* ── Payment section ─────────────────────────────────────────────────── */
#payment {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
}

#payment ul.payment_methods,
.wc_payment_methods.methods {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/* Each payment method card */
.windcodex-payment-item {
	border: 2px solid #e2e8f0;
	border-radius: 1rem;
	overflow: hidden;
	background: #ffffff;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.windcodex-payment-item:not(.is-chosen):hover {
	border-color: #c7d2fe;
	background: #fafbff;
}

.windcodex-payment-item.is-chosen {
	border-color: #6347eb;
	box-shadow: 0 0 0 3px rgba(99, 71, 235, 0.10);
	background: #faf9ff;
}

/* Label row */
.windcodex-payment-label,
.windcodex-payment-item label {
	display: flex !important;
	align-items: center !important;
	width: 100%;
	cursor: pointer;
	background: transparent !important;
}

/* Custom radio dot */
.windcodex-radio-dot {
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

/* Payment box (description / Stripe fields etc.) */
#payment div.payment_box,
.windcodex-payment-item .payment_box {
	background: rgba(99, 71, 235, 0.025);
	border-top: 1px solid rgba(99, 71, 235, 0.12);
	padding: 1rem 1rem 1rem;
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.65;
}

/* Stripe card element sits inside payment_box */
.windcodex-payment-item .payment_box .woocommerce-SavedPaymentMethods-saveNew,
.windcodex-payment-item .payment_box p {
	font-size: 0.8125rem;
	color: #64748b;
	margin-bottom: 0.75rem;
}

/* Gateway icons */
.windcodex-payment-item .payment-method-icon img,
.windcodex-payment-item label img {
	height: 22px;
	width: auto;
	max-width: 56px;
	object-fit: contain;
	vertical-align: middle;
	border-radius: 4px;
}

/* Place order button */
#place_order {
	width: 100%;
	background: linear-gradient(135deg, #6347eb 0%, #5038d4 100%);
	color: #ffffff;
	border: none;
	border-radius: 1rem;
	padding: 1rem 1.5rem;
	font-family: 'Space Grotesk', ui-sans-serif, sans-serif;
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.15s, transform 0.1s, box-shadow 0.15s;
	box-shadow: 0 8px 25px -4px rgba(99, 71, 235, 0.40);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	text-align: center;
	line-height: 1.5;
}

#place_order:hover {
	opacity: 0.92;
	box-shadow: 0 12px 30px -4px rgba(99, 71, 235, 0.45);
}

#place_order:active {
	transform: scale(0.99);
}

#place_order:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	box-shadow: none;
}

#place_order.processing {
	opacity: 0.7;
	cursor: wait;
}

/* ── Checkout review order (div-based, not table) ────────────────────── */
.woocommerce-checkout-review-order-table {
	width: 100%;
}


/* WC coupon remove link inside totals */
.woocommerce-remove-coupon {
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #94a3b8;
	text-decoration: none;
	transition: color 0.15s;
}

.woocommerce-remove-coupon:hover {
	color: #ef4444;
}

/* ── Checkout billing: override WC floats so our grid handles layout ──── */
.woocommerce-checkout .woocommerce-billing-fields .grid .form-row {
	width: 100% !important;
	float: none !important;
	display: block !important;
	margin-bottom: 0;
}

/* Checkout-specific input upgrade: larger padding + bg transition */
.woocommerce-checkout .woocommerce-billing-fields .form-row input.input-text,
.woocommerce-checkout .woocommerce-billing-fields .form-row select {
	padding: 0.8125rem 1rem;
}

.woocommerce-checkout .woocommerce-billing-fields .form-row input.input-text:focus,
.woocommerce-checkout .woocommerce-billing-fields .form-row select:focus {
	background: #fff;
}

.windcodex-checkout-wrap .woocommerce-checkout .woocommerce-billing-fields #billing_country_field {
	margin-top: 0;
}

/* Checkout page subtle background */
.windcodex-checkout-page {
	background-color: #f4f5f9 !important;
}

/* ── My Account navigation — base reset (styles live in navigation.php) ── */
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
	text-decoration: none;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
}

/* ── Order status marks ──────────────────────────────────────────────── */
mark.order-status {
	background: transparent;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.2rem 0.6rem;
	border-radius: 9999px;
}

.order-status-processing {
	background: #dbeafe;
	color: #1e40af;
}

.order-status-completed {
	background: #d1fae5;
	color: #065f46;
}

.order-status-pending {
	background: #fef3c7;
	color: #92400e;
}

.order-status-on-hold {
	background: #fef3c7;
	color: #92400e;
}

.order-status-cancelled {
	background: #fee2e2;
	color: #991b1b;
}

.order-status-refunded {
	background: #f3f4f6;
	color: #6b7280;
}

.order-status-failed {
	background: #fee2e2;
	color: #991b1b;
}

/* ── WC orders table ─────────────────────────────────────────────────── */
table.woocommerce-orders-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

table.woocommerce-orders-table th {
	text-align: left;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #94a3b8;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #e2e8f0;
}

table.woocommerce-orders-table td {
	padding: 1rem 0;
	color: #334155;
	border-bottom: 1px solid #f1f5f9;
	vertical-align: middle;
}

table.woocommerce-orders-table a {
	color: #6347eb;
	font-weight: 600;
	text-decoration: none;
}

table.woocommerce-orders-table a:hover {
	text-decoration: underline;
}

/* ── WC generic buttons ──────────────────────────────────────────────── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: #6347eb;
	color: #ffffff;
	border: none;
	border-radius: 0.75rem;
	padding: 0.625rem 1.25rem;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: opacity 0.15s;
	line-height: 1.5;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	opacity: 0.9;
	color: #ffffff;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: #0f172a;
}

.woocommerce a.button.secondary,
.woocommerce button.button.secondary {
	background: #f1f5f9;
	color: #475569;
}

.woocommerce a.button.secondary:hover {
	background: #e2e8f0;
	color: #334155;
}

/* ── Loading overlay ─────────────────────────────────────────────────── */
.blockUI.blockOverlay {
	background: rgba(255, 255, 255, 0.7) !important;
	cursor: wait !important;
}

/* ── Select2 (WC loads it for country/state dropdowns) ──────────────── */
.select2-container--default .select2-selection--single {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	height: 2.75rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 2.75rem;
	padding-left: 1rem;
	color: #0f172a;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.875rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 2.75rem;
	right: 0.75rem;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
	border-color: #6347eb;
	box-shadow: 0 0 0 3px rgba(99, 71, 235, 0.1);
}

.select2-dropdown {
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.875rem;
	overflow: hidden;
}

.select2-results__option {
	padding: 0.625rem 1rem;
	color: #334155;
}

.select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted[data-selected] {
	background-color: #6347eb;
	color: #ffffff;
}

.select2-search--dropdown .select2-search__field {
	border: 1px solid #e2e8f0;
	border-radius: 0.5rem;
	padding: 0.5rem 0.75rem;
	font-family: 'Space Grotesk', sans-serif;
	outline: none;
}

.select2-search--dropdown .select2-search__field:focus {
	border-color: #6347eb;
}

/* ── Auth pages (login / register) — hide global nav + footer ───────── */
.windcodex-auth-page #wc-navbar,
.windcodex-auth-page footer,
.windcodex-auth-page #wc-mobile-menu {
	display: none !important;
}

.windcodex-auth-page body,
.windcodex-auth-page main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* ── WC Register / account auth forms ─────────────────────────────────── */
.wc-login-wrapper .woocommerce,
.wc-login-wrapper .woocommerce-page {
	padding: 0;
	margin: 0;
}

.woocommerce-form-login,
.woocommerce-form-register {
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
}

/* Remove WC's default fieldset / legend wrapping */
.woocommerce-form-login fieldset,
.woocommerce-form-register fieldset {
	border: none;
	padding: 0;
	margin: 0 0 1rem;
}

.woocommerce-form-login fieldset legend,
.woocommerce-form-register fieldset legend {
	display: none;
}

/* Label style for WC login form — matches React design */
.woocommerce-form-login .form-row label,
.woocommerce-form-register .form-row label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #64748b;
	margin-bottom: 0.5rem;
}

/* Input style for WC login form — white bg, single border, focus ring */
.woocommerce-form-login .form-row input.input-text,
.woocommerce-form-register .form-row input.input-text,
.woocommerce-form-login .form-row input[type="text"],
.woocommerce-form-login .form-row input[type="email"],
.woocommerce-form-login .form-row input[type="password"],
.woocommerce-form-register .form-row input[type="text"],
.woocommerce-form-register .form-row input[type="email"],
.woocommerce-form-register .form-row input[type="password"] {
	width: 100%;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	font-family: 'Space Grotesk', sans-serif;
	color: #0f172a;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
}

.woocommerce-form-login .form-row input.input-text:focus,
.woocommerce-form-login .form-row input[type="text"]:focus,
.woocommerce-form-login .form-row input[type="email"]:focus,
.woocommerce-form-login .form-row input[type="password"]:focus,
.woocommerce-form-register .form-row input.input-text:focus,
.woocommerce-form-register .form-row input[type="text"]:focus,
.woocommerce-form-register .form-row input[type="email"]:focus,
.woocommerce-form-register .form-row input[type="password"]:focus {
	border-color: #6347eb;
	box-shadow: 0 0 0 3px rgba(99, 71, 235, 0.08);
	background: #fff;
}

.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
	margin-bottom: 1rem;
}

/* "Remember me" row */
.woocommerce-form-login .form-row.woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.woocommerce-form-login .form-row.woocommerce-form-login__rememberme label {
	font-size: 0.875rem;
	text-transform: none;
	letter-spacing: 0;
	color: #475569;
	font-weight: 500;
}

.woocommerce-form-login .form-row.woocommerce-form-login__rememberme input[type="checkbox"] {
	accent-color: #6347eb;
	width: 1rem;
	height: 1rem;
}

/* Lost password link inside WC form */
.woocommerce-LostPassword a,
.woocommerce-form-login .lost_password a {
	color: #6347eb;
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
}

.woocommerce-LostPassword a:hover,
.woocommerce-form-login .lost_password a:hover {
	text-decoration: underline;
}

/* WC Login / Register submit buttons */
.woocommerce-form-login .woocommerce-button,
.woocommerce-form-login button[type="submit"],
.woocommerce-form-register .woocommerce-button,
.woocommerce-form-register button[type="submit"] {
	width: 100%;
	background-color: #6347eb;
	color: #ffffff;
	border: none;
	border-radius: 0.75rem;
	padding: 1rem 1.5rem;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.15s;
	box-shadow: 0 10px 25px -5px rgba(99, 71, 235, 0.3);
	display: block;
	text-align: center;
	margin-top: 0.5rem;
	line-height: 1.5;
}

.woocommerce-form-login button[type="submit"]:hover,
.woocommerce-form-register button[type="submit"]:hover {
	opacity: 0.9;
}

/* Privacy policy text */
.woocommerce-privacy-policy-text {
	font-size: 0.75rem;
	color: #94a3b8;
	margin-bottom: 1rem;
	line-height: 1.6;
}

.woocommerce-privacy-policy-text a {
	color: #6347eb;
	font-weight: 600;
}

/* ── Single Product Page ─────────────────────────────────────────────── */
.windcodex-single-product {
	padding-top: 0;
}

/* Pricing tier radio selected state */
.wc-tier-label:has(.wc-tier-radio:checked) {
	border-color: #6347eb !important;
	background: rgba(99, 71, 235, 0.04) !important;
}

/* Sticky pricing card on mobile */
@media (max-width: 1023px) {
	.windcodex-single-product [id$="-card"] {
		position: static;
	}
}

/* ── My Account: improved nav ────────────────────────────────────────── */
.woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
}

/* ── WC notices on product page ──────────────────────────────────────── */
.windcodex-single-product .woocommerce-notices-wrapper {
	margin-bottom: 2rem;
}

/* ── Cart: remove item spinner ───────────────────────────────────────── */
.windcodex-remove-cart-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ── Checkout: billing fields side by side on tablet+ ───────────────── */
@media (min-width: 640px) {

	.woocommerce-billing-fields .form-row-first,
	.woocommerce-billing-fields .form-row-last {
		width: 48%;
	}
}

/* ── Order confirmation / thank-you page ─────────────────────────────── */
.woocommerce-order {
	background: #fff;
	border-radius: 2rem;
	border: 1px solid #e2e8f0;
	padding: 2.5rem;
	margin-top: 2rem;
}

.woocommerce-order-details,
.woocommerce-customer-details {
	margin-top: 2rem;
}

.woocommerce-order-details__title,
.woocommerce-column__title {
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #94a3b8;
	margin-bottom: 1rem;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 0.5rem;
}

.woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
	padding: 0.75rem 0;
	border-bottom: 1px solid #f1f5f9;
	color: #334155;
	text-align: left;
}

.woocommerce-table--order-details tfoot tr:last-child td,
.woocommerce-table--order-details tfoot tr:last-child th {
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	border-bottom: none;
	padding-top: 1rem;
	border-top: 2px solid #e2e8f0;
}

/* Thank you notice */
.woocommerce-thankyou-order-received {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
	border-radius: 1rem;
	padding: 1rem 1.25rem;
	font-weight: 600;
	font-size: 0.875rem;
	margin-bottom: 2rem;
}

/* ── Account edit form ───────────────────────────────────────────────── */
.woocommerce-EditAccountForm .form-row,
.woocommerce-address-fields .form-row {
	margin-bottom: 1.25rem;
}

/* ── Downloads table ─────────────────────────────────────────────────── */
table.woocommerce-table--order-downloads {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

table.woocommerce-table--order-downloads th {
	text-align: left;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #94a3b8;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #e2e8f0;
}

table.woocommerce-table--order-downloads td {
	padding: 0.875rem 0;
	color: #334155;
	border-bottom: 1px solid #f1f5f9;
}

table.woocommerce-table--order-downloads .woocommerce-table__action a {
	color: #6347eb;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.75rem;
}

table.woocommerce-table--order-downloads .woocommerce-table__action a:hover {
	text-decoration: underline;
}

/* ── My Account content area: section headings ───────────────────────── */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 1.25rem;
}

.woocommerce-MyAccount-content h2 {
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}

.woocommerce-MyAccount-content h3 {
	font-size: 1rem;
	margin-top: 1.2rem;
}

/* ── Account edit form (full-width sections inside the content card) ──── */
.woocommerce-EditAccountForm fieldset {
	border: 1px solid #e2e8f0;
	border-radius: 1rem;
	padding: 1.25rem 1.5rem;
	margin: 1.5rem 0;
}

.woocommerce-EditAccountForm fieldset legend {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
	padding: 0 0.5rem;
	background: #fff;
}

/* ── Account: save button ────────────────────────────────────────────── */
.woocommerce-MyAccount-content .woocommerce-Button[type="submit"],
.woocommerce-MyAccount-content button[name="save_account_details"],
.woocommerce-MyAccount-content button[name="save_address"] {
	background-color: #6347eb;
	color: #fff;
	border: none;
	border-radius: 0.75rem;
	padding: 0.75rem 1.75rem;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.15s;
	box-shadow: 0 4px 14px 0 rgba(99, 71, 235, 0.25);
	margin-top: 0.5rem;
}

.woocommerce-MyAccount-content .woocommerce-Button[type="submit"]:hover,
.woocommerce-MyAccount-content button[name="save_account_details"]:hover,
.woocommerce-MyAccount-content button[name="save_address"]:hover {
	opacity: 0.9;
}

/* ── View order details page ─────────────────────────────────────────── */
.woocommerce-order-details {
	margin: 0;
}

/* ── Payment methods table ───────────────────────────────────────────── */
.woocommerce-PaymentMethods {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.woocommerce-PaymentMethods th {
	text-align: left;
	font-size: 0.625rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #94a3b8;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #e2e8f0;
}

.woocommerce-PaymentMethods td {
	padding: 0.875rem 0;
	color: #334155;
	border-bottom: 1px solid #f1f5f9;
}

/* ── Checkout: first/last name on one row (wider screens) ────────────── */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper::after,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper::after {
	content: '';
	display: table;
	clear: both;
}

/* ── Place order button — hide WC's default wrapper border ──────────── */
#order_review_heading {
	display: none;
}

/* ── WC checkout: remove default fieldset border ─────────────────────── */
#customer_details .col-1,
#customer_details .col-2 {
	float: none;
	width: 100%;
}

/* ── Suppress duplicate notices inside account content card ─────────── */
/* Notices are output once above the grid in my-account.php */
.woocommerce-MyAccount-content .woocommerce-notices-wrapper {
	display: none !important;
}

/* ── Woo account: lost password / reset password form ───────────────── */
.woocommerce-ResetPassword .form-row,
.woocommerce-LostPassword .form-row {
	margin-bottom: 1rem;
}

/* ── WC form validation: error inline ───────────────────────────────── */
.woocommerce-invalid-required-field input.input-text,
.woocommerce-form-row.woocommerce-invalid input.input-text {
	border-color: #ef4444 !important;
}

.woocommerce-invalid-required-field label,
.woocommerce-form-row.woocommerce-invalid label {
	color: #ef4444 !important;
}

.woocommerce-validated input.input-text {
	border-color: #10b981 !important;
}

/* ── Checkout: order review table inside sidebar ────────────────────── */
.windcodex-order-review table.woocommerce-checkout-review-order-table thead {
	display: none;
	/* hide Product / Total header row */
}

.windcodex-order-review table.woocommerce-checkout-review-order-table {
	margin-bottom: 1rem;
}

.windcodex-order-review table.woocommerce-checkout-review-order-table tbody .cart_item td {
	padding: 0.5rem 0;
	font-size: 0.8125rem;
}

.windcodex-order-review table.woocommerce-checkout-review-order-table tfoot tr th,
.windcodex-order-review table.woocommerce-checkout-review-order-table tfoot tr td {
	font-size: 0.8125rem;
	padding: 0.5rem 0;
}

.windcodex-order-review table.woocommerce-checkout-review-order-table tfoot .order-total th,
.windcodex-order-review table.woocommerce-checkout-review-order-table tfoot .order-total td {
	font-size: 1.125rem;
	padding-top: 0.875rem;
}

/* -- WCS Subscriptions Recurring Totals */
table.windcodex-recurring-totals {
	width: 100%;
	border-collapse: collapse;
}

.windcodex-recurring-totals tr.recurring-totals th {
	text-align: left;
    --tw-text-opacity: 1;
    color: rgb(100 116 139 / var(--tw-text-opacity, 1));
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 1rem;
    border-color: rgb(241 245 249 / var(--tw-border-opacity, 1));
    background-color: rgb(248 250 252 / 0.8);
	border-bottom-width: 1px;
}

.windcodex-recurring-totals tr.recurring-total th,
.windcodex-recurring-totals tr.recurring-total td {
	font-size: 0.875rem;
	font-weight: 400;
	color: #475569;
	padding: 0.25rem 0;
	border: none;
	text-align: left;
}

.windcodex-recurring-totals tr.recurring-total td {
	text-align: right;
	font-weight: 500;
	color: #0f172a;
}

.windcodex-recurring-totals tr.recurring-total td {
    padding-right: 1rem;
}

.windcodex-recurring-totals tr.recurring-total th {
    padding-left: 1rem;
}


/* ── My Account navigation: reset WC nav defaults ───────────────────── */
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
	text-decoration: none;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
}

/* ── Checkout billing fields: compact two-column grid ───────────────── */
.woocommerce-checkout .woocommerce-billing-fields h3 {
	display: none;
	/* hide "Billing details" heading — we use our own card header */
}

.woocommerce-checkout .woocommerce-billing-fields .form-row {
	margin-bottom: 1rem;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide {
	grid-column: span 2;
}

/* ── Place order button — full-width branded ────────────────────────── */
.windcodex-order-review #place_order {
	margin-bottom: 0.875rem;
	border-radius: 1rem;
	font-size: 0.9375rem;
}

/* ── Checkout: inline validation error messages ─────────────────────── */
.windcodex-error-msg {
	display: block;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #ef4444;
	margin-top: 0.375rem;
	line-height: 1.4;
	animation: windcodex-field-shake 0.22s ease-in-out;
}

@keyframes windcodex-field-shake {

	0%,
	100% {
		transform: translateX(0);
	}

	30% {
		transform: translateX(-5px);
	}

	70% {
		transform: translateX(4px);
	}
}

/* Enhanced invalid field state */
.woocommerce-checkout .form-row.woocommerce-invalid input.input-text,
.woocommerce-checkout .form-row.woocommerce-invalid select,
.woocommerce-checkout .form-row.woocommerce-invalid .select2-selection--single {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.woocommerce-checkout .form-row.woocommerce-invalid label {
	color: #ef4444;
}

/* Valid field state */
.woocommerce-checkout .form-row.windcodex-field-valid input.input-text,
.woocommerce-checkout .form-row.windcodex-field-valid select,
.woocommerce-checkout .form-row.woocommerce-validated input.input-text {
	border-color: #10b981 !important;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08) !important;
}

/* ── Checkout: spacing for billing fields ────────────────────────────── */
.woocommerce-checkout .woocommerce-billing-fields .space-y-1>.form-row {
	margin-bottom: 1rem;
}

.woocommerce-checkout .woocommerce-billing-fields .space-y-1>.form-row:last-child {
	margin-bottom: 0;
}

/* ── Checkout: payment methods list vertical spacing ─────────────────── */
#payment .wc_payment_methods.methods {
	gap: 0.5rem;
}

/* ── Checkout: payment section label text reset ──────────────────────── */
/* ── My Account: payment methods screens ───────────────────────────── */
.windcodex-payment-methods .woocommerce-PaymentBox .form-row,
.windcodex-add-payment-method .woocommerce-PaymentBox .form-row {
	margin-bottom: 1rem;
}

.windcodex-payment-methods .woocommerce-PaymentBox .form-row:last-child,
.windcodex-add-payment-method .woocommerce-PaymentBox .form-row:last-child {
	margin-bottom: 0;
}

.windcodex-payment-methods .woocommerce-PaymentBox .form-row label,
.windcodex-add-payment-method .woocommerce-PaymentBox .form-row label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #334155;
}

.windcodex-payment-methods .woocommerce-PaymentBox input.input-text,
.windcodex-payment-methods .woocommerce-PaymentBox select,
.windcodex-payment-methods .woocommerce-PaymentBox textarea,
.windcodex-add-payment-method .woocommerce-PaymentBox input.input-text,
.windcodex-add-payment-method .woocommerce-PaymentBox select,
.windcodex-add-payment-method .woocommerce-PaymentBox textarea {
	width: 100%;
	border: 1px solid #dbe4f0;
	border-radius: 0.875rem;
	background: #fff;
	color: #0f172a;
	padding: 0.875rem 1rem;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
	transition: border-color 0.15s, box-shadow 0.15s;
}

.windcodex-payment-methods .woocommerce-PaymentBox input.input-text:focus,
.windcodex-payment-methods .woocommerce-PaymentBox select:focus,
.windcodex-payment-methods .woocommerce-PaymentBox textarea:focus,
.windcodex-add-payment-method .woocommerce-PaymentBox input.input-text:focus,
.windcodex-add-payment-method .woocommerce-PaymentBox select:focus,
.windcodex-add-payment-method .woocommerce-PaymentBox textarea:focus {
	border-color: #6347eb;
	box-shadow: 0 0 0 3px rgba(99, 71, 235, 0.12);
	outline: none;
}

.windcodex-payment-methods .woocommerce-PaymentBox .StripeElement,
.windcodex-payment-methods .woocommerce-PaymentBox .wc-stripe-elements-field,
.windcodex-payment-methods .woocommerce-PaymentBox .wc-stripe-iban-element-field,
.windcodex-add-payment-method .woocommerce-PaymentBox .StripeElement,
.windcodex-add-payment-method .woocommerce-PaymentBox .wc-stripe-elements-field,
.windcodex-add-payment-method .woocommerce-PaymentBox .wc-stripe-iban-element-field {
	padding: 0.875rem 1rem !important;
	border: 1px solid #dbe4f0 !important;
	border-radius: 0.875rem !important;
	background: #fff !important;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.windcodex-payment-methods .woocommerce-PaymentBox .StripeElement--focus,
.windcodex-payment-methods .woocommerce-PaymentBox .wc-stripe-elements-field:focus,
.windcodex-payment-methods .woocommerce-PaymentBox .wc-stripe-iban-element-field:focus,
.windcodex-add-payment-method .woocommerce-PaymentBox .StripeElement--focus,
.windcodex-add-payment-method .woocommerce-PaymentBox .wc-stripe-elements-field:focus,
.windcodex-add-payment-method .woocommerce-PaymentBox .wc-stripe-iban-element-field:focus {
	border-color: #6347eb !important;
	box-shadow: 0 0 0 3px rgba(99, 71, 235, 0.12) !important;
}

.windcodex-add-payment-method .woocommerce-PaymentBox p:last-child {
	margin-bottom: 0;
}

.woocommerce-checkout-payment .windcodex-payment-item label {
	font-size: 0.875rem;
	text-transform: none;
	letter-spacing: 0;
}

/* Checkout shell cards and section spacing */
.windcodex-checkout-wrap .windcodex-checkout-step-card {
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);
}

.windcodex-checkout-wrap .windcodex-checkout-step-body>section+section {
	padding-top: 1.25rem;
	border-top: 1px solid #e2e8f0;
	margin-top: 1.25rem;
}

.windcodex-checkout-wrap .windcodex-checkout-step-body h2 {
	letter-spacing: -0.02em;
}

.windcodex-checkout-wrap .windcodex-checkout-step-footer {
	padding-top: 0.25rem;
}

.windcodex-checkout-summary-card,
.windcodex-order-review {
	position: relative;
}

.windcodex-checkout-summary-card>.bg-white,
.windcodex-order-review>.bg-white,
.woocommerce-checkout #payment {
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);
}

.woocommerce-checkout-review-order-table .windcodex-coupon-form {
	margin-top: 0.25rem;
}

.woocommerce-checkout-review-order-table .windcodex-coupon-message {
	min-height: 1rem;
}

.woocommerce-checkout .woocommerce-billing-fields .space-y-6>section {
	padding: 1rem 0 0;
}

.woocommerce-checkout .woocommerce-billing-fields .space-y-6>section:first-child {
	padding-top: 0;
}

.woocommerce-checkout .woocommerce-billing-fields .space-y-6>section+section {
	margin-top: 1rem;
}

.woocommerce-checkout .woocommerce-billing-fields .space-y-6>section h2 {
	font-size: 1.1rem;
}

.woocommerce-checkout .woocommerce-billing-fields .space-y-6>section p {
	line-height: 1.55;
}

.woocommerce-checkout .woocommerce-billing-fields .create-account {
	margin-top: 1rem;
}

.woocommerce-checkout .woocommerce-billing-fields .woocommerce-account-fields {
	padding-top: 0.25rem;
}

.woocommerce-checkout .woocommerce-billing-fields .woocommerce-input-wrapper input.input-text {
	width: 100%;
}

.woocommerce-checkout .woocommerce-billing-fields #billing_country_field {
	margin-top: 1rem;
}

.woocommerce-checkout .woocommerce-billing-fields #billing_country_field .select2-container {
	width: 100% !important;
}

.woocommerce-checkout .woocommerce-billing-fields #billing_country_field .select2-selection--single {
	min-height: 3.25rem;
	border-radius: 0.875rem;
	border: 1px solid #dbe4f0;
	padding: 0.75rem 1rem;
}

.woocommerce-checkout .woocommerce-billing-fields #billing_country_field .select2-selection__rendered {
	padding-left: 0;
	line-height: 1.5;
}

.woocommerce-checkout .woocommerce-billing-fields .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
	right: 0.75rem;
}

.woocommerce-checkout .woocommerce-billing-fields .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout .woocommerce-billing-fields .select2-container--default .select2-selection--single:focus {
	border-color: #6347eb;
	box-shadow: 0 0 0 3px rgba(99, 71, 235, 0.12);
	outline: none;
}

.woocommerce-checkout .woocommerce-billing-fields .windcodex-checkout-label {
	margin-bottom: 0.5rem;
}

.woocommerce-checkout .woocommerce-billing-fields .space-y-6>section .mb-4 {
	margin-bottom: 0.875rem;
}

/* ── Select2: invalid state ──────────────────────────────────────────── */
.woocommerce-checkout .form-row.woocommerce-invalid .select2-container--default .select2-selection--single {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.woocommerce-checkout .woocommerce-billing-fields .form-row {
	margin-bottom: 0;
}

.woocommerce-checkout .woocommerce-billing-fields .form-row .input-text,
.woocommerce-checkout .woocommerce-billing-fields .form-row select,
.woocommerce-checkout .woocommerce-billing-fields .form-row textarea {
	width: 100%;
}

.woocommerce-checkout .woocommerce-billing-fields .form-row label {
	display: block;
}

.woocommerce-checkout .woocommerce-billing-fields .grid>.form-row {
	min-width: 0;
}

.woocommerce-checkout .woocommerce-billing-fields #billing_company_field,
.woocommerce-checkout .woocommerce-billing-fields #billing_address_1_field,
.woocommerce-checkout .woocommerce-billing-fields #billing_address_2_field,
.woocommerce-checkout .woocommerce-billing-fields #billing_city_field,
.woocommerce-checkout .woocommerce-billing-fields #billing_state_field,
.woocommerce-checkout .woocommerce-billing-fields #billing_postcode_field,
.woocommerce-checkout .woocommerce-billing-fields #billing_phone_field,
.woocommerce-checkout .woocommerce-billing-fields #billing_email_field,
.woocommerce-checkout .woocommerce-billing-fields #billing_first_name_field,
.woocommerce-checkout .woocommerce-billing-fields #billing_last_name_field {
	margin-bottom: 0;
}

.woocommerce-checkout .windcodex-payment-methods-shell {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.woocommerce-checkout .windcodex-payment-methods-shell .wc_payment_methods {
	margin-bottom: 0;
}

.woocommerce-checkout #payment .form-row.place-order {
	margin-bottom: 0;
}

.woocommerce-checkout #payment .windcodex-payment-methods-shell+.form-row.place-order {
	margin-top: 0.25rem;
}

/* ── Checkout: remove WC default form-row float inside our grid  ──────── */
.woocommerce-billing-fields .grid .form-row.form-row-first,
.woocommerce-billing-fields .grid .form-row.form-row-last {
	width: 100% !important;
	float: none !important;
	display: block !important;
	margin-bottom: 0 !important;
}

/* ── Address form: field wrapper spacing ─────────────────────────────── */
.woocommerce-address-fields__field-wrapper .form-row {
	margin-bottom: 1rem;
}

.woocommerce-address-fields__field-wrapper .form-row:last-child {
	margin-bottom: 0;
}

/* ── Address form: two-column grid for first/last name on sm+ ────────── */
@media (min-width: 640px) {
	.woocommerce-address-fields__field-wrapper {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 1rem;
	}

	.woocommerce-address-fields__field-wrapper .form-row-wide {
		grid-column: span 2;
	}

	.woocommerce-address-fields__field-wrapper .form-row-first,
	.woocommerce-address-fields__field-wrapper .form-row-last {
		width: 100% !important;
		float: none !important;
		display: block !important;
	}
}

/* ── Account edit form: validation error on custom inputs (inline border) */
.woocommerce-EditAccountForm input.input-error,
.woocommerce-ResetPassword input.input-error {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.woocommerce-EditAccountForm input.input-valid,
.woocommerce-ResetPassword input.input-valid {
	border-color: #10b981 !important;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08) !important;
}

/* ── Coupon message inline in forms ──────────────────────────────────── */
.windcodex-coupon-message {
	font-size: 0.75rem;
	font-weight: 600;
	margin-top: 0.375rem;
}

/* ── Form-row.woocommerce-invalid: consistent red on address/billing ──── */
.form-row.woocommerce-invalid input.input-text,
.form-row.woocommerce-invalid select,
.form-row.woocommerce-invalid .select2-selection--single {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-row.woocommerce-invalid label {
	color: #ef4444;
}

.form-row.woocommerce-validated input.input-text,
.form-row.woocommerce-validated select {
	border-color: #10b981 !important;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08) !important;
}

/* ── Social login plugin compatibility ───────────────────────────────── */

/* Shared divider between social buttons and native form */
.wc-login-wrapper .nsl-container,
.wc-login-wrapper .woocommerce-social-login,
.woocommerce-form-login+.nsl-container,
.woocommerce-form-register+.nsl-container,
.woocommerce-before-customer-login-form .nsl-container {
	margin-bottom: 1.25rem;
}

/* NextendSocialLogin — .nsl-container */
.nsl-container {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin-top: 0;
}

.nsl-container .nsl-container-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.nsl-container-block .nsl-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	width: 100% !important;
	padding: 0.75rem 1rem !important;
	border-radius: 0.75rem !important;
	font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	border: 1px solid #e2e8f0 !important;
	background: #fff !important;
	color: #1e293b !important;
	transition: background 0.15s, box-shadow 0.15s !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
	cursor: pointer;
}

.nsl-container-block .nsl-button:hover {
	background: #f8fafc !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10) !important;
}

.nsl-container-block .nsl-button-icon {
	flex-shrink: 0;
	width: 20px !important;
	height: 20px !important;
}

/* "or" divider injected by NSL */
.nsl-container .nsl-or {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: #94a3b8;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0.25rem 0;
}

.nsl-container .nsl-or::before,
.nsl-container .nsl-or::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e2e8f0;
}

/* SkyVerge WooCommerce Social Login */
.woocommerce-social-login {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin-bottom: 1.25rem;
}

.woocommerce-social-login-section-title {
	font-size: 0.6875rem;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-align: center;
	margin-bottom: 0.25rem;
}

.woocommerce-social-login-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.woocommerce-social-login-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 0.75rem;
	font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
	font-size: 0.875rem;
	font-weight: 600;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #1e293b;
	text-decoration: none;
	transition: background 0.15s, box-shadow 0.15s;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	cursor: pointer;
}

.woocommerce-social-login-button:hover {
	background: #f8fafc;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
	color: #1e293b;
	text-decoration: none;
}

/* "or continue with" divider (windcodex-added or plugin-injected) */
.windcodex-social-divider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: #94a3b8;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 1.25rem 0;
}

.windcodex-social-divider::before,
.windcodex-social-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e2e8f0;
}

/* ── Checkout billing field labels — uppercase bold dark ─────────────── */
.woocommerce-checkout .woocommerce-billing-fields label.windcodex-checkout-label,
.woocommerce-checkout #billing_country_field>label {
	display: block !important;
	font-size: 0.6875rem !important;
	font-weight: 700 !important;
	color: #1e293b !important;
	text-transform: uppercase !important;
	letter-spacing: 0.07em !important;
	margin-bottom: 8px !important;
}

/* Hide required asterisks in checkout billing form */
.woocommerce-checkout .woocommerce-billing-fields .required {
	display: none !important;
}

/* ── Checkout: icon inside input — absolute positioned SVG ──────────── */
.woocommerce-checkout .woocommerce-billing-fields .woocommerce-input-wrapper.relative {
	display: block;
	position: relative;
}

/* Ensure icon SVGs inside relative wrappers are truly absolute */
.woocommerce-checkout .woocommerce-billing-fields .woocommerce-input-wrapper.relative>svg {
	position: absolute !important;
	left: 1rem !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	pointer-events: none !important;
	z-index: 2 !important;
}

/* Country field label match */
.woocommerce-checkout #billing_country_field .select2-selection--single {
	padding-left: 1rem;
	height: auto;
	min-height: 52px;
	display: flex;
	align-items: center;
}

.woocommerce-checkout #billing_country_field .select2-selection__rendered {
	line-height: 1.5;
	padding: 0;
}

@media (max-width: 1023px) {
	.windcodex-checkout-summary-card {
		position: static !important;
		top: auto !important;
	}
}

@media (max-width: 639px) {

	.woocommerce-notices-wrapper,
	.wc-empty-cart-message {
		padding: 0;
		margin-bottom: 1rem;
	}

	.windcodex-coupon-form {
		flex-direction: column;
	}

	.windcodex-coupon-form .apply-coupon,
	.windcodex-coupon-form button,
	.windcodex-coupon-form input {
		width: 100%;
	}

	.woocommerce-checkout-review-order-table .windcodex-coupon-form {
		flex-direction: column;
	}

	.woocommerce-checkout-review-order-table .windcodex-coupon-form .apply-coupon,
	.woocommerce-checkout-review-order-table .windcodex-coupon-form button,
	.woocommerce-checkout-review-order-table .windcodex-coupon-form input {
		width: 100%;
	}

	.windcodex-checkout-step-card,
	.windcodex-checkout-summary-card,
	.cart_totals>div {
		border-radius: 1.5rem !important;
	}

	/* .woocommerce-checkout-review-order-table .flex.justify-between.items-start,
	.woocommerce-checkout-review-order-table .flex.justify-between.items-center {
		flex-direction: column;
		align-items: flex-start;
	} */

	.woocommerce-checkout-review-order-table .flex.justify-between.items-start> :last-child,
	.woocommerce-checkout-review-order-table .flex.justify-between.items-center> :last-child {
		align-self: flex-end;
		text-align: right;
	}

	.woocommerce-checkout #payment .form-row.place-order .button {
		font-size: 1rem;
		padding-top: 0.95rem;
		padding-bottom: 0.95rem;
	}
}