/* ===== Header bar ===== */

#sc-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9998;
	background: #fff;
	color: #1a1a1a;
	transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

#sc-header:not(.sc-header--transparent) {
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

#sc-header.sc-header--transparent {
	background: transparent;
	color: #fff;
	box-shadow: none;
}

#sc-header.sc-header--transparent.is-sticky {
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: blur(14px) saturate(160%);
	backdrop-filter: blur(14px) saturate(160%);
	color: #1a1a1a;
	box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.sc-header-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1600px;
	margin: 0 auto;
	padding: 22px 32px;
}

@media (max-width: 782px) {
	.sc-header-inner {
		padding: 16px 18px;
	}
}

/* Push page content below the fixed bar everywhere it's solid.
   The transparent (homepage) header instead overlays a hero, so it
   deliberately gets no offset. */
body:not(.sc-header-transparent) {
	padding-top: 84px;
}

/* ===== Hamburger ===== */

.sc-hamburger {
	display: flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: inherit;
	font-family: var( --porto-body-ff, inherit );
	letter-spacing: 2px;
	font-size: 12px;
}

.sc-hamburger-lines {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 22px;
}

.sc-hamburger-lines span {
	display: block;
	height: 1.5px;
	width: 100%;
	background: currentColor;
}

/* ===== Wordmark ===== */

.sc-wordmark {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate( -50%, -50% );
	font-family: var( --porto-h2-ff, var( --porto-h1-ff, inherit ) );
	letter-spacing: 4px;
	font-size: 20px;
	color: inherit;
	text-decoration: none;
	text-transform: uppercase;
	line-height: 0;
}

.sc-wordmark-text {
	color: inherit;
	text-decoration: none;
}

.sc-wordmark:hover,
.sc-wordmark-text:hover {
	color: inherit;
}

/* Uploaded logo (Site Identity > Logo). Height-capped, width follows. */
.sc-wordmark img,
.sc-wordmark .custom-logo {
	max-height: 42px;
	width: auto;
	display: block;
}

/* ===== Right actions ===== */

.sc-header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.sc-call-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid currentColor;
	border-radius: 999px;
	padding: 10px 20px;
	color: inherit;
	text-decoration: none;
	font-family: var( --porto-body-ff, inherit );
	font-size: 12px;
	letter-spacing: 2px;
	white-space: nowrap;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sc-call-btn:hover {
	background: #000;
	color: #fff;
	border-color: #000;
}

.sc-cart-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid currentColor;
	border-radius: 999px;
	color: inherit;
	text-decoration: none;
	flex-shrink: 0;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sc-cart-btn:hover {
	background: #000;
	color: #fff;
	border-color: #000;
}

.sc-cart-count {
	position: absolute;
	top: -6px;
	right: -6px;
	background: #b9ac8f;
	color: #fff;
	font-size: 10px;
	line-height: 1;
	min-width: 16px;
	height: 16px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 3px;
}

@media (max-width: 480px) {
	.sc-call-btn span {
		display: none;
	}
	.sc-call-btn {
		width: 40px;
		height: 40px;
		padding: 0;
		justify-content: center;
	}
	.sc-hamburger-label {
		display: none;
	}
}

/* ===== Fullscreen nav overlay ===== */

.sc-nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: #fff;
	color: #1a1a1a;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-12px);
	transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
	overflow-y: auto;
}

.sc-nav-overlay.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.sc-nav-overlay-inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 22px 32px 60px;
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.sc-nav-overlay-top {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 60px;
}

.sc-nav-close {
	display: flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: 1px solid currentColor;
	border-radius: 999px;
	padding: 10px 18px;
	cursor: pointer;
	color: inherit;
	font-family: var( --porto-body-ff, inherit );
	font-size: 12px;
	letter-spacing: 2px;
}

.sc-close-x {
	font-size: 16px;
	line-height: 1;
}

.sc-nav-overlay .sc-wordmark img,
.sc-nav-overlay .sc-wordmark .custom-logo {
	max-height: 34px;
}

.sc-nav-overlay .sc-wordmark-text {
	font-size: 16px;
}

.sc-nav-links {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.sc-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.sc-nav-list li {
	border: 0;
	margin-bottom: 12px;
}

.sc-nav-list li:last-child {
	margin-bottom: 0;
}

.sc-nav-list a {
	display: inline-block;
	font-family: var( --porto-h1-ff, inherit );
	font-size: clamp( 26px, 4vw, 48px );
	line-height: 1.5;
	color: #1a1a1a;
	text-decoration: none;
	position: relative;
	background-image: linear-gradient( currentColor, currentColor );
	background-repeat: no-repeat;
	background-position: left calc(100% - 6px);
	background-size: 0% 2px;
	transition: background-size 0.3s ease, color 0.2s ease;
}

.sc-nav-list a:hover {
	color: #b9ac8f;
	background-size: 100% 2px;
}

/* "+" marker on items that have sub-menus (e.g. Collection). */
.sc-nav-list li.menu-item-has-children > a::after {
	content: '+';
	display: inline-block;
	margin-left: 12px;
	font-size: 0.4em;
	vertical-align: super;
	transition: transform 0.25s ease;
}

.sc-nav-list li.menu-item-has-children:hover > a::after {
	transform: rotate(135deg);
}

/* Sub-items (e.g. Collection > Portable speaker, Wired speaker...).
   WordPress wraps these in <ul class="sub-menu">. Hidden by default,
   revealed on hovering the parent item. */
.sc-nav-list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 24px;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.3s ease;
}

.sc-nav-list li.menu-item-has-children:hover .sub-menu {
	max-height: 240px;
	opacity: 1;
	margin: 2px 0 16px;
}

.sc-nav-list .sub-menu li {
	margin-bottom: 0;
}

.sc-nav-list .sub-menu a {
	font-family: var( --porto-h1-ff, inherit );
	font-size: clamp( 16px, 2.2vw, 24px );
	line-height: 1.8;
	color: #888;
	letter-spacing: 0.5px;
}

.sc-nav-list .sub-menu a:hover {
	color: #b9ac8f;
}

.sc-nav-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 40px;
	margin-top: 60px;
	padding-top: 24px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	font-family: var( --porto-body-ff, inherit );
	font-size: 13px;
	color: #666;
}

@media (max-width: 600px) {
	.sc-nav-overlay-inner {
		padding: 16px 18px 40px;
	}
	.sc-nav-overlay-top {
		margin-bottom: 40px;
	}
	.sc-nav-list a {
		font-size: 26px;
	}
	.sc-nav-contact {
		flex-direction: column;
		gap: 6px;
	}
}

/* Lock page scroll while the overlay is open */
body.sc-nav-open {
	overflow: hidden;
}
