.angie-simulator-wrapper {
	display: flex;
	gap: 30px;
	border: 1px solid #E9E8E6;
	padding: 30px;
	background: #F7EEE3;
	font-family: 'Questrial', sans-serif;
	color: #221B19;
	min-height: 600px;
}

.simulator-sidebar {
	width: 320px;
	background: #fff;
	padding: 25px;
	border: 1px solid #E9E8E6;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	max-height: 800px;
	overflow-y: auto;
}

.simulator-sidebar h3 {
	font-family: 'Questrial', sans-serif;
	font-size: 16px;
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 15px;
	color: #221B19;
	border-bottom: 2px solid #E9E8E6;
	padding-bottom: 10px;
}

/* Back Button */
.editor-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
	border-bottom: 2px solid #E9E8E6;
	padding-bottom: 10px;
}
.editor-header h3 {
	margin-bottom: 0;
	border-bottom: none;
	padding-bottom: 0;
}
.back-btn {
	background: transparent;
	border: none;
	color: #827B75;
	cursor: pointer;
	font-size: 12px;
	text-transform: uppercase;
	padding: 5px;
}
.back-btn:hover {
	color: #221B19;
}

.zones-list {
	margin-bottom: 15px;
}

.zone-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px;
	border: 1px solid #E9E8E6;
	margin-bottom: 8px;
	background: #fafafa;
	cursor: pointer;
	transition: all 0.2s;
}

.zone-item.has-product {
	border-left: 4px solid #008a20;
}

.zone-item:hover {
	border-color: #827B75;
}

.zone-item-title {
	flex-grow: 1;
	font-size: 14px;
	font-weight: bold;
}

.zone-item-status {
	font-size: 11px;
	color: #827B75;
	margin-right: 10px;
}

.zone-item-delete {
	background: transparent;
	border: none;
	color: #d63638;
	cursor: pointer;
	font-size: 18px;
	padding: 0 5px;
}

.step-group label {
	display: block;
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 5px;
	text-transform: uppercase;
	color: #827B75;
}

.angie-simulator-wrapper button,
.angie-simulator-wrapper .button {
	font-family: 'Work Sans', sans-serif;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.92px;
	padding: 12px 20px;
	background: transparent;
	color: #221B19;
	border: 1px solid #221B19;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 100%;
	margin-bottom: 5px;
	border-radius: 0;
}

.angie-simulator-wrapper button:hover,
.angie-simulator-wrapper .button:hover {
	background: #221B19;
	color: #F7EEE3;
}

.angie-simulator-wrapper .button-secondary {
	border-color: #827B75;
	color: #827B75;
}

.angie-simulator-wrapper .button-secondary:hover {
	background: #827B75;
	color: #fff;
	border-color: #827B75;
}

.angie-simulator-wrapper .button-outline {
	border: 1px dashed #221B19;
	background: #fafafa;
}

/* Active button state */
.angie-simulator-wrapper .button.active {
	background: #221B19;
	color: #F7EEE3;
	box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.instruction-text {
	font-family: 'Work Sans', sans-serif;
	font-size: 11px;
	color: #827B75;
	margin-top: 10px;
	line-height: 1.4;
	font-style: italic;
}

.product-filter-select,
#product-search-860 {
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
	border: 1px solid #E9E8E6;
	font-family: 'Questrial', sans-serif;
	font-size: 13px;
	background: #fafafa;
}

.product-filter-select:focus,
#product-search-860:focus {
	outline: none;
	border-color: #221B19;
	background: #fff;
}

.product-list {
	overflow-y: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	max-height: 300px;
	padding-right: 5px;
	margin-bottom: 15px;
}

.product-item {
	border: 1px solid #E9E8E6;
	padding: 8px;
	cursor: pointer;
	transition: all 0.3s;
	text-align: center;
	background: #fff;
}

.product-item:hover {
	border-color: #221B19;
	transform: translateY(-2px);
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.product-item.selected {
	border: 2px solid #008a20;
	background: #f0fdf4;
}

.product-item img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto 8px;
}

.product-item h4 {
	font-size: 11px;
	margin: 0;
	line-height: 1.3;
	color: #221B19;
}

.simulator-main {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	background: #fff;
	border: 1px solid #E9E8E6;
	overflow: hidden;
}

.upload-area {
	border: 2px dashed #827B75;
	padding: 60px 40px;
	text-align: center;
	cursor: pointer;
	color: #221B19;
	width: 80%;
	background: #F7EEE3;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
}

.upload-area:hover {
	background: #fff;
	border-color: #221B19;
}

.upload-icon {
	font-size: 40px;
	display: block;
	margin-bottom: 15px;
}

.canvas-container {
	position: relative;
	max-width: 100%;
	max-height: 700px;
	display: block;
	overflow: hidden;
	background: #E9E8E6;
	user-select: none;
}

#environment-image-860 {
	max-width: 100%;
	max-height: 700px;
	display: block;
	pointer-events: none;
}

/* SVG Overlay for Pattern */
.simulation-svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none; 
	z-index: 10;
}

/* Editor UI (Points) */
#editor-ui-860 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 20;
	background: rgba(255,255,255,0.2); 
}

#guide-lines-860 {
	width: 100%;
	height: 100%;
	position: absolute;
	pointer-events: none;
}

#guide-lines-860 polygon,
#guide-lines-860 polyline {
	fill: rgba(34, 27, 25, 0.15);
	stroke: #221B19;
	stroke-width: 2;
	stroke-dasharray: 4, 4;
}

.guide-point {
	position: absolute;
	width: 12px;
	height: 12px;
	background: #F7EEE3;
	border: 2px solid #221B19;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	cursor: pointer;
	pointer-events: auto;
	z-index: 30;
	transition: transform 0.1s;
}

.guide-point:hover {
	transform: translate(-50%, -50%) scale(1.4);
	background: #221B19;
}

.guide-point.mask-point {
	border-color: #d63638;
}
.guide-point.mask-point:hover {
	background: #d63638;
}

.simulator-controls {
	width: 100%;
	padding: 15px 25px;
	background: #E9E8E6;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: auto;
	border-top: 1px solid #ddd;
}

.simulator-controls button {
	width: auto;
	margin: 0;
}

@media (max-width: 768px) {
	.angie-simulator-wrapper {
		flex-direction: column;
		padding: 15px;
	}
	.simulator-sidebar {
		width: 100%;
	}
}
