/* ============================================================
   Pavli Header — Premium Edition
   Palet: Derin orman yeşili · sıcak krem · muted altın
   ============================================================ */
.pvh, .pvh *, .pvh *::before, .pvh *::after { box-sizing: border-box; margin: 0; padding: 0; }
.pvh {
    --h-text:   #2C3E30;
    --h-muted:  #7A8C7E;
    --h-border: #E8E4DC;
    --pvh-nav-h: 76px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.pvh a { text-decoration: none; }

/* ============================================================
   TOPBAR — koyu orman, soft altın metin
   ============================================================ */
.pvh-top {
    background: #1A3328;
    color: #C8BFA0;
    font-size: 12px;
    letter-spacing: 0.05em;
    padding: 9px 0;
    overflow: hidden;
}
.pvh-top__in {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}
.pvh-top span {
    color: #C8BFA0;
    font-weight: 500;
    position: relative;
    padding: 0 18px;
    white-space: nowrap;
}
.pvh-top span[hidden] { display: none !important; }
.pvh-top__same-day { color: #FFF4C7 !important; font-weight: 700 !important; }
.pvh-top__same-day[hidden] + span::before { display: none; }
.pvh-top span + span::before {
    content: '·';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #B8996A;
    font-size: 18px;
    line-height: 1;
}

/* ============================================================
   NAV
   ============================================================ */
.pvh-nav {
    background: #FEFDF9;
    border-bottom: 1px solid #EAE6DC;
    box-shadow: 0 2px 18px rgba(26,51,40,.05);
    transition: background .3s ease, box-shadow .3s ease;
}
.pvh.is-sticky .pvh-nav {
    position: sticky;
    top: 0;
    z-index: 9999;
}
.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: rgba(254,253,249,.94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 32px rgba(26,51,40,.09);
    border-bottom-color: #EAE6DC;
}

.pvh-nav__in {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ============================================================
   LOGO
   ============================================================ */
.pvh-logo { display: flex; align-items: center; flex-shrink: 0; }
.pvh-logo img { width: auto; max-height: 56px; display: block; object-fit: contain; }
.pvh-logo__text {
    color: #1A3328;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.01em;
}

/* ============================================================
   MENÜ
   ============================================================ */
.pvh-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2px;
    flex: 1;
    justify-content: center;
}
.pvh-menu > li { position: relative; }
.pvh-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 9px 14px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #2C3E30;
    border-radius: 999px;
    transition: background .18s, color .18s;
    white-space: nowrap;
}
.pvh-menu > li > a:hover {
    background: rgba(61,107,79,.08);
    color: #1A3328;
}
.pvh-arrow { width: 13px; height: 13px; transition: transform .25s; opacity: .5; }
.pvh-menu > li.has-mega:hover .pvh-arrow { transform: rotate(180deg); opacity: 1; }

/* ============================================================
   MEGA MENÜ
   ============================================================ */
.pvh-mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border: 1px solid #EAE6DC;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(26,51,40,.11);
    padding: 14px;
    min-width: 520px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 9999;
}
/* Görünmez köprü: li hover alanını mega menüye kadar uzatır */
.pvh-mega::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0; right: 0;
    height: 12px;
}
.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: 8px; }
.pvh-mega__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #FEFDF9;
    border: 1px solid #EAE6DC;
    color: #2C3E30;
    transition: background .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.pvh-mega__item:hover {
    background: #fff;
    border-color: rgba(61,107,79,.3);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26,51,40,.07);
    color: #1A3328;
}
.pvh-mega__ic {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(61,107,79,.08);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0;
    color: #3D6B4F;
    transition: background .18s;
}
.pvh-mega__item:hover .pvh-mega__ic { background: rgba(61,107,79,.14); }
.pvh-mega__ic img { width: 100%; height: 100%; object-fit: cover; }
.pvh-mega__ic svg { width: 20px; height: 20px; }
.pvh-mega__label { color: inherit; font-size: 13px; font-weight: 700; letter-spacing: .01em; line-height: 1.2; display: block; }
.pvh-mega__count { color: #7A8C7E; font-size: 11px; margin-top: 3px; display: block; }

/* ============================================================
   BLOG DROPDOWN — dikey liste
   ============================================================ */
.pvh-menu > li.has-dropdown:hover .pvh-arrow,
.pvh-menu > li.has-dropdown:focus-within .pvh-arrow { transform: rotate(180deg); opacity: 1; }

.pvh-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    border: 1px solid #EAE6DC;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(26,51,40,.11);
    padding: 8px;
    min-width: 210px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 9999;
}
.pvh-dropdown::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0; right: 0;
    height: 12px;
}
.pvh-menu > li.has-dropdown:hover .pvh-dropdown,
.pvh-menu > li.has-dropdown:focus-within .pvh-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.pvh-dropdown__item {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    border-radius: 10px;
    color: #2C3E30;
    transition: background .15s, color .15s, padding-left .15s;
}
.pvh-dropdown__item:hover {
    background: rgba(61,107,79,.07);
    color: #1A3328;
    padding-left: 18px;
}
.pvh-dropdown__lbl {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
}
.pvh-dropdown__desc {
    font-size: 11px;
    color: #7A8C7E;
    margin-top: 2px;
    white-space: nowrap;
}

/* ============================================================
   SAĞ AKSIYONLAR — ikon grubu + tek CTA
   ============================================================ */
.pvh-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* WhatsApp */
.pvh-wa {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(37,211,102,.22);
    background: #fff;
    color: #1aab52;
    transition: background .18s, color .18s, transform .18s, box-shadow .18s;
    box-shadow: 0 2px 8px rgba(26,51,40,.04);
}
.pvh-wa:hover { background: #25D366; color: #fff; border-color: #25D366; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37,211,102,.2); }
.pvh-wa svg { width: 20px; height: 20px; }

/* Telefon */
.pvh-call {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid #EAE6DC;
    background: #fff;
    color: #2C3E30;
    transition: background .18s, color .18s, border-color .18s;
    box-shadow: 0 2px 8px rgba(26,51,40,.04);
}
.pvh-call svg { width: 18px; height: 18px; }
.pvh-call > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pvh-call:hover { background: rgba(61,107,79,.07); color: #1A3328; border-color: rgba(61,107,79,.22); }

/* Hesap */
.pvh-account-wrap { position: relative; display: inline-flex; padding-bottom: 10px; margin-bottom: -10px; }
.pvh-account {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; min-width: 40px; min-height: 40px;
    border-radius: 50%;
    border: 1px solid #EAE6DC;
    background: #fff;
    color: #2C3E30;
    font-size: 13px; font-weight: 600;
    transition: background .18s, color .18s, border-color .18s;
    box-shadow: 0 2px 8px rgba(26,51,40,.04);
}
.pvh-account svg { width: 18px; height: 18px; flex-shrink: 0; }
.pvh-account > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pvh-account:hover { background: rgba(61,107,79,.07); color: #1A3328; border-color: rgba(61,107,79,.22); }

.pvh-account-menu {
    position: absolute; top: 100%; right: 0;
    min-width: 178px; padding: 8px;
    border-radius: 16px;
    background: #fff; border: 1px solid #EAE6DC;
    box-shadow: 0 16px 44px rgba(26,51,40,.11);
    opacity: 0; pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s, transform .18s;
    z-index: 10000;
}
.pvh-account-wrap:hover .pvh-account-menu,
.pvh-account-wrap:focus-within .pvh-account-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.pvh-account-menu a {
    display: flex; align-items: center;
    padding: 9px 12px; border-radius: 10px;
    color: #2C3E30; font-size: 13px; font-weight: 600;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.pvh-account-menu a:hover { background: rgba(61,107,79,.07); color: #1A3328; }

/* Mağaza CTA */
.pvh-shop,
.pvh-shop:link,
.pvh-shop:visited {
    display: inline-flex; align-items: center; gap: 6px;
    min-height: 40px; padding: 10px 20px;
    color: #fff !important;
    background: #1A3328;
    border: 1px solid #1A3328;
    border-radius: 999px;
    font-size: 13px; font-weight: 700; letter-spacing: .03em;
    transition: background .2s, transform .18s, box-shadow .18s;
    box-shadow: 0 4px 16px rgba(26,51,40,.18);
}
.pvh-shop:hover,
.pvh-shop:focus-visible {
    background: #3D6B4F;
    border-color: #3D6B4F;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26,51,40,.22);
}

/* ============================================================
   SEPET İKONU
   ============================================================ */
.pvh-cart .pavli-cart-header-icon,
.pvh-cart--mobile .pavli-cart-header-icon {
    display: inline-flex !important;
    align-items: center !important; justify-content: center !important;
    width: 40px !important; height: 40px !important; min-width: 40px !important;
    padding: 0 !important;
    color: #2C3E30 !important;
    border: 1px solid #EAE6DC !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(26,51,40,.04) !important;
    line-height: 1 !important; overflow: visible !important;
    transition: background .18s, color .18s, border-color .18s !important;
}
.pvh-cart .pavli-cart-header-icon svg,
.pvh-cart--mobile .pavli-cart-header-icon svg {
    display: block !important;
    width: 22px !important; height: 22px !important;
    margin: 0 !important; flex: 0 0 22px !important;
    transform: none !important; position: static !important;
}
.pvh-cart .pavli-cart-header-icon:hover,
.pvh-cart--mobile .pavli-cart-header-icon:hover {
    background: rgba(61,107,79,.07) !important;
    color: #1A3328 !important;
    border-color: rgba(61,107,79,.22) !important;
}
.pvh-cart--mobile { display: none; }

/* Scrolled state */
.pvh.is-scrolled .pvh-logo__text { color: #1A3328; }
.pvh.is-scrolled .pvh-menu > li > a { color: #2C3E30; }
.pvh.is-scrolled .pvh-menu > li > a:hover { background: rgba(61,107,79,.08); color: #1A3328; }
.pvh.is-scrolled .pvh-shop { background: #1A3328; }
.pvh.is-scrolled .pvh-shop:hover { background: #3D6B4F; }
.pvh.is-scrolled .pvh-burger span { background: #1A3328; }
.pvh.is-scrolled .pvh-cart .pavli-cart-header-icon,
.pvh.is-scrolled .pvh-cart--mobile .pavli-cart-header-icon {
    color: #2C3E30 !important;
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.pvh-burger {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 7px; border-radius: 8px;
}
.pvh-burger span {
    display: block;
    width: 22px; height: 1.5px;
    background: #1A3328;
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
}
.pvh-burger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.pvh-burger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.pvh-burger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.pvh :is(a, button):focus-visible {
    outline: 2px solid rgba(61,107,79,.4) !important;
    outline-offset: 3px;
}

/* ============================================================
   MOBİL DRAWER — DARK PREMIUM
   ============================================================ */
.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(10,20,15,.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    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(320px, 88vw); height: 100%;
    background: #19312A;
    transform: translateX(-100%);
    transition: transform .32s cubic-bezier(.22,.68,0,1.2);
    overflow-y: auto;
    box-shadow: 20px 0 60px rgba(8,18,12,.35);
    display: flex; flex-direction: column;
}
.pvh-drawer.is-open .pvh-drawer__panel { transform: translateX(0); }

.pvh-drawer__head {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(0,0,0,.12);
    flex-shrink: 0;
}
.pvh-drawer__head strong { color: #FEFDF9; font-size: 16px; font-weight: 700; }
.pvh-drawer__close {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.1);
    color: #FEFDF9;
    cursor: pointer;
    font-size: 15px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    transition: background .18s;
}
.pvh-drawer__close:hover { background: rgba(255,255,255,.16); }

.pvh-drawer__menu { list-style: none; padding: 10px 0; flex: 1; }
.pvh-drawer__menu li { border-bottom: 1px solid rgba(255,255,255,.045); }
.pvh-drawer__menu a,
.pvh-drawer__menu button {
    width: 100%; display: flex;
    justify-content: space-between; align-items: center;
    padding: 15px 22px;
    background: none; border: none;
    color: rgba(230,235,228,.88);
    font-size: 15px; font-weight: 600;
    font-family: inherit; cursor: pointer;
    letter-spacing: .02em;
    transition: background .15s, color .15s, padding-left .18s;
}
.pvh-drawer__menu a:hover,
.pvh-drawer__menu button:hover {
    background: rgba(255,255,255,.05);
    color: #C4A46B;
    padding-left: 28px;
}
.pvh-drawer__sub {
    display: none;
    background: rgba(0,0,0,.18);
    border-top: 1px solid rgba(255,255,255,.04);
}
.pvh-drawer__sub.is-open { display: block; }
.pvh-drawer__sub a {
    color: rgba(196,164,107,.72);
    padding-left: 36px; padding-right: 22px;
    font-size: 13px; font-weight: 500;
    letter-spacing: .01em;
}
.pvh-drawer__sub a:hover { color: #C4A46B; padding-left: 42px; background: rgba(255,255,255,.03); }

.pvh-drawer__foot {
    padding: 16px 18px 26px;
    display: flex; flex-direction: column; gap: 8px;
    border-top: 1px solid rgba(255,255,255,.07);
    flex-shrink: 0;
}
.pvh-drawer__foot .pvh-call,
.pvh-drawer__foot .pvh-account {
    width: 100%; min-height: 44px; padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(230,235,228,.88);
    justify-content: center;
    box-shadow: none;
}
.pvh-drawer__foot .pvh-call > span,
.pvh-drawer__foot .pvh-account > span {
    position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal;
}
.pvh-drawer__foot .pvh-call:hover,
.pvh-drawer__foot .pvh-account:hover {
    background: rgba(255,255,255,.13);
    color: #FEFDF9;
    border-color: rgba(255,255,255,.16);
}
.pvh-drawer__foot .pvh-account--sub {
    min-height: 38px; padding: 9px 14px;
    background: rgba(255,255,255,.04);
    font-size: 12px;
}
.pvh-drawer__foot .pvh-shop {
    background: #C4A46B !important;
    border-color: #C4A46B !important;
    color: #1A3328 !important;
    font-weight: 800;
    min-height: 46px;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(196,164,107,.22);
}
.pvh-drawer__foot .pvh-shop:hover {
    background: #D0B07A !important;
    border-color: #D0B07A !important;
    transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Mobil selamlama / giriş öğesi — varsayılan (masaüstü) gizli */
.pvh-mgreet { display: none; }

@media (max-width: 980px) {
    .pvh-menu, .pvh-right { display: none; }
    .pvh-burger { display: flex; order: 1; flex: 0 0 40px; }
    .pvh-logo { order: 2; flex: 1; justify-content: center; min-width: 0; }
    .pvh-logo img { max-height: 46px; max-width: 100%; }
    .pvh-mgreet {
        display: inline-flex; align-items: center; gap: 8px; order: 3;
        max-width: 42vw; padding: 6px 12px 6px 8px; border-radius: 999px;
        border: 1px solid var(--h-gold, #C8A14A); background: transparent;
        color: var(--h-green-dark, #123C2B); text-decoration: none;
        transition: background .18s, border-color .18s;
    }
    .pvh-mgreet:hover { background: rgba(200,161,74,.1); }
    .pvh-mgreet__ic {
        width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        background: var(--h-gold, #C8A14A); color: #fff;
    }
    .pvh-mgreet__ic svg { width: 15px; height: 15px; }
    .pvh-mgreet__txt { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
    .pvh-mgreet__txt small { font-size: 9.5px; font-weight: 600; opacity: .7; letter-spacing: .02em; }
    .pvh-mgreet__txt b { font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30vw; }
    .pvh-mgreet.is-guest .pvh-mgreet__txt b { font-size: 12px; }
    .pvh-cart--mobile { display: flex; order: 4; flex: 0 0 40px; justify-content: flex-end; }
    .pvh-nav__in { min-height: 66px; gap: 8px; padding: 0 18px; }
    .pvh { --pvh-nav-h: 66px; }
}
@media (max-width: 600px) {
    .pvh-top { padding: 7px 0; }
    .pvh-top__in { font-size: 11px; }
    .pvh-top span:last-child { display: none; }
    .pvh-nav__in { padding: 0 14px; gap: 6px; }
    .pvh-mgreet { padding: 5px 10px 5px 6px; gap: 6px; max-width: 40vw; }
    .pvh-mgreet__ic { width: 24px; height: 24px; }
    .pvh-mgreet__txt b { font-size: 12px; max-width: 26vw; }
    .pvh-cart .pavli-cart-header-icon,
    .pvh-cart--mobile .pavli-cart-header-icon { width: 38px !important; height: 38px !important; min-width: 38px !important; }
}
@media (max-width: 380px) {
    .pvh-mgreet.is-user .pvh-mgreet__ic { display: none; }
    .pvh-mgreet { max-width: 36vw; }
}
