/**
 * Header — WarpThemes-style (transparent bar, spaced nav, pill CTA).
 * Scoped under .warp-style-header to limit impact on legacy rules.
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

.warp-style-header {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Keep bar transparent over hero (overrides theme mobile rule that sets black). */
.warp-style-header.site-header {
	background: transparent !important;
}

.warp-style-header .warp-top-bar {
	padding: 1.25rem 0 !important;
	border-bottom: none !important;
	background: transparent !important;
}

.warp-style-header .warp-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
}

/* Brand */
.warp-style-header .warp-header__brand {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	min-width: 0;
}

.warp-style-header .warp-header__logo-wrap .custom-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.warp-style-header .warp-header__logo-wrap img,
.warp-style-header .warp-header__logo-wrap .custom-logo {
	max-height: 42px;
	width: auto;
	height: auto;
}

.warp-style-header .warp-header__text-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: #111827;
}

.warp-style-header .warp-header__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(145deg, #5b21b6 0%, #2563eb 45%, #8b5cf6 100%);
	color: #fff;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	flex-shrink: 0;
	box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.warp-style-header .warp-header__title {
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #111827;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.warp-style-header .warp-header__brand-heading {
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

/* Nav column */
.warp-style-header .warp-header__nav-col {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.warp-style-header .warp-site-nav.site-navigation {
	float: none !important;
	display: flex !important;
	justify-content: flex-end;
	width: 100%;
	padding: 0 !important;
}

.warp-style-header .warp-site-nav .navigation {
	width: 100%;
}

.warp-style-header .warp-site-nav .menu-wrapper {
	position: relative;
}

.warp-style-header .warp-site-nav ul.mainmenu {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.25rem 2.25rem;
	margin: 0 !important;
	padding: 0 !important;
	text-align: right !important;
	list-style: none;
}

.warp-style-header .warp-site-nav .mainmenu > li {
	margin: 0 !important;
	list-style: none;
}

.warp-style-header .warp-site-nav .navigation .mainmenu > li > a {
	font-size: 0.9375rem !important;
	font-weight: 500 !important;
	color: #1f2937 !important;
	padding: 0.5rem 0 !important;
	line-height: 1.4 !important;
	border: none !important;
	white-space: nowrap;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.warp-style-header .warp-site-nav .navigation .mainmenu > li > a:hover,
.warp-style-header .warp-site-nav .navigation .mainmenu > li.current-menu-item > a,
.warp-style-header .warp-site-nav .navigation .mainmenu > li.current_page_item > a {
	color: #5b21b6 !important;
	opacity: 1;
}

.warp-style-header .warp-site-nav .navigation .mainmenu > li.menu-item-has-children > a:after {
	color: #6b7280 !important;
	right: -14px !important;
	font-size: 10px !important;
}

/* Dropdowns */
.warp-style-header .warp-site-nav .mainmenu .sub-menu {
	border-radius: 12px !important;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12) !important;
	border: 1px solid rgba(15, 23, 42, 0.06) !important;
	padding: 0.5rem 0 !important;
	min-width: 220px !important;
	background: #fff !important;
}

.warp-style-header .warp-site-nav .mainmenu ul.sub-menu li a {
	color: #374151 !important;
	font-size: 0.875rem !important;
	padding: 0.65rem 1.25rem !important;
}

.warp-style-header .warp-site-nav .mainmenu ul.sub-menu li a:hover {
	color: #5b21b6 !important;
}

/* Toolbar: search + cart (left of CTA) */
.warp-style-header .warp-header__toolbar {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.35rem 1rem;
}

.warp-style-header .warp-header__icon-group {
	display: flex;
	align-items: center;
	gap: 0.1rem;
}

.warp-style-header .warp-header__icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	color: #1f2937;
	border-radius: 50%;
	cursor: pointer;
	text-decoration: none !important;
	transition: background 0.2s ease, color 0.2s ease;
	font-size: 1.05rem;
	line-height: 1;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
}

.warp-style-header .warp-header__icon-btn:hover {
	background: rgba(15, 23, 42, 0.07);
	color: #5b21b6;
}

.warp-style-header .warp-header__cart-badge {
	position: absolute;
	top: 3px;
	right: 1px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	font-size: 10px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	color: #fff;
	background: #2563eb;
	border-radius: 999px;
	pointer-events: none;
}

/* Search dropdown */
.warp-style-header .warp-header__search-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 1000;
	padding: 1rem 0 1.25rem;
	background: #fff;
}

.warp-style-header .warp-header__search-panel:not(.is-open) {
	display: none !important;
}

.warp-style-header .warp-header__search-panel-inner {
	display: flex;
	justify-content: center;
}

.warp-style-header .warp-header__search-panel .search-form {
	width: 100%;
	margin: 0;
}

.warp-style-header .warp-header__search-panel .search-form fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.warp-style-header .warp-header__search-panel .warp-header__search-row {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 100%;
}

.warp-style-header .warp-header__search-panel .warp-header__search-field-wrap {
	position: relative;
	flex: 1 1 220px;
	min-width: 0;
}

.warp-style-header .warp-header__search-panel .search-form input[type="text"],
.warp-style-header .warp-header__search-panel .search-form input[type="search"],
.warp-style-header .warp-header__search-panel .search-form input#s,
.warp-style-header .warp-header__search-panel .warp-header-search-input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.65rem 1rem;
	font-size: 0.9375rem;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 999px;
	background: #fff;
}

.warp-style-header .warp-header__search-panel .search-form input[type="submit"] {
	flex: 0 0 auto;
	padding: 0.65rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	border-radius: 999px;
	border: none;
	background: #0a0a0a;
	color: #fff;
	cursor: pointer;
}

/* Live product suggestions (WooCommerce) */
.warp-style-header .warp-header__product-suggestions {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	z-index: 1002;
	max-height: min(70vh, 420px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
	text-align: left;
}

.warp-style-header .warp-header__product-suggestions:not(.is-visible) {
	display: none !important;
}

.warp-style-header .warp-header__product-suggestions-empty {
	padding: 1rem 1.15rem;
	font-size: 0.875rem;
	color: #6b7280;
}

.warp-style-header .warp-header__product-suggestions-list {
	list-style: none;
	margin: 0;
	padding: 0.35rem 0;
}

.warp-style-header .warp-header__product-suggestions-list li {
	margin: 0;
	padding: 0;
}

.warp-style-header .warp-header__ps-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.55rem 1rem;
	text-decoration: none !important;
	color: #111827 !important;
	transition: background 0.15s ease;
}

.warp-style-header .warp-header__ps-item:hover {
	background: rgba(109, 40, 217, 0.06);
	color: #111827 !important;
}

.warp-style-header .warp-header__ps-thumb {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	background: #f3f4f6;
}

.warp-style-header .warp-header__ps-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.warp-style-header .warp-header__ps-thumb--placeholder {
	display: inline-block;
}

.warp-style-header .warp-header__ps-meta {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	align-items: flex-start;
}

.warp-style-header .warp-header__ps-title {
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.3;
}

.warp-style-header .warp-header__ps-price {
	font-size: 0.8125rem;
	font-weight: 500;
	color: #6b7280;
}

/* CTA */
.warp-style-header .warp-header__actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.warp-style-header .warp-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.35rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #fff !important;
	background: #0a0a0a;
	border-radius: 9999px;
	text-decoration: none !important;
	border: none;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	white-space: nowrap;
}

.warp-style-header .warp-header__cta:hover {
	background: #171717;
	color: #fff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Hide legacy duplicate / tagline in warp bar */
.warp-style-header .desktop-header-wrapper .warp-header__actions .Hbtn {
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
}

/* ——— Mobile ——— */
@media only screen and (max-width: 991px) {
	.warp-style-header .mobile-header-wrapper .top-bar-head .row.mr-0 {
		background: rgba(255, 255, 255, 0.72) !important;
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		border-radius: 999px !important;
		padding: 10px 16px !important;
		box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08) !important;
		border: 1px solid rgba(255, 255, 255, 0.9);
	}

	.warp-style-header .mobile-header-wrapper .header-left {
		background: transparent !important;
		padding: 0 !important;
		border-radius: 0 !important;
	}

	.warp-style-header .mobile-header-wrapper .header-left .ht-site-title,
	.warp-style-header .mobile-header-wrapper .header-left .ht-site-title a {
		color: #111827 !important;
		font-weight: 700 !important;
		font-size: 1rem !important;
		text-transform: none !important;
		letter-spacing: -0.02em !important;
	}

	.warp-style-header .mobile-header-wrapper .header-left .logo-header img {
		max-height: 36px !important;
	}

	.warp-style-header .mobile-header-wrapper .drawer-open {
		background: #0a0a0a !important;
		border-radius: 999px !important;
	}

	.warp-style-header .mobile-header-wrapper .drawer-open span,
	.warp-style-header .mobile-header-wrapper .drawer-open span::before,
	.warp-style-header .mobile-header-wrapper .drawer-open span::after {
		background: #fff !important;
	}

	.warp-style-header .warp-header__mobile-trailing {
		display: flex !important;
		align-items: center;
		justify-content: flex-end;
		gap: 0.25rem;
		flex-wrap: nowrap;
	}

	.warp-style-header .warp-header__mobile-icons {
		display: flex;
		align-items: center;
		gap: 0;
	}

	.warp-style-header .warp-header__mobile-icons .warp-header__icon-btn {
		width: 38px;
		height: 38px;
		font-size: 0.95rem;
	}

	.warp-style-header .warp-header__mobile-trailing .head-menubx {
		flex: 0 0 auto;
		overflow: visible !important;
	}

	.warp-style-header .mobile-header-wrapper .nav-menus {
		position: static !important;
		overflow: visible !important;
	}

	/* Mobile nav panel: full viewport, clean open/close state. */
	.warp-style-header .mobile-header-wrapper .nav-content {
		position: fixed !important;
		left: 0 !important;
		right: auto !important;
		bottom: auto !important;
		width: 100vw !important;
		max-width: 100vw !important;
		min-width: 0 !important;
		height: 100dvh !important;
		margin: 0 !important;
		padding: 0 !important;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		background: rgba(245, 245, 245, 0.92) !important;
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		transform: translateY(-12px) !important;
		transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
		z-index: 10050 !important;
		box-sizing: border-box;
	}

	.warp-style-header .mobile-header-wrapper #drawer-input:checked ~ .nav-content {
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		transform: translateY(0) !important;
	}

	.warp-style-header .mobile-header-wrapper .nav-content .items {
		opacity: 0;
		width: calc(100% - 24px) !important;
		min-width: 0 !important;
		max-width: none !important;
		margin: 10px 12px 16px 12px !important;
		padding: 0 !important;
		box-sizing: border-box;
		transition: opacity 0.2s ease;
	}

	.warp-style-header .mobile-header-wrapper #drawer-input:checked ~ .nav-content .items {
		opacity: 1 !important;
	}
}

/* ——— WooCommerce cart drawer (slides from right) ——— */
body.warp-cart-drawer-open {
	overflow: hidden;
}

.warp-cart-drawer__overlay {
	position: fixed;
	inset: 0;
	z-index: 100080;
	background: rgba(15, 23, 42, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.warp-cart-drawer__overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.warp-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 100090;
	width: min(100%, 420px);
	max-width: 100%;
	height: 100%;
	height: 100dvh;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: -8px 0 40px rgba(15, 23, 42, 0.15);
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.warp-cart-drawer.is-open {
	transform: translateX(0);
}

.warp-cart-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.25rem;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	flex-shrink: 0;
}

.warp-cart-drawer__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 700;
	color: #111827;
}

.warp-cart-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: none;
	background: rgba(15, 23, 42, 0.06);
	color: #111827;
	font-size: 1.5rem;
	line-height: 1;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.warp-cart-drawer__close:hover {
	background: rgba(15, 23, 42, 0.11);
}

.warp-cart-drawer__body {
	flex: 1 1 auto;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	padding: 0.75rem 1.25rem 1rem;
}

.warp-cart-drawer__mini-inner {
	min-height: 40px;
}

.warp-cart-drawer__empty {
	margin: 2rem 0;
	text-align: center;
	color: #6b7280;
	font-size: 0.9375rem;
}

.warp-cart-drawer__items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.warp-cart-drawer__item {
	margin: 0;
	padding: 0.85rem 0;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.warp-cart-drawer__item:last-child {
	border-bottom: none;
}

.warp-cart-drawer__product {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none !important;
	color: inherit;
}

.warp-cart-drawer__product--nolink {
	cursor: default;
}

.warp-cart-drawer__thumb {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	overflow: hidden;
	background: #f3f4f6;
}

.warp-cart-drawer__thumb img,
.warp-cart-drawer__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.warp-cart-drawer__name {
	flex: 1 1 auto;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	color: #111827;
}

.warp-cart-drawer__product:hover .warp-cart-drawer__name {
	color: #5b21b6;
}

.warp-cart-drawer__footer {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding: 1rem 1.25rem 1.35rem;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	flex-shrink: 0;
	background: #fafafa;
}

.warp-cart-drawer__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.8rem 1.25rem;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none !important;
	border-radius: 999px;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.warp-cart-drawer__btn--primary {
	background: #2563eb;
	color: #fff !important;
	box-shadow: 0 4px 16px rgba(109, 40, 217, 0.3);
}

.warp-cart-drawer__btn--primary:hover {
	filter: brightness(1.05);
	color: #fff !important;
	transform: translateY(-1px);
}

.warp-cart-drawer__btn--outline {
	background: #fff;
	color: #111827 !important;
	border: 1px solid rgba(15, 23, 42, 0.15);
}

.warp-cart-drawer__btn--outline:hover {
	border-color: rgba(15, 23, 42, 0.25);
	color: #111827 !important;
}
