.k4-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: var(--k4-background);
	min-height: 50px;
}

.k4-header.is-stuck {
	box-shadow: var(--k4-shadow);
}

.k4-header__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding-inline: 25px;
}

.k4-header__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: var(--k4-primary);
	cursor: pointer;
	flex-shrink: 0;
}

.k4-header__logo {
	flex: 1;
	display: flex;
	justify-content: center;
}

.k4-header__logo img,
.k4-header__logo .custom-logo {
	width: 45px;
	height: auto;
}

.k4-header__title {
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.k4-header__nav {
	display: none;
}

.k4-nav-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
}

.k4-nav-list > li {
	position: relative;
}

.k4-nav-list > li > a {
	display: flex;
	align-items: center;
	height: 50px;
	padding: 0 12px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.k4-nav-list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: #fff;
	box-shadow: var(--k4-shadow);
	padding: 0.75rem 0;
	z-index: 20;
}

.k4-nav-list > li:hover > .sub-menu,
.k4-nav-list > li:focus-within > .sub-menu {
	display: block;
}

.k4-nav-list .sub-menu a {
	display: block;
	padding: 0.55rem 1.25rem;
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}

.k4-header__tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	flex-shrink: 0;
}

.k4-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--k4-primary);
	background: transparent;
	border: 0;
	cursor: pointer;
	overflow: visible;
}

.k4-cart-count {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
	background: var(--k4-primary);
	color: #fff;
	font-size: 11px;
	line-height: 18px;
	font-weight: 700;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
}

.k4-cart-count.is-visible {
	display: inline-flex;
}

.k4-currency__select {
	appearance: none;
	border: 1px solid var(--k4-border);
	background: #fff;
	padding: 0.35rem 1.6rem 0.35rem 0.5rem;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	max-width: 92px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23222' d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
}

.k4-mobile-nav {
	border-top: 1px solid var(--k4-border);
	background: #fff;
	padding: 1rem 25px 1.5rem;
}

.k4-nav-list--mobile {
	flex-direction: column;
	align-items: flex-start;
}

.k4-nav-list--mobile > li > a {
	height: auto;
	padding: 0.7rem 0;
}

.k4-nav-list--mobile .sub-menu {
	position: static;
	display: block;
	box-shadow: none;
	padding: 0 0 0.5rem 1rem;
}

.k4-search-modal[hidden],
.k4-mobile-nav[hidden] {
	display: none;
}

.k4-search-modal:not([hidden]) {
	display: flex;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 400;
	align-items: flex-start;
	justify-content: center;
	padding: 4rem 1rem;
}

.k4-search-modal__panel {
	position: relative;
	background: #fff;
	width: min(640px, 100%);
	padding: 2rem;
}

.k4-search-form {
	display: flex;
	gap: 0.5rem;
}

.k4-search-form input {
	flex: 1;
	border: 1px solid var(--k4-border);
	padding: 0.85rem 1rem;
}

.k4-search-modal__close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.k4-footer {
	background: var(--k4-primary);
	color: #fff;
	margin-top: 3rem;
}

.k4-footer a {
	color: #fff;
}

.k4-footer a:hover {
	color: var(--k4-muted);
}

.k4-footer__grid {
	display: grid;
	gap: 2rem;
	padding-block: 40px;
}

.k4-footer__heading {
	font-size: 20px;
	font-weight: 500;
	margin: 0 0 1rem;
}

.k4-footer__heading--lg {
	font-size: 24px;
}

.k4-footer__list a {
	display: block;
	padding-block: 0.35rem;
	font-size: 14px;
}

.k4-footer__social {
	display: flex;
	gap: 10px;
	margin-top: 1.25rem;
}

.k4-footer__social a {
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.k4-footer__social a:hover {
	background: #fff;
	color: var(--k4-primary);
}

.k4-subscribe {
	display: flex;
	background: #fff;
	border-radius: var(--k4-radius);
	overflow: hidden;
	padding: 0 4px 0 15px;
}

.k4-subscribe input {
	flex: 1;
	border: 0;
	padding: 12px 0;
	color: var(--k4-secondary);
}

.k4-subscribe button {
	border: 0;
	background: transparent;
	color: var(--k4-secondary);
	padding: 12px;
	cursor: pointer;
}

.k4-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.k4-footer__bar-inner {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: center;
	text-align: center;
	padding-block: 15px;
	font-size: 14px;
}

.k4-powered-wrap {
	margin: 0;
}

.k4-powered,
a.k4-powered {
	color: inherit;
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
}

.k4-powered strong {
	font-weight: 700;
	letter-spacing: 0.02em;
}

.k4-powered:hover {
	color: #fc4827;
	text-decoration: underline;
}

.k4-footer .custom-logo {
	width: 31%;
	max-width: 140px;
	height: auto;
	filter: brightness(0) invert(1);
}

.k4-footer__payments img {
	height: 14px;
	width: auto;
}

.k4-contact {
	padding-block: 2.5rem 4rem;
}

.k4-contact__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fc4827;
}

.k4-contact__lead {
	max-width: 40rem;
	margin: 0 0 2rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: #555;
}

.k4-contact-grid {
	display: grid;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.k4-contact-card {
	padding: 1.25rem 1.35rem;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.k4-contact-grid h2 {
	margin: 0 0 0.4rem;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.k4-contact-grid p,
.k4-contact-grid a {
	margin: 0;
	color: var(--k4-text);
	text-decoration: none;
}

.k4-contact-grid a:hover {
	color: #fc4827;
}

.k4-contact-panel {
	display: grid;
	gap: 1.75rem;
	padding: 1.75rem;
	border-radius: 24px;
	background: #f7f7f7;
}

.k4-contact-panel__copy h2 {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
}

.k4-contact-hours {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	color: #666;
	font-size: 0.95rem;
}

.k4-contact-hours li + li {
	margin-top: 0.35rem;
}

.k4-contact-notice {
	padding: 12px 14px;
	border-radius: 12px;
	font-weight: 600;
}

.k4-contact-notice--success {
	background: #e9f7ee;
	color: #146c43;
}

.k4-contact-notice--error {
	background: #fff3ef;
	color: #b42318;
}

.k4-contact-form__hp {
	position: absolute;
	left: -9999px;
}

.k4-contact-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 650;
}

.k4-contact-form .required {
	color: #fc4827;
}

.k4-contact-form input,
.k4-contact-form textarea {
	width: 100%;
	border: 1px solid rgba(17, 17, 17, 0.12);
	border-radius: 12px;
	padding: 12px 14px;
	font: inherit;
	background: #fff;
}

.k4-contact-form textarea {
	resize: vertical;
	min-height: 140px;
}

.k4-contact-form__row {
	display: grid;
	gap: 1rem;
}

.k4-contact-form .k4-btn {
	min-height: 48px;
	border-radius: 999px;
	background: #111;
}

@media (min-width: 768px) {
	.k4-contact-form__row {
		grid-template-columns: 1fr 1fr;
	}

	.k4-contact-panel {
		grid-template-columns: 0.9fr 1.1fr;
		align-items: start;
	}

	.k4-contact-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.k4-faq details {
	border-bottom: 1px solid var(--k4-border);
	padding: 1rem 0;
}

.k4-faq summary {
	font-weight: 600;
	cursor: pointer;
}

.k4-faq p {
	margin: 0.75rem 0 0;
	color: var(--k4-text);
}

/* Search results (must live here: Woo product search also flags is_shop()) */
.k4-search-page {
	padding-block: 2.5rem 4.5rem;
}

.k4-search-page__header {
	max-width: 720px;
	margin: 0 0 2.25rem;
}

.k4-search-page__eyebrow {
	margin: 0 0 0.4rem;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #888;
}

.k4-search-page__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	text-transform: none;
	line-height: 1.15;
}

.k4-search-page__meta {
	margin: 0 0 1.25rem;
	color: #666;
	font-size: 1rem;
}

.k4-search-form--page {
	width: 100%;
}

.k4-search-page ul.products,
.k4-search-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.k4-search-page ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

.k4-search-fallback {
	list-style: none;
	margin: 0;
	padding: 0;
}

.k4-search-fallback li {
	margin: 0 0 0.6rem;
}

.k4-search-empty {
	max-width: 480px;
	margin: 0.5rem 0 2rem;
	padding: 2.25rem 1.75rem;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 24px;
	background: #fafafa;
	text-align: center;
}

.k4-search-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 0 1rem;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
	color: #111;
}

.k4-search-empty h2 {
	margin: 0 0 0.4rem;
	font-size: 1.25rem;
}

.k4-search-empty p {
	margin: 0 0 1rem;
	color: #666;
}

.k4-search-page .navigation.pagination {
	margin-top: 2rem;
}

.k4-search-page .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin-right: 6px;
	border-radius: 10px;
	background: #f4f4f4;
	color: #111;
	text-decoration: none;
	font-weight: 600;
}

.k4-search-page .page-numbers.current {
	background: #111;
	color: #fff;
}

.k4-is-search .k4-card__actions {
	opacity: 1 !important;
}

@media (min-width: 768px) {
	.k4-search-page ul.products,
	.k4-search-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.75rem;
	}
}
