/* ==========================================================================
   Tasarım sistemi
   Marka rengi (--brand) admin panelindeki Ayarlar'dan gelir.
   ========================================================================== */
:root {
    --brand: #0f766e;
    --brand-600: color-mix(in srgb, var(--brand) 88%, #000);
    --brand-700: color-mix(in srgb, var(--brand) 72%, #000);
    --brand-50: color-mix(in srgb, var(--brand) 7%, #fff);
    --brand-100: color-mix(in srgb, var(--brand) 14%, #fff);
    --ring: color-mix(in srgb, var(--brand) 22%, transparent);

    --ink: #0e1726;
    --ink-2: #1e293b;
    --text: #475467;
    --muted: #667085;
    --subtle: #98a2b3;
    --line: #e7eaf0;
    --line-2: #d6dbe4;
    --bg: #ffffff;
    --bg-alt: #f7f8fb;
    --night: #0b1220;

    --ok: #16794c;
    --err: #c0262d;
    --warn: #a15c07;
    --wa: #1fa855;

    --r-sm: 10px;
    --r: 14px;
    --r-lg: 20px;
    --shadow-xs: 0 1px 2px rgba(14, 23, 38, .05);
    --shadow-sm: 0 1px 3px rgba(14, 23, 38, .06), 0 1px 2px rgba(14, 23, 38, .04);
    --shadow: 0 4px 12px -2px rgba(14, 23, 38, .08), 0 2px 4px -2px rgba(14, 23, 38, .05);
    --shadow-lg: 0 24px 48px -12px rgba(14, 23, 38, .22);

    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --gutter: 24px;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0; font-family: var(--font); font-size: 15.5px; line-height: 1.65;
    color: var(--text); background: var(--bg);
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .55em; letter-spacing: -.022em; font-weight: 800; }
h1 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); margin-top: 1.3em; }
h3 { font-size: 1.07rem; font-weight: 700; letter-spacing: -.012em; }
h4 { font-size: .95rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
strong, b { color: var(--ink); font-weight: 700; }
code { font-family: ui-monospace, "SF Mono", Consolas, monospace; background: var(--bg-alt); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.ico { flex: none; vertical-align: -3px; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.center { text-align: center; }
.warn { color: var(--warn); }
.empty { padding: 56px 0; text-align: center; color: var(--muted); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.plain li:last-child { border-bottom: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.price, .totals dd, .stat b, .res-code strong, .bank dd { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Butonlar
   ========================================================================== */
.btn {
    --btn-bg: var(--brand);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: 12px;
    background: var(--btn-bg); color: #fff; font: inherit; font-size: .93rem; font-weight: 700; line-height: 1.2;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    box-shadow: 0 1px 2px rgba(14, 23, 38, .12), inset 0 1px 0 rgba(255, 255, 255, .14);
    transition: background-color .18s, transform .18s, box-shadow .18s, color .18s, border-color .18s;
}
.btn:hover { background: var(--brand-600); transform: translateY(-1px); box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--brand) 55%, transparent); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn-disabled { background: #eceff3; color: var(--subtle); border-color: var(--line); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: .84rem; border-radius: 9px; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { background: var(--bg-alt); color: var(--ink); border-color: var(--subtle); box-shadow: var(--shadow-xs); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f3f7; box-shadow: none; }
.btn-wa { background: var(--wa); }
.btn-wa:hover { background: #18914a; box-shadow: 0 8px 18px -6px rgba(31, 168, 85, .55); }
.btn-danger { background: var(--err); }
.btn-danger:hover { background: #a11f25; box-shadow: none; }
.btn-muted { background: #eef1f5; color: var(--ink); box-shadow: none; }
.btn-muted:hover { background: #e2e7ee; box-shadow: none; }
.link-arrow { font-weight: 700; font-size: .93rem; text-decoration: none; white-space: nowrap; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { color: var(--brand); }

/* ==========================================================================
   Üst menü
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.14rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo-img { max-height: 44px; width: auto; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(140deg, var(--brand), var(--brand-700)); position: relative; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px -4px var(--brand); }
.logo-mark::after { content: ""; position: absolute; inset: 11px 7px 10px 7px; border: 2.5px solid #fff; border-radius: 7px 7px 3px 3px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 14px; border-radius: 10px; transition: background-color .15s, color .15s; }
.main-nav a:not(.btn):hover { color: var(--ink); background: rgba(14, 23, 38, .05); }
.main-nav a.active { color: var(--ink); background: rgba(14, 23, 38, .06); }
.main-nav .btn { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; border-radius: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Ana sayfada görselin üzerinde şeffaf menü */
.has-hero .site-header { position: absolute; left: 0; right: 0; background: transparent; border-bottom-color: rgba(255, 255, 255, .1); backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .logo { color: #fff; }
.has-hero .main-nav a:not(.btn) { color: rgba(255, 255, 255, .82); }
.has-hero .main-nav a:not(.btn):hover, .has-hero .main-nav a.active { color: #fff; background: rgba(255, 255, 255, .12); }
.has-hero .nav-toggle span { background: #fff; }

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none; position: absolute; top: var(--header-h); left: 12px; right: 12px;
        flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
        background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
    }
    .main-nav a:not(.btn) { padding: 13px 14px; font-size: 1rem; }
    .main-nav .btn { margin: 8px 0 0; min-height: 48px; }
    .nav-open .main-nav { display: flex; }
    .has-hero .main-nav a:not(.btn) { color: var(--text); }
    .has-hero .main-nav a:not(.btn):hover, .has-hero .main-nav a.active { color: var(--ink); background: rgba(14, 23, 38, .06); }
    .nav-open.has-hero .site-header { background: rgba(11, 18, 32, .92); }
}

/* ==========================================================================
   Giriş (hero) ve arama
   ========================================================================== */
.hero {
    position: relative; color: #fff;
    padding: calc(var(--header-h) + 72px) 0 0;
    min-height: 640px; display: flex; flex-direction: column;
    background-color: var(--night); background-position: center bottom; background-size: cover; background-repeat: no-repeat;
    isolation: isolate;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(95deg, rgba(8, 13, 25, .92) 0%, rgba(8, 13, 25, .72) 38%, rgba(8, 13, 25, .18) 72%, rgba(8, 13, 25, .1) 100%),
        linear-gradient(0deg, rgba(8, 13, 25, .5) 0%, transparent 30%);
}
.hero-inner { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.hero-text { max-width: 620px; }
.hero .eyebrow { color: rgba(255, 255, 255, .78); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 18px; }
.hero .lead { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); color: rgba(255, 255, 255, .8); margin: 0; max-width: 520px; }
.hero .search-form { margin-bottom: -58px; position: relative; z-index: 2; }

.search-form {
    display: grid; grid-template-columns: 1fr 1fr 1.35fr 1.35fr auto; gap: 12px; align-items: end;
    background: #fff; color: var(--text); padding: 18px; border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg); border: 1px solid rgba(14, 23, 38, .04);
}
.search-form label { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.search-form .btn { min-height: 50px; padding: 0 26px; }
@media (max-width: 1080px) { .search-form { grid-template-columns: 1fr 1fr; } .search-form .btn { grid-column: 1 / -1; } }
@media (max-width: 560px) {
    .search-form { grid-template-columns: 1fr 1fr; padding: 14px; gap: 10px; border-radius: var(--r); }
    .search-form .field-dt { grid-column: 1 / -1; }
}

/* Güven şeridi */
.trust { background: #fff; border-bottom: 1px solid var(--line); padding: 98px 0 34px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-grid > div { display: flex; align-items: center; gap: 14px; }
.trust-grid p { margin: 0; display: flex; flex-direction: column; line-height: 1.4; }
.trust-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-50); color: var(--brand); font-style: normal; }
.trust-ico .ico { width: 21px; height: 21px; }
.trust b { font-size: .95rem; }
.trust span { color: var(--muted); font-size: .86rem; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; } }

/* İç sayfa başlığı */
.page-hero {
    position: relative; color: #fff; padding: 52px 0 48px; overflow: hidden; isolation: isolate;
    background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--brand) 38%, var(--night)) 0%, var(--night) 58%);
}
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); }
.page-hero-img { position: absolute; right: max(var(--gutter), calc((100% - 1220px) / 2 + var(--gutter))); top: 50%; height: calc(100% - 56px); width: auto; max-width: 42%; aspect-ratio: 16 / 10; transform: translateY(-50%); object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 8px; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); }
.page-hero .lead { color: rgba(255, 255, 255, .74); margin: 0; max-width: 520px; }
.page-hero.has-img .container > * { max-width: 52%; }
@media (max-width: 900px) {
    .page-hero-img { opacity: .18; width: 100%; height: 100%; right: 0; border-radius: 0; box-shadow: none; aspect-ratio: auto; }
    .page-hero.has-img .container > * { max-width: none; }
}
.crumbs { font-size: .84rem; margin-bottom: 16px; color: rgba(255, 255, 255, .62); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs-dark { color: var(--muted); }
.crumbs-dark a:hover { color: var(--ink); }
.crumbs span { color: inherit; opacity: .9; }
.search-strip { background: var(--bg-alt); padding: 22px 0; border-bottom: 1px solid var(--line); }
.search-strip .search-form { box-shadow: var(--shadow); border-color: var(--line); }
.search-strip + .section { padding-top: 40px; }

/* ==========================================================================
   Form öğeleri
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; min-width: 0; }
.search-form .field { margin: 0; gap: 6px; }
label { font-weight: 700; font-size: .82rem; color: var(--ink-2); }
input, select, textarea {
    width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
    min-height: 48px; padding: 11px 14px;
    border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff;
    box-shadow: var(--shadow-xs);
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
textarea { min-height: 96px; resize: vertical; }
input[type=file] { min-height: auto; padding: 10px; background: var(--bg-alt); border-style: dashed; }
input[type=color] { padding: 4px; }
input::placeholder, textarea::placeholder { color: var(--subtle); }
select {
    appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
input:hover, select:hover, textarea:hover { border-color: var(--subtle); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }
.search-form input, .search-form select { background-color: var(--bg-alt); border-color: transparent; box-shadow: none; }
.search-form input:hover, .search-form select:hover { border-color: var(--line-2); }
.search-form input:focus, .search-form select:focus { background-color: #fff; border-color: var(--brand); }
.field-err { color: var(--err); font-size: .8rem; font-weight: 600; line-height: 1.4; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--err); background-color: #fff8f8; }
.has-err input:focus { box-shadow: 0 0 0 4px rgba(192, 38, 45, .14); }
.is-ok input { border-color: #7cc79c; }
.dt { display: grid; grid-template-columns: 1fr 104px; gap: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .92rem; color: var(--text); margin: 14px 0 20px; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--brand); flex: none; box-shadow: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Bölümler
   ========================================================================== */
.section { padding: 88px 0; }
main > .section:first-child { padding-top: 44px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.center-head { justify-content: center; text-align: center; }
.center-head .eyebrow { justify-content: center; }
.center-head .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
@media (max-width: 760px) { .section { padding: 60px 0; } .section-head { margin-bottom: 26px; } }

/* Sınıf kartları */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
.cat-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-img { aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 1.18rem; margin-bottom: 4px; display: flex; justify-content: space-between; align-items: center; }
.cat-body h3::after { content: "→"; font-size: 1rem; color: var(--subtle); transition: transform .2s, color .2s; }
.cat-card:hover .cat-body h3::after { transform: translateX(4px); color: var(--brand); }
.cat-body p { margin: 0 0 14px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.cat-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.cat-meta span:first-child { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: .78rem; color: var(--text); }
.cat-meta strong { font-size: .98rem; }

.cat-chips { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px 18px; scrollbar-width: thin; }
.cat-chips a {
    display: inline-flex; align-items: center; gap: 9px; padding: 6px 16px 6px 6px; min-height: 46px;
    border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink);
    text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; box-shadow: var(--shadow-xs); transition: border-color .15s, background-color .15s;
}
.cat-chips a:first-child { padding-left: 18px; padding-right: 18px; }
.cat-chips a:hover { border-color: var(--subtle); }
.cat-chips a img { width: 48px; height: 32px; object-fit: cover; border-radius: 999px; background: var(--bg-alt); }
.cat-chips a.active { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); box-shadow: 0 0 0 3px var(--ring); }

.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filters > .muted { font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.seg { display: inline-flex; background: #eef1f5; border-radius: 12px; padding: 4px; gap: 2px; }
.seg a { padding: 8px 16px; border-radius: 9px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .87rem; transition: background-color .15s, color .15s; }
.seg a:hover { color: var(--ink); }
.seg a.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* Araç kartları */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.car-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
    display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.car-card.is-full { opacity: .6; filter: grayscale(.4); }
.car-card.is-full:hover { transform: none; box-shadow: var(--shadow-sm); }
.car-img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.car-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.car-card:hover .car-img img { transform: scale(1.05); }
.chip {
    position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .95); color: var(--ink);
    font-size: .72rem; font-weight: 700; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.chip-right { left: auto; right: 12px; background: rgba(14, 23, 38, .72); color: #fff; }
.car-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.car-body h3 { font-size: 1.12rem; margin-bottom: 14px; }
.car-body h3 a { color: inherit; text-decoration: none; }
.car-body h3 a:hover { color: var(--brand); }
.car-body h3 small { color: var(--subtle); font-weight: 600; font-size: .82rem; margin-left: 2px; }
.specs { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
.specs li { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--text); }
.specs .ico { color: var(--subtle); width: 15px; height: 15px; }
.price-row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.price-row .muted.small { font-size: .78rem; }
.price { font-size: 1.42rem; font-weight: 800; color: var(--ink); letter-spacing: -.025em; line-height: 1.15; }
.price .muted { font-size: .8rem; font-weight: 600; letter-spacing: 0; }

/* Adımlar */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px 24px; box-shadow: var(--shadow-xs); }
.step span {
    display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(140deg, var(--brand), var(--brand-700)); color: #fff; font-weight: 800; margin-bottom: 16px;
    box-shadow: 0 8px 16px -8px var(--brand);
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; gap: 12px; } .step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px; } .step span { grid-row: span 2; margin: 0; } }

/* SSS */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; box-shadow: var(--shadow-xs); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 19px 0; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5' fill='none' stroke='%23475467' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
    transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin: 0 0 20px; color: var(--text); }

/* Çağrı bandı */
.cta-band { padding: 0 0 88px; background: var(--bg-alt); }
.section-alt + .cta-band { padding-top: 0; }
.cta-inner {
    display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
    padding: 44px 48px; border-radius: 24px; color: #fff; position: relative; overflow: hidden; isolation: isolate;
    background: radial-gradient(120% 160% at 100% 0%, var(--brand) 0%, var(--brand-700) 45%, var(--night) 100%);
    box-shadow: var(--shadow-lg);
}
.cta-inner::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 20px 20px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }
@media (max-width: 760px) { .cta-band { padding-bottom: 60px; } .cta-inner { padding: 30px 24px; border-radius: var(--r-lg); } .cta-inner .actions, .cta-inner .actions .btn { width: 100%; } }

/* ==========================================================================
   Araç detay
   ========================================================================== */
.detail { padding-top: 28px; }
.detail .crumbs { margin-bottom: 20px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 40px; align-items: start; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
    display: grid; place-items: center; padding-bottom: 3px; transition: background-color .15s, transform .15s;
}
.gal-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gal-nav.prev { left: 16px; }
.gal-nav.next { right: 16px; }
.gallery-main .chip-right { top: auto; bottom: 14px; right: 14px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--bg-alt); aspect-ratio: 16 / 10; opacity: .62; transition: opacity .15s, border-color .15s; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--brand); opacity: 1; }
.detail-info { margin-top: 34px; }
.detail-info h1 { margin-bottom: 4px; }
.detail-info h1 small { color: var(--subtle); font-weight: 600; font-size: .52em; letter-spacing: 0; }
.detail-info h2 { font-size: 1.2rem; margin-top: 34px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 8px; }
.spec-grid > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; box-shadow: var(--shadow-xs); }
.spec-grid .ico { grid-row: span 2; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--brand-50); color: var(--brand); box-sizing: border-box; }
.spec-grid span { font-size: .76rem; color: var(--muted); line-height: 1.3; }
.spec-grid b { font-size: .95rem; line-height: 1.35; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.checks li { padding: 6px 0 6px 30px; position: relative; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 9px; width: 19px; height: 19px; border-radius: 50%; background: var(--brand-100);
}
.checks li::after {
    content: ""; position: absolute; left: 0; top: 9px; width: 19px; height: 19px; background: var(--brand);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.book-box { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; box-shadow: var(--shadow-lg); border-color: transparent; }
.book-price { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 4px; }
.book-price .price { font-size: 2rem; }
.total-inline { font-weight: 800; font-size: 1.15rem; }
@media (max-width: 1000px) {
    .detail-grid { grid-template-columns: 1fr; gap: 28px; }
    .book-box { position: static; box-shadow: var(--shadow); border-color: var(--line); }
    .spec-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) { .checks { grid-template-columns: 1fr; } .spec-grid { gap: 8px; } .spec-grid > div { padding: 12px; } }

/* ==========================================================================
   Kartlar, rezervasyon ve onay
   ========================================================================== */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.card > h1:first-child { margin-bottom: 18px; }
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.booking-form h1 { margin-bottom: 6px; }
.booking-form h2 {
    font-size: 1.02rem; margin: 30px 0 18px; padding-top: 26px; border-top: 1px solid var(--line);
    display: flex; align-items: center; gap: 10px;
}
.booking-form { counter-reset: sec; }
.booking-form h2::before {
    counter-increment: sec; content: counter(sec);
    display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
    background: var(--brand-50); color: var(--brand); font-size: .8rem; font-weight: 800;
}
.booking-form > .btn-lg { margin-top: 6px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 22px; }
.summary img { border-radius: var(--r); margin-bottom: 16px; aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--bg-alt); }
.summary h3 { font-size: 1.2rem; margin-bottom: 12px; }
.summary .specs { display: flex; flex-wrap: wrap; gap: 6px; }
.summary .specs li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: .78rem; font-weight: 600; }
.summary > p.small { color: var(--muted); }
.summary .totals { background: var(--bg-alt); border-radius: var(--r); padding: 16px; margin-top: 4px; }
.summary .totals.small { background: none; padding: 12px 4px 0; margin: 0; }
@media (max-width: 960px) {
    .booking { grid-template-columns: 1fr; gap: 16px; }
    .summary { position: static; order: -1; display: grid; grid-template-columns: 120px 1fr; column-gap: 14px; align-items: start; padding: 16px; }
    .summary img { grid-row: span 2; margin: 0; aspect-ratio: 4 / 3; }
    .summary h3 { margin: 2px 0 8px; font-size: 1.05rem; }
    .summary > p.small { display: none; }
    .summary .totals { grid-column: 1 / -1; margin-top: 14px; }
    .summary .totals.small { margin-top: 0; }
}

.totals { display: grid; grid-template-columns: fit-content(46%) 1fr; gap: 10px 0; margin: 0 0 16px; align-items: baseline; }
.totals dt { color: var(--muted); font-size: .92rem; padding-right: 18px; }
.totals dd { margin: 0; text-align: right; color: var(--ink); font-weight: 600; font-size: .94rem; }
.totals .total { font-weight: 800; font-size: 1.15rem; color: var(--ink); border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 2px; align-self: stretch; }
.totals dt.total { font-size: 1rem; }

.res-view { margin-top: 6px; }
.res-code {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
    background: linear-gradient(180deg, #fff, var(--bg-alt)); border: 1px dashed var(--line-2); border-radius: var(--r);
    padding: 18px 20px; margin: 20px 0 22px;
}
.res-code .muted { width: 100%; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.res-code strong { font-size: 1.7rem; letter-spacing: .16em; color: var(--ink); font-family: ui-monospace, "SF Mono", Consolas, monospace; font-weight: 700; }
.pay-box { margin-top: 26px; border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line)); border-radius: var(--r-lg); padding: 24px; background: linear-gradient(180deg, var(--brand-50), #fff 60%); }
.pay-box h2 { margin-top: 0; font-size: 1.2rem; }
.pay-box > p { color: var(--text); }
.bank { display: grid; grid-template-columns: 116px 1fr; gap: 0; margin: 18px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bank dt, .bank dd { padding: 12px 16px; border-bottom: 1px solid var(--line); margin: 0; }
.bank dt:last-of-type, .bank dd:last-of-type { border-bottom: 0; }
.bank dt { color: var(--muted); font-size: .88rem; background: var(--bg-alt); }
.bank dd { color: var(--ink); font-weight: 600; word-break: break-all; }
.bank code { background: none; border: 0; padding: 0; font-size: 1rem; letter-spacing: .03em; color: var(--ink); }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
@media (max-width: 520px) { .bank { grid-template-columns: 1fr; } .bank dt { border-bottom: 0; padding-bottom: 2px; background: #fff; font-size: .78rem; } }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #eef1f5; color: var(--text); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge-beklemede { background: #fdf3dc; color: #8a5300; }
.badge-onaylandi { background: #e2f6ea; color: #136c3f; }
.badge-teslim { background: #e3edfd; color: #1d4fb8; }
.badge-tamamlandi { background: #eef1f5; color: #475467; }
.badge-iptal { background: #fde8e8; color: #a3242a; }

.alert { padding: 14px 18px; border-radius: var(--r); margin: 0 0 18px; border: 1px solid; font-size: .92rem; line-height: 1.55; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert li { margin: 2px 0; }
.alert-ok { background: #effaf3; border-color: #bfe8cf; color: var(--ok); }
.alert-err { background: #fff5f5; border-color: #f6cccd; color: var(--err); }
.alert-warn { background: #fffaeb; border-color: #f5dea0; color: var(--warn); }

.prose { line-height: 1.75; }
.prose h2 { font-size: 1.15rem; margin-top: 1.8em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }

/* ==========================================================================
   Alt bilgi
   ========================================================================== */
.site-footer { background: var(--night); color: #a3adbd; padding: 64px 0 0; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer p { line-height: 2; }
.site-footer a { color: #d3d9e3; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.logo-footer { color: #fff; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.25fr 1fr 1fr; gap: 40px; }
.footer-grid > div:first-child p:first-of-type { max-width: 300px; line-height: 1.7; }
.copyright { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 22px var(--gutter); font-size: .84rem; color: #7d889b; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } .site-footer { padding-top: 48px; } }

.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 40;
    width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
    display: grid; place-items: center; box-shadow: 0 10px 28px -6px rgba(31, 168, 85, .6); transition: transform .2s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wa-pulse 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.07); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } * { transition: none !important; scroll-behavior: auto !important; } }

/* Çerez onay bandı */
.cookie-bar {
    position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 440px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
    padding: 18px 20px; display: flex; flex-direction: column; gap: 12px;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: .88rem; line-height: 1.55; }
.cookie-bar .actions { justify-content: flex-end; }
@media (max-width: 560px) { .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; } .cookie-bar .actions .btn { flex: 1; } }

/* ==========================================================================
   Mobil genel
   ========================================================================== */
@media (max-width: 760px) {
    :root { --gutter: 16px; --header-h: 64px; }
    body { font-size: 15px; }
    .logo { font-size: 1.02rem; }
    .logo-mark { width: 30px; height: 30px; }
    .logo-mark::after { inset: 9px 6px 9px 6px; }
    .hero { min-height: 0; padding-top: calc(var(--header-h) + 40px); background-position: 70% bottom; }
    .hero::before { background: linear-gradient(180deg, rgba(8, 13, 25, .82) 0%, rgba(8, 13, 25, .6) 55%, rgba(8, 13, 25, .82) 100%); }
    .hero-inner { gap: 28px; }
    .hero .search-form { margin-bottom: -40px; }
    .trust { padding: 70px 0 28px; }
    .trust-grid > div { gap: 10px; align-items: flex-start; }
    .trust-ico { width: 38px; height: 38px; border-radius: 11px; }
    .trust b { font-size: .88rem; }
    .trust span { font-size: .8rem; }
    .card { padding: 20px; border-radius: var(--r); }
    .car-grid, .cat-grid { grid-template-columns: 1fr; gap: 16px; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .center-head { align-items: center; }
    .filters { flex-direction: column; align-items: stretch; }
    .seg { display: flex; } .seg a { flex: 1; text-align: center; padding: 8px 6px; }
    .page-hero { padding: 36px 0 34px; }
    .res-code strong { font-size: 1.4rem; }
    .pay-box { padding: 18px; }
    .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ==========================================================================
   Yönetim paneli
   ========================================================================== */
.admin { background: var(--bg-alt); font-size: 15px; }
.admin-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: var(--night); color: #cbd5e1; padding: 22px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .logo { color: #fff; font-size: 1rem; margin-bottom: 28px; padding: 0 8px; }
.admin-side nav a { display: block; color: #a9b3c3; text-decoration: none; padding: 10px 12px; border-radius: 10px; margin-bottom: 2px; font-weight: 600; font-size: .91rem; transition: background-color .15s, color .15s; }
.admin-side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-side nav a.active { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 3px 0 0 var(--brand); }
.admin-side nav hr { border: 0; border-top: 1px solid rgba(255,255,255,.08); margin: 14px 0; }
.admin-main { padding: 32px 36px 48px; min-width: 0; max-width: 1400px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-top h1 { margin: 0; font-size: 1.6rem; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-top > a { font-weight: 600; text-decoration: none; color: var(--muted); }
.admin-top > a:hover { color: var(--ink); }
.admin h2 { font-size: 1.12rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-xs); }
.stat .muted { font-size: .82rem; font-weight: 600; }
.stat b { display: block; font-size: 1.75rem; margin-top: 4px; letter-spacing: -.02em; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-xs); }
table { width: 100%; border-collapse: collapse; font-size: .89rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { background: var(--bg-alt); color: var(--muted); font-weight: 700; white-space: nowrap; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
tbody tr { transition: background-color .12s; }
tbody tr:hover { background: #fafbfd; }
tr:last-child td { border-bottom: 0; }
td .thumb { width: 88px; height: 55px; object-fit: cover; border-radius: 8px; margin-bottom: 3px; border: 1px solid var(--line); }
td input { min-height: 40px; padding: 8px 12px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form select, .inline-form input { width: auto; min-width: 160px; }
.form-section { margin-bottom: 20px; }
.form-section h2, .form-title { margin-top: 0; font-size: 1.08rem; margin-bottom: 16px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
.login-box { max-width: 420px; margin: 10vh auto; box-shadow: var(--shadow-lg); border-color: transparent; }
.preview { max-width: 100%; width: 320px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); margin-bottom: 10px; background: var(--bg-alt); }
.logo-preview { min-height: 64px; display: flex; align-items: center; padding: 12px 14px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; }
.logo-preview img { max-height: 50px; }
.admin .field > .small.muted { font-size: .8rem; line-height: 1.5; }

.mail-box { border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; margin-bottom: 10px; background: #fff; }
.mail-box[open] { padding-bottom: 16px; box-shadow: var(--shadow-xs); }
.mail-box summary { cursor: pointer; padding: 13px 0; font-weight: 700; color: var(--ink); font-size: .93rem; }
.mail-box textarea { font-size: .88rem; line-height: 1.55; }
.mail-log { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.mail-log li { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-alt); font-size: .88rem; }
.mail-log .badge { align-self: flex-start; }
.mail-preview { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: var(--r); background: #f4f6f9; margin-top: 7px; }
.placeholder-list { display: flex; flex-wrap: wrap; gap: 6px; }
.placeholder-list code { cursor: pointer; font-size: .78rem; }
.placeholder-list code:hover { border-color: var(--brand); color: var(--brand); }
.cat-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.cat-admin { padding: 0; overflow: hidden; }
.cat-admin.is-off { opacity: .6; }
.cat-admin img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.cat-admin-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; }

.car-edit { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.gallery-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gallery-admin figure { margin: 0; position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.gallery-admin img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery-admin figcaption { padding: 8px; }
@media (max-width: 1150px) { .car-edit { grid-template-columns: 1fr; } }

.mobile-admin-nav { display: none; }
@media (max-width: 960px) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-side { display: none; }
    .mobile-admin-nav { display: flex; gap: 4px; overflow-x: auto; padding: 10px 12px; background: var(--night); position: sticky; top: 0; z-index: 20; scrollbar-width: none; }
    .mobile-admin-nav::-webkit-scrollbar { display: none; }
    .mobile-admin-nav a { color: #c5cdd9; text-decoration: none; padding: 8px 12px; border-radius: 9px; white-space: nowrap; font-size: .88rem; font-weight: 600; }
    .mobile-admin-nav a.active { background: rgba(255,255,255,.12); color: #fff; }
    .admin-main { padding: 18px 16px 40px; }
    .admin-top h1 { font-size: 1.35rem; }
    .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat { padding: 14px; }
    .stat b { font-size: 1.4rem; }
    .inline-form select, .inline-form input { width: 100%; min-width: 0; }
}
