/**
 * Frontend styles for Custom PC Builder Custom PC Builder.
 * Premium Cyberpunk Dark Mode.
 */

:root {
	/* Default fallbacks - overwritten by PHP enqueued CSS */
	--cpb-primary: #2563EB;
	--cpb-primary-glow: rgba(37, 99, 235, 0.15);
	--cpb-secondary: #F59E0B;
	--cpb-secondary-glow: rgba(245, 158, 11, 0.2);
	--cpb-green: #10B981;
	--cpb-error: #EF4444;
	--cpb-border-focus: #475569;
	
	--cpb-font-heading: 'Space Grotesk', sans-serif;
	--cpb-font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Dark Theme Colors (Midnight Obsidian) */
.custom-pc-builder-container.theme-dark {
	--cpb-bg: #0B0F19;
	--cpb-surface: #0F172A;
	--cpb-surface-bright: #1E293B;
	--cpb-border: #334155;
	--cpb-text: #F8FAFC;
	--cpb-text-muted: #94A3B8;
	--cpb-error-bg: rgba(239, 68, 68, 0.15);
}

/* Light Theme Colors (Clean Slate) */
.custom-pc-builder-container.theme-light {
	--cpb-bg: #F8FAFC;
	--cpb-surface: #FFFFFF;
	--cpb-surface-bright: #F1F5F9;
	--cpb-border: #E2E8F0;
	--cpb-text: #0F172A;
	--cpb-text-muted: #627183;
	--cpb-error-bg: rgba(239, 68, 68, 0.05);
}

/* Base Wrapper Container */
.custom-pc-builder-container {
	font-family: var(--cpb-font-body);
	background-color: var(--cpb-bg);
	color: var(--cpb-text);
	width: 100%;
	max-width: 100%; /* Stretch background full-width across page */
	box-sizing: border-box;
	overflow-x: hidden; /* Prevent horizontal scrolling on mobile */
	transition: background-color 0.3s ease, color 0.3s ease;
	
	/* Desktop Padding */
	padding-top: 80px;
	padding-bottom: 80px;
}

/* Constrained Grid Content */
.custom-pc-builder-inner {
	max-width: 1250px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
	padding-left: 0;
	padding-right: 0;
}

.custom-pc-builder-container *,
.custom-pc-builder-container *::before,
.custom-pc-builder-container *::after {
	box-sizing: border-box;
}

/* Grid Layout */
.custom-pc-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 32px;
	align-items: start;
}

/* Header */
.custom-pc-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
	width: 100%;
}

.custom-pc-header-text {
	flex-grow: 1;
	min-width: 0;
	margin-right: 20px;
}

.custom-pc-title {
	font-family: var(--cpb-font-heading);
	font-size: 36px;
	font-weight: 700;
	margin: 0 0 10px 0;
	color: var(--cpb-text);
	letter-spacing: -0.02em;
}

.custom-pc-subtitle {
	font-size: 16px;
	color: var(--cpb-text-muted);
	margin: 0;
}

.custom-pc-theme-switch-container {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.custom-pc-theme-switch-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--cpb-text);
	user-select: none;
	transition: color 0.3s ease;
}

/* The switch - the box around the slider */
.custom-pc-theme-switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 26px;
	flex-shrink: 0;
}

/* Hide default HTML checkbox */
.custom-pc-theme-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.custom-pc-theme-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--cpb-border);
	transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 34px;
	border: 1px solid var(--cpb-border);
}

.custom-pc-theme-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: var(--cpb-text-muted);
	transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 50%;
}

/* Checked states (Light Mode) */
.custom-pc-theme-switch input:checked + .custom-pc-theme-slider {
	background-color: var(--cpb-green);
	border-color: var(--cpb-green);
}

.custom-pc-theme-switch input:focus + .custom-pc-theme-slider {
	box-shadow: 0 0 1px var(--cpb-green);
}

.custom-pc-theme-switch input:checked + .custom-pc-theme-slider:before {
	transform: translateX(24px);
	background-color: #ffffff;
}

/* Step Cards */
.custom-pc-components-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.custom-pc-step-card {
	background-color: var(--cpb-surface);
	border: 1px solid var(--cpb-border);
	border-radius: 8px;
	padding: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	gap: 20px;
}

.custom-pc-step-card:hover {
	border-color: var(--cpb-primary);
	box-shadow: 0 0 20px var(--cpb-primary-glow);
	background-color: var(--cpb-surface-bright);
}

.custom-pc-step-meta {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-grow: 1;
}

.custom-pc-step-icon {
	font-size: 32px;
	background-color: var(--cpb-surface-bright);
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	border: 1px solid var(--cpb-border);
}

.custom-pc-step-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.custom-pc-step-label {
	font-family: var(--cpb-font-heading);
	font-size: 18px;
	font-weight: 600;
	color: var(--cpb-text);
}

.custom-pc-step-status {
	font-size: 13px;
	color: var(--cpb-text-muted);
}

/* Selected Product Layout inside Step Card */
.custom-pc-selected-product {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-grow: 2;
	max-width: 50%;
}

.custom-pc-selected-image {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid var(--cpb-border);
	background-color: var(--cpb-bg);
}

.custom-pc-selected-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.custom-pc-selected-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--cpb-text);
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 250px;
}

.custom-pc-selected-price {
	font-family: var(--cpb-font-heading);
	font-size: 14px;
	color: var(--cpb-secondary);
	font-weight: 700;
}

/* Action Buttons */
.custom-pc-step-actions {
	display: flex;
	gap: 10px;
}

.custom-pc-btn {
	font-family: var(--cpb-font-body) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	padding: 10px 20px !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-decoration: none !important;
	box-shadow: none !important;
	height: auto !important;
	min-height: 0 !important;
	line-height: 1.4 !important;
}

.custom-pc-btn-primary {
	background-color: var(--cpb-primary) !important;
	border: 1.5px solid var(--cpb-primary) !important;
	color: #ffffff !important;
}

.custom-pc-btn-primary:hover {
	background-color: var(--cpb-primary) !important;
	color: #ffffff !important;
	opacity: 0.9 !important;
	box-shadow: 0 0 12px var(--cpb-primary-glow) !important;
}

.custom-pc-btn-danger {
	background-color: transparent !important;
	border: 1.5px solid var(--cpb-error) !important;
	color: var(--cpb-error) !important;
}

.custom-pc-btn-danger:hover {
	background-color: var(--cpb-error) !important;
	color: #ffffff !important;
}

/* Sticky Sidebar styling */
.custom-pc-sidebar-wrapper {
	position: sticky;
	top: 100px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.custom-pc-sidebar {
	background-color: var(--cpb-surface);
	border: 1px solid var(--cpb-border);
	border-radius: 8px;
	padding: 30px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.custom-pc-sidebar-title {
	font-family: var(--cpb-font-heading);
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 24px 0;
	color: var(--cpb-text);
	border-bottom: 1px solid var(--cpb-border);
	padding-bottom: 15px;
}

.custom-pc-summary-list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.custom-pc-summary-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	padding-bottom: 10px;
	border-bottom: 1px dashed var(--cpb-border);
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.custom-pc-summary-item:last-child {
	border-bottom: none;
}

.custom-pc-summary-label {
	color: var(--cpb-text-muted);
	font-weight: 500;
	flex-shrink: 0;
	margin-right: 10px;
}

.custom-pc-summary-value {
	color: var(--cpb-text);
	font-weight: 600;
	max-width: 50%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: right;
	min-width: 0;
	flex-grow: 1;
}

.custom-pc-summary-item.selected .custom-pc-summary-value {
	color: var(--cpb-green);
}

.custom-pc-total-box {
	background-color: var(--cpb-bg);
	border: 1px solid var(--cpb-border);
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.custom-pc-total-label {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--cpb-text-muted);
	letter-spacing: 0.05em;
}

.custom-pc-total-price {
	font-family: var(--cpb-font-heading);
	font-size: 28px;
	font-weight: 700;
	color: var(--cpb-secondary);
}

/* Sidebar action CTAs */
.custom-pc-action-container {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.custom-pc-btn-action-primary {
	background-color: var(--cpb-secondary) !important;
	color: #ffffff !important;
	width: 100% !important;
	padding: 14px 20px !important;
	font-size: 15px !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
}

.custom-pc-btn-action-primary:hover:not(:disabled) {
	background-color: #ffffff !important;
	color: #000000 !important;
	box-shadow: 0 0 15px var(--cpb-secondary-glow) !important;
}

.custom-pc-btn-action-primary:disabled {
	background-color: var(--cpb-border) !important;
	color: var(--cpb-text-muted) !important;
	cursor: not-allowed !important;
	opacity: 0.6 !important;
}

.custom-pc-btn-action-secondary {
	background-color: transparent !important;
	border: 1.5px solid var(--cpb-primary) !important;
	color: var(--cpb-text) !important;
	width: 100% !important;
	padding: 14px 20px !important;
	font-size: 15px !important;
	border-radius: 8px !important;
	font-weight: 700 !important;
}

.custom-pc-btn-action-secondary:hover:not(:disabled) {
	background-color: var(--cpb-primary) !important;
	color: #ffffff !important;
	box-shadow: 0 0 15px var(--cpb-primary-glow) !important;
}

.custom-pc-btn-action-secondary:disabled {
	background-color: transparent !important;
	border-color: var(--cpb-border) !important;
	color: var(--cpb-text-muted) !important;
	cursor: not-allowed !important;
	opacity: 0.6 !important;
}

/* Modal Popup styling */
.custom-pc-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.custom-pc-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(2, 6, 23, 0.85);
	backdrop-filter: blur(8px);
}

.custom-pc-modal-content {
	background-color: var(--cpb-surface);
	border: 1px solid var(--cpb-border);
	border-radius: 12px;
	width: 90%;
	max-width: 800px;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 1;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
	overflow: hidden;
}

.custom-pc-modal-header {
	padding: 20px 24px;
	border-bottom: 1px solid var(--cpb-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.custom-pc-modal-title {
	font-family: var(--cpb-font-heading);
	font-size: 20px;
	font-weight: 700;
	margin: 0;
	color: var(--cpb-text);
}

.custom-pc-modal-close {
	background: none !important;
	border: none !important;
	color: var(--cpb-text-muted) !important;
	font-size: 30px !important;
	cursor: pointer !important;
	line-height: 1 !important;
	padding: 0 !important;
	width: auto !important;
	height: auto !important;
	min-height: 0 !important;
	box-shadow: none !important;
	transition: color 0.2s !important;
}

.custom-pc-modal-close:hover {
	color: var(--cpb-error) !important;
}

.custom-pc-modal-filters {
	padding: 16px 24px;
	border-bottom: 1px solid var(--cpb-border);
	background-color: var(--cpb-bg);
}

.custom-pc-modal-filters input {
	width: 100% !important;
	background-color: var(--cpb-surface) !important;
	border: 1px solid var(--cpb-border) !important;
	border-radius: 8px !important;
	padding: 12px 16px !important;
	color: var(--cpb-text) !important;
	font-family: var(--cpb-font-body) !important;
	font-size: 14px !important;
	height: auto !important;
	box-shadow: none !important;
	transition: all 0.2s !important;
}

.custom-pc-modal-filters input:focus {
	outline: none !important;
	border-color: var(--cpb-primary) !important;
	box-shadow: 0 0 10px var(--cpb-primary-glow) !important;
}

.custom-pc-modal-body {
	padding: 24px;
	overflow-y: auto;
	flex-grow: 1;
}

/* Products inside Modal */
.custom-pc-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.custom-pc-product-card {
	background-color: var(--cpb-bg);
	border: 1px solid var(--cpb-border);
	border-radius: 8px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	transition: all 0.3s;
}

.custom-pc-product-card:hover {
	border-color: var(--cpb-primary);
	background-color: var(--cpb-surface-bright);
}

.custom-pc-prod-image-wrapper {
	width: 100%;
	height: 140px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--cpb-surface);
	border-radius: 6px;
	margin-bottom: 12px;
	overflow: hidden;
}

.custom-pc-prod-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.custom-pc-prod-title {
	font-size: 13px;
	font-weight: 600;
	margin: 0 0 8px 0;
	color: var(--cpb-text);
	min-height: 38px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.custom-pc-prod-price {
	font-family: var(--cpb-font-heading);
	font-size: 15px;
	color: var(--cpb-secondary);
	font-weight: 700;
	margin-bottom: 12px;
}

.custom-pc-prod-action {
	margin-top: auto;
}

.custom-pc-prod-btn {
	width: 100% !important;
	font-size: 12px !important;
	padding: 8px 12px !important;
	border-radius: 6px !important;
	background-color: var(--cpb-primary) !important;
	color: #ffffff !important;
	border: none !important;
	box-shadow: none !important;
	height: auto !important;
	min-height: 0 !important;
}

.custom-pc-prod-btn:hover {
	background-color: var(--cpb-primary) !important;
	color: #ffffff !important;
	opacity: 0.9 !important;
}

.custom-pc-prod-btn:disabled {
	background-color: var(--cpb-border) !important;
	color: var(--cpb-text-muted) !important;
	cursor: not-allowed !important;
	opacity: 0.6 !important;
}

/* Spinner Loader */
.custom-pc-loader {
	text-align: center;
	padding: 40px 0;
}

.custom-pc-spinner {
	border: 3px solid var(--cpb-border);
	border-top: 3px solid var(--cpb-primary);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin: 0 auto 15px auto;
}

.custom-pc-no-products,
.custom-pc-loader p {
	text-align: center;
	color: var(--cpb-text-muted);
	font-size: 14px;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Warning Alerts */
.custom-pc-builder-warning {
	background-color: var(--cpb-error-bg);
	border: 1px solid var(--cpb-error);
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 24px;
	text-align: center;
}

.custom-pc-builder-warning p {
	margin: 0;
	color: var(--cpb-text);
	font-weight: 600;
}

.custom-pc-builder-warning a {
	color: var(--cpb-secondary);
	text-decoration: underline;
	margin-left: 10px;
}

/* Selected Product List Styles */
.custom-pc-selected-list {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 12px;
	margin-top: 10px;
}

.custom-pc-selected-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-width: 0;
	padding: 12px 0;
	border-bottom: 1px dashed var(--cpb-border);
}

.custom-pc-selected-item:last-child {
	border-bottom: none;
}

.custom-pc-selected-product-info {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
	flex-grow: 1;
}

.custom-pc-remove-item-btn {
	background: none;
	border: none;
	color: #ef4444;
	font-size: 22px;
	font-weight: 700;
	cursor: pointer;
	padding: 4px 8px;
	line-height: 1;
	transition: color 0.2s ease, transform 0.2s ease;
	flex-shrink: 0;
}

.custom-pc-remove-item-btn:hover {
	color: #dc2626;
	transform: scale(1.15);
}

/* ----------------------------------------------------
   📱 TABLET & MOBILE RESPONSIVENESS RULES
   ---------------------------------------------------- */
@media screen and (max-width: 1024px) {
	.custom-pc-builder-container {
		/* Tablet Padding */
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.custom-pc-builder-inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	/* Collapse grid to single column */
	.custom-pc-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}

	.custom-pc-sidebar-wrapper {
		position: static;
	}

	/* Card components stack vertically on tablets/phones */
	.custom-pc-step-card {
		flex-direction: column;
		align-items: stretch;
		padding: 16px;
		gap: 12px;
		min-width: 0;
	}

	/* Step Meta stays horizontal (icon next to text) */
	.custom-pc-step-meta {
		flex-direction: row;
		align-items: center;
		text-align: left;
		width: 100%;
		gap: 16px;
		min-width: 0;
	}

	.custom-pc-step-icon {
		width: 50px;
		height: 50px;
		font-size: 24px;
		flex-shrink: 0;
	}

	.custom-pc-step-details {
		min-width: 0;
	}

	.custom-pc-step-label {
		font-size: 16px;
	}

	/* Selected product container stays horizontal */
	.custom-pc-selected-product {
		flex-direction: row;
		align-items: center;
		text-align: left;
		max-width: 100%;
		width: 100%;
		gap: 16px;
		margin-top: 4px;
		min-width: 0;
	}

	.custom-pc-selected-image {
		width: 50px;
		height: 50px;
		flex-shrink: 0;
	}

	.custom-pc-selected-meta {
		min-width: 0;
	}

	.custom-pc-selected-title {
		max-width: 100%;
		white-space: normal;
		text-align: left;
		font-size: 13px;
		word-break: break-word;
	}

	/* Buttons container expands to full row width */
	.custom-pc-step-actions {
		flex-direction: row;
		width: 100%;
		gap: 10px;
		margin-top: 8px;
	}

	.custom-pc-step-actions .custom-pc-btn {
		flex: 1;
		width: 100%;
		padding: 12px 16px;
		font-size: 13px;
	}

	/* Action buttons stacking in sidebar */
	.custom-pc-action-container {
		flex-direction: column;
		gap: 10px;
	}

	/* Modal Adjustments */
	.custom-pc-modal-content {
		width: 95%;
		max-height: 90vh;
	}

	.custom-pc-products-grid {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		gap: 16px;
	}

	/* Stacked Image Centering context (Woodmart alignment rules) */
	.custom-pc-prod-image-wrapper {
		justify-content: center;
	}
}

@media screen and (max-width: 767px) {
	.custom-pc-builder-container {
		/* Mobile Padding */
		padding-top: 35px;
		padding-bottom: 35px;
	}

	.custom-pc-builder-inner {
		padding-left: 10px;
		padding-right: 10px;
	}

	/* Title wrapping & sizes cap */
	.custom-pc-section-header {
		position: relative;
		display: block;
		text-align: center;
		padding-bottom: 60px;
	}

	.custom-pc-header-text {
		width: 100%;
		text-align: center;
		margin-right: 0;
	}

	.custom-pc-title {
		font-size: 28px;
		line-height: 1.2;
		text-align: center;
		margin-bottom: 8px;
	}

	.custom-pc-subtitle {
		font-size: 14px;
		text-align: center;
	}

	.custom-pc-theme-switch-container {
		position: absolute;
		bottom: 12px;
		right: 0;
		top: auto;
	}
}

/* ----------------------------------------------------
   🎨 THEME WRAPPER INTEGRATION OVERRIDES
   ---------------------------------------------------- */
/* Prevent page-level horizontal overflow on the PC Builder page */
body:has(.custom-pc-builder-container) {
	overflow-x: hidden !important;
}

body:has(.custom-pc-builder-container) #wrapper,
body:has(.custom-pc-builder-container) .main-page-wrapper {
	overflow-x: hidden !important;
}

/* Eliminate padding/bg gaps above the builder - Dark Mode */
body:has(.custom-pc-builder-container.theme-dark) .main-page-wrapper,
body:has(.custom-pc-builder-container.theme-dark) .site-content,
body:has(.custom-pc-builder-container.theme-dark) .content-area,
body:has(.custom-pc-builder-container.theme-dark) .elementor-section {
	background-color: #0B0F19 !important;
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* Color theme-level breadcrumbs to match dark mode */
body:has(.custom-pc-builder-container.theme-dark) .breadcrumbs,
body:has(.custom-pc-builder-container.theme-dark) .yoast-breadcrumbs,
body:has(.custom-pc-builder-container.theme-dark) .woocommerce-breadcrumb,
body:has(.custom-pc-builder-container.theme-dark) .woodmart-breadcrumbs,
body:has(.custom-pc-builder-container.theme-dark) .page-title-default {
	background-color: #0B0F19 !important;
	border-color: #334155 !important;
	color: #94A3B8 !important;
}

/* Eliminate padding/bg gaps above the builder - Light Mode */
body:has(.custom-pc-builder-container.theme-light) .main-page-wrapper,
body:has(.custom-pc-builder-container.theme-light) .site-content,
body:has(.custom-pc-builder-container.theme-light) .content-area,
body:has(.custom-pc-builder-container.theme-light) .elementor-section {
	background-color: #F8FAFC !important;
	padding-top: 0 !important;
	margin-top: 0 !important;
}

/* Color theme-level breadcrumbs to match light mode */
body:has(.custom-pc-builder-container.theme-light) .breadcrumbs,
body:has(.custom-pc-builder-container.theme-light) .yoast-breadcrumbs,
body:has(.custom-pc-builder-container.theme-light) .woocommerce-breadcrumb,
body:has(.custom-pc-builder-container.theme-light) .woodmart-breadcrumbs,
body:has(.custom-pc-builder-container.theme-light) .page-title-default {
	background-color: #F8FAFC !important;
	border-color: #E2E8F0 !important;
	color: #627183 !important;
}
