/* AAA Services mega menu – matches live 3-column layout */

.ast-desktop .main-header-menu > li.aaa-services-menu,
.ast-desktop .ast-builder-menu-1,
.ast-desktop .ast-builder-menu-1 .main-navigation {
	position: static;
}

.main-header-menu > li.aaa-services-menu > .menu-link {
	display: inline-flex !important;
	align-items: center;
	gap: 4px;
}

.main-header-menu > li.aaa-services-menu .submenu-toggle-icon {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.main-header-menu > li.aaa-services-menu:hover > .menu-link,
.main-header-menu > li.aaa-services-menu.focus > .menu-link {
	color: #f3b007 !important;
}

/* Mega menu panel */
.main-header-menu > li.aaa-services-menu > .sub-menu.mega-menu-wrapper {
	position: absolute;
	top: 100%;
	text-align: left;
	background: #fff;
	padding: 0;
	list-style: none;
	border-top: 2px solid #da242b;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	z-index: 99999;
	white-space: normal;
	max-width: 1000px;
	left: 0;
	right: 0;
	margin: 0 auto !important;
	isolation: isolate;
}

.ast-desktop .main-header-menu > li.aaa-services-menu > .sub-menu.mega-menu-wrapper {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.ast-desktop .main-header-menu > li.aaa-services-menu:hover > .sub-menu.mega-menu-wrapper,
.ast-desktop .main-header-menu > li.aaa-services-menu.focus > .sub-menu.mega-menu-wrapper {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.aaa-services-menu .mega-menu-inner.container {
    overflow-y: scroll;
    padding: 10px 0 50px;
    max-height: calc(100vh - 120px);
    display: block;
    height: initial;
}

.aaa-services-menu .anchor-container {
	padding: 0 0 10px;
}

/* 3-column grid */
.aaa-services-menu .anchor-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-column-gap: 20px;
    grid-row-gap: 10px;
	/* padding: 15px 20px; */
}

/* Service box */
.aaa-services-menu .single_service_box.style2.three {
    padding: 0px 0px 0px 0px;
    height: 80px;
    display: flex;
    align-items: center;
	text-decoration: none;
	background: #fff;
    border-radius: 30px;
    position: relative;
    z-index: 1;
    transition: 0.5s;
    margin: 0;
}

.aaa-services-menu .anchor-grid .single_service_box.style2.three:hover {
	background: #fff;
}

.aaa-services-menu .single_service_box.style2.three .service_box_title {
    background: #fff;
    padding: 5px 10px 5px 10px;
    position: static;
    margin-bottom: 0px;
    margin-top: 0;
    left: 0;
    border-left: 5px solid #FFC704;
    display: flex;
    align-items: center;
	top: -35px;
	border-radius: 0 30px 30px 0;
	transition: 0.5s;
}
.aaa-services-menu .single_service_box.style2.three .service_imge {
    padding-left: 0;
}
.aaa-services-menu .single_service_box.style2.three .service_imge {
    height: auto;
    width: auto;
}

.aaa-services-menu .single_service_box.style2.three .service_box_title h3 {
	line-height: 1.3;
    font-size: 18px;
    font-weight: 600;
    margin-left: 15px;
    color: #141840;
    transition: .5s;
}

.aaa-services-menu .single_service_box.style2.three .service_imge {
    height: auto;
    width: auto;
    padding-left: 0;
    z-index: 1;
    display: inline-block;
    background: transparent;
    border-radius: 0;
    line-height: 0;
    text-align: center;
    position: inherit;
    left: 0;
    top: -77px;
    margin: 0 auto 0;
}

.aaa-services-menu .single_service_box.style2.three .service_box_img {
    border-radius: 10px;
    position: inherit;
    height: 70px;
    width: 70px;
	line-height: 75px;
    background: #fff;
	z-index: 1;
    display: inline-block;
	text-align: center;
	transition: .5s;
}
.aaa-services-menu .single_service_box.style2.three .service_box_img img {
    transition: .5s;
	width: 70%;
}

.aaa-services-menu .single_service_box.style2.three .service_imge {
	position: static;
	top: auto;
	left: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.aaa-services-menu .single_service_box.style2.three .service__box--icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.aaa-services-menu .single_service_box.style2.three .service_box_img {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	position: static;
}

.aaa-services-menu .anchor-grid a.single_service_box.style2.three[href*="Junk_Removal_"] .service_box_img,
.aaa-services-menu .anchor-grid a.single_service_box.style2.three[href*="Property_Cleanout_"] .service_box_img,
.aaa-services-menu .anchor-grid a.single_service_box.style2.three[href*="Rv_Removal_"] .service_box_img,
.aaa-services-menu .anchor-grid a.single_service_box.style2.three[href*="Boat_Removal_"] .service_box_img,
.aaa-services-menu .anchor-grid a.single_service_box.style2.three[href*="Shed_Removal_"] .service_box_img {
	background: #F3B007 !important;
}

.aaa-services-menu .single_service_box.style2.three .service_box_img img {
	display: block;
	width: 70%;
	height: auto;
	max-height: 70%;
	margin: 0;
	object-fit: contain;
	vertical-align: middle;
}
/* Scrollbar — match live Additional CSS. Do not set scrollbar-color:
   Chrome then ignores ::-webkit-scrollbar and draws a padded, rounded thumb. */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: #F3B007;
    border-radius: 0;
    cursor: pointer;
}
.aaa-services-menu .single_service_box.style2 .service_box_title h3 {
    font-size: 18px;
    transition: .5s;
    font-weight: 600;
    margin: 0;
    color: #141840;
    transition: .5s;
	margin-left: 15px;
}
/* Gold icon backgrounds */
.aaa-services-menu .single_service_box.style2.three:hover .service_box_img {
    background: #F3B007;
}
.aaa-services-menu .single_service_box.style2.three:hover {
    background: #fff;
}
.aaa-services-menu .single_service_box.style2.three:hover .service_box_title {
    background: #fff;
    border-left: 3px solid #fff;
}

.aaa-services-menu .anchor-grid a[href*="Junk_Removal"] .service_box_img img,
.aaa-services-menu .anchor-grid a[href*="Property_Cleanout"] .service_box_img img,
.aaa-services-menu .anchor-grid a[href*="Rv_Removal"] .service_box_img img,
.aaa-services-menu .anchor-grid a[href*="RV_Removal"] .service_box_img img,
.aaa-services-menu .anchor-grid a[href*="Boat_Removal"] .service_box_img img,
.aaa-services-menu .anchor-grid a[href*="Shed_Removal"] .service_box_img img {
	filter: brightness(0) saturate(100%);
}

/* Column dividers */
.aaa-services-menu .anchor-grid .single_service_box:nth-child(3n + 2),
.aaa-services-menu .anchor-grid .single_service_box:nth-child(3n) {
	/* border-left: 2px solid #ffc704; */
	padding-left: 10px;
}

@media (max-width: 1200px) {
	.main-header-menu > li.aaa-services-menu > .sub-menu.mega-menu-wrapper {
		width: 92%;
	}
}

@media (max-width: 1140px) {
	.main-header-menu > li.aaa-services-menu > .sub-menu.mega-menu-wrapper {
		width: 100%;
	}
}

/*
 * Astra sets each desktop item to line-height: 107px (header min-height).
 * Between ~992px and ~1346px the nav wraps, so that becomes huge row gaps.
 */
@media (min-width: 992px) and (max-width: 1346px) {
	.ast-desktop .ast-primary-header-bar .site-primary-header-wrap {
		min-height: 0;
	}

	.ast-desktop .ast-primary-header-bar .main-header-menu {
		align-items: center;
	}

	.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item,
	.ast-desktop:not(:has(.ast-header-sticked)) .ast-primary-header-bar .main-header-menu > .menu-item {
		line-height: 1.4 !important;
	}

	.ast-desktop .ast-builder-menu-1 .menu-item > .menu-link {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
	}
}


/* Desktop only – hide mobile text list */
@media (min-width: 992px) {
	.aaa-services-menu .aaa-services-mobile-list {
		display: none !important;
	}
}

/* Mobile – hamburger panel matches live #mobile-menu */
@media (max-width: 991px) {
	#ast-desktop-header {
		display: none !important;
	}

	#ast-mobile-header {
		display: block !important;
		position: relative;
		background-color: #fff !important;
		border-bottom: 1px solid #e5e5e5 !important;
		box-shadow: none;
		z-index: 1111111;
	}

	#ast-mobile-header.sticky {
		background-color: #fff !important;
		border-bottom: 1px solid #e5e5e5 !important;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
	}

	.ast-mobile-header-wrap .ast-primary-header-bar,
	.ast-mobile-header-wrap .ast-primary-header-bar .site-primary-header-wrap {
		min-height: 70px !important;
		background-color: #fff;
	}

	#masthead .ast-mobile-header-wrap .ast-primary-header-bar {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	#ast-mobile-header .custom-logo {
		max-width: 108px !important;
		width: 108px !important;
		height: auto !important;
	}

	#ast-mobile-header .menu-toggle {
		color: #152b63 !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		padding: 8px !important;
		min-width: 44px;
		min-height: 44px;
	}

	#ast-mobile-header .menu-toggle .ast-mobile-svg {
		fill: #152b63;
		width: 26px;
		height: 26px;
	}

	/* Live: #mobile-menu { background:#f8f8f8; position:absolute; left:0; right:0; } */
	.ast-mobile-header-wrap .ast-mobile-header-content {
		display: none;
		background-color: #f8f8f8 !important;
		position: absolute !important;
		top: 100%;
		left: 0;
		right: 0;
		width: 100% !important;
		z-index: 1111111;
		padding: 0 !important;
	}

	.ast-main-header-nav-open .ast-mobile-header-wrap .ast-mobile-header-content {
		display: flex !important;
		flex-wrap: wrap;
		align-items: stretch;
		justify-content: center;
		column-gap: 12px;
		row-gap: 0;
		padding: 0 12px 12px !important;
		box-sizing: border-box;
	}

	.ast-mobile-header-content > *,
	.ast-mobile-header-content > .ast-builder-menu {
		padding: 0 !important;
	}

	.ast-mobile-header-content > .ast-builder-menu-mobile {
		flex: 1 1 100%;
		order: 1;
	}

	/* Sticky footer only at ≤767px — keep in-menu CTAs available on tablet. */
	.ast-mobile-header-content > .ast-header-button-1,
	.ast-mobile-header-content > .ast-header-html-1 {
		flex: 0 1 auto;
		order: 2;
		width: auto !important;
		max-width: calc(50% - 6px);
		min-width: 0;
		margin-top: 12px;
	}

	.ast-mobile-header-content > .ast-header-html-1 {
		order: 3;
	}

	.ast-mobile-header-content .ast-builder-button-wrap > .menu-link {
		display: none !important;
	}

	.ast-mobile-header-content .ast-custom-button-link,
	.ast-mobile-header-content .ast-builder-button-wrap,
	.ast-mobile-header-content .header_phone,
	.ast-mobile-header-content .header_phone a.button {
		display: flex !important;
		width: auto;
		height: auto;
	}

	.ast-mobile-header-content .ast-custom-button,
	.ast-mobile-header-content .header_phone a.button {
		align-items: center;
		justify-content: center;
		gap: 8px;
		width: auto !important;
		min-width: 150px;
		min-height: 48px;
		margin: 0;
		padding: 15px 20px !important;
		border-radius: 10px !important;
		font-family: Poppins, sans-serif !important;
		font-size: 16px !important;
		font-weight: 500 !important;
		line-height: 1 !important;
		text-align: center;
		text-decoration: none !important;
		white-space: nowrap;
		box-sizing: border-box;
	}

	.ast-mobile-header-content .ast-custom-button {
		background: #f3b002 !important;
		border: 1px solid #f3b002 !important;
		color: #fff !important;
		text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	}

	.ast-mobile-header-content .header_phone br {
		display: none;
	}

	.ast-mobile-header-content .header_phone a.button {
		background: #01091d !important;
		border: 1px solid #01091d !important;
		color: #fff !important;
	}

	.ast-mobile-header-content .header_phone a.button i,
	.ast-mobile-header-content .header_phone a.button svg {
		font-size: 16px !important;
		color: #fff !important;
	}

	.ast-builder-menu-mobile,
	.ast-main-header-bar-alignment,
	.ast-mobile-header-content .main-header-bar-navigation,
	.ast-mobile-header-content .main-navigation {
		width: 100%;
		float: none;
	}

	/* Live: #mobile-menu ul { list-style:none; padding:0 } */
	#ast-hf-mobile-menu.ast-flex,
	#ast-hf-mobile-menu.main-header-menu {
		display: block !important;
		flex-direction: column;
		width: 100%;
		margin: 0;
		padding: 0;
		float: none;
		background: #f8f8f8;
		list-style: none;
	}

	/* Live: #mobile-menu li { padding:10px 0; border-bottom:1px solid #7a7a7a } */
	#ast-hf-mobile-menu > .menu-item {
		display: block;
		float: none;
		position: relative;
		width: 100%;
		margin: 0;
		padding-top: 10px;
		padding-bottom: 10px;
		border-bottom: 1px solid #7a7a7a;
		background: #f8f8f8;
		line-height: 28px;
	}

	#ast-hf-mobile-menu > .menu-item:last-child {
		border-bottom: 1px solid #7a7a7a;
	}

	/* Live: #mobile-menu a { color:#7a7a7a; font-size:16px; padding-left:30px } */
	#ast-hf-mobile-menu > .menu-item > .menu-link,
	#ast-hf-mobile-menu > .menu-item > a {
		display: block !important;
		float: none;
		width: 100%;
		padding: 0 0 0 30px !important;
		margin: 0;
		color: #7a7a7a !important;
		font-size: 16px !important;
		font-weight: 400;
		line-height: 28px !important;
		text-align: left;
		text-decoration: none;
		background: transparent !important;
		border: 0 !important;
		font-family: Poppins, sans-serif;
	}

	#ast-hf-mobile-menu > .menu-item.current-menu-item > .menu-link {
		color: #7a7a7a !important;
		background: transparent !important;
	}

	/* Live: #mobile-menu a:hover { color:#FFC704 !important } */
	#ast-hf-mobile-menu a:hover,
	#ast-hf-mobile-menu a:focus,
	#ast-hf-mobile-menu a:active {
		color: #FFC704 !important;
	}

	#ast-hf-mobile-menu > .menu-item > .ast-menu-toggle {
		display: none !important;
	}

	.main-header-menu > li.aaa-services-menu > .aaa-services-desktop-panel {
		display: none !important;
	}

	.main-header-menu > li.aaa-services-menu {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.main-header-menu > li.aaa-services-menu > .menu-link {
		display: flex !important;
		align-items: center;
	}

	/* Live: .aaa-services-menu-mobile .submenu-toggle-icon { margin-left:.5rem } */
	#ast-hf-mobile-menu .submenu-toggle-icon {
		display: inline-flex;
		margin-left: 0.5rem;
	}

	#ast-hf-mobile-menu .submenu-toggle-icon img {
		max-width: 15px;
		display: block;
	}

	/* Live: .aaa-services-menu-mobile .sub-menu { display:none; padding-left:1rem } */
	.main-header-menu > li.aaa-services-menu > .aaa-services-mobile-list {
		display: none;
		list-style: none;
		margin: 0;
		padding: 0 0 0 1rem;
		width: 100%;
		background: #f8f8f8;
		position: static !important;
		transform: none;
		box-shadow: none;
		border: 0;
		left: auto;
		opacity: 1;
		visibility: visible;
	}

	.ast-header-break-point .main-header-menu > li.aaa-services-menu.ast-submenu-expanded > .aaa-services-mobile-list,
	.main-header-menu > li.aaa-services-menu.ast-submenu-expanded > .aaa-services-mobile-list {
		display: block !important;
	}

	.aaa-services-menu .aaa-services-mobile-list > .menu-item {
		display: block;
		width: 100%;
		margin: 0;
		padding-top: 10px;
		padding-bottom: 10px;
		padding-left: 1.5rem !important;
		border-bottom: 1px solid #7a7a7a;
		background: #f8f8f8;
		line-height: 28px;
	}

	.aaa-services-menu .aaa-services-mobile-list > .menu-item:last-child {
		border-bottom: 0;
	}

	.aaa-services-menu .aaa-services-mobile-list > .menu-item > a {
		display: block;
		padding: 0 0 0 30px;
		color: #7a7a7a !important;
		font-size: 16px !important;
		font-weight: 400;
		line-height: 28px;
		text-decoration: none;
		background: transparent;
		font-family: Poppins, sans-serif;
	}

	.aaa-services-menu .aaa-services-mobile-list > .menu-item > a:hover,
	.aaa-services-menu .aaa-services-mobile-list > .menu-item > a:focus,
	.aaa-services-menu .aaa-services-mobile-list > .menu-item > a:active {
		color: #FFC704 !important;
		background: transparent;
	}
}

@media (min-width: 992px) {
	#ast-mobile-header {
		display: none !important;
	}
}

/*
 * Undo Additional CSS `font-size: 1px !important` on .ast-custom-button
 * (max-width: 1024px). That hid the real Book Online label; the :before
 * restyle has no content, so the text was a 1px speck.
 */
.ast-header-button-1 .ast-custom-button,
.ast-builder-button-wrap .ast-custom-button {
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	font-family: Poppins, sans-serif !important;
	padding: 18px 12px !important;
	color: #fff !important;
}

.ast-theme-transparent-header [class*="ast-header-button-"] .ast-custom-button::before {
	content: none !important;
	display: none !important;
}

/*
 * Tablet hamburger (768–991): sticky bar is off, so show Book Online + Call
 * in the open menu. Astra hides these widgets below 921.99px.
 */
@media (min-width: 768px) and (max-width: 991px) {
	.ast-header-break-point .ast-mobile-header-content .ast-header-html-1,
	.ast-header-break-point .ast-mobile-header-content .ast-header-button-1[data-section="section-hb-button-1"] {
		display: flex !important;
	}
}

/*
 * Phone (≤767): sticky Book Online + Call bar.
 * Astra hides .site-above-footer-wrap on tablet (921) until 544px — unhide it here.
 */
@media (max-width: 767px) {
	.ast-mobile-header-content > .ast-header-html-1,
	.ast-mobile-header-content > .ast-header-button-1 {
		display: none !important;
	}

	body {
		padding-bottom: 54px;
	}

	.site-above-footer-wrap[data-section="section-above-footer-builder"] {
		display: block !important;
		min-height: 0 !important;
		padding: 0 !important;
		background: transparent !important;
	}

	.mobile-sticky-footer {
		display: flex !important;
		position: fixed !important;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100% !important;
		z-index: 99999;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
	}

	.mobile-sticky-footer .footer-btn {
		flex: 1;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		gap: 8px;
		height: auto;
		margin: 0;
		padding: 18px 12px !important;
		border-radius: 0 !important;
		font-family: Poppins, sans-serif !important;
		font-weight: 500 !important;
		font-size: 16px !important;
		line-height: 1 !important;
		text-align: center;
		text-decoration: none !important;
		text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
		white-space: nowrap;
	}

	.mobile-sticky-footer .book-btn {
		background-color: #f3b002 !important;
		border: 1px solid #f3b002 !important;
		color: #fff !important;
	}

	.mobile-sticky-footer .call-btn {
		background: #01091d !important;
		border: 1px solid #01091d !important;
		color: #fff !important;
		fill: #fff;
	}

	.mobile-sticky-footer .call-btn i,
	.mobile-sticky-footer .call-btn svg {
		width: 1em;
		height: 1em;
		font-size: 16px !important;
		color: #fff !important;
		fill: #fff;
	}
}

/* Live a.cta-phone:hover { color: #fff }. Additional CSS keeps the gold
 * button text at #000 on hover; Astra a:hover is blue. Force white type + icon. */
.header_phone a.button:hover,
.header_phone a.button:focus {
	color: #fff !important;
}

.header_phone a.button:hover i,
.header_phone a.button:hover svg,
.header_phone a.button:focus i,
.header_phone a.button:focus svg {
	color: #fff !important;
	fill: #fff !important;
}
