/* AJAX search dropdown + custom logo tweaks */

.brand-block .custom-logo-link,
.brand-block .brand-fallback {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.brand-block .custom-logo {
	max-height: 56px;
	width: auto;
	height: auto;
}

.footer-brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.footer-brand .custom-logo {
	max-height: 48px;
	width: auto;
	height: auto;
}

.search-wrap {
	position: relative;
}

.ajax-search-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 1200;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	max-height: 420px;
	overflow-y: auto;
	padding: 10px 0;
	text-align: left;
}

.ajax-search-group + .ajax-search-group {
	border-top: 1px solid #eee;
	margin-top: 6px;
	padding-top: 6px;
}

.ajax-search-group-title {
	margin: 0;
	padding: 6px 16px 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #157347;
}

.ajax-search-results ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ajax-search-results li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	color: #1f1f1f;
	text-decoration: none;
	transition: background 0.15s ease;
}

.ajax-search-results li a:hover {
	background: #f2fbf4;
}

.ajax-search-results img,
.ajax-search-icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	background: #f2fbf4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #157347;
}

.ajax-search-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ajax-search-meta strong {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ajax-search-meta small {
	font-size: 12px;
	color: #666;
}

.ajax-search-price {
	color: #157347 !important;
	font-weight: 600;
}

.ajax-search-empty,
.ajax-search-loading {
	padding: 16px;
	font-size: 14px;
	color: #666;
	text-align: center;
}

.search-modal-form .ajax-search-results {
	position: static;
	margin-top: 12px;
	box-shadow: none;
	max-height: 320px;
}

.site-footer .links-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer .links-col ul li a {
	display: inline-block;
}

/* Homepage dynamic elements */
.hero-custom-image {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

a.view-all-btn,
a.cta-btn,
a.cta-btn1,
a.blog-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	border: none;
	cursor: pointer;
}

a.product-card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.products-empty {
	text-align: center;
	padding: 24px;
	color: #666;
}

.blog-card-body h3 a {
	color: inherit;
	text-decoration: none;
}

.blog-card-body h3 a:hover {
	color: #157347;
}

/* Blog archive / single extras */
.blog-featured-body h2 a {
	color: inherit;
	text-decoration: none;
}

.blog-featured-body h2 a:hover,
.blog-card-body h3 a:hover {
	color: #157347;
}

.blog-featured-card > a,
.blog-card > a {
	display: block;
}

.blog-featured-card img,
.blog-card img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.blog-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 36px;
	flex-wrap: wrap;
}

.blog-pagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}

.blog-pagination .page-numbers {
	display: inline-flex;
	min-width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	border: 1px solid #e5eee8;
	color: #16352b;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	padding: 0 10px;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
	background: #157347;
	border-color: #157347;
	color: #fff;
}

.blog-single-content .entry-content {
	font-size: 16px;
	line-height: 1.7;
	color: #3d4a44;
}

.blog-single-content .entry-content h2 {
	margin-top: 28px;
	color: #16352b;
}

.legal-section {
	padding: 40px 0 70px;
}

.legal-content {
	max-width: 860px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e8efe9;
	border-radius: 14px;
	padding: 32px;
	line-height: 1.7;
}

.legal-content h2,
.legal-content h3 {
	color: #16352b;
}

/* Secure form honeypot + messages */
.ss-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.ss-form-message {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.ss-form-message.is-success {
	background: #e8f8ee;
	color: #0f5132;
	border: 1px solid #b7ebc6;
}

.ss-form-message.is-error {
	background: #fdecea;
	color: #842029;
	border: 1px solid #f5c2c7;
}

.newsletter-form {
	position: relative;
}

.newsletter-form .ss-form-message {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 5;
}

button.is-loading {
	opacity: 0.75;
	pointer-events: none;
}



