#inspiro-lite-header-builder-ui.ihb-lite-panel {
	position: fixed;
	left: max(300px, 18%);
	right: 0;
	bottom: 0;
	height: 320px;
	background: #f6f7f7;
	border-top: 1px solid #dcdcde;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
	z-index: 500000;
	transform: translateY(100%);
	transition: transform 0.25s ease;
}

#inspiro-lite-header-builder-ui.ihb-visible {
	transform: translateY(0);
}

body.ihb-lite-builder-active .wp-full-overlay-main {
	bottom: 320px;
	height: auto;
}

body.ihb-lite-builder-active .wp-full-overlay-main #customize-preview {
	bottom: 0;
}

.ihb-lite-panel-header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding: 10px 12px;
	background: #f1f1f1;
	border-bottom: 1px solid #dcdcde;
}

.ihb-lite-panel-header h4 {
	margin: 0 0 10px;
	margin: 0;
	margin-right: 6px;
}

#inspiro-lite-header-builder-ui .ihb-row-switcher {
	display: flex;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	overflow: hidden;
	margin: 0 auto;
}

#inspiro-lite-header-builder-ui .ihb-row-switcher-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 12px;
	border: 0;
	border-right: 1px solid #dcdcde;
	background: #fff;
	color: #787c82;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.2px;
	cursor: default;
	user-select: none;
}

#inspiro-lite-header-builder-ui .ihb-row-switcher-btn:last-child {
	border-right: 0;
}

#inspiro-lite-header-builder-ui .ihb-row-switcher-btn.active {
	background: #2271b1;
	color: #fff;
}

#inspiro-lite-header-builder-ui .ihb-row-switcher-btn-topbar[disabled] {
	background: #f6f7f7;
	color: #787c82;
	cursor: not-allowed;
	opacity: 0.95;
}

#inspiro-lite-header-builder-ui .ihb-row-switcher-lock {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

#inspiro-lite-header-builder-ui .ihb-row-switcher-lock-svg {
	display: block;
}

#inspiro-lite-header-builder-ui .ihb-colors-link,
#inspiro-lite-header-builder-ui .ihb-open-header-columns {
	display: flex;
	align-items: center;
	gap: 4px;
	justify-content: center;
	width: auto;
	height: 32px;
	padding: 6px 8px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	color: #50575e;
}

#inspiro-lite-header-builder-ui .ihb-colors-link:hover,
#inspiro-lite-header-builder-ui .ihb-open-header-columns:hover {
	background: #f0f0f0;
	border-color: #8c8f94;
	color: #2271b1;
}

#inspiro-lite-header-builder-ui .ihb-colors-link .dashicons,
#inspiro-lite-header-builder-ui .ihb-open-header-columns .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

#inspiro-lite-header-builder-ui .ihb-colors-link .ihb-toolbar-label,
#inspiro-lite-header-builder-ui .ihb-open-header-columns .ihb-toolbar-label {
	font-size: 12px;
	line-height: 1;
}

.ihb-lite-toggle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid #dcdcde;
	background: #fff;
	cursor: pointer;
}

.ihb-lite-toggle-btn:hover {
	background: #f0f0f0;
}

.ihb-lite-panel-body {
	height: calc(100% - 55px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-height: 0;
}

.ihb-lite-device-switcher {
	display: flex;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	overflow: hidden;
}

.ihb-lite-device-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 60px;
	height: 30px;
	border: 0;
	border-right: 1px solid #dcdcde;
	background: #fff;
	color: #50575e;
	cursor: pointer;
}

.ihb-lite-device-btn:last-child {
	border-right: 0;
}

.ihb-lite-device-btn.active {
	background: #2271b1;
	color: #fff;
}

.ihb-lite-device-btn .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.ihb-lite-builder-content {
	display: flex;
	flex: 1;
	min-height: 0;
}

.ihb-lite-zones {
	flex: 2;
	display: flex;
	gap: 10px;
	min-width: 0;
	min-height: 0;
	align-items: stretch;
	padding: 10px;
}

.ihb-lite-zone-wrap {
	flex: 1;
	background: transparent;
	border: 2px dashed #c3c4c7;
	padding: 0;
	min-width: 0;
	min-height: 0;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	transition: all 0.2s ease;
}

.ihb-lite-zone-wrap:hover {
	border-color: #0073aa;
	background: #f0f9ff;
}

.ihb-zone-header {
	background: #f1f1f1;
	padding: 8px;
	border-bottom: 1px solid #dcdcde;
	border-radius: 6px 6px 0 0;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 4px;
	flex-wrap: wrap;
	min-height: 0;
}

.ihb-zone-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #666;
	margin: 0;
}

.ihb-zone-controls.ihb-zone-controls--pro-locked {
	width: fit-content;
	cursor: not-allowed;
	opacity: 0.95;
}

.ihb-zone-controls-toolbar {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.ihb-zone-segment {
	display: inline-flex;
	flex-shrink: 0;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	overflow: hidden;
	background: #fff;
}

.ihb-zone-segment--hide .ihb-zone-hide-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	width: 18px;
	height: 18px;
	padding: 0;
	margin: 0;
	border: 0;
	background: #fff;
	color: #787c82;
	cursor: not-allowed;
	opacity: 0.85;
	line-height: 1;
}

.ihb-zone-segment--hide .ihb-zone-hide-btn .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	line-height: 1;
}

.ihb-zone-segment--axis .ihb-zone-axis-btn,
.ihb-zone-segment--align .ihb-zone-align-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	width: 18px;
	height: 18px;
	padding: 0;
	margin: 0;
	border: 0;
	border-right: 1px solid #dcdcde;
	background: #fff;
	color: #787c82;
	cursor: not-allowed;
	opacity: 0.85;
	line-height: 1;
}

.ihb-zone-segment--axis .ihb-zone-axis-btn .dashicons,
.ihb-zone-segment--align .ihb-zone-align-btn .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	line-height: 1;
}

.ihb-zone-segment--axis .ihb-zone-axis-btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.ihb-zone-segment--axis .ihb-zone-axis-btn:last-child,
.ihb-zone-segment--align .ihb-zone-align-btn:last-child {
	border-right: 0;
}

.ihb-zone-align-btn--active {
	background: #f0f0f1 !important;
	color: #50575e !important;
}

.ihb-zone-pro-lock {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-left: auto;
	flex-shrink: 0;
	color: #646970;
}

.ihb-zone-pro-lock-icon {
	font-size: 13px;
	width: 13px;
	height: 13px;
	opacity: 0.85;
}

.ihb-zone-pro-badge {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.35px;
	color: #50575e;
	line-height: 1;
}

.ihb-zone-items,
.ihb-components-list {
	margin: 0;
	padding: 8px;
	height: 100%;
	min-height: 0;
	overflow-y: auto;
	background: transparent;
	border: 0;
	flex: 1;
}

.ihb-zone-items li,
.ihb-components-list li {
	display: flex;
	gap: 6px;
	align-items: center;
	margin: 0 0 6px;
	padding: 8px 10px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: move;
	transition: all 0.2s ease;
	user-select: none;
}

.ihb-zone-items li:hover {
	background: #e7f3ff;
    border-color: #0073aa;
	box-shadow: 0 2px 4px rgba(0, 115, 170, 0.1);

}

.ihb-components-list li {
    background: #f7f7f7;
    border: 1px solid #ddd;
}

.ihb-components-list li:hover {
	background: #e7f3ff;
    border-color: #0073aa;
	box-shadow: 0 2px 4px rgba(0, 115, 170, 0.1);
}

/* Locked Pro-only row (HTML/Shortcode) — not draggable */
.ihb-components-list li.ihb-component-locked {
	justify-content: space-between;
	align-items: center;
	cursor: not-allowed;
	opacity: 0.9;
	border-style: dashed;
	border-color: #a7aaad;
	background: #f6f7f7;
}

.ihb-components-list li.ihb-component-locked:hover {
	background: #f0f0f1;
	border-color: #a7aaad;
	box-shadow: none;
}

.ihb-component-locked .ihb-component-label {
	flex: 1;
	min-width: 0;
	font-size: 12px;
	font-weight: 500;
	color: #50575e;
}

.ihb-component-locked .ihb-component-icon {
	flex-shrink: 0;
	opacity: 0.75;
}

.ihb-lock-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin: 0 6px;
	color: #646970;
}

.ihb-lock-svg {
	display: block;
}

.ihb-pro-upgrade-link {
	font-size: 11px;
	font-weight: 600;
	flex-shrink: 0;
	color: #2271b1;
	text-decoration: none;
	white-space: nowrap;
	pointer-events: auto;
	cursor: pointer;
}

.ihb-pro-upgrade-link:hover,
.ihb-pro-upgrade-link:focus {
	color: #135e96;
	text-decoration: underline;
}

/* Zone items: label + remove — matches Premium layout */
.ihb-zone-items li.ihb-zone-component {
	justify-content: space-between;
}

.ihb-zone-items li .ihb-component-label {
	flex: 1;
	min-width: 0;
	font-size: 12px;
	font-weight: 500;
	color: #333;
}

.ihb-zone-items li .ihb-component-icon {
	flex-shrink: 0;
}

.ihb-component-actions {
	display: flex;
	gap: 4px;
	flex-shrink: 0;
}

.ihb-component-edit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: transparent;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	transition: all 0.15s ease;
	color: #666;
	padding: 0;
}

.ihb-component-edit:hover {
	background: #f0f0f0;
	color: #2271b1;
}

.ihb-component-edit .dashicons {
	font-size: 12px;
	width: 12px;
	height: 12px;
}

.ihb-component-edit .dashicons:before {
	content: "\f111";
}

.ihb-remove-component {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: transparent;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	transition: all 0.15s ease;
	color: #666;
	padding: 0;
}

.ihb-remove-component:hover {
	background: #f0f0f0;
	color: #333;
}

.ihb-remove-component .dashicons {
	font-size: 12px;
	width: 12px;
	height: 12px;
}

.ihb-zone-items li.ui-sortable-helper,
.ihb-components-list li.ui-sortable-helper {
	opacity: 0.8;
	transform: rotate(5deg);
	box-shadow: 0 2px 4px rgba(0, 115, 170, 0.18);
}

.ihb-placeholder {
	background: #e6f3ff !important;
	border: 2px dashed #0073aa !important;
	border-radius: 4px;
	height: 20px;
	margin: 2px 0;
	opacity: 0.7;
}

.ihb-lite-available {
	flex: 1;
	background: #fff;
	border-left: 1px solid #dcdcde;
	padding: 8px;
	padding-bottom: 50px;
	overflow: hidden;
	max-width: 290px;
}

.ihb-lite-available strong {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	color: #50575e;
	font-size: 12px;
	margin: 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid #dcdcde;
}

.inspiro-builder-toggle {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 500001;
	display: none;
}

.inspiro-builder-toggle-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: #2271b1;
	color: #fff;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.inspiro-builder-toggle-btn:hover {
	background: #135e96;
}

.inspiro-builder-toggle-btn .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}


@media (max-width: 782px) {
	#inspiro-lite-header-builder-ui.ihb-lite-panel {
		left: 0;
		height: 280px;
	}

	body.ihb-lite-builder-active .wp-full-overlay-main {
		bottom: 280px;
	}

	.ihb-lite-builder-content {
		flex-direction: column;
		overflow: auto;
	}

	.ihb-lite-zones {
		flex-direction: column;
	}

	.inspiro-builder-toggle {
		right: 12px;
		bottom: 12px;
	}

	.inspiro-builder-toggle-text {
		display: none;
	}
}
