.stcc-frontend-wrap {
	max-width: 480px;
	margin: 30px auto;
	padding: 32px 28px;
	background: linear-gradient(145deg, #ffffff 0%, #fbf8f4 100%);
	border: 1px solid #ece5dc;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(60, 40, 20, 0.08);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #3a3229;
	box-sizing: border-box;
}

.stcc-frontend-wrap * {
	box-sizing: border-box;
}

.stcc-frontend-title {
	margin: 0 0 8px;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.3px;
	color: #2f2820;
}

.stcc-frontend-title::after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin: 12px auto 0;
	border-radius: 2px;
	background: linear-gradient(90deg, #c9a227, #e6c65c);
}

.stcc-frontend-desc {
	margin: 16px 0 24px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.7;
	color: #6b6257;
	text-align: center;
}

.stcc-form-group {
	margin-bottom: 20px;
	display: block;
}

.stcc-form-label {
	display: block;
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	color: #7a6f61;
}

.stcc-frontend-select {
	width: 100%;
	padding: 12px 14px;
	font-size: 14px;
	color: #3a3229;
	background-color: #ffffff;
	border: 1px solid #ddd4c8;
	border-radius: 10px;
	outline: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a6f61' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.stcc-frontend-select:focus {
	border-color: #c9a227;
	box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.stcc-frontend-btn {
	width: 100%;
	padding: 14px;
	margin-top: 6px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #ffffff;
	background: linear-gradient(135deg, #c9a227 0%, #b38b1a 100%);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(179, 139, 26, 0.35);
	transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.stcc-frontend-btn:hover {
	filter: brightness(1.05);
	box-shadow: 0 6px 18px rgba(179, 139, 26, 0.45);
	transform: translateY(-1px);
}

.stcc-frontend-btn:active {
	transform: translateY(0);
}

.stcc-frontend-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.stcc-result-area {
	margin-top: 24px;
}

.stcc-result-area:not(:empty) {
	padding-top: 20px;
	border-top: 1px dashed #e4dbcd;
}

.stcc-result-intro {
	margin: 0 0 8px;
	padding: 14px 16px;
	font-size: 14px;
	line-height: 1.6;
	color: #3a3229;
	background: #fdf9ef;
	border-left: 4px solid #c9a227;
	border-radius: 8px;
}

.stcc-result-intro strong {
	color: #8a6d1a;
}

.stcc-products-title {
	margin: 20px 0 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #7a6f61;
}

.stcc-products-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.stcc-product-box {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 14px;
	background: #ffffff;
	border: 1px solid #ece5dc;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(60, 40, 20, 0.05);
	transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stcc-product-box:hover {
	transform: translateY(-2px);
	border-color: #e0cf9a;
	box-shadow: 0 6px 16px rgba(60, 40, 20, 0.12);
}

.stcc-product-box img {
	width: 25px;
	height: 25px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
	background: #f4efe7;
	border: 1px solid #f0e9dd;
}

.stcc-product-box a {
	font-size: 14px;
	font-weight: 500;
	color: #3a3229;
	text-decoration: none;
	line-height: 1.35;
	transition: color 0.15s ease;
}

.stcc-product-box:hover a {
	color: #b38b1a;
}

.stcc-product-box.stcc-fallback {
	background: #fdf9ef;
	border-color: #e0cf9a;
}

.stcc-product-box.stcc-fallback a {
	font-weight: 700;
	color: #8a6d1a;
}

.stcc-spinner {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 6px;
	vertical-align: -2px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: stcc_spin 0.7s linear infinite;
}

@keyframes stcc_spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 480px) {
	.stcc-frontend-wrap {
		padding: 24px 18px;
		margin: 16px auto;
		border-radius: 12px;
	}
	.stcc-frontend-title {
		font-size: 19px;
	}
}