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

.swp-header {
	--swp-plum: #3f2e4e;
	--swp-orchid: #9b72c9;
	--swp-orchid-deep: #7c57a8;
	position: sticky;
	top: 0;
	z-index: 60;
	color: var(--swp-plum);
	font-family: Jost, "Segoe UI", sans-serif;
}
.swp-nav {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px clamp(24px, calc((100vw - 1320px) / 2), 300px);
	background: rgba(255, 255, 255, 0.55);
	border-bottom: 1px solid rgba(255, 255, 255, 0.75);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
.swp-logo,
.swp-logo .hbs-logo-link,
.swp-logo .hbs-logo-image,
.swp-logo .custom-logo-link {
	display: flex;
	align-items: center;
	line-height: 0;
}
.swp-logo img,
.swp-logo .custom-logo {
	width: clamp(118px, 12vw, 150px);
	height: auto;
}
.swp-logo .hbs-site-name {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 32px;
	color: var(--swp-plum);
	text-decoration: none;
}
.swp-primary-nav { flex: 1 1 auto; min-width: 0; }
.swp-menu,
.swp-menu ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.swp-menu a {
	position: relative;
	display: inline-block;
	padding: 4px 0;
	color: var(--swp-plum);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}
.swp-menu a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--swp-orchid);
	transition: width 0.3s ease;
}
.swp-menu a:hover::after,
.swp-menu .current-menu-item > a::after { width: 100%; }
.swp-menu .sub-menu {
	display: none;
	position: absolute;
	z-index: 20;
	min-width: 180px;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	padding: 12px 16px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 16px 40px -22px rgba(83, 54, 120, 0.45);
}
.swp-menu li { position: relative; }
.swp-menu li:hover > .sub-menu,
.swp-menu li:focus-within > .sub-menu { display: flex; }
.swp-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}
.swp-icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--swp-plum);
	text-decoration: none;
}
.swp-icon-link svg { width: 22px; height: 22px; display: block; }
.swp-cart { position: relative; }
.swp-cart-count {
	position: absolute;
	top: -6px;
	right: -8px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--swp-orchid-deep);
	color: #fff;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
}
.swp-shop-now {
	display: inline-flex;
	align-items: center;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--swp-orchid-deep);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.swp-shop-now:hover { background: var(--swp-orchid); }
.swp-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--swp-plum);
	cursor: pointer;
}
.swp-menu-panel {
	padding: 24px clamp(24px, calc((100vw - 1320px) / 2), 300px) 32px;
	background: rgba(255, 255, 255, 0.97);
}
.swp-menu-panel .swp-menu { flex-direction: column; align-items: flex-start; gap: 14px; }
.swp-menu-panel .swp-menu a::after { display: none; }
@media (max-width: 1199px) {
	.swp-nav > .swp-primary-nav { display: none; }
	.swp-menu-toggle { display: inline-flex; order: 5; }
	.swp-actions { margin-left: auto; order: 2; }
}
@media (max-width: 781px) {
	.swp-shop-now { display: none; }
}
