/* Naturopathy Healthcare — main stylesheet. Teal/green medical palette. */

:root {
	--nhc-teal: #0e7c6b;
	--nhc-teal-dark: #0a5f52;
	--nhc-green: #2fa36b;
	--nhc-ink: #1e2a28;
	--nhc-muted: #5c6f6b;
	--nhc-bg: #ffffff;
	--nhc-soft: #f2f8f6;
	--nhc-line: #dcebe7;
	--nhc-radius: 10px;
}

* { box-sizing: border-box; }

/* WordPress core utility class for visually hidden accessible text. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--nhc-ink);
	background: var(--nhc-bg);
	line-height: 1.65;
	font-size: 17px;
}

.nhc-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.25; color: var(--nhc-ink); }
a { color: var(--nhc-teal); }
a:hover { color: var(--nhc-teal-dark); }

/* ---------- Buttons ---------- */
.nhc-btn {
	display: inline-block;
	background: var(--nhc-teal);
	color: #fff !important;
	padding: 12px 26px;
	border-radius: var(--nhc-radius);
	text-decoration: none;
	font-weight: 600;
	border: 2px solid var(--nhc-teal);
	cursor: pointer;
}
.nhc-btn:hover { background: var(--nhc-teal-dark); border-color: var(--nhc-teal-dark); color: #fff !important; }
.nhc-btn-outline { background: transparent; color: var(--nhc-teal) !important; }
.nhc-btn-outline:hover { background: var(--nhc-teal); color: #fff !important; }
.nhc-btn-large { padding: 15px 34px; font-size: 18px; }
.nhc-btn-light { background: #fff; color: var(--nhc-teal-dark) !important; border-color: #fff; }
.nhc-btn-light:hover { background: var(--nhc-soft); border-color: var(--nhc-soft); color: var(--nhc-teal-dark) !important; }
.nhc-link { font-weight: 600; text-decoration: none; }
.nhc-center { text-align: center; }

/* ---------- Topbar / header ---------- */
.nhc-topbar { background: var(--nhc-teal-dark); color: #eaf5f2; font-size: 14px; }
.nhc-topbar-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 8px; padding-bottom: 8px; }
.nhc-topbar a { color: #fff; text-decoration: none; }
.nhc-topbar a:hover { text-decoration: underline; }
.nhc-topbar-email { margin-left: auto; }

.nhc-header { background: #fff; border-bottom: 1px solid var(--nhc-line); position: sticky; top: 0; z-index: 50; }
.nhc-header-inner { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.nhc-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nhc-brand img { max-height: 56px; width: auto; }
.nhc-site-title { font-size: 22px; font-weight: 700; color: var(--nhc-teal-dark); text-decoration: none; display: block; line-height: 1.2; }
.nhc-site-tagline { font-size: 13px; color: var(--nhc-muted); }

.nhc-nav { display: flex; align-items: center; gap: 4px; }
.nhc-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nhc-nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--nhc-ink); font-weight: 500; border-radius: 6px; }
.nhc-nav ul a:hover { background: var(--nhc-soft); color: var(--nhc-teal-dark); }
.nhc-btn-book { margin-left: 10px; padding: 10px 20px; }
.nhc-nav-toggle { display: none; background: var(--nhc-teal); color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; font-size: 16px; cursor: pointer; }

/* ---------- Hero ---------- */
.nhc-hero { background: linear-gradient(135deg, var(--nhc-teal-dark) 0%, var(--nhc-teal) 60%, var(--nhc-green) 100%); color: #fff; padding: 72px 0; }
.nhc-hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.nhc-hero h1 { color: #fff; font-size: 44px; margin: 0 0 16px; }
.nhc-hero p { font-size: 18px; opacity: 0.95; }
.nhc-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.nhc-hero-cta .nhc-btn-outline { color: #fff !important; border-color: #fff; }
.nhc-hero-cta .nhc-btn-outline:hover { background: #fff; color: var(--nhc-teal-dark) !important; }
.nhc-hero-card { background: #fff; color: var(--nhc-ink); border-radius: var(--nhc-radius); padding: 28px; box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.nhc-hero-card h2 { margin-top: 0; color: var(--nhc-teal-dark); }
.nhc-hero-creds { color: var(--nhc-muted); font-weight: 600; }

/* ---------- Stats ---------- */
.nhc-stats { background: var(--nhc-soft); border-bottom: 1px solid var(--nhc-line); }
.nhc-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 28px; padding-bottom: 28px; text-align: center; }
.nhc-stat strong { display: block; font-size: 34px; color: var(--nhc-teal-dark); }
.nhc-stat span { color: var(--nhc-muted); font-size: 15px; }

/* ---------- Sections / cards ---------- */
.nhc-section { padding: 64px 0; }
.nhc-alt { background: var(--nhc-soft); }
.nhc-section-title { text-align: center; font-size: 32px; margin: 0 0 8px; color: var(--nhc-teal-dark); }
.nhc-section-sub { text-align: center; color: var(--nhc-muted); margin: 0 0 36px; }
.nhc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 28px; }
.nhc-cards-3 { grid-template-columns: repeat(3, 1fr); }
.nhc-card { background: #fff; border: 1px solid var(--nhc-line); border-radius: var(--nhc-radius); padding: 28px; }
.nhc-alt .nhc-card { border-color: transparent; box-shadow: 0 4px 14px rgba(14,124,107,0.08); }
.nhc-card h3 { margin-top: 0; color: var(--nhc-teal-dark); }
.nhc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.nhc-split .nhc-section-title { text-align: left; }
.nhc-booking-promo { background: #fff; border: 1px solid var(--nhc-line); border-radius: var(--nhc-radius); padding: 32px; }
.nhc-fee { font-size: 22px; font-weight: 700; color: var(--nhc-teal-dark); }
.nhc-fee span { font-size: 14px; font-weight: 400; color: var(--nhc-muted); }

/* ---------- Currency toggle ---------- */
.nhc-currency-toggle { display: inline-flex; border: 2px solid var(--nhc-teal); border-radius: 999px; overflow: hidden; margin: 8px 0 20px; }
.nhc-cur-btn { border: 0; background: #fff; color: var(--nhc-teal-dark); padding: 8px 18px; font-weight: 600; cursor: pointer; font-size: 15px; }
.nhc-cur-btn.is-active { background: var(--nhc-teal); color: #fff; }

/* ---------- CTA band ---------- */
.nhc-cta { background: var(--nhc-teal-dark); color: #fff; padding: 64px 0; }
.nhc-cta h2 { color: #fff; font-size: 32px; margin: 0 0 10px; }
.nhc-cta p { opacity: 0.92; margin-bottom: 24px; }

/* ---------- Pages / forms ---------- */
.nhc-page { padding: 48px 20px 64px; max-width: 860px; }
.nhc-page-title { color: var(--nhc-teal-dark); font-size: 36px; margin-top: 0; }
.nhc-entry h2, .nhc-entry h3 { color: var(--nhc-teal-dark); margin-top: 1.6em; }
.nhc-meta { color: var(--nhc-muted); font-size: 14px; }
.nhc-notice { border: 1px solid var(--nhc-line); background: var(--nhc-soft); border-radius: var(--nhc-radius); padding: 18px 22px; margin: 20px 0; }
.nhc-success { border-color: var(--nhc-green); background: #eef9f2; }
.nhc-error { border-color: #c0392b; background: #fdf0ef; }
.nhc-form p { margin: 0 0 16px; }
.nhc-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.nhc-form input[type="text"], .nhc-form input[type="email"], .nhc-form textarea {
	width: 100%; padding: 12px; border: 1px solid var(--nhc-line); border-radius: 8px; font-size: 16px; font-family: inherit;
}
.nhc-form input:focus, .nhc-form textarea:focus { outline: 2px solid var(--nhc-teal); border-color: var(--nhc-teal); }
.nhc-hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.nhc-footer { background: #12312c; color: #cfe3de; }
.nhc-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.nhc-footer h3 { color: #fff; font-size: 18px; margin-top: 0; }
.nhc-footer a { color: #9fd8cb; text-decoration: none; }
.nhc-footer a:hover { color: #fff; text-decoration: underline; }
.nhc-footer ul { list-style: none; margin: 0; padding: 0; }
.nhc-footer ul li { margin-bottom: 8px; }
.nhc-copyright { border-top: 1px solid rgba(255,255,255,0.12); }
.nhc-copyright p { margin: 0; padding: 16px 0; font-size: 14px; text-align: center; }

/* ---------- WooCommerce ---------- */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { background: #fff; border: 1px solid var(--nhc-line); border-radius: var(--nhc-radius); padding: 20px; text-align: center; width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce ul.products li.product .price { color: var(--nhc-teal-dark); font-weight: 700; }
.woocommerce div.product .price, .woocommerce div.product p.price { color: var(--nhc-teal-dark); }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	background: var(--nhc-teal); color: #fff; border-radius: 8px; padding: 12px 24px; font-weight: 600;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	background: var(--nhc-teal-dark); color: #fff;
}
.woocommerce .nhc-wrap, .woocommerce-page .nhc-wrap { max-width: 1140px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.nhc-hero-inner, .nhc-split { grid-template-columns: 1fr; }
	.nhc-hero h1 { font-size: 34px; }
	.nhc-cards, .nhc-cards-3 { grid-template-columns: 1fr; }
	.nhc-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.nhc-footer-grid { grid-template-columns: 1fr 1fr; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.nhc-topbar-email { margin-left: 0; }
	.nhc-nav-toggle { display: block; margin-left: auto; }
	.nhc-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; }
	.nhc-nav.is-open { display: flex; }
	.nhc-nav ul { flex-direction: column; width: 100%; }
	.nhc-btn-book { margin: 8px 0 0; text-align: center; }
	.nhc-header-inner { flex-wrap: wrap; }
}

@media (max-width: 600px) {
	.nhc-footer-grid { grid-template-columns: 1fr; }
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.nhc-stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Header product search ---------- */
.nhc-product-search { position: relative; margin-left: 6px; flex: none; }
.nhc-search-toggle {
	display: grid; place-items: center;
	width: 42px; height: 42px;
	background: transparent; color: var(--nhc-teal-dark);
	border: 1px solid var(--nhc-line); border-radius: 8px; cursor: pointer;
}
.nhc-search-toggle:hover { border-color: var(--nhc-teal); color: var(--nhc-teal); }
.nhc-search-form {
	display: none; position: absolute; right: 0; top: calc(100% + 12px);
	background: #fff; border: 1px solid var(--nhc-line); border-radius: var(--nhc-radius);
	box-shadow: 0 12px 32px rgba(10,95,82,0.18); padding: 12px; z-index: 200;
	width: min(380px, 84vw);
}
.nhc-search-form.is-open { display: flex; gap: 8px; }
.nhc-search-field {
	flex: 1; min-width: 0; border: 1px solid var(--nhc-line);
	border-radius: 8px; padding: 10px 12px; font-size: 15px; color: var(--nhc-ink);
}
.nhc-search-submit { padding: 10px 18px; white-space: nowrap; }

/* ---------- Shop layout + vertical category sidebar ---------- */
.nhc-shop-layout { display: flex; gap: 32px; align-items: flex-start; }
.nhc-shop-sidebar {
	flex: 0 0 250px; width: 250px;
	position: sticky; top: 118px;
	max-height: calc(100vh - 140px); overflow-y: auto;
	background: var(--nhc-soft); border: 1px solid var(--nhc-line);
	border-radius: var(--nhc-radius); padding: 20px 18px;
}
.nhc-shop-main { flex: 1; min-width: 0; }
.nhc-shop-sidebar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.nhc-shop-sidebar-head h2 { font-size: 19px; margin: 0; color: var(--nhc-teal-dark); }
.nhc-shop-sidebar-close { display: none; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--nhc-teal-dark); cursor: pointer; padding: 4px 8px; }
.nhc-shop-sidebar-toggle {
	display: none; align-items: center; gap: 10px;
	background: var(--nhc-teal); color: #fff; border: 0; border-radius: 8px;
	padding: 11px 18px; font-weight: 700; font-size: 15px; cursor: pointer; margin-bottom: 22px;
}
.nhc-shop-sidebar-toggle:hover { background: var(--nhc-teal-dark); }
.nhc-shop-sidebar-toggle-icon { width: 16px; height: 12px; position: relative; display: inline-block; flex: none; }
.nhc-shop-sidebar-toggle-icon:before { content: ''; position: absolute; inset: 0; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
.nhc-shop-sidebar-toggle-icon:after { content: ''; position: absolute; top: 5px; left: 0; right: 0; border-top: 2px solid #fff; }
.nhc-cat-nav ul { list-style: none; margin: 0; padding: 0; }
.nhc-cat-list > li { border-bottom: 1px solid var(--nhc-line); }
.nhc-cat-list > li:last-child { border-bottom: 0; }
.nhc-cat-item { position: relative; }
.nhc-cat-row { display: flex; align-items: stretch; }
.nhc-cat-row > a {
	flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px;
	padding: 10px 4px; color: var(--nhc-ink); text-decoration: none;
	font-size: 15px; font-weight: 600; line-height: 1.4;
}
.nhc-cat-row > a:hover { color: var(--nhc-teal-dark); }
.nhc-cat-item.is-current > .nhc-cat-row > a { color: var(--nhc-teal-dark); font-weight: 800; }
.nhc-cat-item.is-current > .nhc-cat-row > a:before {
	content: ''; position: absolute; left: -18px; top: 8px; bottom: 8px; width: 3px;
	background: var(--nhc-green); border-radius: 2px;
}
.nhc-cat-count { color: var(--nhc-muted); font-weight: 400; font-size: 13px; flex: none; }
.nhc-cat-toggle { flex: none; width: 30px; background: none; border: 0; cursor: pointer; color: var(--nhc-teal-dark); padding: 6px 0; }
.nhc-chev { display: block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); margin: 4px auto; transition: transform 0.2s; }
.nhc-cat-toggle.is-open .nhc-chev { transform: rotate(45deg); }
.nhc-cat-sub { padding-left: 14px; }
.nhc-cat-sub .nhc-cat-row > a { font-size: 14px; font-weight: 500; }

/* ---------- Shop sidebar: mobile drawer ---------- */
@media (max-width: 960px) {
	.nhc-shop-sidebar-toggle { display: inline-flex; }
	.nhc-shop-layout { display: block; }
	.nhc-shop-sidebar {
		position: fixed; top: 0; left: 0; bottom: 0;
		width: min(320px, 86vw); max-height: none;
		z-index: 1000; border: 0; border-radius: 0;
		transform: translateX(-105%); transition: transform 0.3s ease;
	}
	.nhc-shop-sidebar.is-open { transform: none; }
	.nhc-shop-sidebar-close { display: block; }
	.nhc-shop-sidebar-overlay {
		display: block; position: fixed; inset: 0;
		background: rgba(30,42,40,0.55); z-index: 999; border: 0; padding: 0;
	}
	.nhc-shop-sidebar-overlay[hidden] { display: none; }
	body.nhc-shop-drawer-open { overflow: hidden; }
	/* Search form fills the mobile nav panel */
	.nhc-product-search { margin: 8px 0 0; width: 100%; }
	.nhc-search-form {
		position: static; width: 100%; box-shadow: none;
	}
}
