.sci-widget { margin: 12px 0; }

.sci-enquire-btn {
	appearance: none;
	border: none;
	background: #e31c4e;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 11px 26px;
	border-radius: 999px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0,0,0,.12);
	transition: background .15s;
}
.sci-enquire-btn:hover { background: #b8123d; }

.sci-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10,10,15,.55);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	z-index: 100000;
}
.sci-overlay.sci-open { display: flex; }

.sci-modal {
	background: #fff;
	color: #1c1f26;
	width: 100%;
	max-width: 640px;
	max-height: 90vh;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0,0,0,.3);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

.sci-modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #e3e5ea;
}
.sci-modal-head h3 { margin: 0; font-size: 16px; }
.sci-modal-close {
	appearance: none;
	border: none;
	background: transparent;
	color: #6b7280;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 2px 6px;
}
.sci-modal-close:hover { color: #1c1f26; }

.sci-stepper { display: flex; gap: 6px; padding: 12px 20px 0; font-size: 11px; color: #6b7280; }
.sci-stepper .sci-s { padding: 4px 10px; border-radius: 999px; background: #f7f8fa; border: 1px solid #e3e5ea; }
.sci-stepper .sci-s.sci-on { background: #e31c4e; border-color: #e31c4e; color: #fff; font-weight: 700; }

.sci-modal-body { padding: 16px 20px 20px; overflow-y: auto; }

.sci-field { margin-bottom: 13px; }
.sci-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; color: #6b7280; }
.sci-field input, .sci-field select {
	width: 100%;
	padding: 10px 11px;
	border-radius: 9px;
	border: 1px solid #e3e5ea;
	background: #f7f8fa;
	color: #1c1f26;
	font-size: 13.5px;
	box-sizing: border-box;
}
.sci-field input:focus { outline: 2px solid #e31c4e; outline-offset: 1px; }
.sci-field-row { display: flex; gap: 10px; }
.sci-field-row .sci-field { flex: 1; }

.sci-form-msg { color: #c5123d; font-size: 12.5px; min-height: 16px; margin-bottom: 4px; }

.sci-submit-btn {
	width: 100%;
	appearance: none;
	border: none;
	background: #e31c4e;
	color: #fff;
	font-weight: 700;
	font-size: 13.5px;
	padding: 12px;
	border-radius: 10px;
	cursor: pointer;
	margin-top: 6px;
}
.sci-submit-btn:hover { background: #b8123d; }
.sci-submit-btn:disabled { opacity: .7; cursor: default; }

.sci-back-link { background: none; border: none; color: #6b7280; font-size: 12px; cursor: pointer; padding: 0; margin-bottom: 10px; text-decoration: underline; }

.sci-results-head { font-size: 13px; color: #6b7280; margin-bottom: 12px; }
.sci-results-head strong { color: #1c1f26; }

.sci-results-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
@media (max-width: 560px) { .sci-results-layout { grid-template-columns: 1fr; } }

.sci-map-box {
	position: relative;
	background: #e8edf3;
	border: 1px solid #e3e5ea;
	border-radius: 12px;
	height: 260px;
	overflow: hidden;
}
.sci-map-unavailable { padding: 16px; font-size: 12px; color: #6b7280; }

.sci-gmap-pin { position: absolute; transform: translate(-50%, -100%); cursor: pointer; z-index: 2; width: 16px; height: 16px; }
.sci-gmap-pin .sci-dot { width: 14px; height: 14px; border-radius: 50%; background: #2563eb; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); position: relative; }
.sci-gmap-pin .sci-pulse { position: absolute; inset: -9px; border-radius: 50%; background: #2563eb; opacity: .55; animation: sci-pulse 1.8s ease-out infinite; }
.sci-gmap-pin.sci-selected .sci-dot { background: #16a34a; }
.sci-gmap-pin.sci-selected .sci-pulse { background: #16a34a; animation-duration: 1.2s; }
@keyframes sci-pulse {
	0% { transform: scale(.4); opacity: .6; }
	70% { transform: scale(2.3); opacity: 0; }
	100% { opacity: 0; }
}

.sci-chem-list { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 2px; }
.sci-chem-card { border: 1px solid #e3e5ea; background: #f7f8fa; border-radius: 10px; padding: 10px 12px; cursor: pointer; transition: border-color .12s; }
.sci-chem-card:hover { border-color: #e31c4e; }
.sci-chem-card.sci-selected { border-color: #16a34a; background: #eafaf0; }
.sci-chem-card .sci-name { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.sci-chem-card .sci-addr { font-size: 11.5px; color: #6b7280; line-height: 1.4; }
.sci-chem-card .sci-dist { font-size: 10.5px; color: #16a34a; font-weight: 700; margin-top: 4px; }
.sci-empty { font-size: 13px; color: #6b7280; padding: 10px 2px; }

.sci-whatsapp-fallback {
	display: inline-block;
	margin-top: 10px;
	background: #25d366;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	padding: 9px 16px;
	border-radius: 999px;
}

.sci-detail-bar { margin-top: 14px; border: 1px solid #e3e5ea; border-radius: 12px; padding: 14px; background: #f7f8fa; }
.sci-detail-bar .sci-hint { font-size: 12.5px; color: #6b7280; text-align: center; padding: 6px 0; }
.sci-detail-bar .sci-detail-name { font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.sci-detail-bar .sci-detail-addr { font-size: 12px; color: #6b7280; margin-bottom: 12px; }
.sci-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sci-action-btn { flex: 1; min-width: 140px; text-align: center; text-decoration: none; font-size: 13px; font-weight: 700; padding: 10px 12px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.sci-action-btn.sci-directions { background: #e31c4e; color: #fff; }
.sci-action-btn.sci-directions:hover { background: #b8123d; }
.sci-action-btn.sci-call { background: #fff; border: 1px solid #16a34a; color: #16a34a; }
.sci-action-btn.sci-call:hover { background: #eafaf0; }
