.single-page-container,
.page-template-default .single-page-container,
.page-template .single-page-container,
.woocommerce-page .single-page-container {
    padding-top: calc(var(--space-panel) + var(--space-md));
    padding-bottom: var(--section-space);
}

.entry-title,
.page-title {
    color: var(--text-color);
}

body .entry-content,
body .entry-content *,
body .liquidmaster-page-wrap,
body .liquidmaster-page-wrap *,
body .woocommerce-account,
body .woocommerce-account *,
body .woocommerce-cart,
body .woocommerce-cart *,
body .woocommerce-checkout,
body .woocommerce-checkout * {
    color: inherit;
}

.liquidmaster-page-hero {
    position: relative;
    padding-bottom: clamp(36px, 6vw, 64px);
    border-bottom: 1px solid var(--border-color-subtle);
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 0%, rgba(83, 118, 214, 0.09), transparent 45%),
        radial-gradient(circle at 50% 0%, rgba(143, 37, 220, 0.07), transparent 40%),
        linear-gradient(180deg, rgba(8, 10, 17, 0.98), var(--bg-color));
}

.liquidmaster-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 60%);
    pointer-events: none;
}

.liquidmaster-page-hero__container {
    position: relative;
    display: block;
}

.liquidmaster-page-hero__content {
    display: grid;
    gap: clamp(10px, 1.6vw, 16px);
    padding-top: clamp(34px, 6vw, 64px);
    text-align: center;
}

.liquidmaster-page-hero__title {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    line-height: 1.05;
}

.liquidmaster-page-hero__accent {
    display: block;
    width: 64px;
    height: 3px;
    margin: 0 auto;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 2px 12px rgba(144, 20, 223, 0.35);
}

.liquidmaster-page-hero__subtitle {
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    line-height: 1.6;
    color: var(--text-color-soft);
}

.woocommerce-lost-password .liquidmaster-page-hero__subtitle {
    display: none;
}

.liquidmaster-page-content {
    display: grid;
    gap: var(--card-padding);
    box-sizing: border-box;
}

.liquidmaster-shop-page-content{
    position: relative;
}

.liquidmaster-page-content {
    padding: clamp(16px, 4vw, 40px);
}

.liquidmaster-page-content__card,
.liquidmaster-cta-band {
    background: var(--surface-panel-soft);
    border: var(--border-subtle);
    border-radius: var(--radius-shell);
    box-shadow: var(--shadow-1);
}

.liquidmaster-page-content__card {
    padding: var(--card-padding);
}

.liquidmaster-page-content__card .entry-content,
.liquidmaster-page-content__card .entry-content > *:first-child {
    margin-top: 0;
}

.liquidmaster-page-content__card .entry-content,
.liquidmaster-page-content__card .entry-content p,
.liquidmaster-page-content__card .entry-content li,
.liquidmaster-page-content__card .entry-content span,
.liquidmaster-page-content__card .entry-content strong,
.liquidmaster-page-content__card .entry-content h2,
.liquidmaster-page-content__card .entry-content h3,
.liquidmaster-page-content__card .entry-content h4 {
    color: var(--text-color);
}

.liquidmaster-page-content__card .entry-content p,
.liquidmaster-page-content__card .entry-content li {
    color: var(--text-muted);
}

.liquidmaster-page-content__card a,
.liquidmaster-cta-band a,
.entry-content a,
.woocommerce a {
    color: var(--text-color);
    text-decoration-color: var(--link-decoration-color);
}

.liquidmaster-page-content__card a:visited,
.liquidmaster-cta-band a:visited,
.entry-content a:visited,
.woocommerce a:visited {
    color: var(--text-color);
}

.liquidmaster-page-content__card a:hover,
.liquidmaster-cta-band a:hover,
.entry-content a:hover,
.woocommerce a:hover {
    color: var(--link-hover-color);
}

.liquidmaster-page-content__fallback {
    margin: 0;
    color: var(--text-muted);
}

.liquidmaster-cta-band {
    padding: var(--card-padding) var(--card-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.liquidmaster-cta-band__content {
    display: grid;
    gap: var(--cluster-gap);
}

.liquidmaster-cta-band__title {
    margin: 0;
    font-size: clamp(1.4rem, 2vw, 2rem);
}

.liquidmaster-cta-band__text {
    margin: 0;
    color: var(--text-muted);
}

.liquidmaster-content-shell {
    display: grid;
}

.liquidmaster-content-shell--shop {
    width: 100%;
}

.liquidmaster-content-shell--shop .liquidmaster-page-hero__container {
    width: 100%;
    max-width: none;
    padding-left: var(--space-2xl);
    padding-right: var(--space-2xl);
}

.liquidmaster-shop-section {
    width: 100%;
    padding-left: var(--space-2xl);
    padding-right: var(--space-2xl);
    box-sizing: border-box;
}

.liquidmaster-wishlist-modal__status {
    display: none;
}

.liquidmaster-shop-inner {
    width: 100%;
    max-width: none;
}

.liquidmaster-legal-page .liquidmaster-page-content__card {
    padding: calc(var(--space-panel) + var(--space-md));
}

@media (max-width: 720px) {
    .single-page-container {
        padding-bottom: var(--section-space-compact);
    }

    .liquidmaster-page-hero {
        padding-bottom: 36px;
    }

    .liquidmaster-page-hero__content {
        padding-top: 28px;
    }

    .liquidmaster-content-shell--shop .liquidmaster-page-hero__container,
    .liquidmaster-page-content--full,
    .liquidmaster-shop-section {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .liquidmaster-page-content__card,
    .liquidmaster-legal-page .liquidmaster-page-content__card {
        padding: var(--space-2xl);
    }

    .liquidmaster-cta-band {
        padding: var(--space-2xl);
        flex-direction: column;
        align-items: stretch;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Complianz Cookie Policy — dark theme override
   ═══════════════════════════════════════════════════════════════════════ */

#cmplz-document {
	max-width: none;
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--text-color-soft);
}

#cmplz-document h2,
#cmplz-document h3 {
	font-size: 1.35rem;
	margin: var(--space-md) 0 var(--space-sm);
	color: var(--text-color);
	text-align: left;
}

#cmplz-document h4 {
	font-size: 1.05rem;
	margin: var(--space-sm) 0 var(--space-xs);
	color: var(--text-color);
}

#cmplz-document h5 {
	font-size: 0.85rem;
	margin: var(--space-xs) 0 4px;
	color: var(--text-label);
}

#cmplz-document p,
#cmplz-document li,
#cmplz-document td {
	font-size: 0.93rem;
}

#cmplz-document a {
	color: var(--link-color);
	text-decoration-color: var(--link-decoration-color);
}

#cmplz-document a:hover {
	color: var(--link-hover-color);
}

/* ── Service dropdowns ── */
#cmplz-document .cmplz-dropdown {
	margin: var(--space-sm) 0;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-panel);
	background: rgba(255, 255, 255, 0.025) !important;
	overflow: hidden;
}

#cmplz-document .cmplz-dropdown[open] {
	background: rgba(255, 255, 255, 0.045) !important;
	padding-bottom: 1px;
}

#cmplz-document .cmplz-dropdown summary {
	display: block;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.04) !important;
	margin: 0 !important;
	padding: 14px 16px !important;
}

#cmplz-document .cmplz-dropdown summary:hover {
	background: rgba(255, 255, 255, 0.08) !important;
}

#cmplz-document .cmplz-dropdown summary::-webkit-details-marker,
#cmplz-document .cmplz-dropdown summary::marker {
	display: none;
	content: "";
}

#cmplz-document .cmplz-dropdown summary div {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: center;
}

#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div {
	grid-template-columns: 1fr auto;
}

#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p {
	display: none;
}

#cmplz-document .cmplz-dropdown summary div h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	padding: 0 !important;
	border: 0;
	color: var(--text-color);
}

#cmplz-document .cmplz-dropdown summary div:after {
	cursor: pointer;
	content: "";
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23999" d="M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z"/></svg>') no-repeat;
	background-size: cover;
	height: 14px;
	width: 14px;
	margin: 3px;
	transition: transform 0.3s ease;
}

#cmplz-document .cmplz-dropdown[open] summary div:after {
	transform: rotate(180deg);
}

#cmplz-document .cmplz-dropdown summary div input[data-category="functional"] {
	visibility: hidden;
}

#cmplz-document .cmplz-dropdown summary div input[type="checkbox"] {
	accent-color: var(--primary-color);
	width: 18px;
	height: 18px;
	cursor: pointer;
}

/* ── Description & sharing ── */
#cmplz-document .cmplz-dropdown .cmplz-service-description,
#cmplz-document .cmplz-dropdown .cmplz-sharing-data {
	display: block;
	width: auto;
	padding: 0 16px 10px;
}

#cmplz-document .cmplz-dropdown .cmplz-service-description h4,
#cmplz-document .cmplz-dropdown .cmplz-sharing-data h4 {
	font-size: 0.9rem;
	margin: 6px 0 4px;
	padding: 0;
}

#cmplz-document .cmplz-dropdown .cmplz-service-description p,
#cmplz-document .cmplz-dropdown .cmplz-sharing-data p {
	padding: 0;
}

/* ── Cookie table ── */
#cmplz-document .cmplz-dropdown .cookies-per-purpose {
	display: grid;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	grid-gap: 1px;
	background-color: rgba(255, 255, 255, 0.06) !important;
	margin: 10px 16px;
	border-radius: var(--radius-field);
	overflow: hidden;
}

#cmplz-document .cmplz-dropdown .cookies-per-purpose .purpose {
	grid-column: 1 / -1;
}

#cmplz-document .cmplz-dropdown .cookies-per-purpose .purpose h4 {
	padding: 10px 12px 4px;
}

#cmplz-document .cmplz-dropdown .cookies-per-purpose div {
	background-color: rgba(10, 12, 20, 0.95) !important;
	padding: 10px 12px;
}

#cmplz-document .cmplz-dropdown .cookies-per-purpose .name-header,
#cmplz-document .cmplz-dropdown .cookies-per-purpose .retention-header,
#cmplz-document .cmplz-dropdown .cookies-per-purpose .function-header {
	background-color: rgba(255, 255, 255, 0.03) !important;
}

#cmplz-document .cmplz-dropdown .cookies-per-purpose .name-header h5,
#cmplz-document .cmplz-dropdown .cookies-per-purpose .retention-header h5,
#cmplz-document .cmplz-dropdown .cookies-per-purpose .function-header h5 {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-label);
}

#cmplz-document .cmplz-dropdown .cookies-per-purpose .name,
#cmplz-document .cmplz-dropdown .cookies-per-purpose .retention,
#cmplz-document .cmplz-dropdown .cookies-per-purpose .function {
	font-size: 0.85rem;
	word-break: break-all;
}

@media (min-width: 600px) {
	#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose {
		grid-template-columns: 1fr 1fr 1fr;
		grid-column: span 2;
	}
}

@media (max-width: 599px) {
	#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose {
		grid-template-columns: 110px 1fr;
	}

	#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose {
		grid-column: span 2;
	}

	ol.wp-block-list {
    	padding-inline-start: 20px;
	}
}

/* ── Consent management ── */
#cmplz-manage-consent-container {
	display: block !important;
	margin-top: var(--space-xl);
}

#cmplz-manage-consent-container .cmplz-categories {
	margin-top: var(--space-sm);
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category {
	margin-bottom: var(--space-xs);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-panel);
	background: rgba(255, 255, 255, 0.025) !important;
	overflow: hidden;
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header {
	display: grid;
	grid-template-columns: 1fr auto 34px;
	gap: 12px;
	align-items: center;
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.04) !important;
	cursor: default;
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.78rem;
	font-weight: 600;
	color: #7cc97c;
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active label,
#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active input {
	display: none;
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-title {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text-color);
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-banner-checkbox {
	display: flex;
	align-items: center;
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-banner-checkbox input[type="checkbox"] {
	accent-color: var(--primary-color);
	width: 18px;
	height: 18px;
	margin: 0;
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: var(--radius-field);
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-color-soft);
	cursor: pointer;
	transition: background 0.2s ease;
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-category-toggle:hover {
	background: rgba(255, 255, 255, 0.12);
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-icon.cmplz-open {
	display: flex;
	align-items: center;
	transition: transform 0.3s ease;
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-icon.cmplz-open svg {
	fill: #999;
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-toggle[aria-expanded="true"] .cmplz-icon.cmplz-open {
	transform: rotate(180deg);
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description {
	padding: 0 16px 14px;
	font-size: 0.9rem;
	color: var(--text-muted);
	line-height: 1.65;
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description span {
	display: block;
}

#cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description span + span {
	margin-top: var(--space-xs);
	padding-top: var(--space-xs);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.82rem;
}

/* ── Email obfuscation ── */
.cmplz-obfuscate span {
	display: none;
}
