/* Mobil site menüsü — çekmece + akordeon */

@media (max-width: 1023px) {
    nav.fixed > div > div.flex.items-center > a[href*="teklif-al"],
    nav.fixed > div > div.flex.items-center.gap-3 > a[href*="teklif-al"],
    nav.fixed > div > div.flex.items-center.space-x-6 > a[href*="teklif-al"] {
        display: none !important;
    }

    nav.fixed .demo-theme-switch,
    nav.fixed [data-theme-toggle] {
        display: none !important;
    }
}

.mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: 0.65rem;
    flex-shrink: 0;
    border: 1px solid rgba(171, 143, 104, 0.35);
    border-radius: 12px;
    background: rgba(171, 143, 104, 0.1);
    color: #ab8f68;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.mobile-nav-toggle .material-symbols-outlined {
    font-size: 26px;
}

.mobile-nav-toggle:hover {
    background: rgba(171, 143, 104, 0.18);
    border-color: rgba(171, 143, 104, 0.55);
}

.mobile-nav-toggle[aria-expanded="true"] {
    background: #ab8f68;
    color: #fff;
    border-color: #ab8f68;
}

html.dark .mobile-nav-toggle,
html.theme-dark .mobile-nav-toggle {
    color: #e1c297;
    background: rgba(171, 143, 104, 0.14);
    border-color: rgba(171, 143, 104, 0.4);
}

html.dark .mobile-nav-toggle[aria-expanded="true"],
html.theme-dark .mobile-nav-toggle[aria-expanded="true"] {
    background: #ab8f68;
    color: #121212;
}

@media (max-width: 1023px) {
    .mobile-nav-toggle {
        display: inline-flex;
    }

    .mobile-nav-brand {
        display: flex;
        align-items: center;
        gap: 0;
        flex-shrink: 0;
        min-width: 0;
    }

    .mobile-nav-brand > a {
        flex-shrink: 1;
        min-width: 0;
    }

    .mobile-nav-brand img {
        max-height: 3rem;
        width: auto;
    }
}

.site-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.3s ease;
}

.site-mobile-nav.is-open {
    pointer-events: auto;
    visibility: visible;
}

.site-mobile-nav__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 27, 24, 0.55);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.site-mobile-nav.is-open .site-mobile-nav__backdrop {
    opacity: 1;
}

.site-mobile-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 340px);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff8f6;
    box-shadow: -12px 0 40px rgba(30, 27, 24, 0.18);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

html.dark .site-mobile-nav__panel,
html.theme-dark .site-mobile-nav__panel {
    background: #1a1a1a;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
}

.site-mobile-nav.is-open .site-mobile-nav__panel {
    transform: translateX(0);
}

.site-mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(30, 27, 24, 0.08);
    flex-shrink: 0;
}

html.dark .site-mobile-nav__head,
html.theme-dark .site-mobile-nav__head {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-mobile-nav__title {
    font-family: "Noto Serif", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1e1b18;
    margin: 0;
}

html.dark .site-mobile-nav__title,
html.theme-dark .site-mobile-nav__title {
    color: #fcfcfc;
}

.site-mobile-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: rgba(171, 143, 104, 0.12);
    color: #ab8f68;
    cursor: pointer;
}

html.dark .site-mobile-nav__close,
html.theme-dark .site-mobile-nav__close {
    color: #e1c297;
}

.site-mobile-nav__body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.75rem 0.85rem 1rem;
    -webkit-overflow-scrolling: touch;
}

.site-mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    font-family: "Noto Serif", Georgia, serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #4d453c;
    transition: background 0.15s ease, color 0.15s ease;
}

html.dark .site-mobile-nav__link,
html.theme-dark .site-mobile-nav__link {
    color: #b5ada3;
}

.site-mobile-nav__link:hover,
.site-mobile-nav__link:focus-visible {
    background: rgba(171, 143, 104, 0.12);
    color: #ab8f68;
    outline: none;
}

.site-mobile-nav__link.is-active {
    background: rgba(171, 143, 104, 0.16);
    color: #8f7352;
    box-shadow: inset 3px 0 0 #ab8f68;
}

html.dark .site-mobile-nav__link.is-active,
html.theme-dark .site-mobile-nav__link.is-active {
    color: #e1c297;
}

.site-mobile-nav__muted {
    display: block;
    padding: 0.55rem 0.9rem 0.55rem 1.35rem;
    font-size: 0.8125rem;
    color: #9a8f83;
    opacity: 0.75;
}

.site-mobile-nav__group {
    border-bottom: 1px solid rgba(30, 27, 24, 0.06);
    margin-bottom: 0.15rem;
}

html.dark .site-mobile-nav__group,
html.theme-dark .site-mobile-nav__group {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.site-mobile-nav__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    font-family: "Noto Serif", Georgia, serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4d453c;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.site-mobile-nav__summary::-webkit-details-marker {
    display: none;
}

html.dark .site-mobile-nav__summary,
html.theme-dark .site-mobile-nav__summary {
    color: #b5ada3;
}

.site-mobile-nav__summary .material-symbols-outlined {
    font-size: 22px;
    transition: transform 0.22s ease;
    color: #ab8f68;
}

.site-mobile-nav__group[open] .site-mobile-nav__summary .material-symbols-outlined {
    transform: rotate(180deg);
}

.site-mobile-nav__sub {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0 0 0.35rem;
}

.site-mobile-nav__sub a {
    display: block;
    padding: 0.6rem 0.9rem 0.6rem 1.5rem;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #6e655c;
    text-decoration: none;
    border-radius: 8px;
    margin: 0 0.35rem;
}

html.dark .site-mobile-nav__sub a,
html.theme-dark .site-mobile-nav__sub a {
    color: #a39a8f;
}

.site-mobile-nav__sub a:hover,
.site-mobile-nav__sub a.is-active {
    background: rgba(171, 143, 104, 0.1);
    color: #ab8f68;
}

.site-mobile-nav__foot {
    flex-shrink: 0;
    padding: 1rem 1.15rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(30, 27, 24, 0.08);
    background: rgba(244, 240, 235, 0.6);
}

html.dark .site-mobile-nav__foot,
html.theme-dark .site-mobile-nav__foot {
    border-top-color: rgba(255, 255, 255, 0.08);
    background: rgba(26, 26, 26, 0.95);
}

.site-mobile-nav__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.95rem 1rem;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #ab8f68 0%, #8f7352 100%);
    border-radius: 12px;
    box-shadow: 0 8px 20px -6px rgba(171, 143, 104, 0.55);
}

html.dark .site-mobile-nav__cta,
html.theme-dark .site-mobile-nav__cta {
    color: #121212;
}

body.mobile-nav-open {
    overflow: hidden;
    touch-action: none;
}
