/**
 * Site geneli: promo kaybolunca yalnızca header-pill sabitlenir (cam kutu + hafif animasyon).
 */
body.storefront-pill-pin {
    --storefront-pinned-header-h: 92px;
}

body.storefront-pill-pin .header {
    display: contents;
}

body.storefront-pill-pin .header-content--pill {
    position: relative;
    z-index: 300;
    padding-top: 8px;
    padding-bottom: 10px;
    background: transparent;
    box-shadow: none;
}

body.storefront-pill-pin .header-content--pill.is-pinned {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 500;
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 10px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
}

body.storefront-pill-pin .header-content--pill.is-pinned > .container {
    pointer-events: auto;
}

body.storefront-pill-pin .header-pill {
    background: rgba(30, 31, 37, 0.62);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.38s ease,
        border-color 0.38s ease,
        opacity 0.28s ease;
}

body.storefront-pill-pin .header-content--pill.is-pinned .header-pill {
    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

body.storefront-pill-pin .header-content--pill.is-pinned.is-pinned-enter .header-pill {
    animation: storefront-header-pill-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes storefront-header-pill-in {
    from {
        opacity: 0.72;
        transform: translateY(-12px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.storefront-pill-pin .header-pill,
    body.storefront-pill-pin .header-content--pill.is-pinned.is-pinned-enter .header-pill {
        animation: none;
        transition: none;
    }
}

body.storefront-pill-pin .ez-promo__inner {
    border-radius: 16px;
}

body.storefront-pill-pin .ez-promo__shell {
    width: 100%;
    max-width: 1350px;
    margin-left: auto;
    margin-right: auto;
}

body.storefront-pill-pin .storefront-header-pin-spacer {
    display: none;
    width: 100%;
}
