/* Header and navigation styles */
body {
	margin: 0;
	font-family: "Segoe UI", sans-serif;
	background-color: #fff;
	overflow-x: hidden;
}

/* --- DESKTOP HEADER --- */
.header-sticky {
	position: sticky;
	top: 0;
	z-index: 2000;
	background: #fff;
	border-bottom: 1px solid #ececec;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
	height: 80px;
	display: flex;
	align-items: center;
}

.top-main-nav {
	width: 1240px;
	max-width: 95%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo-text,
.logo-text:visited {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
}

.logo-text .site-logo-img {
	display: block;
	height: 38px;
	width: auto;
	max-width: 180px;
}

.nav-list {
	display: flex;
	list-style: none;
	gap: 5px;
	margin: 0;
	padding: 0;
	align-items: center;
}

.nav-item,
.nav-item:visited {
	color: #000;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	padding: 0 16px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	transition: 0.3s;
}

.nav-item:hover,
.nav-item.active {
	color: #fff;
	background: var(--brand-turquoise);
}

.header-right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 15px;
	min-width: 270px;
}

.social-links {
	display: flex;
	align-items: center;
	gap: 5px;
	padding-right: 15px;
	border-right: 1px solid #ececec;
}

.social-links a,
.social-links a:visited {
	color: var(--brand-turquoise);
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: 0.3s;
	border-radius: 6px;
	text-decoration: none;
	font-size: 17px;
}

.social-links a:hover {
	color: #fff;
	background: var(--brand-turquoise);
}

.user-actions {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 5px;
}

.action-btn,
.action-btn:visited {
	color: var(--brand-copper);
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	transition: 0.3s;
	text-decoration: none;
}

.action-btn i {
	font-size: 22px;
}

.action-btn:hover {
	background: var(--brand-copper);
	color: #fff;
}

#cart-trigger {
	position: relative;
	cursor: pointer;
}

.cart-count {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--brand-turquoise);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.cart-count.is-empty {
	display: none;
}

.shop-trigger {
	background: var(--brand-turquoise);
	color: #fff;
	padding: 10px 15px;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 700;
	font-size: 11px;
	display: block;
}

/* --- MOBILE HEADER --- */
.mobile-header {
	display: none;
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	height: 70px;
	background: #fff;
	border-bottom: 1px solid #ececec;
	padding: 0 10px;
	align-items: center;
	justify-content: space-between;
	z-index: 2001;
}

.mobile-header .logo-text {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0;
}

.mobile-header .logo-text .site-logo-img {
	height: 36px;
	max-width: 180px;
}

.m-btn,
.m-btn:visited {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2b2e34;
	font-size: 24px;
	border-radius: 6px;
	transition: 0.3s;
	text-decoration: none;
	cursor: pointer;
	background: transparent;
	border: 0;
}

.m-btn:hover,
.m-btn:active {
	background: var(--brand-turquoise);
	color: #fff;
}

.m-btn.user-m,
.m-btn.user-m:visited {
	color: var(--brand-copper);
}

.m-btn.user-m:hover,
.m-btn.user-m:active {
	background: var(--brand-copper);
	color: #fff;
}

/* --- MOBILE MENU --- */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 2999;
	opacity: 0;
	visibility: hidden;
	transition: 0.4s;
	backdrop-filter: blur(4px);
}

#m-menu-container {
	position: fixed;
	top: 0;
	left: -300px;
	width: 280px;
	height: 100%;
	background: #fff;
	border-right: 1px solid #ececec;
	z-index: 3000;
	transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	padding-top: 80px;
}

.menu-open #m-menu-container {
	left: 0;
}

.menu-open .mobile-menu-overlay {
	opacity: 1;
	visibility: visible;
}

.m-link,
.m-link:visited {
	display: block;
	padding: 18px 30px;
	color: #000;
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	border-bottom: 1px solid #f0f0f0;
	transition: 0.3s;
}

.m-link.active {
	background: var(--brand-turquoise);
	color: #fff;
}

.m-link:hover,
.m-link:focus,
.m-link:active {
	background: var(--brand-turquoise);
	color: #fff;
}

.toast-popup {
	position: fixed;
	bottom: -100px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--brand-dark);
	color: #fff;
	padding: 16px 28px;
	border-radius: 12px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: 0.5s;
	min-width: 320px;
}

.toast-popup.show {
	bottom: 30px;
}

@media (max-width: 1100px) {
	.header-sticky {
		display: none;
	}

	.mobile-header {
		display: flex;
	}

	body {
		padding-top: 0;
	}
}

.cart-dropdown {
	display: none;
	position: absolute;
	top: 110%;
	right: 0;
	background: #fff;
	width: 260px;
	padding: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	color: #333;
	text-align: left;
}

.cart-dropdown.show {
	display: block;
}

.cart-dropdown .woocommerce-mini-cart {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	max-height: 260px;
	overflow: auto;
}

.cart-dropdown .woocommerce-mini-cart__empty-message {
	font-size: 14px;
	color: #666;
	margin: 0;
	text-align: center;
}

.cart-dropdown .woocommerce-mini-cart-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
	font-size: 13px;
}

.cart-dropdown .woocommerce-mini-cart-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.cart-dropdown .woocommerce-mini-cart-item img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid #eee;
}

.cart-dropdown .woocommerce-mini-cart-item a {
	color: #1a1c20;
	text-decoration: none;
	font-weight: 600;
}

.cart-dropdown .woocommerce-mini-cart-item a:hover {
	color: var(--brand-copper);
}

.cart-dropdown .woocommerce-mini-cart__total {
	font-size: 13px;
	font-weight: 700;
	color: #1a1c20;
	margin: 12px 0 16px;
	display: flex;
	justify-content: space-between;
}

.cart-dropdown .woocommerce-mini-cart__buttons {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cart-dropdown .woocommerce-mini-cart__buttons .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	border: 1px solid var(--brand-copper);
	color: var(--brand-copper);
	background: transparent;
	transition: 0.2s;
}

.cart-dropdown .woocommerce-mini-cart__buttons .button.checkout {
	background: var(--brand-copper);
	color: #fff;
}

.cart-dropdown .woocommerce-mini-cart__buttons .button:hover {
	background: var(--brand-copper);
	color: #fff;
}
