/**
 * Reference Chrome Shell v1.2 — slide-out/search overlay güvenli gizleme.
 */
.site-chrome--reference-import {
    --nectar-accent-color: var(--color-primary, #27cfc3);
    --accent-color: var(--color-primary, #27cfc3);
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.site-chrome--reference-import .site-chrome__inner {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

.site-chrome--reference-import .layout-row,
.site-chrome--reference-import .module--reference-import {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.site-chrome--reference-import .ref-import-chrome {
    width: 100%;
    max-width: 100%;
    color: inherit;
}

.site-chrome--reference-import .ref-import-chrome #header-outer,
.site-chrome--reference-import .ref-import-chrome #footer-outer {
    width: 100%;
}

.site-chrome--reference-import.site-header.is-sticky,
.site-chrome--reference-import.site-footer.has-border-top {
    position: static;
    border-top: 0 !important;
}

/* Sticky header shell */
.ref-import-chrome #header-outer.ref-chrome-mobile-fixed {
    position: relative;
    z-index: 9990;
}

.ref-import-chrome #header-outer.ref-chrome-scrolled {
    position: sticky;
    top: 0;
    z-index: 9991;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

.ref-import-chrome #header-outer.ref-chrome-shrunk #logo img,
.ref-import-chrome #header-outer.ref-chrome-shrunk #logo .starting-logo {
    max-height: calc(var(--ref-logo-height, 50px) - (var(--ref-shrink-num, 6) * 2px));
    transition: max-height 0.3s ease;
}

.ref-import-chrome #header-outer.ref-chrome-shrunk #logo .mobile-only-logo {
    max-height: calc(var(--ref-m-logo-height, 24px) - 4px);
}

/* Mobile drawer */
body.ref-chrome-drawer-open {
    overflow: hidden;
}

#slide-out-widget-area-bg.ref-chrome-drawer-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#slide-out-widget-area.ref-chrome-drawer-active {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#slide-out-widget-area:not(.ref-chrome-drawer-active) {
    pointer-events: none;
}

#slide-out-widget-area-bg:not(.ref-chrome-drawer-active) {
    opacity: 0 !important;
    visibility: hidden !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
}

.site-chrome--reference-import .ref-import-chrome #slide-out-widget-area:not(.ref-chrome-drawer-active) {
    transform: translate3d(105%, 0, 0) !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.site-chrome--reference-import .ref-import-chrome #search-outer {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.site-chrome--reference-import .ref-import-chrome #search-outer.open,
.site-chrome--reference-import .ref-import-chrome #search-outer.ref-chrome-search-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Mobil drawer yalnızca header chrome içinde kalmalı — footer import kalıntısını gizle */
.site-footer.site-chrome--reference-import #slide-out-widget-area,
.site-footer.site-chrome--reference-import #slide-out-widget-area-bg {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
