/**
 * CoolXpert single-product exact Payment selector.
 *
 * Every selector is scoped to the payment component so the theme's existing
 * product image, summary, header, footer, and WooCommerce widths remain in
 * control of the active theme.
 */

.cxcs-single-payment {
	--cxcs-surface: #ffffff;
	--cxcs-surface-soft: #f4f9fd;
	--cxcs-surface-blue: #eef8ff;
	--cxcs-border: #d7e3ee;
	--cxcs-border-strong: #b7c6d3;
	--cxcs-text: #102b4b;
	--cxcs-text-muted: #526a82;
	--cxcs-primary: #0877c9;
	--cxcs-primary-strong: #075f9e;
	--cxcs-primary-soft: #e6f3fa;
	--cxcs-cyan: #0789a5;
	--cxcs-focus: #0b63ce;
	display: block;
	width: 100%;
	max-width: 100%;
	inline-size: 100%;
	max-inline-size: 100%;
	min-inline-size: 0;
	margin: 1.1rem 0 1.6rem;
	overflow-x: clip;
	color: var(--cxcs-text);
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.cxcs-single-payment,
.cxcs-single-payment *,
.cxcs-single-payment *::before,
.cxcs-single-payment *::after {
	box-sizing: border-box;
}

.cxcs-single-payment [hidden] {
	display: none !important;
}

.cxcs-single-payment .cxcs-single-payment__tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-inline-size: 0;
	max-inline-size: 100%;
	border: 1px solid var(--cxcs-border);
	border-block-end: 0;
	border-radius: 0.75rem 0.75rem 0 0;
	overflow: hidden;
	background: var(--cxcs-surface-soft);
}

.cxcs-single-payment .cxcs-single-payment__tab {
	min-block-size: 3.25rem;
	padding: 0.75rem 1rem;
	border: 0;
	border-block-end: 3px solid transparent;
	background: transparent;
	color: var(--cxcs-text-muted);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 800;
	cursor: pointer;
}

.cxcs-single-payment .cxcs-single-payment__tab + .cxcs-single-payment__tab {
	border-inline-start: 1px solid var(--cxcs-border);
}

.cxcs-single-payment .cxcs-single-payment__tab.is-active {
	border-block-end-color: var(--cxcs-cyan);
	background: var(--cxcs-surface);
	color: var(--cxcs-primary-strong);
}

.cxcs-single-payment .cxcs-single-payment__tab:focus-visible {
	position: relative;
	z-index: 1;
	outline: 3px solid var(--cxcs-focus);
	outline-offset: -3px;
}

.cxcs-single-payment .cxcs-single-payment__tab:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.cxcs-single-payment .cxcs-single-payment__form {
	min-inline-size: 0;
	max-inline-size: 100%;
	margin: 0 !important;
	padding: 1rem;
	border: 1px solid var(--cxcs-border);
	border-radius: 0 0 0.75rem 0.75rem;
	background: var(--cxcs-surface);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 14px rgba(16, 24, 40, 0.04);
}

.cxcs-single-payment .cxcs-single-payment__panel {
	margin: 0;
}

.cxcs-single-payment .cxcs-single-payment__cash-card,
.cxcs-single-payment .cxcs-single-payment__credit-card {
	position: relative;
	display: grid;
	align-items: center;
	gap: 0.35rem 0.75rem;
	min-inline-size: 0;
	max-inline-size: 100%;
	margin: 0;
	border: 1px solid var(--cxcs-border-strong);
	border-radius: 0.625rem;
	background: var(--cxcs-surface);
	color: var(--cxcs-text);
	cursor: pointer;
}

.cxcs-single-payment .cxcs-single-payment__cash-card {
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 1rem;
}

.cxcs-single-payment .cxcs-single-payment__cash-card > span:first-of-type {
	display: grid;
	min-inline-size: 0;
	gap: 0.15rem;
	overflow-wrap: anywhere;
}

.cxcs-single-payment .cxcs-single-payment__cash-card strong {
	color: var(--cxcs-primary-strong);
	font-size: 0.9rem;
}

.cxcs-single-payment .cxcs-single-payment__cash-card small {
	color: var(--cxcs-text-muted);
	font-size: 0.75rem;
}

.cxcs-single-payment .cxcs-single-payment__amount {
	min-inline-size: 0;
	color: var(--cxcs-primary-strong);
	font-size: clamp(1.1rem, 2.5vw, 1.35rem);
	font-weight: 850;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.cxcs-single-payment .cxcs-single-payment__credit-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	min-inline-size: 0;
	max-inline-size: 100%;
	gap: 0.65rem;
}

.cxcs-single-payment .cxcs-single-payment__credit-card {
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 0.85rem;
}

.cxcs-single-payment .cxcs-single-payment__cash-card:hover,
.cxcs-single-payment .cxcs-single-payment__credit-card:hover {
	border-color: #7aaecb;
}

.cxcs-single-payment .cxcs-single-payment__cash-card.is-selected,
.cxcs-single-payment .cxcs-single-payment__credit-card.is-selected {
	border-color: var(--cxcs-primary);
	background: var(--cxcs-primary-soft);
	box-shadow: inset 0 0 0 1px var(--cxcs-primary);
}

.cxcs-single-payment .cxcs-single-payment__cash-card.is-disabled,
.cxcs-single-payment .cxcs-single-payment__credit-card.is-disabled {
	opacity: 0.58;
	cursor: not-allowed;
}

.cxcs-single-payment .cxcs-single-payment__cash-card > input,
.cxcs-single-payment .cxcs-single-payment__credit-card > input {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	opacity: 0;
	pointer-events: none;
}

.cxcs-single-payment .cxcs-single-payment__cash-card:has(input:focus-visible),
.cxcs-single-payment .cxcs-single-payment__credit-card:has(input:focus-visible) {
	outline: 3px solid var(--cxcs-focus);
	outline-offset: 2px;
}

.cxcs-single-payment .cxcs-single-payment__choice-label {
	min-inline-size: 0;
	color: var(--cxcs-primary-strong);
	font-size: 0.85rem;
	font-weight: 800;
	overflow-wrap: anywhere;
}

.cxcs-single-payment .cxcs-single-payment__monthly {
	grid-column: 1;
	min-inline-size: 0;
	color: var(--cxcs-text-muted);
	font-size: 0.75rem;
	overflow-wrap: anywhere;
}

.cxcs-single-payment .cxcs-single-payment__choice-total {
	grid-column: 2;
	grid-row: 1 / span 2;
	min-inline-size: 0;
	color: var(--cxcs-text);
	font-size: 0.9rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	text-align: end;
	overflow-wrap: anywhere;
}

.cxcs-single-payment .cxcs-single-payment__stock {
	grid-column: 1 / -1;
	min-inline-size: 0;
	color: var(--cxcs-text-muted);
	font-size: 0.72rem;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.cxcs-single-payment .cxcs-single-payment__unavailable {
	margin: 0;
	padding: 1rem;
	border: 1px dashed var(--cxcs-border-strong);
	border-radius: 0.625rem;
	background: var(--cxcs-surface-soft);
	color: var(--cxcs-text-muted);
	font-size: 0.85rem;
}

.cxcs-single-payment .cxcs-single-payment__checkout {
	display: grid;
	min-inline-size: 0;
	max-inline-size: 100%;
	gap: 0.85rem;
	margin-block-start: 1rem;
	padding-block-start: 1rem;
	border-block-start: 1px solid var(--cxcs-border);
}

.cxcs-single-payment .cxcs-single-payment__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-inline-size: 0;
	max-inline-size: 100%;
	padding: 0.85rem 1rem;
	border-radius: 0.625rem;
	background: var(--cxcs-surface-blue);
	color: var(--cxcs-text);
	overflow-wrap: anywhere;
}

.cxcs-single-payment .cxcs-single-payment__total span {
	min-inline-size: 0;
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cxcs-single-payment .cxcs-single-payment__total strong {
	min-inline-size: 0;
	color: var(--cxcs-primary-strong);
	font-size: clamp(1.15rem, 3vw, 1.45rem);
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.cxcs-single-payment .cxcs-single-payment__purchase {
	display: flex;
	align-items: stretch;
	min-inline-size: 0;
	max-inline-size: 100%;
	gap: 0.75rem;
}

.cxcs-single-payment .cxcs-single-payment__quantity {
	display: grid;
	grid-template-columns: 2.5rem 3.25rem 2.5rem;
	flex: 0 0 auto;
	min-inline-size: 0;
	max-inline-size: 100%;
	min-block-size: 3rem;
	border: 1px solid var(--cxcs-border-strong);
	border-radius: 0.5rem;
	overflow: hidden;
	background: var(--cxcs-surface);
}

.cxcs-single-payment .cxcs-single-payment__quantity button,
.cxcs-single-payment .cxcs-single-payment__quantity input {
	min-inline-size: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--cxcs-text) !important;
	font: inherit;
	text-align: center;
	box-shadow: none !important;
}

.cxcs-single-payment .cxcs-single-payment__quantity button {
	font-size: 1.15rem;
	font-weight: 800;
	cursor: pointer;
}

.cxcs-single-payment .cxcs-single-payment__quantity button:hover {
	background: var(--cxcs-surface-soft) !important;
}

.cxcs-single-payment .cxcs-single-payment__quantity input {
	border-inline: 1px solid var(--cxcs-border) !important;
	font-size: 0.9rem;
	font-weight: 750;
	-moz-appearance: textfield;
}

.cxcs-single-payment .cxcs-single-payment__quantity input::-webkit-inner-spin-button,
.cxcs-single-payment .cxcs-single-payment__quantity input::-webkit-outer-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.cxcs-single-payment .cxcs-single-payment__quantity button:focus-visible,
.cxcs-single-payment .cxcs-single-payment__quantity input:focus-visible {
	position: relative;
	z-index: 1;
	outline: 3px solid var(--cxcs-focus) !important;
	outline-offset: -3px;
}

.cxcs-single-payment .cxcs-single-payment__add {
	flex: 1 1 auto;
	min-inline-size: 0 !important;
	max-inline-size: 100%;
	min-block-size: 3rem !important;
	margin: 0 !important;
	padding: 0.75rem 1rem !important;
	border: 1px solid var(--cxcs-primary) !important;
	border-radius: 0.5rem !important;
	background: var(--cxcs-primary) !important;
	color: #ffffff !important;
	font-size: 0.9rem !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	text-align: center;
}

.cxcs-single-payment .cxcs-single-payment__add:hover {
	border-color: var(--cxcs-primary-strong) !important;
	background: var(--cxcs-primary-strong) !important;
}

.cxcs-single-payment .cxcs-single-payment__add:focus-visible {
	outline: 3px solid var(--cxcs-focus) !important;
	outline-offset: 2px;
}

.cxcs-single-payment .cxcs-single-payment__add:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.cxcs-single-payment [data-cxcs-payment-attributes] {
	display: none;
}

/* Contact-for-price products use the same isolated detail shell as products
 * with purchasable payment variations. Only the unavailable purchase panel is
 * different; native WooCommerce variable controls never bleed through. */


.cxcs-single-payment--contact .cxcs-single-payment__tabs--contact {
	grid-template-columns: minmax(0, 1fr);
}

.cxcs-single-payment--contact .cxcs-single-payment__tab {
	display: flex;
	align-items: center;
	justify-content: center;
	border-block-end-color: var(--cxcs-cyan);
	background: var(--cxcs-surface);
	color: var(--cxcs-primary-strong);
	cursor: default;
	pointer-events: none;
}

.cxcs-single-payment--contact .cxcs-single-payment__form--contact {
	padding: 1rem;
}

.cxcs-single-payment .cxcs-single-payment__contact-card {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	min-inline-size: 0;
	padding: 1rem;
	border: 1px solid #cce6f3;
	border-radius: 0.625rem;
	background: var(--cxcs-primary-soft);
	color: var(--cxcs-text);
}

.cxcs-single-payment .cxcs-single-payment__contact-icon {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	inline-size: 2.5rem;
	block-size: 2.5rem;
	border-radius: 50%;
	background: var(--cxcs-surface);
	color: var(--cxcs-primary-strong);
}

.cxcs-single-payment .cxcs-single-payment__contact-icon svg {
	inline-size: 1.25rem;
	block-size: 1.25rem;
}

.cxcs-single-payment .cxcs-single-payment__contact-copy {
	display: grid;
	min-inline-size: 0;
	gap: 0.25rem;
}

.cxcs-single-payment .cxcs-single-payment__contact-copy strong {
	color: var(--cxcs-primary-strong);
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.3;
}

.cxcs-single-payment .cxcs-single-payment__contact-copy > span {
	color: var(--cxcs-text-muted);
	font-size: 0.84rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

@media (max-width: 35rem) {
	.cxcs-single-payment .cxcs-single-payment__credit-options {
		grid-template-columns: minmax(0, 1fr);
	}

	.cxcs-single-payment .cxcs-single-payment__purchase {
		flex-direction: column;
	}

	.cxcs-single-payment .cxcs-single-payment__quantity {
		grid-template-columns: 3rem minmax(3.25rem, 1fr) 3rem;
		inline-size: 100%;
	}

	.cxcs-single-payment .cxcs-single-payment__add {
		inline-size: 100%;
	}

	.cxcs-single-payment .cxcs-single-payment__contact-card {
		gap: 0.75rem;
		padding: 0.875rem;
	}

	.cxcs-single-payment .cxcs-single-payment__contact-icon {
		inline-size: 2.25rem;
		block-size: 2.25rem;
	}
}

/* Premium CoolXpert polish: scoped to the payment component only. */
.cxcs-single-payment {
	--cxcs-surface-soft: #f4f9fd;
	--cxcs-surface-blue: #eef8ff;
	--cxcs-border: #d7e3ee;
	--cxcs-border-strong: #b9d1e3;
	--cxcs-text: #102b4b;
	--cxcs-text-muted: #526a82;
	--cxcs-primary: #0877c9;
	--cxcs-primary-strong: #075f9e;
	--cxcs-primary-soft: #e7f5ff;
	--cxcs-focus: #0877c9;
	margin-block: 1.15rem 1.7rem;
}

.cxcs-single-payment .cxcs-single-payment__tabs {
	border-radius: 0.875rem 0.875rem 0 0;
	background: #f4f9fd;
}

.cxcs-single-payment .cxcs-single-payment__tab {
	min-block-size: 3.45rem;
}

.cxcs-single-payment .cxcs-single-payment__tab.is-active {
	border-block-end-color: #f2c94c;
	color: #075f9e;
}

.cxcs-single-payment .cxcs-single-payment__form {
	padding: clamp(1rem, 2.5vw, 1.35rem);
	border-radius: 0 0 0.875rem 0.875rem;
	box-shadow: 0 0.65rem 1.65rem rgba(16, 54, 96, 0.08);
}

.cxcs-single-payment .cxcs-single-payment__cash-card,
.cxcs-single-payment .cxcs-single-payment__credit-card {
	border-radius: 0.75rem;
}

.cxcs-single-payment .cxcs-single-payment__cash-card.is-selected,
.cxcs-single-payment .cxcs-single-payment__credit-card.is-selected {
	border-color: #0877c9;
	background: #eef8ff;
	box-shadow: inset 0 0 0 1px #0877c9, 0 0.3rem 0.85rem rgba(8, 119, 201, 0.1);
}

.cxcs-single-payment .cxcs-single-payment__total {
	border: 1px solid #b9dff4;
	border-radius: 0.75rem;
	background: #eef8ff;
}

.cxcs-single-payment .cxcs-single-payment__quantity {
	border-color: #b9d1e3;
	border-radius: 0.625rem;
}

.cxcs-single-payment .cxcs-single-payment__add {
	border-color: #0877c9 !important;
	border-radius: 0.625rem !important;
	background: #0877c9 !important;
	box-shadow: 0 0.4rem 0.9rem rgba(8, 119, 201, 0.2);
}

.cxcs-single-payment .cxcs-single-payment__add:hover:not(:disabled) {
	border-color: #075f9e !important;
	background: #075f9e !important;
}

@media (max-width: 35rem) {
	.cxcs-single-payment .cxcs-single-payment__purchase {
		gap: 0.875rem;
	}

	.cxcs-single-payment .cxcs-single-payment__quantity {
		min-block-size: 3.15rem;
	}
}


/* Final price hierarchy: scoped to the existing payment component only. */
.cxcs-single-payment .cxcs-single-payment__cash-card,
.cxcs-single-payment .cxcs-single-payment__credit-card {
	border-color: #d7e3ee;
	border-radius: 0.75rem;
	background: #fbfdff;
}

.cxcs-single-payment .cxcs-single-payment__cash-card {
	background: #eaf7ff;
}

.cxcs-single-payment .cxcs-single-payment__cash-card.is-selected,
.cxcs-single-payment .cxcs-single-payment__credit-card.is-selected {
	border-color: #0877c9;
	box-shadow: inset 0 0 0 1px #0877c9, 0 0.3rem 0.8rem rgba(8, 119, 201, 0.1);
}

.cxcs-single-payment .cxcs-single-payment__cash-card strong,
.cxcs-single-payment .cxcs-single-payment__choice-label {
	color: #102b4b;
	font-weight: 750;
}

.cxcs-single-payment .cxcs-single-payment__amount {
	color: #075f9e;
	font-size: clamp(1.35rem, 2.2vw, 1.65rem);
	font-weight: 800;
}

.cxcs-single-payment .cxcs-single-payment__choice-total {
	color: #18324e;
	font-size: 1rem;
	font-weight: 750;
}

.cxcs-single-payment .cxcs-single-payment__total {
	border-color: #b9dff4;
	background: #eaf7ff;
}

.cxcs-single-payment .cxcs-single-payment__total strong {
	color: #075f9e;
	font-weight: 800;
}

.cxcs-single-payment .cxcs-single-payment__add {
	border-color: #0877c9 !important;
	background: #0877c9 !important;
	box-shadow: 0 0.4rem 0.9rem rgba(8, 119, 201, 0.2);
}


/* Phase 2: presentation-only refinement of existing payment components. */
.cxcs-single-payment {
	max-width: 760px;
	margin-inline: 0;
}

.cxcs-single-payment .cxcs-single-payment__tabs:not(.cxcs-single-payment__tabs--contact) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	padding: 0.5rem;
	border-radius: 0.875rem;
}

.cxcs-single-payment .cxcs-single-payment__tab {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding-inline: 0.75rem;
	text-align: center;
}

.cxcs-single-payment .cxcs-single-payment__form {
	display: grid;
	gap: 1rem;
}

.cxcs-single-payment .cxcs-single-payment__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.125rem;
}

.cxcs-single-payment .cxcs-single-payment__purchase {
	align-items: center;
	gap: 1rem;
}

.cxcs-single-payment .cxcs-single-payment__add {
	min-height: 3.25rem;
}

@media (max-width: 35rem) {
	.cxcs-single-payment .cxcs-single-payment__total {
		align-items: flex-start;
		flex-direction: column;
	}
}
/* Canonical payment width: existing V14 payment markup and interactions only. */
.cxcs-single-payment {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	min-width: 0;
}

.cxcs-single-payment .cxcs-single-payment__tabs:not(.cxcs-single-payment__tabs--contact) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
	min-width: 0;
}

.cxcs-single-payment .cxcs-single-payment__tab,
.cxcs-single-payment .cxcs-single-payment__cash-card,
.cxcs-single-payment .cxcs-single-payment__credit-card,
.cxcs-single-payment .cxcs-single-payment__total,
.cxcs-single-payment .cxcs-single-payment__purchase {
	min-width: 0;
}

.cxcs-single-payment .cxcs-single-payment__checkout {
	width: 100%;
	min-width: 0;
}

.cxcs-single-payment .cxcs-single-payment__purchase {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.cxcs-single-payment .cxcs-single-payment__add {
	flex: 1 1 16rem;
	min-width: 0;
}

@media (max-width: 35rem) {
	.cxcs-single-payment .cxcs-single-payment__purchase {
		align-items: stretch;
		flex-direction: column;
	}

	.cxcs-single-payment .cxcs-single-payment__add {
		width: 100%;
	}
}

/* CXCS mobile purchase control — final component sizing. */
@media (max-width: 47.999rem) {
	.cxcs-single-payment {
		width: 100%;
		max-width: none;
		min-width: 0;
	}

	.cxcs-single-payment .cxcs-single-payment__tabs:not(.cxcs-single-payment__tabs--contact) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cxcs-single-payment .cxcs-single-payment__purchase {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 0.75rem;
		width: 100%;
	}

	.cxcs-single-payment .cxcs-single-payment__quantity {
		width: auto;
		max-width: 10rem;
		min-width: 0;
	}

	.cxcs-single-payment .cxcs-single-payment__add {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 3.25rem;
		max-height: 3.5rem;
		min-height: 3rem;
		padding: 0 1rem;
		white-space: nowrap;
	}
}

@media (max-width: 26.1875rem) {
	.cxcs-single-payment .cxcs-single-payment__purchase {
		grid-template-columns: minmax(0, 1fr);
	}

	.cxcs-single-payment .cxcs-single-payment__quantity {
		width: 100%;
		max-width: none;
	}

	.cxcs-single-payment .cxcs-single-payment__add {
		width: 100%;
	}
}


/* CoolXpert Related Products carousel: scoped to eligible product details. */
body.cxcs-product-detail .cxcs-related {
	grid-column: 1 / -1;
	width: auto;
	max-width: none;
	min-width: 0;
	margin: clamp(3rem, 7vw, 6rem) 0 0;
	padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 3rem) 1.75rem;
	border-block: 1px solid #d3e3ec;
	background-color: #ffffff;
	color: #062d46;
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}

body.cxcs-product-detail .cxcs-related *,
body.cxcs-product-detail .cxcs-related *::before,
body.cxcs-product-detail .cxcs-related *::after {
	box-sizing: border-box;
}

body.cxcs-product-detail .cxcs-related__inner {
	width: 100%;
	min-width: 0;
	margin: 0 auto;
}

body.cxcs-product-detail .cxcs-related__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-block-end: 2rem;
}

body.cxcs-product-detail .cxcs-related__header h2 {
	margin: 0;
	color: #062d46;
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 1;
}

body.cxcs-product-detail .cxcs-related__controls {
	display: flex;
	flex: 0 0 auto;
	gap: 0.65rem;
}

body.cxcs-product-detail .cxcs-related__controls button {
	display: inline-grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	margin: 0;
	padding: 0;
	border: 1px solid #b8d2df;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0.3rem 0.9rem rgba(6, 45, 70, 0.07);
	color: #062d46;
	line-height: 0;
	cursor: pointer;
	transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

body.cxcs-product-detail .cxcs-related__controls button svg {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

body.cxcs-product-detail .cxcs-related__controls button:active {
	transform: scale(0.96);
}

body.cxcs-product-detail .cxcs-related__controls button:disabled {
	cursor: not-allowed;
	opacity: 0.42;
}

body.cxcs-product-detail .cxcs-related__viewport {
	width: 100%;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scroll-behavior: smooth;
	scroll-snap-type: inline mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

body.cxcs-product-detail .cxcs-related__viewport::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

body.cxcs-product-detail .cxcs-related__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2rem) / 3);
	align-items: stretch;
	gap: 1rem;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.cxcs-product-detail .cxcs-related-card {
	display: flex;
	min-width: 0;
	max-width: none;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #d3e3ec;
	border-radius: 1.15rem;
	background: #ffffff;
	box-shadow: 0 0.65rem 1.6rem rgba(6, 45, 70, 0.07);
	color: #062d46;
	scroll-snap-align: start;
}

body.cxcs-product-detail .cxcs-related-card__media {
	display: grid;
	place-items: center;
	min-height: 15.5rem;
	padding: 1.4rem 1.2rem;
	border-block-end: 1px solid #d3e3ec;
	background: #eff7fa;
}

body.cxcs-product-detail .cxcs-related-card__media > a {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-width: 0;
}

body.cxcs-product-detail .cxcs-related-card__image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 11rem;
	margin: 0;
	padding: 0.45rem;
	object-fit: contain;
	object-position: center;
	filter: drop-shadow(0 0.7rem 0.85rem rgba(17, 77, 104, 0.12));
}

body.cxcs-product-detail .cxcs-related-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding: 1.25rem;
}

body.cxcs-product-detail .cxcs-related-card h3 {
	min-height: calc(3 * 1.35em);
	margin: 0 0 1.5rem;
	color: #062d46;
	font-size: 0.84rem;
	font-weight: 500;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

body.cxcs-product-detail .cxcs-related-card h3 a {
	color: inherit;
	text-decoration: none;
}

body.cxcs-product-detail .cxcs-related-card__price {
	display: grid;
	gap: 0.3rem;
	margin-block-start: auto;
	min-width: 0;
}

body.cxcs-product-detail .cxcs-related-card__price strong {
	max-width: 100%;
	color: #0075b0;
	font-size: 1.25rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
	overflow-wrap: normal;
	white-space: nowrap;
}

body.cxcs-product-detail .cxcs-related-card__price > span {
	color: #557083;
	font-size: 0.62rem;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
}

body.cxcs-product-detail .cxcs-related-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.9rem;
	width: 100%;
	min-height: 3.15rem;
	margin-block-start: 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid #062d46;
	border-radius: 0.7rem;
	background: #062d46;
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

body.cxcs-product-detail .cxcs-related__footer {
	display: flex;
	align-items: center;
	min-height: 1rem;
	margin-block-start: 1.2rem;
}

body.cxcs-product-detail .cxcs-related__progress {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

body.cxcs-product-detail .cxcs-related__progress button {
	width: 1.45rem;
	height: 0.28rem;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: #c8d9e2;
	cursor: pointer;
}

body.cxcs-product-detail .cxcs-related__progress button.is-active {
	width: 3rem;
	background: #0b87c2;
}

body.cxcs-product-detail .cxcs-related__controls button:focus-visible,
body.cxcs-product-detail .cxcs-related__progress button:focus-visible,
body.cxcs-product-detail .cxcs-related-card__button:focus-visible,
body.cxcs-product-detail .cxcs-related-card h3 a:focus-visible,
body.cxcs-product-detail .cxcs-related__viewport:focus-visible {
	outline: 3px solid #35cdb8;
	outline-offset: 3px;
}

@media (hover: hover) {
	body.cxcs-product-detail .cxcs-related__controls button:hover:not(:disabled) {
		border-color: #35cdb8;
		background: #eaf8f5;
	}

	body.cxcs-product-detail .cxcs-related-card__button:hover {
		border-color: #0b87c2;
		background: #0b87c2;
	}
}

@media (min-width: 768px) and (max-width: 1099px) {
	body.cxcs-product-detail .cxcs-related__track {
		grid-auto-columns: calc((100% - 1rem) / 2);
	}
}

@media (max-width: 767px) {
	body.cxcs-product-detail .cxcs-related {
		padding: 2.25rem 0.75rem 1.35rem;
	}

	body.cxcs-product-detail .cxcs-related__header {
		align-items: end;
		gap: 0.75rem;
		margin-block-end: 1.35rem;
	}

	body.cxcs-product-detail .cxcs-related__header h2 {
		font-size: clamp(2rem, 10vw, 2.6rem);
	}

	body.cxcs-product-detail .cxcs-related__controls {
		gap: 0.5rem;
	}

	body.cxcs-product-detail .cxcs-related__controls button {
		width: 2.8rem;
		height: 2.8rem;
	}

	body.cxcs-product-detail .cxcs-related__controls button svg {
		width: 1.05rem;
		height: 1.05rem;
	}

	body.cxcs-product-detail .cxcs-related__track {
		grid-auto-columns: min(88%, 20rem);
		gap: 0.75rem;
	}

	body.cxcs-product-detail .cxcs-related-card__media {
		min-height: 13.5rem;
		padding: 1rem;
	}

	body.cxcs-product-detail .cxcs-related-card__body {
		padding: 1rem;
	}

	body.cxcs-product-detail .cxcs-related-card h3 {
		margin-block-end: 1.25rem;
	}

	body.cxcs-product-detail .cxcs-related__footer {
		margin-block-start: 1rem;
	}
}

@media (max-width: 359px) {
	body.cxcs-product-detail .cxcs-related__header {
		align-items: flex-start;
		flex-direction: column;
	}

	body.cxcs-product-detail .cxcs-related__controls {
		align-self: flex-end;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.cxcs-product-detail .cxcs-related__viewport {
		scroll-behavior: auto;
	}

	body.cxcs-product-detail .cxcs-related__controls button,
	body.cxcs-product-detail .cxcs-related-card__button {
		transition-duration: 0ms;
	}
}

/* Final CoolXpert View Details payment and product-detail presentation. */
body.cxcs-product-detail #main > div.product {
	position: relative;
}
body.cxcs-product-detail.cxcs-detail-embedded #main > div.product > .summary > .product_title {
	font-size: clamp(24px, 4vw, 36px);
	line-height: 1.08;
	overflow-wrap: normal;
	word-break: normal;
}
body.cxcs-product-detail #main > div.product > .summary::before {
	display: inline-flex;
	margin-bottom: 16px;
	padding: 6px 10px;
	border-radius: 7px;
	background: #eaf4fb;
	color: #04508c;
	content: "AVAILABLE FOR ORDER";
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .08em;
	line-height: 1.2;
}
.cxcs-single-payment {
	--cxcs-primary: #04508c;
	--cxcs-primary-strong: #033c69;
	--cxcs-primary-soft: #edf6fc;
	margin-top: 8px;
	overflow: visible;
}
.cxcs-single-payment .cxcs-single-payment__range {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	color: #547085;
	font-size: 12px;
}
.cxcs-single-payment .cxcs-single-payment__range strong {
	color: #04508c;
	font-size: clamp(16px, 2vw, 21px);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.cxcs-single-payment .cxcs-single-payment__heading {
	margin: 0 0 8px;
	color: #062d46;
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .1em;
	text-transform: uppercase;
}
body.cxcs-product-detail .cxcs-single-payment .cxcs-single-payment__form::before,
body.cxcs-product-detail .cxcs-single-payment .cxcs-single-payment__form::after {
	display: none !important;
	content: none !important;
}
.cxcs-single-payment .cxcs-single-payment__tabs:not(.cxcs-single-payment__tabs--contact) {
	display: grid;
}
.cxcs-single-payment .cxcs-single-payment__form {
	display: block;
	padding: 0;
	border: 0;
	box-shadow: none;
}
.cxcs-single-payment .cxcs-single-payment__panel {
	display: block !important;
	min-width: 0;
}
.cxcs-single-payment .cxcs-single-payment__panel[hidden] {
	display: none !important;
}
.cxcs-single-payment .cxcs-single-payment__credit-options {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
.cxcs-single-payment .cxcs-single-payment__cash-card,
.cxcs-single-payment .cxcs-single-payment__credit-card {
	display: flex;
	min-height: 114px;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	border-color: #c9dde9;
}
.cxcs-single-payment .cxcs-single-payment__cash-card > span:first-of-type {
	display: contents;
}
.cxcs-single-payment .cxcs-single-payment__cash-card small {
	display: none;
}
.cxcs-single-payment .cxcs-single-payment__monthly {
	display: block;
	color: #527086;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.cxcs-single-payment .cxcs-single-payment__amount,
.cxcs-single-payment .cxcs-single-payment__choice-total {
	grid-column: auto;
	grid-row: auto;
	color: #062d46;
	font-size: 18px;
	font-weight: 850;
	text-align: left;
	white-space: nowrap;
}
.cxcs-single-payment [data-cxcs-payment-card].is-selected::after {
	color: #04508c;
	content: "✓  SELECTED";
	font-size: 10px;
	font-weight: 850;
	letter-spacing: .04em;
}
.cxcs-single-payment .cxcs-single-payment__checkout {
	margin-top: 14px;
	padding-top: 0;
	border-block-start: 0;
}
.cxcs-single-payment .cxcs-single-payment__selected-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 16px;
	padding: 14px 16px;
	border: 1px solid #b7d7ea;
	border-radius: 12px;
	background: #eaf6fc;
}
.cxcs-single-payment .cxcs-single-payment__selected-summary span {
	grid-column: 1;
	color: #527086;
	font-size: 10px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.cxcs-single-payment .cxcs-single-payment__selected-summary strong {
	grid-column: 1;
	color: #062d46;
	font-size: 14px;
}
.cxcs-single-payment .cxcs-single-payment__selected-summary b {
	grid-column: 2;
	grid-row: 1 / 3;
	align-self: center;
	color: #04508c;
	font-size: clamp(18px, 2.5vw, 24px);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.cxcs-single-payment .cxcs-single-payment__total {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
	gap: 16px;
	margin-top: 18px;
	padding: 20px 0 16px;
	border: 0;
	border-top: 1px solid #d7e4ec;
	border-radius: 0;
	background: #ffffff;
}
.cxcs-single-payment .cxcs-single-payment__total span {
	color: #547085;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}
.cxcs-single-payment .cxcs-single-payment__total strong {
	color: #04508c;
	font-size: clamp(20px, 2.4vw, 28px);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.cxcs-single-payment .cxcs-single-payment__quantity {
	min-height: 58px;
	grid-template-columns: 44px 54px 44px;
	border-color: #c9dde9;
	border-radius: 10px;
}
.cxcs-single-payment .cxcs-single-payment__add {
	min-height: 58px !important;
	border-color: #04508c !important;
	border-radius: 10px !important;
	background: #04508c !important;
}
@media (max-width: 560px) {
	.cxcs-single-payment .cxcs-single-payment__range {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}
	.cxcs-single-payment .cxcs-single-payment__credit-options {
		grid-auto-columns: minmax(190px, 82%);
		grid-auto-flow: column;
		grid-template-columns: none;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scroll-snap-type: inline mandatory;
		scrollbar-width: none;
	}
	.cxcs-single-payment .cxcs-single-payment__credit-options::-webkit-scrollbar {
		display: none;
	}
	.cxcs-single-payment .cxcs-single-payment__credit-card {
		scroll-snap-align: start;
	}
	.cxcs-single-payment .cxcs-single-payment__selected-summary {
		grid-template-columns: minmax(0, 1fr);
	}
	.cxcs-single-payment .cxcs-single-payment__selected-summary b {
		grid-column: 1;
		grid-row: auto;
	}
}

@media (min-width: 561px) and (max-width: 900px) {
	.cxcs-single-payment .cxcs-single-payment__credit-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Final compact white Related Products carousel. */
body.cxcs-product-detail .cxcs-related {
	width: 100%;
	padding: clamp(48px, 6vw, 80px) 24px;
	background: #fff;
	color: #062d46;
}
body.cxcs-product-detail .cxcs-related__inner {
	max-width: 1180px;
}
body.cxcs-product-detail .cxcs-related__header {
	margin-bottom: 24px;
}
body.cxcs-product-detail .cxcs-related__header h2 {
	color: #062d46;
	font-size: clamp(24px, 2.5vw, 34px);
	letter-spacing: -.02em;
	text-transform: none;
}
body.cxcs-product-detail .cxcs-related__controls button {
	width: 44px;
	height: 44px;
	border-color: #9ac0dc;
	background: #fff;
	color: #04508c;
}
body.cxcs-product-detail .cxcs-related__track {
	grid-auto-columns: calc((100% - 72px) / 4);
	gap: 24px;
}
body.cxcs-product-detail .cxcs-related-card {
	border: 1px solid #d7e4ec;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(6, 45, 70, .07);
}
body.cxcs-product-detail .cxcs-related-card__media {
	min-height: 190px;
	background: #fff;
}
body.cxcs-product-detail .cxcs-related-card__image {
	max-height: 160px;
}
body.cxcs-product-detail .cxcs-related-card__body {
	padding: 16px;
}
body.cxcs-product-detail .cxcs-related-card h3 {
	min-height: calc(3 * 1.3em);
	font-size: 14px;
	line-height: 1.3;
}
body.cxcs-product-detail .cxcs-related-card__price {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}
body.cxcs-product-detail .cxcs-related-card__price-column {
	display: grid;
	align-content: center;
	gap: 3px;
	min-width: 0;
	padding: 8px;
	border-radius: 7px;
	background: #eff6fa;
}
body.cxcs-product-detail .cxcs-related-card__price-column small {
	color: #557083;
	font-size: 9px;
	font-weight: 600;
	line-height: 1.15;
}
body.cxcs-product-detail .cxcs-related-card__price-column strong {
	color: #04508c;
	font-size: clamp(10px, .82vw, 13px);
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
	white-space: nowrap;
}
body.cxcs-product-detail .cxcs-related-card__button {
	min-height: 40px;
	border-radius: 7px;
	background: #04508c;
	font-size: 13px;
}
body.cxcs-product-detail .cxcs-related__progress button.is-active {
	background: #04508c;
}
@media (max-width: 1024px) {
	body.cxcs-product-detail .cxcs-related__track {
		grid-auto-columns: calc((100% - 24px) / 2);
	}
}
@media (max-width: 600px) {
	body.cxcs-product-detail .cxcs-related {
		padding-inline: 16px;
	}
	body.cxcs-product-detail .cxcs-related__track {
		grid-auto-columns: min(88%, 320px);
		gap: 12px;
	}
}

/* Product content shown inside the V14 View Details dialog only. */
body.cxcs-detail-embedded header,
body.cxcs-detail-embedded footer,
body.cxcs-detail-embedded .elementor-location-header,
body.cxcs-detail-embedded .elementor-location-footer,
body.cxcs-detail-embedded .cxcs-product-hero,
body.cxcs-detail-embedded .cxcs-related,
body.cxcs-detail-embedded .woocommerce-breadcrumb {
	display: none !important;
}
body.cxcs-product-detail.cxcs-detail-embedded {
	margin: 0;
	padding: 72px 24px 32px;
	background: #fff;
}
body.cxcs-product-detail.cxcs-detail-embedded #main > div.product {
	max-width: 1080px;
	width: 100%;
	padding: 0;
}
@media (max-width: 1024px) {
	body.cxcs-product-detail.cxcs-detail-embedded {
		padding: 72px 20px 24px;
	}
	body.cxcs-product-detail.cxcs-detail-embedded #main > div.product {
		row-gap: 24px;
	}
}
@media (max-width: 480px) {
	body.cxcs-product-detail.cxcs-detail-embedded {
		padding-inline: 14px;
	}
	body.cxcs-product-detail.cxcs-detail-embedded #main > div.product > .summary > .product_title {
		font-size: clamp(22px, 6.4vw, 26px);
	}
}
