/* ============================================================
   Zulema Perfumes - header styles
   ============================================================ */

.zulema-header {
	position: relative;
	z-index: 201;
	background: #fff;
}

/* ---- Top bar (white background, black foreground) ---- */
.zulema-topbar {
	background: #fff;
	border-bottom: 1px solid var(--color-line);
	color: var(--color-fg);
}

.zulema-topbar__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: var(--sp-3);
	padding-top: 24px;
	padding-bottom: 24px;
}

/* Checkout: minimal top bar — logo left, shop icon right, no menu.
   The shop link reuses .zulema-action (icon button styling shared with
   the wishlist/account/cart icons in the normal topbar). */
.zulema-topbar__inner--checkout {
	display: flex;
	grid-template-columns: none;
	align-items: center;
	justify-content: space-between;
}

/* Burger (hidden desktop) */
.zulema-topbar__burger {
	display: none;
	background: none;
	border: none;
	padding: 4px;
	line-height: 0;
	color: var(--color-fg);
}

/* Search trigger lives among the action icons (.zulema-action gives it the
   same icon-button look) — hidden desktop, shown on mobile below. The
   doubled-up class selector beats .zulema-action's own `display` on
   specificity regardless of source order. */
.zulema-action.zulema-topbar__search-trigger {
	display: none;
}

/* Brand / logo */
.zulema-topbar__brand {
	display: flex;
	align-items: center;
}

.zulema-branding {
	display: flex;
	align-items: center;
}

.zulema-branding img {
	max-height: 180px;
	width: auto;
}

.zulema-branding__text {
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--color-fg);
	text-decoration: none;
}

.zulema-branding__text:hover {
	text-decoration: none;
	color: var(--color-fg);
}

/* Search bar */
.zulema-topbar__search {
	max-width: 480px;
	width: 100%;
	margin: 0 auto;
}

.zulema-search {
	position: relative;
	display: flex;
	align-items: center;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-input);
	background: #fff;
	transition: border-color 0.15s;
}

.zulema-search:focus-within {
	border-color: var(--color-fg);
}

.zulema-search__input {
	flex: 1;
	border: none;
	outline: none;
	padding: 14px 18px;
	background: transparent;
	color: var(--color-fg);
	font-size: 18px;
}

.zulema-search__input::placeholder {
	color: var(--color-muted);
}

.zulema-search__btn {
	background: none;
	border: none;
	padding: 10px 14px;
	line-height: 0;
	color: var(--color-fg);
	cursor: pointer;
	
}
.zulema-search__btn svg {
	width: 30px !important;
	height: 30px !important;
}

.zulema-search__btn:hover {
	color: var(--color-muted);
}

/* Live search results dropdown */
.zulema-search-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 1200;
	background: #fff;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
	max-height: 70vh;
	overflow-y: auto;
	padding: var(--sp-3);
	text-align: left;
}

.zulema-search-results__loading {
	color: var(--color-muted);
	text-align: center;
	padding: var(--sp-4);
	margin: 0;
}

.zulema-search-results__group + .zulema-search-results__group {
	margin-top: var(--sp-3);
	padding-top: var(--sp-3);
	border-top: 1px solid var(--color-line);
}

.zulema-search-results__group-title {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-muted);
	margin: 0 0 var(--sp-2);
}

.zulema-search-results__item {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	padding: 6px 0;
	color: var(--color-fg);
}

.zulema-search-results__item:hover {
	color: var(--color-muted);
	text-decoration: none;
}

.zulema-search-results__img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}

.zulema-search-results__title {
	flex: 1;
	font-size: 0.9rem;
	min-width: 0;
}

.zulema-search-results__price {
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
}

.zulema-search-results__all {
	display: block;
	text-align: center;
	margin-top: var(--sp-3);
	padding-top: var(--sp-3);
	border-top: 1px solid var(--color-line);
	font-weight: 600;
	font-size: 0.88rem;
}

.zulema-search-results__empty {
	color: var(--color-muted);
	text-align: center;
	margin: 0;
}

/* Action icons */
.zulema-topbar__actions {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
}

.zulema-action {
	position: relative;
	display: inline-flex;
	align-items: center;
	background: none;
	border: none;
	padding: 4px;
	line-height: 0;
	color: var(--color-fg);
	cursor: pointer;
	text-decoration: none;
}

.zulema-action:hover {
	color: var(--color-muted);
	text-decoration: none;
}

.zulema-action__count {
	position: absolute;
	top: -4px;
	right: -6px;
	background: var(--color-fg);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	min-width: 16px;
	height: 16px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 3px;
}

/* ---- Navbar (sticky) ---- */
.zulema-navbar {
	position: sticky;
	top: 0;
	z-index: 200;
	background: #000;
	border-bottom: 1px solid #000;
	transition: box-shadow 0.2s ease;
}

.zulema-navbar.is-sticky {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.zulema-navbar__inner {
	display: flex;
	align-items: stretch;
}

/* Primary menu */
.zulema-menu {
	display: flex;
	list-style: none;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}

.zulema-menu::-webkit-scrollbar {
	display: none;
}

.zulema-menu > li {
	position: relative;
	flex-shrink: 0;
}

.zulema-menu__link {
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 14px 16px;
	color: #fff;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s;
}

.zulema-menu__link:hover,
.zulema-menu > li.current-menu-item > .zulema-menu__link,
.zulema-menu > li.current-menu-ancestor > .zulema-menu__link {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}

.zulema-menu__caret {
	opacity: 0.7;
	flex-shrink: 0;
}

/* Mega menu panel */
.zulema-megamenu {
	position: fixed;
	left: 0;
	right: 0;
	background: #fff;
	border-top: 2px solid var(--color-fg);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	z-index: 500;
	padding: var(--sp-4) 0;
}

.zulema-megamenu__inner {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
}

.zulema-megamenu__list {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	gap: var(--sp-2) var(--sp-5);
}

.zulema-submenu__link {
	font-size: var(--fs-small);
	color: var(--color-fg);
	display: block;
	padding: 4px 0;
}

.zulema-submenu__link:hover {
	text-decoration: none;
	color: var(--color-muted);
}

/* ---- Mobile menu ---- */
@media (max-width: 1023px) {
	.zulema-topbar__inner {
		grid-template-columns: auto auto 1fr auto;
	}

	.zulema-topbar__burger {
		display: inline-flex;
	}

	.zulema-topbar__search {
		display: none;
	}

	.zulema-navbar {
		display: none;
	}
}

@media (max-width: 640px) {
	.zulema-topbar__brand .zulema-branding__text {
		font-size: 1.2rem;
	}

	.zulema-topbar__actions {
		gap: var(--sp-2);
	}
}

/* True mobile only — tablet (768-1023px) keeps the inline search bar and
   the account icon; below that, search moves into the top drawer and the
   account icon is dropped from the topbar entirely. */
@media (max-width: 767px) {
	.zulema-action.zulema-topbar__search-trigger {
		display: inline-flex !important;
	}

	.zulema-action--account {
		display: none;
	}

	/* iOS Safari auto-zooms the whole page on focus when an input's
	   font-size is under 16px — bump it just on mobile so tapping the
	   search field doesn't trigger that. */
	.zulema-search__input {
		font-size: 16px;
	}
}

/* Search drawer: slides down from the top (mirrors .zulema-cart-drawer's
   slide-from-side pattern, but vertical). */
.zulema-search-drawer {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1001;
	background: #fff;
	box-shadow: var(--shadow-drawer);
	padding: var(--sp-4) 0;
	transform: translateY(-100%);
	transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
		visibility 0s linear 0.32s,
		opacity 0.32s ease;
	visibility: hidden;
	opacity: 0;
	will-change: transform;
}

.zulema-search-drawer.zulema-drawer--open {
	transform: translateY(0);
	visibility: visible;
	opacity: 1;
	transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
		visibility 0s linear 0s,
		opacity 0.32s ease;
}

.zulema-search-drawer__inner {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
}

.zulema-search-drawer__inner .zulema-search {
	flex: 1;
}
.zulema-topbar__brand .zulema-branding img.custom-logo {
	width: 160px !important;
	height: auto !important;
	max-height: none !important;
	max-width: none !important;
}
@media (max-width: 767px) {
	.zulema-topbar__brand .zulema-branding img.custom-logo {
		width: 130px !important;
		height: auto !important;
		max-height: none !important;
	}
}
/* Mărește iconițele din header */
.zulema-topbar__actions svg {
	width: 35px !important;
	height: 35px !important;
}
.zulema-topbar__promo {
background: #000;
color: #fff;
overflow: hidden;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
}

.zulema-marquee {
width: 60%;
overflow: hidden;
white-space: nowrap;
margin: 0 auto;
}

.zulema-marquee__content {
display: inline-block;
font-size: 18px;
font-weight: 700;
letter-spacing: 0.02em;
animation: zulema-marquee 25s linear infinite;
}

@keyframes zulema-marquee {
0% {
transform: translateX(60%);
}

```
100% {
	transform: translateX(-100%);
}
```

}

@media (max-width: 767px) {
	.zulema-topbar__promo {
		height: 42px;
	}

	.zulema-marquee {
		width: 100%;
	}

	.zulema-marquee__content {
		font-size: 14px;
		animation: zulema-marquee-mobile 18s linear infinite;
	}

	@keyframes zulema-marquee-mobile {
	0% {
		transform: translateX(40%);
	}

	100% {
		transform: translateX(-100%);
	}
}
