/* ============================================================
   Pavli Header — modern doğal mağaza başlığı
   Renkler .pvh içindeki --h-* değişkenlerinden (admin'den) gelir
   ============================================================ */
.pvh, .pvh *, .pvh *::before, .pvh *::after { box-sizing: border-box; margin: 0; padding: 0; }
.pvh {
	--h-text: #14251D; --h-muted: #7C7466; --h-border: rgba(201,161,93,.26);
	--pvh-nav-h: 88px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
.pvh a { text-decoration: none; }

/* ---- Üst şerit ---- */
.pvh-top { background: var(--h-green-dark, #0E3B2E); color: var(--h-cream, #F7F3EA); font-size: 13px; padding: 8px 0; border-bottom: 1px solid rgba(201,161,93,.24); }
.pvh-top__in { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.pvh-top span { color: rgba(247,243,234,.82); display: inline-flex; align-items: center; gap: 4px; }

/* ---- Nav ---- */
.pvh-nav {
	background: var(--h-green-dark, #0E3B2E);
	border-bottom: 1px solid rgba(201,161,93,.22);
	box-shadow: 0 8px 28px rgba(14,59,46,.18);
	transition: background .22s ease, box-shadow .22s ease, border-color .22s ease, backdrop-filter .22s ease;
}
.pvh.is-sticky .pvh-nav {
	position: sticky;
	top: 0;
	z-index: 9999;
	backdrop-filter: blur(10px);
	background: color-mix(in srgb, var(--h-green-dark, #0E3B2E) 96%, transparent);
}
.pvh.is-scrolled {
	padding-bottom: var(--pvh-nav-h);
}
.pvh.is-scrolled .pvh-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 9999;
	background: color-mix(in srgb, var(--h-cream, #F7F3EA) 96%, transparent);
	border-bottom-color: rgba(31,90,67,.14);
	box-shadow: 0 14px 36px rgba(14,59,46,.12);
	backdrop-filter: blur(12px);
}
.pvh.is-scrolled .pvh-logo__text,
.pvh.is-scrolled .pvh-menu > li > a,
.pvh.is-scrolled .pvh-call,
.pvh.is-scrolled .pvh-shop {
	color: var(--h-green-dark, #0E3B2E);
}
.pvh.is-scrolled .pvh-menu > li > a:hover {
	background: rgba(31,90,67,.08);
	color: var(--h-green, #1F5A43);
}
.pvh.is-scrolled .pvh-call {
	background: transparent;
	border-color: rgba(31,90,67,.28);
}
.pvh.is-scrolled .pvh-call:hover {
	background: var(--h-gold, #C9A15D);
	color: var(--h-green-dark, #0E3B2E);
}
.pvh.is-scrolled .pvh-shop {
	background: rgba(255,255,255,.92);
}
.pvh.is-scrolled .pvh-shop:hover {
	background: var(--h-gold, #C9A15D);
}
.pvh.is-scrolled .pvh-burger span {
	background: var(--h-green-dark, #0E3B2E);
}
.pvh.is-scrolled .pvh-cart .pavli-cart-header-icon,
.pvh.is-scrolled .pvh-cart--mobile .pavli-cart-header-icon {
	color: var(--h-green-dark, #0E3B2E) !important;
}
.pvh.is-scrolled .pvh-cart .pavli-cart-header-icon:hover,
.pvh.is-scrolled .pvh-cart--mobile .pavli-cart-header-icon:hover {
	background: rgba(31,90,67,.08) !important;
	color: var(--h-green, #1F5A43) !important;
}
.pvh-nav__in { max-width: 1280px; margin: 0 auto; padding: 0 24px; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.pvh-logo { display: flex; align-items: center; flex-shrink: 0; }
.pvh-logo img { width: auto; display: block; object-fit: contain; }
.pvh-logo__text { color: var(--h-cream, #F7F3EA); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }

/* ---- Menü ---- */
.pvh-menu { display: flex; align-items: center; list-style: none; gap: 4px; flex: 1; justify-content: center; }
.pvh-menu > li { position: relative; }
.pvh-menu > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 15px; font-size: 15px; font-weight: 700; color: var(--h-cream, #F7F3EA); border-radius: 999px; transition: .2s ease; white-space: nowrap; }
.pvh-menu > li > a:hover { background: rgba(247,243,234,.10); color: var(--h-gold, #C9A15D); }
.pvh-arrow { width: 14px; height: 14px; transition: transform .25s; }
.pvh-menu > li.has-mega:hover .pvh-arrow { transform: rotate(180deg); }

/* ---- Mega menü ---- */
.pvh-mega { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: var(--h-cream, #F7F3EA); border: 1px solid rgba(201,161,93,.34); border-radius: 22px; box-shadow: 0 24px 70px rgba(14,59,46,.24); padding: 14px; min-width: 560px; opacity: 0; pointer-events: none; transition: .22s ease; z-index: 9999; }
.pvh-menu > li.has-mega:hover .pvh-mega,
.pvh-menu > li.has-mega:focus-within .pvh-mega { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.pvh-mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pvh-mega__item { display: flex; align-items: center; gap: 12px; padding: 13px; border-radius: 16px; background: rgba(255,255,255,.62); border: 1px solid rgba(201,161,93,.16); transition: .2s ease; }
.pvh-mega__item:hover { background: #fff; border-color: rgba(31,90,67,.24); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14,59,46,.10); }
.pvh-mega__ic { width: 46px; height: 46px; border-radius: 15px; background: rgba(31,90,67,.10); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; color: var(--h-green, #1F5A43); }
.pvh-mega__ic img { width: 100%; height: 100%; object-fit: cover; }
.pvh-mega__ic svg { width: 22px; height: 22px; }
.pvh-mega__label { color: var(--h-text); font-size: 14.5px; font-weight: 800; line-height: 1.2; display: block; }
.pvh-mega__count { color: var(--h-muted); font-size: 12px; margin-top: 4px; line-height: 1.35; display: block; }

/* ---- Sağ aksiyonlar ---- */
.pvh-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pvh-call { display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; color: var(--h-gold, #C9A15D); border: 1px solid rgba(201,161,93,.72); border-radius: 999px; font-size: 14px; font-weight: 800; transition: .2s ease; }
.pvh-call:hover { background: var(--h-gold, #C9A15D); color: var(--h-green-dark, #0E3B2E); }
.pvh-shop { display: inline-flex; align-items: center; gap: 7px; padding: 11px 19px; color: var(--h-green-dark, #0E3B2E); background: var(--h-cream, #F7F3EA); border: 1px solid rgba(201,161,93,.46); border-radius: 999px; font-size: 14px; font-weight: 800; transition: .2s ease; }
.pvh-shop:hover { background: var(--h-gold, #C9A15D); transform: translateY(-1px); }
.pvh-wa { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #25D366; color: #fff; transition: transform .2s; }
.pvh-wa:hover { transform: translateY(-1px); }
.pvh-wa svg { width: 21px; height: 21px; }

/* Sepet ikonu header içinde — krem renk, tema buton çerçevesini ez */
.pvh-cart .pavli-cart-header-icon,
.pvh-cart--mobile .pavli-cart-header-icon {
	color: var(--h-cream, #F7F3EA) !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.pvh-cart .pavli-cart-header-icon:hover,
.pvh-cart--mobile .pavli-cart-header-icon:hover {
	background: rgba(247,243,234,.10) !important;
	color: var(--h-gold, #C9A15D) !important;
}
.pvh-cart--mobile { display: none; }

/* ---- Hamburger ---- */
.pvh-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.pvh-burger span { display: block; width: 24px; height: 2px; background: var(--h-cream, #F7F3EA); border-radius: 2px; transition: .25s; }
.pvh :is(a, button):focus-visible {
	outline: 3px solid var(--h-gold, #C9A15D) !important;
	outline-offset: 3px;
}

/* ---- Mobil çekmece ---- */
.pvh-drawer { position: fixed; inset: 0; z-index: 99999; visibility: hidden; }
.pvh-drawer.is-open { visibility: visible; }
.pvh-drawer__overlay { position: absolute; inset: 0; background: rgba(8,41,31,.6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.pvh-drawer.is-open .pvh-drawer__overlay { opacity: 1; }
.pvh-drawer__panel { position: absolute; top: 0; left: 0; width: min(350px,92vw); height: 100%; background: var(--h-cream, #F7F3EA); transform: translateX(-100%); transition: transform .3s ease; overflow-y: auto; box-shadow: 18px 0 60px rgba(14,59,46,.22); }
.pvh-drawer.is-open .pvh-drawer__panel { transform: translateX(0); }
.pvh-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid rgba(201,161,93,.28); background: #fffdf7; }
.pvh-drawer__close { width: 38px; height: 38px; border-radius: 50%; background: var(--h-green-dark, #0E3B2E); border: none; color: var(--h-cream, #F7F3EA); cursor: pointer; font-weight: 800; }
.pvh-drawer__menu { list-style: none; padding: 14px 0; }
.pvh-drawer__menu a, .pvh-drawer__menu button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; background: none; border: none; color: var(--h-text); font-size: 15px; font-weight: 800; font-family: inherit; cursor: pointer; }
.pvh-drawer__menu a:hover, .pvh-drawer__menu button:hover { background: rgba(31,90,67,.08); color: var(--h-green, #1F5A43); }
.pvh-drawer__sub { display: none; background: #fffdf7; border-top: 1px solid rgba(201,161,93,.22); border-bottom: 1px solid rgba(201,161,93,.22); }
.pvh-drawer__sub.is-open { display: block; }
.pvh-drawer__sub a { color: var(--h-muted); padding-left: 34px; font-weight: 600; }
.pvh-drawer__foot { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.pvh-drawer__foot .pvh-call, .pvh-drawer__foot .pvh-shop { justify-content: center; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
	.pvh-menu, .pvh-right { display: none; }
	.pvh-burger { display: flex; order: 1; flex: 0 0 42px; }
	.pvh-logo { order: 2; flex: 1; justify-content: center; }
	.pvh-cart--mobile { display: flex; order: 3; flex: 0 0 42px; justify-content: flex-end; }
	.pvh-cart--mobile .pavli-cart-header-icon { color: var(--h-cream, #F7F3EA); }
	.pvh-nav__in { min-height: 76px; gap: 8px; }
	.pvh { --pvh-nav-h: 76px; }
	.pvh.is-scrolled .pvh-cart--mobile .pavli-cart-header-icon { color: var(--h-green-dark, #0E3B2E) !important; }
}
@media (max-width: 600px) {
	.pvh-top__in { gap: 10px; font-size: 12px; }
	.pvh-top span:nth-child(3) { display: none; }
	.pvh-nav__in { padding: 0 16px; }
}
