/* =====================================================
   HYPNOSLIMMER CONSULTANT LOCATOR
   Full updated style.css – stronger visual version
   ===================================================== */

html,
body{
	margin:0;
	padding:0;
}

body#locator{
	background:#eef3f7;
	font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
	color:#1f2d3d;
	line-height:1.5;
}

/* -----------------------------------------------------
   Core layout
   ----------------------------------------------------- */

#wrapper{
	width:100%;
	margin:0 auto;
}

#main{
	max-width:1120px;
	margin:28px auto 40px;
	padding:0 18px;
	box-sizing:border-box;
}

#header{
	margin:0;
	padding:0;
}

/* -----------------------------------------------------
   Links / text
   ----------------------------------------------------- */

h1,h2,h3,h4,h5,h6{
	margin-top:0;
	font-weight:700;
	color:#163354;
}

p{
	margin:0 0 14px;
	color:#475569;
	font-size:18px;
	line-height:1.6;
}

a{
	color:#11A6D8;
	text-decoration:none;
	transition:all .2s ease;
}

a:hover{
	color:#EA2AAE;
	text-decoration:underline;
}

/* -----------------------------------------------------
   Flash / results messages
   ----------------------------------------------------- */

.flash_good,
.flash_bad{
	list-style:none;
	margin:0 0 24px;
	padding:18px 22px;
	border-radius:18px;
	box-shadow:0 8px 24px rgba(0,0,0,0.06);
	font-size:16px;
}

.flash_good{
	background:#eef7ea;
	border:1px solid rgba(17,166,216,0.18);
	color:#1f2d3d;
}

.flash_bad{
	background:#fff1f2;
	border:1px solid rgba(220,38,38,0.14);
	color:#7f1d1d;
}

.flash_good li,
.flash_bad li{
	margin:6px 0;
}

#ajax_msg{
	margin:0 0 22px;
}

/* -----------------------------------------------------
   Main shell
   ----------------------------------------------------- */

.hs-locator-shell{
	background:linear-gradient(180deg,#ffffff 0%, #f9fbfd 100%);
	border:1px solid rgba(17,166,216,0.16);
	border-radius:24px;
	box-shadow:0 12px 34px rgba(0,0,0,0.10);
	padding:26px;
	box-sizing:border-box;
	position:relative;
}

.hs-locator-shell:before{
	content:"";
	display:block;
	height:10px;
	margin:-26px -26px 22px;
	border-radius:24px 24px 0 0;
	background:linear-gradient(180deg,#11A6D8 0%, #EA2AAE 100%);
}

/* -----------------------------------------------------
   Search card
   ----------------------------------------------------- */

.hs-locator-search-card{
	background:#ffffff;
	border:1px solid rgba(17,166,216,0.12);
	border-radius:22px;
	padding:30px;
	margin:0 0 26px;
	box-sizing:border-box;
	box-shadow:0 8px 24px rgba(0,0,0,0.05);
}

.hs-locator-search-head{
	margin:0 0 24px;
	padding:0 0 18px;
	border-bottom:1px solid rgba(31,45,61,0.10);
}

.hs-locator-search-head h2{
	margin:0 0 12px;
	font-size:56px;
	line-height:1.04;
	letter-spacing:-0.03em;
	color:#163354;
}

.hs-locator-search-head p{
	margin:0;
	font-size:22px;
	line-height:1.6;
	color:#475569;
	max-width:820px;
}

/* -----------------------------------------------------
   Form styling
   ----------------------------------------------------- */

#store_locator{
	margin:0;
}

#store_locator fieldset{
	border:none;
	padding:0;
	margin:0;
	display:grid;
	grid-template-columns: minmax(260px, 1.3fr) minmax(220px, 0.9fr) auto;
	gap:22px;
	align-items:end;
}

#store_locator .input{
	display:flex;
	flex-direction:column;
	min-width:0;
}

#store_locator .input.buttons{
	display:flex;
	justify-content:flex-end;
}

#store_locator label{
	display:block;
	margin:0 0 10px;
	font-size:17px;
	font-weight:700;
	line-height:1.3;
	color:#163354;
	letter-spacing:0.01em;
}

#store_locator .required{
	color:#EA2AAE;
	font-weight:700;
}

#store_locator input[type="text"],
#store_locator select{
	width:100%;
	height:62px;
	padding:0 18px;
	border:1px solid #cfd8e3;
	border-radius:16px;
	background:#ffffff;
	font-size:20px;
	line-height:1.2;
	color:#1f2d3d;
	box-sizing:border-box;
	outline:none;
	box-shadow:inset 0 1px 2px rgba(0,0,0,0.02);
}

#store_locator input[type="text"]::placeholder{
	color:#94a3b8;
}

#store_locator input[type="text"]:focus,
#store_locator select:focus{
	border-color:#11A6D8;
	box-shadow:0 0 0 4px rgba(17,166,216,0.14);
}

#distance{
	min-width:180px;
}

#find{
	height:62px;
	min-width:260px;
	padding:0 34px;
	background:#EA2AAE;
	color:#ffffff;
	border:none;
	border-radius:999px;
	font-size:20px;
	font-weight:700;
	line-height:1;
	cursor:pointer;
	box-shadow:0 10px 24px rgba(234,42,174,0.30);
	transition:all .2s ease;
}

#find:hover{
	background:#C21886;
	transform:translateY(-1px);
	box-shadow:0 12px 28px rgba(194,24,134,0.32);
}

#find:active{
	transform:translateY(0);
}

/* -----------------------------------------------------
   Map card
   ----------------------------------------------------- */

.hs-locator-map-card{
	background:#ffffff;
	border:1px solid rgba(17,166,216,0.12);
	border-radius:22px;
	overflow:hidden;
	box-shadow:0 10px 28px rgba(0,0,0,0.08);
	padding:0;
}

#map_canvas{
	width:100%;
	height:680px;
	background:#eef4f8;
	border-radius:22px;
}

/* Google map nested elements */
#map_canvas img{
	max-width:none;
}

/* -----------------------------------------------------
   Legacy / old script clean-up
   ----------------------------------------------------- */

table{
	border-collapse:separate;
	border-spacing:0;
	background:transparent !important;
}

center{
	color:#475569;
	font-size:16px;
}

input,
select,
button,
textarea{
	font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}

/* Results panel generated by old script */
div[style*="background-color:#DDEDB6"],
div[style*="background:#DDEDB6"]{
	background:#eef7ea !important;
	border:1px solid rgba(17,166,216,0.18) !important;
	border-radius:20px !important;
	padding:20px 24px !important;
	box-shadow:0 10px 24px rgba(0,0,0,0.06) !important;
	font-size:17px !important;
	line-height:1.6 !important;
	margin-bottom:22px !important;
}

/* Old instruction text sometimes injected by script */
#main center,
#main p{
	word-wrap:break-word;
}

/* -----------------------------------------------------
   Map popup / dynamic result link polish
   ----------------------------------------------------- */

.gm-style a{
	color:#11A6D8 !important;
	font-weight:700;
}

.gm-style a:hover{
	color:#EA2AAE !important;
}

/* -----------------------------------------------------
   Responsive
   ----------------------------------------------------- */

@media (max-width: 1100px){

	#main{
		max-width:1040px;
	}

	.hs-locator-search-head h2{
		font-size:46px;
	}

	.hs-locator-search-head p{
		font-size:20px;
	}

	#store_locator fieldset{
		grid-template-columns: 1fr 1fr;
	}

	#store_locator .input.buttons{
		grid-column:1 / -1;
		justify-content:flex-start;
	}

	#map_canvas{
		height:600px;
	}
}

@media (max-width: 768px){

	#main{
		margin:22px auto 28px;
		padding:0 12px;
	}

	.hs-locator-shell{
		padding:16px;
		border-radius:18px;
	}

	.hs-locator-shell:before{
		height:8px;
		margin:-16px -16px 16px;
		border-radius:18px 18px 0 0;
	}

	.hs-locator-search-card{
		padding:20px;
		border-radius:18px;
		margin-bottom:18px;
	}

	.hs-locator-search-head{
		padding-bottom:14px;
		margin-bottom:18px;
	}

	.hs-locator-search-head h2{
		font-size:34px;
		line-height:1.1;
	}

	.hs-locator-search-head p{
		font-size:18px;
		line-height:1.55;
	}

	#store_locator fieldset{
		grid-template-columns: 1fr;
		gap:16px;
	}

	#store_locator .input,
	#store_locator .input.buttons{
		width:100%;
	}

	#store_locator .input.buttons{
		justify-content:stretch;
	}

	#store_locator input[type="text"],
	#store_locator select,
	#find{
		width:100%;
		min-width:0;
	}

	#store_locator input[type="text"],
	#store_locator select{
		height:56px;
		font-size:18px;
	}

	#find{
		height:56px;
		font-size:18px;
	}

	.hs-locator-map-card,
	#map_canvas{
		border-radius:18px;
	}

	#map_canvas{
		height:460px;
	}
}

@media (max-width: 480px){

	.hs-locator-search-head h2{
		font-size:30px;
	}

	.hs-locator-search-head p{
		font-size:17px;
	}

	#store_locator label{
		font-size:15px;
	}

	#store_locator input[type="text"],
	#store_locator select{
		height:54px;
		font-size:17px;
		padding:0 14px;
	}

	#find{
		height:54px;
		font-size:17px;
	}

	#map_canvas{
		height:400px;
	}
}