/*
Theme Name: Divi Swiper Child
Template: Divi
Description: Child theme for diviswiper.com (house snippets in functions.php).
Author: Website Energizers
Version: 1.0.0
*/

/* Dark mode: functions.php sets html[data-theme] from the visitor's browser setting or the header toggle.
   Pages use Divi global colours, which Divi prints as --gcid-* variables, so swapping the variables recolours
   every page. Dark sections (Secondary, Footer Navy, On Dark Muted) and Primary are already dark-ready. */
html[data-theme="dark"] {
	color-scheme: dark;
	--gcid-ds-page: #0e1d2d;
	--gcid-ds-surface: #0a1724;
	--gcid-body-color: #e6edf5;
	--gcid-heading-color: #e6edf5;
	--gcid-ldhukj5j0a: #c9d6e3; /* body text: same tone as body on the dark sections */
	--gcid-ds-slate: #c3d0dd;
	--gcid-ds-steel: #8ea2b5;
	--gcid-ds-border: #253a50;
	--gcid-ds-hairline: #182c40;
	--gcid-ds-blue-tint: #10304f;
	--gcid-link-color: #3d9dff;
	--gcid-ds-primary-text: #5aacff;
}

/* Divi's theme background behind the layouts. */
html[data-theme="dark"] body,
html[data-theme="dark"] #page-container,
html[data-theme="dark"] #main-content {
	background-color: var(--gcid-ds-page);
}

/* Placeholder client logos are dark ink on transparent; show them light. */
html[data-theme="dark"] img[src*="/logo-"] {
	filter: brightness(0) invert(1);
	opacity: 0.75;
}

/* Header toggle: [ds_theme_toggle] in functions.php. Shows the moon in light mode, the sun in dark mode. */
.ds-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--gcid-ds-border);
	border-radius: 9px;
	background: transparent;
	color: var(--gcid-body-color);
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s;
}
.ds-theme-toggle:hover {
	border-color: var(--gcid-primary-color);
	color: var(--gcid-primary-color);
}
.ds-theme-toggle:focus-visible {
	outline: 2px solid var(--gcid-primary-color);
	outline-offset: 2px;
}
.ds-theme-toggle svg {
	width: 18px;
	height: 18px;
}
.ds-theme-toggle .ds-icon-sun,
html[data-theme="dark"] .ds-theme-toggle .ds-icon-moon {
	display: none;
}
html[data-theme="dark"] .ds-theme-toggle .ds-icon-sun {
	display: block;
}
/* The phone copy of the toggle sits in the dark footer. */
.et-l--footer .ds-theme-toggle {
	border-color: rgba(255, 255, 255, 0.18);
	color: var(--gcid-ds-on-dark-muted);
}

/* WooCommerce cart/checkout blocks and account forms: WooCommerce gives fields a fixed white background while
   their labels take the page's text colour, so in dark mode the labels vanished. The fields use the site's
   colour variables instead and follow dark mode. #page-container outranks WooCommerce's own selectors.
   Divi only prints the colour variables a page uses, so each has its light value as a fallback. */
#page-container .wc-block-components-text-input input,
#page-container .wc-block-components-textarea,
#page-container .wc-blocks-components-select__container,
#page-container .wc-blocks-components-select__select,
#page-container .wc-block-components-checkbox__input[type="checkbox"],
#page-container .wc-block-components-radio-control__input,
#page-container .woocommerce form .input-text,
#page-container .woocommerce form select {
	background-color: var(--gcid-ds-page, #ffffff);
	color: var(--gcid-body-color, #0b1826);
	border-color: var(--gcid-ds-border, #dce4ec);
}
/* Account forms (login, lost password, account details) are WooCommerce's classic forms: Divi draws their fields
   borderless and their buttons as outlines with black text, invisible on the page colour in dark mode.
   Fields get a border like the checkout's; buttons match the site's Primary button. */
#page-container .woocommerce form .input-text {
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-radius: 8px;
	padding: 12px 14px;
}
#page-container .woocommerce button.button,
#page-container .woocommerce a.button {
	background-color: var(--gcid-primary-color, #0080ff);
	color: #ffffff;
	border: 0;
	border-radius: 9px;
	padding: 11px 20px;
	font-size: 15px;
	line-height: 1.4;
}
#page-container .woocommerce button.button:hover,
#page-container .woocommerce a.button:hover {
	background-color: var(--gcid-primary-color, #0080ff);
	filter: brightness(0.9);
	padding: 11px 20px;
}
#page-container .woocommerce button.button:after,
#page-container .woocommerce a.button:after {
	display: none;
}
/* Checkout and cart block buttons (Place order, Apply coupon, Proceed to checkout): WooCommerce draws them as
   square dark-grey bars. They match the site's Primary button instead. */
#page-container .wc-block-components-button:not(.is-link) {
	background-color: var(--gcid-primary-color, #0080ff);
	color: #ffffff;
	border: 0;
	border-radius: 9px;
	font-size: 16px;
	font-weight: 600;
	min-height: 50px;
	box-shadow: none;
	transition: filter 0.2s;
}
#page-container .wc-block-components-button:not(.is-link):hover,
#page-container .wc-block-components-button:not(.is-link):focus {
	background-color: var(--gcid-primary-color, #0080ff);
	color: #ffffff;
	filter: brightness(0.9);
}
#page-container .wc-block-components-button:not(.is-link):disabled {
	opacity: 0.5;
	filter: none;
}
/* Item count badge on the order summary's product image: white on white in dark mode. */
#page-container .wc-block-components-order-summary-item__quantity {
	background-color: var(--gcid-ds-page, #ffffff);
	color: var(--gcid-body-color, #0b1826);
	border-color: var(--gcid-ds-border, #dce4ec);
	box-shadow: none;
}
/* Cart column titles: WooCommerce's small capitals, sentence case like the rest of the site. */
#page-container .wc-block-cart-items__header,
#page-container .wc-block-cart__totals-title {
	text-transform: none;
	font-size: 14px;
	font-weight: 600;
}

/* My Account (classic WooCommerce markup). The menu becomes a side card beside the content; on phones it sits
   above as wrapping tabs. :has() limits the two-column layout to the logged-in pages (not the login form). */
body.woocommerce-account #page-container .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: flex;
	align-items: flex-start;
	gap: 48px;
}
body.woocommerce-account #page-container .woocommerce-MyAccount-navigation {
	float: none;
	width: 240px;
	flex: none;
}
body.woocommerce-account #page-container .woocommerce-MyAccount-content {
	float: none;
	width: auto;
	flex: 1;
	min-width: 0;
	font-size: 16px;
}
#page-container .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-radius: 14px;
	background-color: var(--gcid-ds-surface, #f6f9fc);
}
#page-container .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
	list-style: none;
}
#page-container .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 10px 14px;
	border-radius: 9px;
	color: var(--gcid-body-color, #0b1826);
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}
#page-container .woocommerce-MyAccount-navigation li a:hover {
	background-color: var(--gcid-ds-page, #ffffff);
}
#page-container .woocommerce-MyAccount-navigation li.is-active a {
	background-color: var(--gcid-ds-blue-tint, #eaf4ff);
	color: var(--gcid-ds-primary-text, #0060c4);
	font-weight: 600;
}
@media (max-width: 767px) {
	body.woocommerce-account #page-container .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		flex-direction: column;
		gap: 28px;
	}
	body.woocommerce-account #page-container .woocommerce-MyAccount-navigation {
		width: 100%;
	}
	#page-container .woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
	}
	#page-container .woocommerce-MyAccount-navigation li a {
		padding: 8px 12px;
		font-size: 14px;
	}
}
#page-container .woocommerce-MyAccount-content h2,
#page-container .woocommerce-MyAccount-content h3,
#page-container .woocommerce-order h2 {
	font-size: 22px;
	margin: 28px 0 14px;
	padding: 0;
}
#page-container .woocommerce-MyAccount-content > :first-child,
#page-container .woocommerce-MyAccount-content .dswls-license:first-child h3 {
	margin-top: 0;
}

/* Tables (orders, order details, licences): bordered cards like the rest of the site's cards. */
#page-container .woocommerce table.shop_table {
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-radius: 12px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	margin: 0 0 20px;
	font-size: 16px;
}
#page-container .woocommerce table.shop_table th,
#page-container .woocommerce table.shop_table td {
	padding: 14px 16px;
	border-top: 1px solid var(--gcid-ds-hairline, #e3eaf2);
	color: var(--gcid-body-color, #0b1826);
	vertical-align: middle;
}
#page-container .woocommerce table.shop_table thead th {
	border-top: 0;
	background-color: var(--gcid-ds-surface, #f6f9fc);
	font-size: 14px;
	font-weight: 600;
}
#page-container .woocommerce table.shop_table tbody tr:first-child th,
#page-container .woocommerce table.shop_table tbody tr:first-child td {
	border-top: 0;
}
#page-container .woocommerce table.shop_table thead + tbody tr:first-child th,
#page-container .woocommerce table.shop_table thead + tbody tr:first-child td {
	border-top: 1px solid var(--gcid-ds-hairline, #e3eaf2);
}
#page-container .woocommerce table.shop_table tbody th {
	width: 30%;
	font-weight: 600;
}

/* Licence actions (Download, Renew, Manage billing): the site's 14px / 12px button gaps, not inline spacing. */
#page-container .dswls-license p:has(> .button) {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 14px;
}

/* Licence tables label each row with a <th>. WooCommerce's phone styles hide row <th>s and print each cell's
   data-title (which these cells don't have), leaving bare colons; show the label above the value instead. */
@media (max-width: 768px) {
	#page-container .dswls-license table.shop_table_responsive tbody tr th {
		display: block;
		width: auto;
		padding-bottom: 2px;
		border-top: 1px solid var(--gcid-ds-hairline, #e3eaf2);
		font-size: 14px;
		color: var(--gcid-ldhukj5j0a, #51667a);
	}
	#page-container .dswls-license table.shop_table_responsive tbody tr:first-child th {
		border-top: 0;
	}
	#page-container .dswls-license table.shop_table_responsive tbody tr td {
		display: block;
		padding-top: 2px;
		border-top: 0;
		text-align: left !important; /* WooCommerce right-aligns these cells with !important */
	}
	#page-container .dswls-license table.shop_table_responsive tbody tr td::before {
		content: none;
	}
	#page-container .dswls-license table.shop_table_responsive tbody tr:nth-child(2n) td {
		background-color: transparent;
	}
}

/* WooCommerce notices (info, success, error): its full-width blue bars become the site's tinted cards. */
#page-container .woocommerce-info,
#page-container .woocommerce-message,
#page-container .woocommerce-error,
#page-container .woocommerce-notices-wrapper .woocommerce-message {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 24px;
	padding: 16px 20px;
	border: 1px solid rgba(0, 128, 255, 0.3);
	border-radius: 12px;
	background-color: var(--gcid-ds-blue-tint, #eaf4ff);
	color: var(--gcid-body-color, #0b1826);
	font-size: 16px;
	list-style: none;
}
#page-container .woocommerce-message {
	border-color: rgba(16, 163, 107, 0.35);
	background-color: rgba(16, 163, 107, 0.1);
}
#page-container .woocommerce-error {
	border-color: rgba(220, 38, 38, 0.35);
	background-color: rgba(220, 38, 38, 0.08);
}
#page-container .woocommerce-info::before,
#page-container .woocommerce-message::before,
#page-container .woocommerce-error::before {
	display: none;
}
#page-container .woocommerce-info .button,
#page-container .woocommerce-message .button {
	order: 2;
	margin: 0;
}

/* Thank-you page: the order number / date / email / total strip as one quiet card. */
#page-container .woocommerce-order .woocommerce-thankyou-order-received {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 16px;
}
#page-container .woocommerce ul.order_details {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	margin: 0 0 32px;
	padding: 18px 22px;
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-radius: 12px;
	background-color: var(--gcid-ds-surface, #f6f9fc);
	list-style: none;
}
#page-container .woocommerce ul.order_details li {
	float: none;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 14px;
	text-transform: none;
	color: var(--gcid-ldhukj5j0a, #51667a);
}
#page-container .woocommerce ul.order_details li strong {
	display: block;
	margin-top: 2px;
	font-size: 16px;
	color: var(--gcid-body-color, #0b1826);
}

/* Addresses and account details. */
#page-container .woocommerce-Address-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}
#page-container .woocommerce-Address address,
#page-container .woocommerce-customer-details address {
	padding: 16px 20px;
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-radius: 12px;
	font-style: normal;
	line-height: 1.6;
}
#page-container .woocommerce-EditAccountForm fieldset {
	margin: 28px 0 8px;
	padding: 20px;
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-radius: 12px;
}
#page-container .woocommerce-EditAccountForm legend {
	padding: 0 6px;
	font-weight: 600;
}

/* Login and lost-password forms: a narrow card rather than the full content width. */
body.woocommerce-account #page-container .woocommerce:has(.woocommerce-form-login, .woocommerce-ResetPassword) {
	max-width: 520px;
}
#page-container .woocommerce form.woocommerce-form-login,
#page-container .woocommerce form.woocommerce-ResetPassword {
	padding: 24px;
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-radius: 14px;
}
#page-container .woocommerce form.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding: 0;
}
#page-container .woocommerce form.woocommerce-form-login .woocommerce-form-login__submit {
	margin: 0;
}
/* WooCommerce's clearfix pseudo-elements become empty flex items in this row and put a gap before the button. */
#page-container .woocommerce form.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit)::before,
#page-container .woocommerce form.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit)::after {
	display: none;
}
/* Account details: no "Display name" field; the site uses the first name (child functions.php). */
#page-container .woocommerce-EditAccountForm .form-row:has(#account_display_name) {
	display: none;
}
#page-container .woocommerce form .woocommerce-LostPassword {
	margin: 16px 0 0;
}
/* Show-password eye: WooCommerce draws it in black, invisible on dark-mode fields. */
html[data-theme="dark"] #page-container .woocommerce form .show-password-input {
	filter: invert(1) brightness(0.85);
}
#page-container .woocommerce .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	order: 2;
	margin: 0;
}

/* Licence keys on the thank-you page and My Account > Licenses (licence server plugin markup): Divi's <code>
   style read faint on the dark page. */
#page-container .dswls-order-licenses code,
#page-container .dswls-license code {
	color: var(--gcid-body-color, #0b1826);
	background-color: var(--gcid-ds-surface, #f6f9fc);
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-radius: 6px;
	padding: 2px 8px;
}

/* "Live module" tag: marks the parts of a page that are Divi Swiper running, not pictures of it. One class so
   every label looks the same, in the brand blue. Divi prints only the colour
   variables a page uses, hence the fallbacks. */
.ds-live {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border: 1px solid rgba(0, 128, 255, 0.45);
	border-radius: 999px;
	background: rgba(0, 128, 255, 0.1);
}
.ds-live::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gcid-primary-color, #0080ff);
	animation: ds-live-pulse 1.8s ease-out infinite;
}
@keyframes ds-live-pulse {
	0% { box-shadow: 0 0 0 0 rgba(0, 128, 255, 0.6); }
	70%, 100% { box-shadow: 0 0 0 8px rgba(0, 128, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
	.ds-live::before { animation: none; }
}

/* Homepage module chips: the chip whose slide is showing (class set by the chips script on the page).
   !important because each chip's colours are module settings, which Divi prints with higher specificity. */
#page-container .ds-chip-on,
#page-container .ds-chip-on:hover {
	background-color: var(--gcid-primary-color, #0080ff) !important;
	border-color: var(--gcid-primary-color, #0080ff) !important;
	color: #ffffff !important;
}

/* Fluent Support customer portal (/support-portal/). The portal draws everything from --fs-* variables on
   .fs_client_portal; they take the site's colours so it matches the page, in light and dark mode
   (inc/support-portal.php switches the portal's own dark palette on). html[data-theme] body outranks the
   plugin's html.dark rules. */
html[data-theme] body .fs_client_portal {
	--fs-primary: var(--gcid-primary-color, #0080ff);
	--fs-primary-hover: var(--gcid-primary-color, #0080ff);
	--fs-primary-dark: var(--gcid-primary-color, #0080ff);
	--fs-btn-text: #ffffff;
	--fs-border-focus: var(--gcid-primary-color, #0080ff);
	--fs-link: var(--gcid-link-color, #0080ff);
	--fs-link-hover: var(--gcid-link-color, #0080ff);
	--fs-white: var(--gcid-ds-page, #ffffff);
	--fs-bg-white: var(--gcid-ds-page, #ffffff);
	--fs-bg-light: var(--gcid-ds-surface, #f6f9fc);
	--fs-bg-weak: var(--gcid-ds-surface, #f6f9fc);
	--fs-global-component-bg: var(--gcid-ds-surface, #f6f9fc);
	--fs-border-soft: var(--gcid-ds-border, #dce4ec);
	--fs-border-light: var(--gcid-ds-border, #dce4ec);
	--fs-border-input: var(--gcid-ds-border, #dce4ec);
}
html[data-theme="dark"] body .fs_client_portal {
	--fs-text-strong: var(--gcid-heading-color);
	--fs-text-dark: var(--gcid-body-color);
	--fs-text-sub: var(--gcid-ldhukj5j0a);
	--fs-text-light: var(--gcid-ds-steel);
	--fs-bg-lighter: var(--gcid-ds-border);
	--fs-bg-hover: var(--gcid-ds-blue-tint);
}
/* The portal's dropdown lists open outside .fs_client_portal (appended to <body>), so they need their own rules. */
html[data-theme] body .el-popper.el-select__popper {
	--el-color-primary: var(--gcid-primary-color, #0080ff);
}
html[data-theme="dark"] body .el-popper.el-select__popper {
	--el-bg-color-overlay: var(--gcid-ds-page);
	--el-border-color-light: var(--gcid-ds-border);
	--el-text-color-regular: var(--gcid-body-color);
	--el-fill-color-light: var(--gcid-ds-blue-tint);
	background-color: var(--gcid-ds-page);
	border-color: var(--gcid-ds-border);
}
/* Logged-out portal: the login form (core wp_login_form) as a narrow card like the My Account login. */
#page-container .fst_login_wrapper {
	max-width: 520px;
	padding: 24px;
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-radius: 14px;
	background-color: var(--gcid-ds-page, #ffffff);
}
#page-container .fst_login_wrapper input.input {
	background-color: var(--gcid-ds-page, #ffffff);
	color: var(--gcid-body-color, #0b1826);
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-radius: 8px;
	padding: 12px 14px;
}
#page-container .fst_login_wrapper input[type="submit"] {
	background-color: var(--gcid-primary-color, #0080ff);
	color: #ffffff;
	border: 0;
	border-radius: 9px;
}

/* Logged-out portal polish: centre the intro line and the card, size fields and the button like the rest of the site. */
#page-container .et_pb_text_inner:has(.fst_login_wrapper) {
	max-width: 460px;
	margin: 0 auto;
}
#page-container .et_pb_text_inner:has(.fst_login_wrapper) > p:first-child {
	margin-bottom: 20px;
	padding-bottom: 0;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4em;
	color: var(--gcid-heading-color, #0b1826);
}
#page-container .fst_login_wrapper {
	max-width: none;
	margin: 0 auto;
	padding: 32px;
	box-shadow: 0 24px 60px rgba(8, 23, 38, 0.08);
}
#page-container .fst_login_wrapper form p {
	margin: 0 0 18px;
	padding: 0;
}
#page-container .fst_login_wrapper label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gcid-heading-color, #0b1826);
}
#page-container .fst_login_wrapper input.input {
	width: 100%;
	height: 48px;
	margin: 0;
	font-size: 16px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#page-container .fst_login_wrapper input.input:focus {
	outline: none;
	border-color: var(--gcid-primary-color, #0080ff);
	box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.18);
}
#page-container .fst_login_wrapper .login-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 500;
	color: var(--gcid-body-color, #0b1826);
}
#page-container .fst_login_wrapper .login-submit {
	margin: 24px 0 0;
}
#page-container .fst_login_wrapper input[type="submit"] {
	width: 100%;
	padding: 14px 26px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2em;
	cursor: pointer;
	transition: filter 0.15s ease;
}
#page-container .fst_login_wrapper input[type="submit"]:hover {
	filter: brightness(0.92);
}
#page-container .fst_login_wrapper > p {
	margin: 20px 0 0;
	padding: 0;
	font-size: 14px;
}

/* WPForms confirmation (support form): WPForms draws it as a lime box; use the site's blue tint and text colours so
   it fits the card in light and dark mode. */
#page-container #et-boc .et-l .et_pb_module div.wpforms-container-full .wpforms-confirmation-container-full:not(.wpforms-redirection-message),
#page-container #et-boc .et-l .et_pb_module div[submit-success] > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
	margin: 0;
	padding: 20px 24px;
	background: var(--gcid-ds-blue-tint, #e8f3ff);
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-left: 4px solid var(--gcid-primary-color, #0080ff);
	border-radius: 12px;
	color: var(--gcid-heading-color, #0b1826);
	font-size: 16px;
	line-height: 1.6em;
}
#page-container #et-boc .et-l .et_pb_module .wpforms-confirmation-container-full p {
	margin: 0;
	padding: 0;
	color: inherit;
}

/* Cookie policy: Complianz prints its own document styles (small headings, 14px text, underlined links). Match the
   privacy policy, which uses the "On Light" Text preset. */
#page-container #cmplz-document {
	max-width: none;
	font-size: 16px;
	line-height: 1.65em;
	color: var(--gcid-ldhukj5j0a);
}
#page-container #cmplz-document p,
#page-container #cmplz-document li {
	font-size: 16px;
	line-height: 1.65em;
	color: var(--gcid-ldhukj5j0a);
}
#page-container #cmplz-document p {
	margin: 0;
	padding-bottom: 16px;
}
#page-container #cmplz-document h2 {
	margin: 0;
	padding-bottom: 10px;
	font-family: var(--et_global_heading_font);
	font-size: 42px;
	font-weight: 700;
	line-height: 1.12em;
	letter-spacing: -0.015em;
	color: var(--gcid-body-color);
}
#page-container #cmplz-document h3 {
	margin: 0;
	padding-bottom: 10px;
	font-family: var(--et_global_heading_font);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3em;
	color: var(--gcid-body-color);
}
#page-container #cmplz-document a {
	color: var(--gcid-primary-color);
	text-decoration: none;
}
@media (max-width: 980px) {
	#page-container #cmplz-document h2 { font-size: 36px; }
}
@media (max-width: 767px) {
	#page-container #cmplz-document h2 { font-size: 30px; }
}

/* My account > Orders: Pay / View / Cancel sat flush against each other when they wrapped. Same 12px / 14px
   button gaps as the licence actions (half on each side, so a single button stays centred in its row). */
#page-container .woocommerce .woocommerce-orders-table__cell-order-actions .button {
	margin: 6px 14px 6px 0;
	white-space: nowrap;
}
#page-container .woocommerce .woocommerce-orders-table__cell-order-actions .button:last-child {
	margin-right: 0;
}

/* My Account > Privacy (child inc/account-privacy.php): cookie preferences and account deletion, as bordered
   cards like the account details fieldsets. Complianz's inline consent form follows the site colours. */
#page-container .dsw-privacy-card {
	margin: 0 0 28px;
	padding: 24px;
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-radius: 14px;
}
#page-container .woocommerce-MyAccount-content .dsw-privacy-card h2 {
	margin: 0 0 10px;
}
#page-container .dsw-privacy-card p:last-child,
#page-container .dsw-privacy-card ul:last-child {
	margin-bottom: 0;
}
#page-container .dsw-privacy-card ul {
	margin: 0 0 20px;
	padding-left: 20px;
	list-style: disc;
	line-height: 1.6;
}
#page-container .dsw-privacy-card .dsw-privacy-note {
	margin-top: 16px;
	font-size: 14px;
	color: var(--gcid-ldhukj5j0a, #51667a);
}
#page-container .dsw-privacy-delete {
	border-color: rgba(220, 53, 69, 0.45);
}
#page-container .dsw-delete-account-form {
	max-width: 420px;
}
#page-container .dsw-delete-account-form .form-row {
	padding: 0;
	margin: 0 0 16px;
}
#page-container .dsw-delete-account-form label {
	display: block;
	margin-bottom: 6px;
}
#page-container .woocommerce button.button.dsw-button-danger,
#page-container .woocommerce button.button.dsw-button-danger:hover {
	background-color: #d03545;
}
#page-container .dsw-privacy-cookies .cmplz-categories {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 16px 0 0;
}
#page-container .dsw-privacy-cookies .cmplz-category {
	border: 1px solid var(--gcid-ds-hairline, #e3eaf2);
	border-radius: 10px;
	background-color: var(--gcid-ds-surface, #f6f9fc);
	color: var(--gcid-body-color, #0b1826);
}
#page-container .dsw-privacy-cookies .cmplz-category-header {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
}
#page-container .dsw-privacy-cookies .cmplz-category-title {
	font-weight: 600;
}
#page-container .dsw-privacy-cookies .cmplz-always-active {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--gcid-ldhukj5j0a, #51667a);
}
#page-container .dsw-privacy-cookies .cmplz-consent-checkbox {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--gcid-primary-color, #0080ff);
	vertical-align: middle;
	cursor: pointer;
}
#page-container .dsw-privacy-cookies .cmplz-always-active .cmplz-consent-checkbox {
	cursor: default;
}
#page-container .dsw-privacy-cookies .cmplz-category-toggle {
	display: inline-flex;
	padding: 4px;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
#page-container .dsw-privacy-cookies .cmplz-category-toggle svg {
	fill: currentColor;
}
#page-container .dsw-privacy-cookies .cmplz-description {
	padding: 0 16px 14px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--gcid-ldhukj5j0a, #51667a);
}

/* Privacy policy (Termly text): the CCPA categories table sits in a Code module; style it like the site's other
   tables, let it scroll sideways on phones, and keep in-page anchor targets clear of the sticky header. */
#page-container .ds-policy-table {
	overflow-x: auto;
	border: 1px solid var(--gcid-ds-border, #dce4ec);
	border-radius: 14px;
}
#page-container .ds-policy-table table {
	width: 100%;
	min-width: 560px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.55em;
	color: var(--gcid-ldhukj5j0a);
}
#page-container .ds-policy-table th,
#page-container .ds-policy-table td {
	padding: 12px 16px;
	border: 0;
	border-top: 1px solid var(--gcid-ds-hairline, #e3eaf2);
	text-align: left;
	vertical-align: top;
}
#page-container .ds-policy-table thead th {
	border-top: 0;
	background: var(--gcid-ds-surface, #f6f9fc);
	font-weight: 600;
	color: var(--gcid-body-color);
}
#page-container .ds-policy-table td:last-child,
#page-container .ds-policy-table th:last-child {
	white-space: nowrap;
}
.et_pb_text [id] {
	scroll-margin-top: 110px;
}
