    /* DM Sans - Regular (400) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(''),
       url('/static/fonts/dm-sans-v15-latin-ext_latin-regular.woff2') format('woff2');
}

/* DM Sans - Semi-Bold (600) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local(''),
       url('/static/fonts/dm-sans-v15-latin-ext_latin-600.woff2') format('woff2');
}

/* DM Sans - Bold (700) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local(''),
       url('/static/fonts/dm-sans-v15-latin-ext_latin-700.woff2') format('woff2');
}

/* DM Sans - Extra-Bold (800) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local(''),
       url('/static/fonts/dm-sans-v15-latin-ext_latin-800.woff2') format('woff2');
}
        /* ── GLOBAL DEĞİŞKENLER VE RENKLER ── */
        :root {
            --forest: #2D5016;
            --forest-pale: #EDF2EA;
            --ink: #111111;
            --ink2: #444444;
            --ink3: #595959;
            --white: #FFFFFF;
            --border: #E5E5E5;
            --border2: #CCCCCC;
            --cream: #F7F7F5;
            --red: #B84040;
            --shadow: 0 2px 8px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
        }

        /* ── SIFIRLAMA (RESET) VE TEMEL TİPOGRAFİ ── */
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: 'DM Sans', sans-serif;
            background-color: #FAFAF8;
            color: var(--ink);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }

        .container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
        
        /* ── MOBIL TAŞMA VE SABİTLEME ZIRHI ── */
        html, body {
            max-width: 100%;
            overflow-x: clip;
            position: relative;
            width: 100%;
            -webkit-overflow-scrolling: touch;
        }

        img, video, iframe { max-width: 100%; height: auto; }

        .table-wrap, .price-table-card, .specs-table-wrap {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        /* ── NAVİGASYON (MENÜ) ALANI ── */
        nav {
            background: var(--white);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .nav-inner {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }
        
        .logo { display: flex; align-items: center; text-decoration: none; }
        .logo img { height: 38px; width: auto; object-fit: contain; transition: opacity 0.2s; }
        .logo img:hover { opacity: 0.85; }

        .nav-links { display: flex; gap: 1.5rem; align-items: center; }
        .nav-links a {
            text-decoration: none;
            color: var(--ink2);
            font-weight: 600;
            font-size: 0.9rem;
            transition: color 0.2s;
        }
        .nav-links a:hover { color: var(--forest); }
/* ── DROPDOWN ── */
.nav-dropdown { position:relative; }
.nav-dropdown > a { display:flex; align-items:center; gap:4px; }
.nav-dropdown > a::after { content:''; width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent; border-top:5px solid var(--ink3); transition:transform 0.2s; }
.nav-dropdown:hover > a::after { transform:rotate(180deg); border-top-color:var(--forest); }
.dropdown-menu { display:none; position:absolute; top:100%; padding-top:8px; left:50%; transform:translateX(-50%); background:var(--white); border:1px solid var(--border); border-radius:6px; box-shadow:var(--shadow-md); min-width:230px; overflow:hidden; z-index:1001; }
.nav-dropdown:hover .dropdown-menu { display:block; }
.dropdown-menu a { display:block; padding:10px 16px; font-size:0.85rem; font-weight:600; color:var(--ink2); text-decoration:none; border-bottom:1px solid var(--cream); transition:background 0.15s,color 0.15s; white-space:nowrap; }
.dropdown-menu a:last-child { border-bottom:none; }
.dropdown-menu a:hover { background:var(--forest-pale); color:var(--forest); }
        /* ── HAMBURGER MENÜ ── */
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 26px;
            height: 18px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
        }
        .hamburger span {
            width: 100%;
            height: 2.5px;
            background-color: var(--forest);
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        /* ── KATEGORİ ALT MENÜSÜ (CAT-NAV) ── */
        .cat-nav {
            background: var(--white);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 70px;
            z-index: 99;
            width: 100%;
        }
        .cat-nav-inner {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            padding: 0 2rem;
        }
        .cat-nav-inner a {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 0;
            text-decoration: none;
            color: var(--ink2);
            font-size: 0.95rem;
            font-weight: 600;
            border-bottom: 2px solid transparent;
            transition: all 0.2s;
            flex-shrink: 0;
            position: relative;
        }
        .cat-nav-inner a:not(:last-child)::after {
            content: "";
            position: absolute;
            right: -0.75rem;
            top: 50%;
            transform: translateY(-50%);
            width: 2px;
            height: 24px;
            background-color: var(--border);
            pointer-events: none;
        }
        .cat-nav-inner a:hover,
        .cat-nav-inner a.active {
            color: var(--forest);
            border-bottom-color: var(--forest);
        }

        /* ── DİĞER STANDART STILLER ── */
        .card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; box-shadow: var(--shadow); }
        .btn {
            display: inline-flex; justify-content: center; align-items: center;
            gap: 6px; padding: 10px 18px; border-radius: 4px;
            font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600;
            text-decoration: none; cursor: pointer; transition: all 0.2s;
            border: 1px solid transparent;
        }
        .btn-sm { padding: 6px 12px; font-size: 0.78rem; }
        .btn-forest { background: var(--forest); color: white; }
        .btn-forest:hover { background: #234011; }
        .btn-outline { background: transparent; border-color: var(--border2); color: var(--ink); }
        .btn-outline:hover { border-color: var(--forest); color: var(--forest); background: var(--forest-pale); }
        .btn-danger { background: var(--red); color: white; }
        .btn-danger:hover { background: #9A3535; }
        .btn-ghost { background: transparent; color: var(--ink2); }
        .btn-ghost:hover { background: var(--cream); color: var(--ink); }

        .badge { display: inline-block; padding: 3px 8px; border-radius: 3px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;}
        .badge-forest { background: var(--forest-pale); color: var(--forest); }
        .badge-outline { background: transparent; border: 1px solid var(--border2); color: var(--ink3); }
        .badge-ink { background: var(--ink); color: white; }
        /* ── FORM-GROUP ── */
        .form-group { margin-bottom: 1.25rem; }
        .form-group label {
            display: block; font-size: 0.82rem; font-weight: 600;
            color: var(--ink2); margin-bottom: 0.4rem;
            text-transform: uppercase; letter-spacing: 0.05em;
        }

        /* Tüm input/select/textarea — tek tanım, filter-bar da miras alır */
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%; padding: 10px 14px;
            border: 1px solid var(--border); border-radius: 6px;
            font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
            background: var(--cream); color: var(--ink);
            transition: all 0.2s ease; outline: none;
        }

        /* Select ok ikonu — tek tanım */
        .form-group select {
            cursor: pointer; padding-right: 32px;
            appearance: none; -webkit-appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 14px;
        }

        /* Hover / focus — tek tanım */
        .form-group input:hover,
        .form-group select:hover,
        .form-group textarea:hover {
            background: var(--white); border-color: var(--border2);
        }
        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            background: var(--white); border-color: var(--forest);
            box-shadow: 0 0 0 3px var(--forest-pale);
        }

        /* ── FİLTRE ÇUBUĞU — sadece layout farkları ── */
        .filter-wrapper {
            background: var(--white);
            border-radius: 8px;
            padding: 1rem 1.25rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.02);
        }
        .filter-bar {
            display: flex;
            gap: 0.85rem;
            align-items: center;
            flex-wrap: nowrap;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .filter-bar::-webkit-scrollbar { display: none; }

        /* Yalnızca filter-bar'a özgü layout overrideları — stil tekrarı yok */
        .filter-bar .form-group { margin-bottom: 0; flex: 0 0 auto; position: relative; }
        .filter-bar .form-group.search-wrap { flex: 1 1 200px; min-width: 200px; max-width: 320px; }

        .filter-bar .form-group input.has-icon { padding-left: 40px; }
        .filter-bar .search-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--ink3);
            pointer-events: none;
            transition: color 0.2s ease;
        }
        .filter-bar .form-group input:focus ~ .search-icon { color: var(--forest); }

        .filter-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--cream); }
        .filter-count { font-size: 0.8rem; font-weight: 600; color: var(--ink3); }
        .filter-clear { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; font-weight: 600; color: var(--red); cursor: pointer; background: #FFF0F0; border: none; padding: 5px 12px; border-radius: 4px; display: none; transition: background 0.2s, color 0.2s; }
        .filter-clear:hover { background: #FAD4D4; }
        .filter-clear.visible { display: inline-block; }

        /* ── MOBİL ── */
        @media (max-width: 900px) {
            .hamburger { display: flex; }
.nav-dropdown { width:100%; }
.nav-dropdown > a { width:100%; justify-content:space-between; }
.dropdown-menu { display:none; position:static; transform:none; box-shadow:none; border:none; border-left:2px solid var(--forest-pale); margin-left:0.5rem; border-radius:0; }
.nav-dropdown.open .dropdown-menu { display:block; }
.nav-dropdown > a::after { display:none; }
            .nav-links {
                display: none;
                position: absolute;
                top: 70px; left: 0;
                width: 100%;
                background: var(--white);
                flex-direction: column;
                padding: 1.5rem 2rem;
                gap: 1.25rem;
                border-bottom: 1px solid var(--border);
                box-shadow: var(--shadow-md);
            }
            .nav-links.active { display: flex; }
            .nav-links a { width: 100%; font-size: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--cream); }

            .hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
            .hamburger.open span:nth-child(2) { opacity: 0; }
            .hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

            .cat-nav { top: 70px; }
            .cat-nav-inner {
                justify-content: flex-start;
                overflow-x: auto;
                white-space: nowrap;
                gap: 1.25rem;
                padding: 0 1.25rem;
                scrollbar-width: none;
            }
            .cat-nav-inner::-webkit-scrollbar { display: none; }
            .cat-nav-inner a:not(:last-child)::after { right: -0.625rem; }

            .filter-bar { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
            .filter-bar .form-group.search-wrap { grid-column: 1 / -1; max-width: 100%; }
            .filter-bar .form-group { flex: unset; width: 100%; }
        }
        /* ── YENİ DİNAMİK FOOTER TASARIMI ── */
        .main-footer {
            background: var(--white);
            border-top: 1px solid var(--border);
            padding: 4rem 0 2rem;
            margin-top: 4rem;
        }
        .footer-grid {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 2.5rem;
        }
        .footer-col-title {
            font-family: 'DM Sans', sans-serif;
            font-weight: 700;
            color: var(--ink);
            margin-bottom: 1.25rem;
            font-size: 1.05rem;
        }
        .footer-col p {
            color: var(--ink3);
            font-size: 0.85rem;
            line-height: 1.6;
        }
        .footer-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
        }
        .footer-col ul a {
            color: var(--ink2);
            text-decoration: none;
            font-size: 0.85rem;
            transition: color 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .footer-col ul a:hover {
            color: var(--forest);
        }
       /* ── FOOTER LINK HOVER EFEKTİ (RENK + ALT ÇİZGİ) ── */
        .footer-col a {
            text-decoration: none;
            transition: color 0.2s ease, text-decoration-color 0.2s ease;
        }
        
        .footer-col a:hover {
            color: var(--forest) !important;
            text-decoration: underline !important;
            text-underline-offset: 4px; /* Çizgi ile yazı arasına şık bir boşluk bırakır */
            text-decoration-thickness: 1px; /* Çizgiyi ince ve zarif yapar */
        }
        .footer-bottom {
            max-width: 1280px;
            margin: 3rem auto 0;
            padding: 1.5rem 2rem 0;
            border-top: 1px solid var(--cream);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            font-size: 0.8rem;
            color: var(--ink3);
        }
        
        @media (max-width: 768px) {
            .footer-bottom { flex-direction: column; text-align: center; }
        }
        .admin-topbar-inner {
        flex-direction: column; /* Mobilde başlık ve linkleri alt alta al */
        align-items: flex-start;
        padding: 0.8rem 1.25rem;
        gap: 0.75rem;
    }

    .admin-topbar-inner > div {
        display: flex !important;
        gap: 0.5rem !important;
        width: 100%;
        overflow-x: auto; /* Yatay kaydırmayı aç */
        white-space: nowrap; /* Linklerin alt alta geçmesini engelle */
        padding-bottom: 5px; /* Kaydırma çubuğu için biraz boşluk */
        scrollbar-width: none; /* Firefox için çubuğu gizle */
    }

    .admin-topbar-inner > div::-webkit-scrollbar {
        display: none; /* Chrome/Safari için çubuğu gizle */
    }

    .admin-topbar-inner a {
        background: rgba(255,255,255,0.1); /* Linkleri mobilde buton gibi göster */
        padding: 4px 10px;
        border-radius: 4px;
        font-size: 0.75rem;
        flex-shrink: 0; /* Boyutlarının küçülmesini engelle */
    }
    /* ── ADMIN SIDEBAR (adm- prefix — public CSS ile çakışmaz) ── */
    :root {
        --adm-accent:       var(--forest);
        --adm-accent-light: var(--forest-pale);
        --adm-accent-dark:  #1d3a0e;
        --adm-sidebar-w:    240px;
        --adm-header-h:     60px;
        --adm-surface:      #ffffff;
        --adm-bg:           #f4f5f4;
        --adm-border:       rgba(0,0,0,.08);
        --adm-text:         var(--ink);
        --adm-text-2:       var(--ink2);
        --adm-text-3:       var(--ink3);
        --adm-radius:       12px;
        --adm-radius-sm:    8px;
    }

    /* Sidebar */
    .adm-sidebar {
        position: fixed; top: 0; left: 0;
        width: var(--adm-sidebar-w); height: 100vh;
        background: var(--adm-surface);
        border-right: 0.5px solid var(--adm-border);
        display: flex; flex-direction: column;
        z-index: 200;
        transition: transform .3s cubic-bezier(.4,0,.2,1);
    }
    .adm-sidebar-brand {
        display: flex; align-items: center; gap: 12px;
        padding: 1.25rem 1.25rem 1rem;
        border-bottom: 0.5px solid var(--adm-border);
        text-decoration: none; color: inherit;
    }
    .adm-sidebar-brand img { height: 26px; width: auto; display: block; }
    .adm-sidebar-brand-divider { width: 1px; height: 22px; background: var(--adm-border); flex-shrink: 0; }
    .adm-sidebar-brand-label { display: flex; flex-direction: column; gap: 1px; }
    .adm-sidebar-brand-title { font-size: 12px; font-weight: 600; color: var(--adm-text); line-height: 1.2; }
    .adm-sidebar-brand-sub   { font-size: 10px; color: var(--adm-text-3); }

    .adm-sidebar-nav { flex: 1; padding: .75rem .75rem 0; overflow-y: auto; }
    .adm-sidebar-nav-label {
        font-size: 10px; font-weight: 600; color: var(--adm-text-3);
        letter-spacing: .06em; text-transform: uppercase;
        padding: .5rem .5rem .25rem; margin-top: 8px;
    }
    .adm-sidebar-nav-label:first-child { margin-top: 0; }
    .adm-sidebar-nav a {
        display: flex; align-items: center; gap: 10px;
        padding: 9px 12px; border-radius: var(--adm-radius-sm);
        font-size: 13px; font-weight: 500; color: var(--adm-text-2);
        text-decoration: none;
        transition: background .12s, color .12s;
        margin-bottom: 2px;
    }
    .adm-sidebar-nav a svg { flex-shrink: 0; opacity: .6; }
    .adm-sidebar-nav a:hover { background: var(--adm-bg); color: var(--adm-text); }
    .adm-sidebar-nav a.active { background: var(--adm-accent-light); color: var(--adm-accent); font-weight: 600; }
    .adm-sidebar-nav a.active svg { opacity: 1; }

    .adm-sidebar-footer { padding: .875rem 1rem; border-top: 0.5px solid var(--adm-border); }
    .adm-sidebar-user { display: flex; align-items: center; gap: 10px; margin-bottom: .625rem; }
    .adm-sidebar-avatar {
        width: 32px; height: 32px; border-radius: 50%;
        background: var(--adm-accent-light); color: var(--adm-accent);
        display: flex; align-items: center; justify-content: center;
        font-size: 13px; font-weight: 700; flex-shrink: 0;
    }
    .adm-sidebar-user-info { min-width: 0; }
    .adm-sidebar-user-name { font-size: 13px; font-weight: 600; color: var(--adm-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .adm-sidebar-user-role { font-size: 11px; color: var(--adm-text-3); }
    .adm-sidebar-site-link {
        display: flex; align-items: center; justify-content: center;
        width: 100%; padding: 7px 12px; border-radius: var(--adm-radius-sm);
        background: var(--adm-bg); border: 0.5px solid var(--adm-border);
        font-size: 12px; font-weight: 500; color: var(--adm-text-2);
        text-decoration: none; transition: background .12s, color .12s;
    }
    .adm-sidebar-site-link:hover { background: var(--adm-accent-light); color: var(--adm-accent); }

    /* Mobil header */
    .adm-mobile-header {
        display: none; position: sticky; top: 0; z-index: 150;
        height: var(--adm-header-h);
        background: var(--adm-surface);
        border-bottom: 0.5px solid var(--adm-border);
        padding: 0 1rem; align-items: center; justify-content: space-between;
    }
    .adm-mobile-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--adm-text); }
    .adm-mobile-brand img { height: 22px; }
    .adm-mobile-brand span { font-size: 13px; font-weight: 600; }
    .adm-hamburger {
        width: 36px; height: 36px; border-radius: var(--adm-radius-sm);
        background: var(--adm-bg); border: 0.5px solid var(--adm-border);
        display: flex; align-items: center; justify-content: center;
        cursor: pointer; color: var(--adm-text-2); font-size: 20px; line-height: 1;
    }
    .adm-hamburger:hover { background: var(--adm-accent-light); color: var(--adm-accent); }

    /* Overlay */
    .adm-sidebar-overlay {
        position: fixed; inset: 0; z-index: 190;
        background: rgba(0,0,0,.35); backdrop-filter: blur(2px);
        opacity: 0; visibility: hidden;
        transition: opacity .3s, visibility .3s;
    }
    .adm-sidebar-overlay.open { opacity: 1; visibility: visible; }

    /* Ana içerik */
    .adm-main-content {
        margin-left: var(--adm-sidebar-w);
        min-height: 100vh; padding: 2rem;
        background: var(--adm-bg);
    }

    /* Responsive */
    @media (max-width: 960px) {
        .adm-sidebar { transform: translateX(-100%); }
        .adm-sidebar.open { transform: translateX(0); box-shadow: 0 0 40px rgba(0,0,0,.15); }
        .adm-mobile-header { display: flex; }
        .adm-main-content { margin-left: 0; padding: 1rem; }
    }
    @media (max-width: 480px) {
        .adm-main-content { padding: .75rem; }
    }