/**
 * Ayat Food Theme - site navigation styles.
 *
 * Loaded on every page (see inc/enqueue.php). Source of truth:
 * src/components/Navbar.tsx (+ AssortimentNavDropdown, VoorWieNavDropdown,
 * AssortimentMegaMenu mobile links, VoorWieMobileLinks).
 *
 * Behavior (scroll transparency, mega-menu hover, mobile drawer) lives in
 * assets/js/navbar.js.
 *
 * @package Ayat_Food
 * @since   1.0.0
 */

/* ==========================================================================
   Root + atmosphere
   ========================================================================== */

.ipekci-nav {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 50;
}

/*
 * The WP admin toolbar is also `position: fixed; top: 0` with a much higher
 * z-index, so for logged-in users it would otherwise sit on top of (and
 * visually hide) our own fixed nav. Offset by its height, per WP's own
 * responsive breakpoint for the toolbar (46px under 783px, 32px at/above).
 */
body.admin-bar .ipekci-nav {
	top: 46px;
}

@media (min-width: 783px) {
	body.admin-bar .ipekci-nav {
		top: 32px;
	}
}

.ipekci-nav__atmosphere {
	display: none;
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 150px;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.4) 0%,
		rgba(0, 0, 0, 0.22) 42%,
		rgba(0, 0, 0, 0.08) 75%,
		transparent 100%
	);
	opacity: 1;
	transition: opacity 0.5s var(--ipek-ease);
}

@media (min-width: 1024px) {
	.ipekci-nav__atmosphere {
		display: block;
	}
}

.ipekci-nav.is-solid .ipekci-nav__atmosphere {
	opacity: 0;
}

/* ==========================================================================
   Top info bar
   ========================================================================== */

.ipekci-nav-topbar {
	position: relative;
	display: none;
}

@media (min-width: 1024px) {
	.ipekci-nav-topbar {
		display: block;
	}
}

.ipekci-nav-topbar.is-hidden {
	display: none;
}

.ipekci-nav-topbar__inner {
	margin-inline: auto;
	display: flex;
	height: 38px;
	align-items: center;
	justify-content: flex-end;
}

.ipekci-nav-topbar__inner.ipek-container,
.ipekci-nav-topbar__inner {
	max-width: var(--ipek-container);
	width: 100%;
	padding-inline: var(--ipek-gutter);
}

@media (min-width: 640px) {
	.ipekci-nav-topbar__inner {
		padding-inline: var(--ipek-gutter-sm);
	}
}

@media (min-width: 1024px) {
	.ipekci-nav-topbar__inner {
		padding-inline: var(--ipek-gutter-lg);
	}
}

@media (min-width: 1280px) {
	.ipekci-nav-topbar__inner {
		padding-inline: var(--ipek-gutter-xl);
	}
}

.ipekci-nav-topbar__row {
	display: flex;
	align-items: center;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: rgba(255, 255, 255, 0.62);
	transition: color 0.3s ease;
}

.ipekci-nav.is-solid .ipekci-nav-topbar__row {
	color: #666;
}

.ipekci-nav-topbar__item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	white-space: nowrap;
}

.ipekci-nav-topbar__item .ipekci-nav-icon {
	flex-shrink: 0;
	color: #da292a;
}

.ipekci-nav-topbar__sep {
	margin-inline: 15px;
	height: 14px;
	width: 1px;
	flex-shrink: 0;
	background: rgba(226, 192, 141, 0.15);
}

.ipekci-nav.is-solid .ipekci-nav-topbar__sep {
	background: rgba(218, 41, 42, 0.18);
}

.ipekci-nav-topbar__sep--wide {
	margin-inline: 19px;
}

.ipekci-nav.is-solid .ipekci-nav-topbar__sep--wide {
	background: rgba(218, 41, 42, 0.2);
}

.ipekci-nav-topbar__link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	white-space: nowrap;
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ipekci-nav-topbar__link:hover {
	color: rgba(255, 255, 255, 0.88);
}

.ipekci-nav.is-solid .ipekci-nav-topbar__link:hover {
	color: #111111;
}

.ipekci-nav-topbar__link .ipekci-nav-icon {
	flex-shrink: 0;
	color: #da292a;
}

.ipekci-nav-topbar__dot {
	margin-inline: 11px;
	height: 5px;
	width: 5px;
	flex-shrink: 0;
	border-radius: 9999px;
	background: rgba(226, 192, 141, 0.28);
}

.ipekci-nav.is-solid .ipekci-nav-topbar__dot {
	background: rgba(218, 41, 42, 0.28);
}

/* ==========================================================================
   Main bar
   ========================================================================== */

.ipekci-nav__bar {
	position: relative;
	background-color: rgba(0, 0, 0, 0);
	border-bottom: 1px solid rgba(226, 192, 141, 0);
	box-shadow: none;
	transition:
		background-color 0.5s var(--ipek-ease),
		border-color 0.5s var(--ipek-ease),
		box-shadow 0.5s var(--ipek-ease);
}

.ipekci-nav.is-solid .ipekci-nav__bar {
	background-color: #ffffff;
	border-bottom-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.1);
}

.ipekci-nav__desktop {
	display: none;
}

@media (min-width: 1024px) {
	.ipekci-nav__desktop {
		margin-inline: auto;
		display: flex;
		height: 88px;
		width: 100%;
		max-width: var(--ipek-container);
		align-items: center;
		justify-content: space-between;
		gap: 1.5rem;
		padding-inline: var(--ipek-gutter-lg);
	}
}

@media (min-width: 1280px) {
	.ipekci-nav__desktop {
		padding-inline: var(--ipek-gutter-xl);
	}
}

.ipekci-nav__mobile {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: var(--ipek-container);
	margin-inline: auto;
	padding: 1rem var(--ipek-gutter);
}

@media (min-width: 640px) {
	.ipekci-nav__mobile {
		padding-inline: var(--ipek-gutter-sm);
	}
}

@media (min-width: 1024px) {
	.ipekci-nav__mobile {
		display: none;
	}
}

/* ==========================================================================
   Logo
   ========================================================================== */

.ipekci-nav-logo {
	position: relative;
	z-index: 20;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	padding-block: 0.25rem;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.ipekci-nav-logo:hover {
	opacity: 0.85;
}

.ipekci-nav-logo__img {
	height: 68px;
	width: auto;
	user-select: none;
}

.ipekci-nav-logo__img--transparent {
	display: block;
	/* React NavLogo unscrolled filter */
	filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 18px rgba(218, 41, 42, 0.22));
}

.ipekci-nav-logo__img--solid {
	display: none;
	height: 58px;
}

@media (min-width: 640px) {
	.ipekci-nav-logo__img--transparent {
		height: 88px;
	}

	.ipekci-nav-logo__img--solid {
		height: 72px;
	}
}

.ipekci-nav.is-solid .ipekci-nav-logo__img--transparent {
	display: none;
}

.ipekci-nav.is-solid .ipekci-nav-logo__img--solid {
	display: block;
}

/* ==========================================================================
   Desktop nav links
   ========================================================================== */

.ipekci-nav-links {
	display: flex;
	align-items: center;
	gap: 0.125rem;
}

@media (min-width: 1280px) {
	.ipekci-nav-links {
		gap: 0.25rem;
	}
}

.ipekci-nav-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 1rem 1.25rem;
	background: transparent;
	border: 0;
	font-family: var(--ipek-font-sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

@media (min-width: 1280px) {
	.ipekci-nav-link {
		padding-inline: 1.5rem;
	}

	.ipekci-nav-link__underline {
		inset-inline: 1.5rem;
	}
}

.ipekci-nav-link:hover {
	color: #ffffff;
}

.ipekci-nav-link.is-active {
	color: #ffffff;
}

.ipekci-nav.is-solid .ipekci-nav-link {
	color: rgba(20, 20, 20, 0.72);
}

.ipekci-nav.is-solid .ipekci-nav-link:hover,
.ipekci-nav.is-solid .ipekci-nav-link.is-active {
	color: #141414;
}

.ipekci-nav-link__label {
	position: relative;
	z-index: 10;
}

.ipekci-nav-link__underline {
	position: absolute;
	inset-inline: 1.25rem;
	bottom: -1px;
	height: 1px;
	transform-origin: left;
	transform: scaleX(0);
	background: rgba(226, 192, 141, 0.72);
	transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.ipekci-nav.is-solid .ipekci-nav-link__underline {
	background: rgba(218, 41, 42, 0.72);
}

.ipekci-nav-link:hover .ipekci-nav-link__underline {
	transform: scaleX(1);
}

.ipekci-nav-link.is-active .ipekci-nav-link__underline {
	transform: scaleX(1);
	background: linear-gradient(90deg, transparent, rgba(226, 192, 141, 0.85), transparent);
}

.ipekci-nav.is-solid .ipekci-nav-link.is-active .ipekci-nav-link__underline {
	background: linear-gradient(90deg, transparent, rgba(218, 41, 42, 0.85), transparent);
}

/* ==========================================================================
   Dropdown trigger
   ========================================================================== */

.ipekci-nav-dropdown {
	position: relative;
	display: inline-flex;
}

.ipekci-nav-link--dropdown {
	outline: none;
}

.ipekci-nav-link__chevron {
	position: relative;
	z-index: 10;
	display: inline-flex;
	color: rgba(255, 255, 255, 0.5);
	transition: transform 0.26s var(--ipek-ease);
}

.ipekci-nav.is-solid .ipekci-nav-link__chevron {
	color: rgba(20, 20, 20, 0.45);
}

.ipekci-nav-dropdown.is-open .ipekci-nav-link__chevron {
	transform: rotate(180deg);
}

.ipekci-nav-dropdown.is-open .ipekci-nav-link--dropdown,
.ipekci-nav-dropdown.is-open .ipekci-nav-link--dropdown .ipekci-nav-link__underline {
	color: #ffffff;
	transform: scaleX(1);
}

.ipekci-nav.is-solid .ipekci-nav-dropdown.is-open .ipekci-nav-link--dropdown {
	color: #141414;
}

/* ==========================================================================
   Mega-menu panel
   ========================================================================== */

.ipekci-nav-panel {
	position: absolute;
	top: 100%;
	left: 50%;
	margin-top: 0.5rem;
	width: calc(100vw - 2rem);
	max-width: 980px;
	transform: translate(-50%, 8px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid #e5e0d8;
	background: rgba(250, 248, 245, 0.98);
	box-shadow: 0 28px 80px -32px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	color: #1a1a1a;
	transition:
		opacity 0.22s var(--ipek-ease),
		transform 0.22s var(--ipek-ease),
		visibility 0.22s;
}

.ipekci-nav-dropdown.is-open .ipekci-nav-panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.ipekci-nav-panel__grid {
	display: grid;
	grid-template-columns: 1.35fr 0.9fr;
}

.ipekci-nav-panel__list {
	padding: 1.5rem;
}

@media (min-width: 640px) {
	.ipekci-nav-panel__list {
		padding: 1.75rem;
	}
}

.ipekci-nav-panel__head {
	display: block;
}

.ipekci-nav-panel__eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #da292a;
}

.ipekci-nav-panel__title {
	margin-top: 0.5rem;
	font-family: var(--ipek-font-display);
	font-size: 1.85rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.02em;
	color: #141414;
}

.ipekci-nav-panel__subtitle {
	margin: 0.625rem 0 0;
	max-width: 28rem;
	font-size: 13px;
	line-height: 1.625;
	color: rgba(20, 20, 20, 0.62);
}

.ipekci-nav-panel__rule {
	display: none;
}

.ipekci-nav-panel__items {
	margin-top: 1.5rem;
	display: grid;
	gap: 0.5rem;
}

@media (min-width: 640px) {
	.ipekci-nav-panel__items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.ipekci-nav-panel__item {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	border-radius: 12px;
	border: 1px solid transparent;
	background: transparent;
	padding: 0.75rem 0.875rem;
	text-decoration: none;
	transition: all 0.3s ease;
}

.ipekci-nav-panel__item:hover,
.ipekci-nav-panel__item.is-hovered {
	border-color: rgba(218, 41, 42, 0.22);
	background: rgba(218, 41, 42, 0.06);
}

.ipekci-nav-panel__item-icon {
	display: grid;
	height: 40px;
	width: 40px;
	flex-shrink: 0;
	place-items: center;
	overflow: hidden;
	border-radius: 8px;
	border: 1px solid rgba(20, 20, 20, 0.1);
	background: #ffffff;
	transition: all 0.3s ease;
}

.ipekci-nav-panel__item:hover .ipekci-nav-panel__item-icon,
.ipekci-nav-panel__item.is-hovered .ipekci-nav-panel__item-icon {
	border-color: rgba(218, 41, 42, 0.3);
	background: rgba(218, 41, 42, 0.1);
}

.ipekci-nav-panel__item-icon img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.ipekci-nav-panel__item-body {
	min-width: 0;
	flex: 1 1 auto;
}

.ipekci-nav-panel__item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.ipekci-nav-panel__item-label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(20, 20, 20, 0.88);
	transition: color 0.3s ease;
}

.ipekci-nav-panel__item:hover .ipekci-nav-panel__item-label,
.ipekci-nav-panel__item.is-hovered .ipekci-nav-panel__item-label {
	color: #141414;
}

.ipekci-nav-panel__item-row .ipekci-nav-icon {
	flex-shrink: 0;
	color: rgba(20, 20, 20, 0.35);
	transition: all 0.3s ease;
}

.ipekci-nav-panel__item:hover .ipekci-nav-panel__item-row .ipekci-nav-icon,
.ipekci-nav-panel__item.is-hovered .ipekci-nav-panel__item-row .ipekci-nav-icon {
	transform: translate(2px, -2px);
	color: #da292a;
}

.ipekci-nav-panel__item-desc {
	margin-top: 0.125rem;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 12px;
	line-height: 1.375;
	color: rgba(20, 20, 20, 0.52);
}

/* Featured panel */

.ipekci-nav-panel__feature {
	position: relative;
	border-left: 1px solid #e5e0d8;
	background: #f3efe8;
	padding: 1.5rem;
}

@media (min-width: 640px) {
	.ipekci-nav-panel__feature {
		padding: 1.75rem;
	}
}

.ipekci-nav-panel__feature-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(20, 20, 20, 0.5);
}

.ipekci-nav-panel__feature-frame {
	position: relative;
	margin-top: 0.75rem;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.2);
}

.ipekci-nav-panel__feature-image {
	position: absolute;
	inset: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.06);
	transition:
		opacity 0.45s var(--ipek-ease),
		transform 0.45s var(--ipek-ease);
}

.ipekci-nav-panel__feature-image.is-shown {
	opacity: 1;
	transform: scale(1);
}

.ipekci-nav-panel__feature-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.65));
}

.ipekci-nav-panel__feature-copy {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 1.25rem;
}

.ipekci-nav-panel__feature-eyebrow {
	margin: 0;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ipek-primary, #da292a);
}

.ipekci-nav-panel__feature-title {
	margin-top: 0.25rem;
	font-family: var(--ipek-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.15;
	color: #ffffff;
}

.ipekci-nav-panel__feature-desc {
	margin: 0.5rem 0 0;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 0.875rem;
	line-height: 1.625;
	color: rgba(255, 255, 255, 0.72);
}

.ipekci-nav-panel__feature-cta {
	margin-top: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: #ffffff;
	padding: 0.625rem 1rem;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #111111;
	text-decoration: none;
	transition:
		background-color 0.3s ease,
		color 0.3s ease,
		border-color 0.3s ease;
}

.ipekci-nav-panel__feature-cta:hover {
	background: #da292a;
	border-color: #da292a;
	color: #ffffff;
}

.ipekci-nav-panel__feature-cta .ipekci-nav-icon {
	color: var(--ipek-primary);
}

.ipekci-nav-panel__all {
	margin-top: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: rgba(245, 241, 235, 0.55);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ipekci-nav-panel__all:hover {
	color: var(--ipek-primary);
}

/* ==========================================================================
   CTA button (navbar)
   ========================================================================== */

.ipekci-nav-cta-slot {
	margin-left: 0.75rem;
	padding-left: 0.75rem;
	border-left: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1280px) {
	.ipekci-nav-cta-slot {
		margin-left: 1rem;
		padding-left: 1rem;
	}
}

.ipekci-nav.is-solid .ipekci-nav-cta-slot {
	border-left-color: rgba(0, 0, 0, 0.1);
}

.ipekci-nav-cta {
	position: relative;
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	gap: 0.625rem;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid rgba(218, 41, 42, 0.8);
	background: #da292a;
	padding: 13px 28px;
	font-family: var(--ipek-font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 12px 36px -16px rgba(218, 41, 42, 0.7);
	transition: all 0.3s ease;
}

.ipekci-nav-cta:hover {
	border-color: #ffffff;
	background: #ffffff;
	color: #da292a;
	box-shadow: 0 16px 40px -16px rgba(255, 255, 255, 0.35);
	transform: translateY(-1px);
}

.ipekci-nav-cta:active {
	transform: scale(0.98);
}

.ipekci-nav-cta__sheen {
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	opacity: 0.7;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.ipekci-nav-cta:hover .ipekci-nav-cta__sheen {
	opacity: 0;
}

.ipekci-nav-cta__glow {
	display: none; /* Removed in React version */
}

.ipekci-nav-cta__label {
	position: relative;
}

.ipekci-nav-cta .ipekci-hero-icon--arrow-right {
	position: relative;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ipekci-nav-cta:hover .ipekci-hero-icon--arrow-right {
	transform: translateX(4px);
}

.ipekci-nav-cta--block {
	width: 100%;
	justify-content: center;
}

/* ==========================================================================
   Mobile toggle
   ========================================================================== */

.ipekci-nav-toggle {
	position: relative;
	display: grid;
	height: 36px;
	width: 36px;
	place-items: center;
	background: transparent;
	border: 0;
	padding: 0;
	color: rgba(245, 241, 235, 0.88);
	cursor: pointer;
	transition: color 0.2s ease;
}

.ipekci-nav.is-solid .ipekci-nav-toggle {
	color: rgba(20, 20, 20, 0.88);
}

.ipekci-nav-toggle__icon {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	transition:
		opacity 0.18s ease,
		transform 0.18s ease;
}

.ipekci-nav-toggle__icon--close {
	opacity: 0;
	transform: rotate(90deg);
}

.ipekci-nav-toggle[aria-expanded="true"] .ipekci-nav-toggle__icon--menu {
	opacity: 0;
	transform: rotate(-90deg);
}

.ipekci-nav-toggle[aria-expanded="true"] .ipekci-nav-toggle__icon--close {
	opacity: 1;
	transform: rotate(0deg);
}

/* ==========================================================================
   Mobile drawer
   ========================================================================== */

.ipekci-nav-drawer {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: none;
	width: 100%;
	flex-direction: column;
	opacity: 0;
	transition: opacity 0.22s ease-out;
}

@media (min-width: 1024px) {
	.ipekci-nav-drawer {
		display: none !important;
	}
}

.ipekci-nav-drawer.is-open {
	display: flex;
	opacity: 1;
}

.ipekci-nav-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 5, 5, 0.8);
	backdrop-filter: blur(40px);
	-webkit-backdrop-filter: blur(40px);
}

.ipekci-nav-drawer__ambient {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.ipekci-nav-drawer__glow {
	position: absolute;
	border-radius: 9999px;
}

.ipekci-nav-drawer__glow--gold {
	left: -112px;
	top: -112px;
	height: 420px;
	width: 420px;
	background: rgba(226, 192, 141, 0.14);
	filter: blur(140px);
}

.ipekci-nav-drawer__glow--red {
	right: -112px;
	top: 160px;
	height: 520px;
	width: 520px;
	background: rgba(218, 41, 42, 0.22);
	filter: blur(170px);
}

.ipekci-nav-drawer__panel {
	position: relative;
	z-index: 10;
	display: flex;
	height: 100%;
	width: 100%;
	flex-direction: column;
	overflow-y: auto;
	padding: 2.5rem 1.5rem 2.5rem;
	transform: translateY(6px);
	filter: blur(6px);
	transition:
		transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
		filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ipekci-nav-drawer.is-open .ipekci-nav-drawer__panel {
	transform: translateY(0);
	filter: blur(0);
}

@media (min-width: 640px) {
	.ipekci-nav-drawer__panel {
		padding-inline: 2rem;
	}
}

.ipekci-nav-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 2rem;
}

.ipekci-nav-drawer__logo {
	height: 48px;
	width: auto;
}

.ipekci-nav-drawer__close {
	display: grid;
	height: 40px;
	width: 40px;
	place-items: center;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	color: #f5f1eb;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.ipekci-nav-drawer__close:hover {
	background: rgba(255, 255, 255, 0.06);
}

.ipekci-nav-drawer__brand {
	margin-bottom: 1.5rem;
}

.ipekci-nav-drawer__brand-eyebrow {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: rgba(226, 192, 141, 0.75);
}

.ipekci-nav-drawer__brand-title {
	margin-top: 0.75rem;
	font-family: var(--ipek-font-display);
	font-size: 1.5rem;
	letter-spacing: -0.03em;
	color: #ffffff;
}

.ipekci-nav-drawer__nav {
	display: flex;
	width: 100%;
	flex-direction: column;
}

.ipekci-nav-drawer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding-block: 1.25rem;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ipekci-nav-drawer__link:hover {
	color: #ffffff;
}

.ipekci-nav-drawer__link--last {
	border-bottom: 0;
}

.ipekci-nav-drawer__link .ipekci-nav-icon {
	color: rgba(255, 255, 255, 0.35);
}

/* Accordion */

.ipekci-nav-accordion {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ipekci-nav-accordion__trigger {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	background: transparent;
	border: 0;
	padding-block: 1.25rem;
	font-family: var(--ipek-font-sans);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
}

.ipekci-nav-accordion__chevron {
	display: inline-flex;
	color: rgba(255, 255, 255, 0.5);
	transition: transform 0.3s var(--ipek-ease);
}

.ipekci-nav-accordion.is-open .ipekci-nav-accordion__chevron {
	transform: rotate(180deg);
}

.ipekci-nav-accordion__content {
	display: grid;
	grid-template-rows: 0fr;
	overflow: hidden;
	transition: grid-template-rows 0.35s var(--ipek-ease);
}

.ipekci-nav-accordion.is-open .ipekci-nav-accordion__content {
	grid-template-rows: 1fr;
}

.ipekci-nav-accordion__content > * {
	min-height: 0;
	overflow: hidden;
}

.ipekci-nav-mobile-links {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding-bottom: 0.5rem;
}

.ipekci-nav-mobile-link {
	display: flex;
	gap: 1rem;
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	padding: 0.75rem;
	text-decoration: none;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease;
}

.ipekci-nav-mobile-link:hover {
	border-color: rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.05);
}

.ipekci-nav-mobile-link__thumb {
	position: relative;
	height: 72px;
	width: 72px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 8px;
}

.ipekci-nav-mobile-link__thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
}

.ipekci-nav-mobile-link__thumb img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.ipekci-nav-mobile-link__body {
	min-width: 0;
	flex: 1 1 auto;
	padding-block: 0.125rem;
}

.ipekci-nav-mobile-link__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.ipekci-nav-mobile-link__label {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.03em;
	color: rgba(255, 255, 255, 0.88);
}

.ipekci-nav-mobile-link__row .ipekci-nav-icon {
	flex-shrink: 0;
	color: rgba(255, 255, 255, 0.35);
	transition: color 0.2s ease;
}

.ipekci-nav-mobile-link:hover .ipekci-nav-mobile-link__row .ipekci-nav-icon {
	color: rgba(226, 192, 141, 0.9);
}

.ipekci-nav-mobile-link__desc {
	margin-top: 0.25rem;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.48);
}

.ipekci-nav-mobile-link__cta {
	margin-top: 0.5rem;
	display: inline-flex;
	font-size: 9px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(226, 192, 141, 0.8);
}

.ipekci-nav-mobile-all {
	margin-top: 0.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	padding: 0.75rem 1rem;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.ipekci-nav-mobile-all:hover {
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
}

.ipekci-nav-mobile-all .ipekci-nav-icon {
	color: rgba(226, 192, 141, 0.9);
}

.ipekci-nav-drawer__foot {
	margin-top: 1.25rem;
	width: 100%;
}

.ipekci-nav-drawer__call {
	margin-top: 1rem;
	display: inline-flex;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	padding: 0.75rem 1.5rem;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.ipekci-nav-drawer__call:hover {
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.9);
}

.ipekci-nav-drawer__call .ipekci-nav-icon {
	color: rgba(226, 192, 141, 0.9);
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.ipekci-nav__atmosphere,
	.ipekci-nav__bar,
	.ipekci-nav-logo,
	.ipekci-nav-link__underline,
	.ipekci-nav-link__chevron,
	.ipekci-nav-panel,
	.ipekci-nav-panel__feature-image,
	.ipekci-nav-cta,
	.ipekci-nav-cta__glow,
	.ipekci-hero-icon--arrow-right,
	.ipekci-nav-toggle__icon,
	.ipekci-nav-drawer,
	.ipekci-nav-drawer__panel,
	.ipekci-nav-accordion__chevron,
	.ipekci-nav-accordion__content {
		transition-duration: 0.01s !important;
	}
}

/* ==========================================================================
   Mobile-premium refinements (phones only — desktop nav is unchanged)
   ========================================================================== */

/* Tighter, app-like bar height on phones (was ~85px -> ~66px), freeing hero
   real estate and reading less like a website header. */
@media (max-width: 639px) {
	.ipekci-nav__mobile {
		padding-top: 0.55rem;
		padding-bottom: 0.55rem;
	}

	.ipekci-nav-logo__img {
		height: 58px;
	}

	.ipekci-nav-logo__img--solid {
		height: 52px;
	}
}

/* Current-location indicator in the drawer — a glowing gold marker + gold text,
   so the menu behaves like a native app that shows where you are. */
.ipekci-nav-drawer__link.is-active {
	color: rgba(226, 192, 141, 0.95);
}

.ipekci-nav-drawer__link.is-active > span:first-child {
	position: relative;
	padding-left: 1rem;
}

.ipekci-nav-drawer__link.is-active > span:first-child::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	height: 5px;
	width: 5px;
	transform: translateY(-50%);
	border-radius: 9999px;
	background: rgba(226, 192, 141, 0.95);
	box-shadow: 0 0 10px rgba(226, 192, 141, 0.7);
}

.ipekci-nav-drawer__link.is-active .ipekci-nav-icon {
	color: rgba(226, 192, 141, 0.7);
}

.ipekci-nav-accordion__trigger.is-active {
	color: rgba(226, 192, 141, 0.95);
}

/* -------------------------------------------------------------------------
 * WCAG 2.2 SC 2.5.8 — Target Size (Minimum), Level AA
 *
 * These links render 17-20px tall, under the 24px floor. The hit area is grown
 * with a pseudo-element rather than padding so the pointer/touch target reaches
 * 24px while the topbar height, the type and the layout stay exactly as designed
 * (the same technique the meat-showcase hotspots already use).
 * ---------------------------------------------------------------------- */
.ipekci-nav-topbar__link,
.ipekci-nav-panel__all {
	position: relative;
}

.ipekci-nav-topbar__link::after,
.ipekci-nav-panel__all::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 24px;
	transform: translateY(-50%);
}
