/**
 * Namecheap-clone chrome: header mega-menu + footer.
 */

body.host360-pro.nc-shell,
body.host360-pro .nc-shell {
	background: #f7f7f7 !important;
}

body.host360-pro #wrapper_all.nc-shell {
	float: none !important;
	width: 100% !important;
	text-align: left !important;
	background: #f7f7f7 !important;
}

body.host360-pro #wrapper_fixed.nc-page-wrap {
	max-width: none;
	width: 100%;
	margin: 0 auto;
	padding: 0 1rem 2rem;
	float: none !important;
}

/* Hide legacy Smart Hosting chrome remnants if any */
body.host360-pro .h360-chrome,
body.host360-pro #mobile-menu {
	display: none !important;
}

/* ---- Top bar ---- */
.nc-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	border-bottom: 1px solid #e6e6e6;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.nc-topbar {
	background: #1a1a1a;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.78rem;
}

.nc-topbar-inner {
	max-width: none;
	width: 100%;
	margin: 0 auto;
	padding: 0.4rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.nc-topbar a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	margin-left: 1rem;
}

.nc-topbar a:hover {
	color: #ff6c2c;
}

.nc-topbar-phone strong {
	color: #ff6c2c;
}

.nc-topbar-links {
	display: flex;
	align-items: center;
}

/* ---- Main navbar ---- */
.nc-navbar-inner {
	max-width: none;
	width: 100%;
	margin: 0 auto;
	padding: 0 1rem;
	min-height: 68px;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.nc-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
	margin-right: 0.5rem;
	flex: 0 0 auto;
}

.nc-logo img {
	max-height: 36px;
	width: auto;
}

.nc-logo-text {
	font-family: "Nunito Sans", "Open Sans", sans-serif;
	font-size: 1.55rem;
	font-weight: 800;
	color: #313131;
	letter-spacing: -0.02em;
}

.nc-logo-dot {
	width: 0.45rem;
	height: 0.45rem;
	margin-left: 0.2rem;
	border-radius: 50%;
	background: #ff6c2c;
	display: inline-block;
}

.nc-primary-nav {
	flex: 1 1 auto;
}

.nc-nav-list {
	display: flex;
	align-items: center;
	gap: 0.1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-nav-item {
	position: static;
}

.nc-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.7rem 0.85rem;
	color: #313131 !important;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none !important;
	border-radius: 4px;
	transition: background 0.15s ease, color 0.15s ease;
}

.nc-nav-link:hover,
.nc-nav-item.is-open > .nc-nav-link {
	background: #fff1ea;
	color: #e85a1c !important;
}

.nc-caret {
	width: 0.4rem;
	height: 0.4rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.2s ease;
}

.nc-nav-item.is-open > .nc-nav-link .nc-caret {
	transform: rotate(225deg) translateY(-1px);
}

/* Mega menu — Namecheap style full-width panel */
.nc-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #fff;
	border-top: 1px solid #e6e6e6;
	border-bottom: 1px solid #e6e6e6;
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	z-index: 1100;
}

.nc-nav-item.is-open > .nc-mega,
.nc-nav-item:hover > .nc-mega {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

.nc-mega-inner {
	max-width: none;
	width: 100%;
	margin: 0 auto;
	padding: 1.5rem 1rem 1.75rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 2.5rem;
}

.nc-mega-title {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b6b6b;
}

.nc-mega-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-mega-col li + li {
	margin-top: 0.35rem;
}

.nc-mega-col a {
	display: block;
	padding: 0.7rem 0.85rem;
	border-radius: 6px;
	text-decoration: none !important;
	color: #313131 !important;
	transition: background 0.15s ease;
}

.nc-mega-col a:hover {
	background: #fff1ea;
}

.nc-mega-col a strong {
	display: block;
	font-size: 0.98rem;
	font-weight: 700;
	color: #313131;
}

.nc-mega-col a:hover strong {
	color: #e85a1c;
}

.nc-mega-col a span {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.84rem;
	color: #6b6b6b;
	font-weight: 500;
}

.nc-nav-actions {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-left: auto;
	flex: 0 0 auto;
}

.nc-btn-text {
	color: #313131 !important;
	font-weight: 700;
	text-decoration: none !important;
	padding: 0.55rem 0.7rem;
}

.nc-btn-text:hover {
	color: #e85a1c !important;
}

.nc-btn-orange {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.55rem 1.1rem;
	background: #ff6c2c !important;
	color: #fff !important;
	font-weight: 700;
	border-radius: 4px;
	text-decoration: none !important;
	transition: background 0.15s ease;
}

.nc-btn-orange:hover {
	background: #e85a1c !important;
	color: #fff !important;
}

.nc-nav-toggle {
	display: none;
	margin-left: auto;
	background: transparent;
	border: 0;
	padding: 0.45rem;
	cursor: pointer;
}

.nc-nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	margin: 5px 0;
	background: #313131;
}

.nc-breadcrumbs {
	padding: 0.85rem 0 0;
}

.nc-breadcrumbs #crumbs {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	height: auto !important;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	padding: 0.55rem 0.85rem;
	font-size: 0.86rem;
	color: #6b6b6b;
}

/* ---- Footer ---- */
.nc-footer {
	background: #1a1a1a;
	color: rgba(255, 255, 255, 0.82);
	margin-top: 2.5rem;
}

.nc-footer-inner {
	max-width: none;
	width: 100%;
	margin: 0 auto;
	padding: 2.5rem 1rem 1.5rem;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
}

.nc-footer h3 {
	margin: 0 0 0.85rem;
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 800;
}

.nc-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nc-footer li + li {
	margin-top: 0.45rem;
}

.nc-footer a {
	color: rgba(255, 255, 255, 0.78) !important;
	text-decoration: none !important;
	font-size: 0.9rem;
}

.nc-footer a:hover {
	color: #ff6c2c !important;
}

.nc-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: #111;
}

.nc-footer-bottom-inner {
	max-width: none;
	width: 100%;
	margin: 0 auto;
	padding: 1rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 0.84rem;
}

.nc-phones span + span {
	margin-left: 0.85rem;
}

.nc-phones strong {
	color: #ff6c2c;
}

/* Hide old RP footer blocks when new footer present */
body.host360-pro #footer-full-width,
body.host360-pro #footer-full-width-bottom {
	display: none !important;
}

@media (max-width: 960px) {
	.nc-nav-toggle {
		display: block;
	}

	.nc-primary-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: #fff;
		border-bottom: 1px solid #e6e6e6;
		box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
		padding: 0.75rem 1rem 1rem;
	}

	.nc-primary-nav.is-open {
		display: block;
	}

	.nc-nav-list {
		flex-direction: column;
		align-items: stretch;
	}

	.nc-mega {
		position: static;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
		display: none;
		background: #fafafa;
		margin: 0.35rem 0 0.65rem;
		border-radius: 6px;
	}

	.nc-nav-item.is-open > .nc-mega {
		display: block;
	}

	.nc-mega-inner {
		grid-template-columns: 1fr;
		padding: 0.75rem;
		gap: 1rem;
	}

	.nc-nav-actions {
		display: none;
	}

	.nc-footer-inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.nc-footer-inner {
		grid-template-columns: 1fr;
	}

	.nc-topbar-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
