/*
 * NT113 (D-130), stylesheet b: the sitewide booking pop-up (Hustle module 2) rebuilt for conversion.
 * Install path: public/wp-content/themes/drgreenrelief/nt113/dgr-nt113-b.css (each edit gets a new file name).
 * Overrides Hustle's inline design (background photo, 64 px uppercase title, 30 px bold paragraphs) with a plain
 * white card: title 26 px, guarantee badge, three booking sections as an accordion (the page's state open),
 * full-width buttons at 48 px, phone line, small print. Under 768 px the card becomes a bottom sheet.
 * Selectors are scoped to .hustle-ui.module_id_2 so nothing else on the page is touched.
 */
#top .hustle-ui.module_id_2 .hustle-popup-content {
	width: 100%;
	max-width: 520px;
	max-height: 94vh;
	overflow-y: auto;
}
#top .hustle-ui.module_id_2 .hustle-layout {
	background-color: #fff !important;
	background-image: none !important;
	min-height: 0 !important;
	border-radius: 14px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
	position: relative;
	padding: 28px 28px 22px;
	font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
	color: #1b1b1b;
}
#top .hustle-ui.module_id_2 .hustle-layout .hustle-layout-header {
	padding: 0 32px 0 0 !important;
	border: 0 !important;
	margin: 0;
}
#top .hustle-ui.module_id_2 .hustle-layout .hustle-title {
	font-size: 26px !important;
	line-height: 1.2 !important;
	font-weight: 700 !important;
	text-transform: none !important;
	text-align: left !important;
	color: #1b1b1b !important;
	padding: 0 !important;
	margin: 0 0 10px !important;
	letter-spacing: 0;
}
#top .hustle-ui.module_id_2 .hustle-layout .hustle-title span {
	display: inline !important;
	font-weight: 700 !important;
}
#top .hustle-ui.module_id_2 .hustle-button-close {
	position: absolute;
	top: 10px;
	right: 10px;
	margin: 0 !important;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent !important;
	color: #1b1b1b !important;
	border-radius: 50%;
}
#top .hustle-ui.module_id_2 .hustle-button-close:hover,
#top .hustle-ui.module_id_2 .hustle-button-close:focus {
	background: #eef2e6 !important;
	outline: 2px solid #4a7c11;
}
#top .hustle-ui.module_id_2 .hustle-button-close .hustle-icon-close {
	margin: 0 !important;
	font-size: 16px !important;
}
#top .hustle-ui.module_id_2 .hustle-layout .hustle-layout-content,
#top .hustle-ui.module_id_2 .hustle-layout .hustle-content,
#top .hustle-ui.module_id_2 .hustle-layout .hustle-content-wrap,
#top .hustle-ui.module_id_2 .hustle-layout .hustle-group-content {
	padding: 0 !important;
	margin: 0 !important;
}
#top .hustle-ui.module_id_2 .hustle-layout .hustle-layout-content .hustle-group-content p {
	text-align: left !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	font-weight: 400 !important;
	text-transform: none !important;
	color: #1b1b1b !important;
	padding: 0 !important;
	margin: 0 0 10px !important;
}

/* Badge and intro */
#top .hustle-ui.module_id_2 .dgr-pop-badge {
	display: inline-block;
	background: #eaf4d9;
	color: #2f5a07 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	padding: 6px 10px !important;
	border-radius: 999px;
	margin: 0 0 12px !important;
}
#top .hustle-ui.module_id_2 .dgr-pop-intro {
	color: #333 !important;
	margin: 0 0 14px !important;
}

/* Accordion sections */
#top .hustle-ui.module_id_2 .dgr-pop-sec {
	border: 1px solid #d9dfd0;
	border-radius: 10px;
	margin: 0 0 8px;
	overflow: hidden;
}
#top .hustle-ui.module_id_2 .dgr-pop-h {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	background: #f6f8f2;
	border: 0;
	padding: 12px 14px;
	font: 700 17px/1.3 "Source Sans Pro", Helvetica, Arial, sans-serif;
	color: #1b1b1b;
	text-align: left;
	cursor: pointer;
	border-radius: 0;
	box-shadow: none;
	text-transform: none;
	letter-spacing: 0;
}
#top .hustle-ui.module_id_2 .dgr-pop-h::after {
	content: "";
	width: 9px;
	height: 9px;
	border-right: 2px solid #4a7c11;
	border-bottom: 2px solid #4a7c11;
	transform: rotate(45deg);
	margin: -4px 4px 0 10px;
	flex: none;
	transition: transform 0.2s;
}
#top .hustle-ui.module_id_2 .dgr-pop-sec.is-open .dgr-pop-h::after {
	transform: rotate(225deg);
	margin-top: 4px;
}
#top .hustle-ui.module_id_2 .dgr-pop-h:focus-visible {
	outline: 2px solid #4a7c11;
	outline-offset: -2px;
}
#top .hustle-ui.module_id_2 .dgr-pop-b {
	display: none;
	padding: 12px 14px 14px;
	background: #fff;
}
#top .hustle-ui.module_id_2 .dgr-pop-sec.is-open .dgr-pop-b {
	display: block;
}
#top .hustle-ui.module_id_2 .dgr-pop-cap {
	font-size: 15px !important;
	color: #444 !important;
	margin: 0 0 10px !important;
}

/* Buttons */
#top .hustle-ui.module_id_2 .dgr-pop-btn,
#top .hustle-ui.module_id_2 .dgr-pop-btn:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin: 0 0 8px;
	padding: 10px 14px;
	background: #4a7c11;
	color: #fff !important;
	font: 700 17px/1.2 "Source Sans Pro", Helvetica, Arial, sans-serif;
	text-decoration: none !important;
	border-radius: 8px;
	border: 0;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
	transition: background 0.15s;
}
#top .hustle-ui.module_id_2 .dgr-pop-btn:hover,
#top .hustle-ui.module_id_2 .dgr-pop-btn:focus {
	background: #3b650d;
	color: #fff !important;
}
#top .hustle-ui.module_id_2 .dgr-pop-btn:focus-visible {
	outline: 3px solid #1b1b1b;
	outline-offset: 2px;
}
#top .hustle-ui.module_id_2 .dgr-pop-btn.dgr-pop-btn-alt,
#top .hustle-ui.module_id_2 .dgr-pop-btn.dgr-pop-btn-alt:visited {
	background: #fff;
	color: #2f5a07 !important;
	border: 2px solid #4a7c11;
}
#top .hustle-ui.module_id_2 .dgr-pop-btn.dgr-pop-btn-alt:hover,
#top .hustle-ui.module_id_2 .dgr-pop-btn.dgr-pop-btn-alt:focus {
	background: #eaf4d9;
}
#top .hustle-ui.module_id_2 .dgr-pop-b .dgr-pop-btn:last-child {
	margin-bottom: 0;
}
#top .hustle-ui.module_id_2 .dgr-pop-states {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 0 0 8px;
}
#top .hustle-ui.module_id_2 .dgr-pop-btn.dgr-pop-btn-sm,
#top .hustle-ui.module_id_2 .dgr-pop-btn.dgr-pop-btn-sm:visited {
	min-height: 44px;
	margin: 0;
	padding: 8px 10px;
	font-size: 15px;
	background: #fff;
	color: #2f5a07 !important;
	border: 2px solid #4a7c11;
}
#top .hustle-ui.module_id_2 .dgr-pop-btn.dgr-pop-btn-sm:hover,
#top .hustle-ui.module_id_2 .dgr-pop-btn.dgr-pop-btn-sm:focus {
	background: #eaf4d9;
}
#top .hustle-ui.module_id_2 .dgr-pop-btn.dgr-pop-btn-sm.is-mine,
#top .hustle-ui.module_id_2 .dgr-pop-btn.dgr-pop-btn-sm.is-mine:visited {
	background: #4a7c11;
	color: #fff !important;
}
#top .hustle-ui.module_id_2 .dgr-pop-note {
	font-size: 13px !important;
	line-height: 1.45 !important;
	color: #444 !important;
	margin: 10px 0 0 !important;
}

/* Phone line and small print */
#top .hustle-ui.module_id_2 .dgr-pop-call {
	text-align: center !important;
	margin: 12px 0 8px !important;
	font-size: 16px !important;
}
#top .hustle-ui.module_id_2 .dgr-pop-call a {
	color: #2f5a07;
	font-weight: 600;
	text-decoration: underline;
}
#top .hustle-ui.module_id_2 .dgr-pop-fine {
	font-size: 13px !important;
	line-height: 1.45 !important;
	color: #555 !important;
	margin: 0 !important;
}

/* Phones and narrow windows: bottom sheet */
@media screen and (max-width: 767px) {
	#top .hustle-ui.module_id_2.hustle-popup {
		align-items: flex-end !important;
	}
	#top .hustle-ui.module_id_2 .hustle-popup-content {
		max-width: none;
		width: 100%;
		margin: 0 !important;
		max-height: 92vh;
		max-height: 92dvh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	#top .hustle-ui.module_id_2 .hustle-layout {
		border-radius: 16px 16px 0 0;
		padding: 22px 18px 18px;
		box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
	}
	#top .hustle-ui.module_id_2 .hustle-layout::before {
		content: "";
		display: block;
		width: 44px;
		height: 4px;
		border-radius: 2px;
		background: #cfd6c4;
		margin: -8px auto 14px;
	}
	#top .hustle-ui.module_id_2 .hustle-layout .hustle-title {
		font-size: 22px !important;
	}
	#top .hustle-ui.module_id_2 .hustle-button-close {
		top: 6px;
		right: 6px;
	}
}
