/* NewLife Shop — header, mobile menu, footer (replaces Divi TB header/footer). */

:root {
	--nls-l-accent: #1d8bb2;
	--nls-l-ink: #1f2933;
	--nls-l-muted: #5b6770;
	--nls-l-line: #e3e8ec;
	--nls-l-soft: #f4f7f9;
	--nls-l-dark: #16242d;
}

.nls-hdr,
.nls-hdr *,
.nls-mnav,
.nls-mnav *,
.nls-ftr,
.nls-ftr * {
	box-sizing: border-box;
}

.nls-hdr ul,
.nls-mnav ul,
.nls-ftr ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nls-hdr p,
.nls-mnav p,
.nls-ftr p {
	margin: 0;
	padding: 0;
}

.nls-hdr a,
.nls-mnav a,
.nls-ftr a {
	text-decoration: none;
}

/* Skip link */
.nls-skip {
	position: absolute;
	left: 8px;
	top: -100px;
	z-index: 2147483600;
	background: #fff;
	color: var(--nls-l-ink);
	padding: 10px 16px;
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .2);
	font-weight: 600;
}

.nls-skip:focus {
	top: 8px;
}

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */

.nls-hdr {
	position: relative;
	z-index: 1000;
	background: #fff;
	font-size: 15px;
	line-height: 1.4;
	color: var(--nls-l-ink);
}

body.nls-layout--sticky .nls-hdr {
	position: sticky;
	top: 0;
}

body.admin-bar.nls-layout--sticky .nls-hdr {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar.nls-layout--sticky .nls-hdr {
		top: 46px;
	}
}

@media (max-width: 600px) {
	body.admin-bar.nls-layout--sticky .nls-hdr {
		top: 0;
	}
}

.nls-hdr-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

.nls-hdr-top {
	border-bottom: 1px solid var(--nls-l-line);
	transition: box-shadow .2s;
}

.nls-hdr.is-compact .nls-hdr-top {
	box-shadow: 0 2px 12px rgba(15, 30, 40, .08);
}

.nls-hdr-top .nls-hdr-wrap {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 84px;
	transition: min-height .2s;
}

.nls-hdr.is-compact .nls-hdr-top .nls-hdr-wrap {
	min-height: 64px;
}

.nls-hdr-logo {
	flex: 0 0 auto;
	display: block;
	line-height: 0;
	color: var(--nls-l-ink);
	font-weight: 700;
	font-size: 20px;
}

.nls-hdr-logo img {
	display: block;
	width: auto;
	height: 56px;
	max-width: 240px;
	object-fit: contain;
	transition: height .2s;
}

.nls-hdr.is-compact .nls-hdr-logo img {
	height: 44px;
}

.nls-hdr-search {
	flex: 1 1 auto;
	max-width: 560px;
	margin: 0 auto;
	min-width: 0;
}

.nls-hdr-actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.nls-hdr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--nls-l-ink);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.nls-hdr-btn:hover {
	background: var(--nls-l-soft);
}

.nls-hdr-btn:focus-visible,
.nls-hdr a:focus-visible,
.nls-mnav a:focus-visible,
.nls-mnav button:focus-visible,
.nls-ftr a:focus-visible {
	outline: 2px solid var(--nls-l-accent);
	outline-offset: 2px;
}

.nls-hdr-menu,
.nls-hdr-search-btn {
	display: none;
}

.nls-hdr-phone {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--nls-l-ink);
	white-space: nowrap;
}

.nls-hdr-phone svg {
	color: var(--nls-l-accent);
	flex: 0 0 auto;
}

.nls-hdr-phone span {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.nls-hdr-phone strong {
	font-weight: 700;
	font-size: 15px;
}

.nls-hdr-phone small {
	font-size: 12px;
	color: var(--nls-l-muted);
}

.nls-hdr-phone:hover strong {
	color: var(--nls-l-accent);
}

.nls-hdr .nls-acc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	color: var(--nls-l-ink);
}

.nls-hdr a.nls-mc {
	margin: 0;
}

/* Categories bar — all categories, wrapping, like before. */
.nls-hdr-nav {
	background: var(--nls-l-accent);
}

.nls-hdr-nav ul.nls-hdr-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 4px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 4px 12px;
}

.nls-hdr-nav a {
	display: block;
	padding: 9px 10px;
	border-radius: 6px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	line-height: 1.3;
}

.nls-hdr-nav a:hover,
.nls-hdr-nav a[aria-current="page"] {
	background: rgba(255, 255, 255, .18);
	color: #fff;
}

.nls-hdr-nav a[aria-current="page"] {
	box-shadow: inset 0 -2px 0 #fff;
}

.nls-hdr-nav a:focus-visible {
	outline-color: #fff;
}

@media (max-width: 1100px) {
	.nls-hdr-phone small {
		display: none;
	}
}

/* Phone / tablet: one compact row. */
@media (max-width: 980px) {
	.nls-hdr-top .nls-hdr-wrap,
	.nls-hdr.is-compact .nls-hdr-top .nls-hdr-wrap {
		min-height: 60px;
		gap: 4px;
		padding: 0 8px;
	}

	.nls-hdr-menu,
	.nls-hdr-search-btn {
		display: inline-flex;
	}

	.nls-hdr-search,
	.nls-hdr-phone,
	.nls-hdr-nav {
		display: none;
	}

	.nls-hdr-logo {
		flex: 1 1 auto;
		min-width: 0;
		margin-left: 2px;
	}

	.nls-hdr-logo img,
	.nls-hdr.is-compact .nls-hdr-logo img {
		height: 40px;
		max-width: 100%;
		object-position: left center;
	}

	.nls-hdr-actions {
		gap: 0;
	}

	.nls-hdr a.nls-mc .nls-mc-total {
		display: none;
	}
}

/* -------------------------------------------------------------------------
 * Mobile menu
 * ---------------------------------------------------------------------- */

html.nls-mnav-lock,
html.nls-mnav-lock body {
	overflow: hidden;
}

.nls-mnav {
	position: fixed;
	inset: 0;
	z-index: 2147481000;
	color: var(--nls-l-ink);
	font-size: 16px;
	line-height: 1.4;
}

.nls-mnav[hidden] {
	display: none;
}

.nls-mnav-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 25, 32, .5);
	opacity: 0;
	transition: opacity .25s;
}

.nls-mnav-panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 88vw;
	max-width: 380px;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: 8px 0 30px rgba(0, 0, 0, .18);
	transform: translateX(-100%);
	transition: transform .28s cubic-bezier(.2, .8, .2, 1);
	outline: 0;
}

.nls-mnav.is-open .nls-mnav-backdrop {
	opacity: 1;
}

.nls-mnav.is-open .nls-mnav-panel {
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.nls-mnav-backdrop,
	.nls-mnav-panel {
		transition: none;
	}
}

.nls-mnav-head {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 8px 8px 16px;
	border-bottom: 1px solid var(--nls-l-line);
	min-height: 60px;
}

.nls-mnav-logo {
	display: block;
	line-height: 0;
	min-width: 0;
}

.nls-mnav-logo img {
	height: 38px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.nls-mnav-body {
	flex: 1 1 auto;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
}

.nls-mnav-search {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	margin: 0 0 14px;
	padding: 0 14px;
	border: 1px solid var(--nls-l-line);
	border-radius: 12px;
	background: var(--nls-l-soft);
	color: var(--nls-l-muted);
	font: inherit;
	font-size: 15px;
	text-align: left;
	cursor: pointer;
}

.nls-mnav-search span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.nls-mnav-search svg {
	flex: 0 0 auto;
	color: var(--nls-l-accent);
}

.nls-mnav-quick {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 8px !important;
}

.nls-mnav-quick a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 42px;
	padding: 6px 8px;
	border-radius: 10px;
	background: #e8f4f8;
	color: #0f5f7c;
	font-size: 13px;
	line-height: 1.25;
	text-align: center;
	font-weight: 600;
}

.nls-mnav-quick a:hover {
	background: var(--nls-l-accent);
	color: #fff;
}

.nls-mnav-h {
	margin: 18px 0 4px !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--nls-l-muted);
}

.nls-mnav-list li + li {
	border-top: 1px solid var(--nls-l-line);
}

.nls-mnav-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 48px;
	padding: 10px 2px;
	color: var(--nls-l-ink);
	font-size: 16px;
	font-weight: 500;
}

.nls-mnav-list a svg {
	flex: 0 0 auto;
	color: #9aa6ae;
}

.nls-mnav-list a:hover,
.nls-mnav-list a[aria-current="page"] {
	color: var(--nls-l-accent);
}

.nls-mnav-list a[aria-current="page"] {
	font-weight: 700;
}

.nls-mnav .nls-mc-count {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	margin-left: 6px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--nls-l-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	vertical-align: 1px;
	transform: none;
}

.nls-mnav .nls-mc-count.is-empty {
	display: none;
}

.nls-mnav-help {
	margin-top: 18px;
	padding: 4px 14px 14px;
	border-radius: 14px;
	background: var(--nls-l-soft);
}

.nls-mnav-help .nls-mnav-h {
	margin-top: 10px !important;
}

.nls-mnav-call,
.nls-mnav-line {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	color: var(--nls-l-ink);
	font-size: 15px;
}

.nls-mnav-call svg,
.nls-mnav-line svg {
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--nls-l-accent);
}

.nls-mnav-call span {
	display: flex;
	flex-direction: column;
}

.nls-mnav-call strong {
	font-size: 17px;
}

.nls-mnav-call small {
	font-size: 13px;
	color: var(--nls-l-muted);
}

.nls-mnav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: 6px !important;
	padding-top: 10px !important;
	border-top: 1px solid var(--nls-l-line);
}

.nls-mnav-links a {
	display: inline-block;
	padding: 4px 0;
	color: #0f5f7c;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Social icons */
.nls-social {
	display: flex;
	gap: 10px;
}

.nls-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--nls-l-soft);
	color: var(--nls-l-ink);
	transition: background .15s, color .15s;
}

.nls-social a:hover {
	background: var(--nls-l-accent);
	color: #fff;
}

.nls-social--mnav {
	margin-top: 18px !important;
	justify-content: center;
}

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */

.nls-ftr {
	margin-top: 0;
	background: var(--nls-l-dark);
	color: #c9d3da;
	font-size: 15px;
	line-height: 1.55;
}

.nls-ftr-wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 40px 20px 0;
}

.nls-ftr a {
	color: #e8eef2;
}

.nls-ftr a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nls-ftr-quick {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	padding-bottom: 32px !important;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.nls-ftr-quick a {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	height: 100%;
	padding: 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .06);
	transition: background .15s;
}

.nls-ftr-quick a:hover {
	background: rgba(255, 255, 255, .11);
	text-decoration: none;
}

.nls-ftr-ico {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--nls-l-accent);
	color: #fff;
}

.nls-ftr-quick a > span:not(.nls-ftr-ico):not(.screen-reader-text) {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.nls-ftr-quick-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #9fb2bf;
}

.nls-ftr-quick-value {
	color: #fff;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.nls-ftr-quick-sub {
	font-size: 13px;
	color: #9fb2bf;
}

.nls-ftr-main {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	padding: 36px 0;
}

.nls-ftr-logo {
	display: inline-block;
	line-height: 0;
	padding: 10px 14px;
	border-radius: 12px;
	background: #fff;
}

.nls-ftr-logo img {
	height: 46px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

.nls-ftr-brand p {
	margin: 14px 0 16px !important;
	max-width: 36ch;
	color: #b7c4cc;
}

.nls-ftr .nls-social a {
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.nls-ftr .nls-social a:hover {
	background: var(--nls-l-accent);
	text-decoration: none;
}

.nls-ftr-h {
	margin-bottom: 12px !important;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.nls-ftr-col li {
	padding: 4px 0;
}

.nls-ftr-col a {
	color: #c9d3da;
}

.nls-ftr-linkbtn {
	display: inline;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	color: #c9d3da;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.nls-ftr-linkbtn:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nls-ftr-linkbtn:focus-visible {
	outline: 2px solid var(--nls-l-accent);
	outline-offset: 2px;
}

.nls-ftr .nls-wd-link {
	display: inline;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	color: #c9d3da;
	font: inherit;
}

.nls-ftr .nls-wd-link:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nls-ftr-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 20px;
	padding: 18px 0 calc(22px + env(safe-area-inset-bottom));
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 13px;
	color: #9fb2bf;
}

@media (max-width: 980px) {
	.nls-ftr-quick {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.nls-ftr-quick a {
		padding: 14px;
	}

	.nls-ftr-main {
		grid-template-columns: 1fr 1fr;
		gap: 28px 20px;
	}

	.nls-ftr-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.nls-ftr {
		font-size: 14px;
	}

	.nls-ftr-wrap {
		padding: 28px 16px 0;
	}

	.nls-ftr-main {
		gap: 24px 16px;
	}

	.nls-ftr-main > .nls-ftr-col:last-child {
		grid-column: 1 / -1;
	}

	.nls-ftr-logo img {
		height: 38px;
	}

	.nls-ftr-col li {
		padding: 0;
	}

	.nls-ftr-col a,
	.nls-ftr .nls-wd-link,
	.nls-ftr-linkbtn {
		display: inline-block;
		padding: 7px 0;
	}

	.nls-ftr-bottom {
		flex-direction: column;
	}
}
