/* ==========================================================================
   Şarj Fiyatları - Arayüz Stilleri
   ========================================================================== */

:root {
    /* Marka (zümrüt yeşili) */
    --brand-50: #ecfdf5;
    --brand-100: #d1fae5;
    --brand-200: #a7f3d0;
    --brand-300: #6ee7b7;
    --brand-400: #34d399;
    --brand-500: #10b981;
    --brand-600: #059669;
    --brand-700: #047857;
    --brand-800: #065f46;
    --brand-900: #064e3b;

    /* AC = yeşil, DC = mavi */
    --ac: var(--brand-700);
    --ac-soft: var(--brand-50);
    --ac-line: var(--brand-200);
    --dc: #1f4fd8;
    --dc-soft: #eef3ff;
    --dc-line: #d3defd;
    --dc-bright: #86a8ff;

    /* Nötr tonlar */
    --ink: #0b1a14;
    --text: #25342d;
    --text-2: #4f5f58;
    --text-3: #627169;
    --bg: #f5f7f6;
    --surface: #ffffff;
    --surface-2: #f1f5f3;
    --border: #e2e8e5;
    --border-strong: #cdd6d1;

    /* Koyu yüzeyler (hero, footer) */
    --night: #04130d;
    --night-2: #06231a;
    --on-night: rgba(255, 255, 255, 0.72);
    --on-night-muted: rgba(255, 255, 255, 0.52);
    --night-line: rgba(255, 255, 255, 0.1);

    /* Durum renkleri */
    --danger: #b42318;
    --danger-soft: #fef3f2;
    --danger-line: #fecdca;
    --warning: #b45309;
    --warning-soft: #fffaeb;
    --warning-line: #fde8b0;
    --lime: #4d7c0f;
    --lime-soft: #f3fbe2;

    /* Varsayılan vurgu (AC/DC temalı alanlarda değişir) */
    --accent: var(--ac);
    --accent-soft: var(--ac-soft);
    --accent-line: var(--ac-line);

    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-xs: 0 1px 2px rgba(11, 26, 20, 0.05);
    --shadow-sm: 0 1px 2px rgba(11, 26, 20, 0.04), 0 2px 6px rgba(11, 26, 20, 0.05);
    --shadow-md: 0 2px 4px rgba(11, 26, 20, 0.04), 0 14px 28px -10px rgba(11, 26, 20, 0.16);
    --shadow-lg: 0 4px 8px rgba(11, 26, 20, 0.04), 0 28px 56px -20px rgba(11, 26, 20, 0.28);
    --ring: 0 0 0 3px rgba(16, 185, 129, 0.22);

    --header-h: 68px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.theme-dc {
    --accent: var(--dc);
    --accent-soft: var(--dc-soft);
    --accent-line: var(--dc-line);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    word-spacing: 0.05em;
}

h2 {
    font-size: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem);
}

h3 {
    font-size: 1.125rem;
}

h4 {
    font-size: 1rem;
}

a {
    color: var(--brand-700);
    text-decoration: none;
}

a:hover {
    color: var(--brand-800);
}

img,
svg {
    max-width: 100%;
}

strong {
    font-weight: 600;
}

small {
    font-size: 0.8125rem;
}

ul[class],
ol[class] {
    list-style: none;
    padding: 0;
}

button {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
    border-radius: 4px;
}

::selection {
    background: var(--brand-200);
    color: var(--brand-900);
}

[hidden] {
    display: none !important;
}

/* Icons */
.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    display: inline-block;
    width: 1.125em;
    height: 1.125em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.2em;
}

.icon--fill {
    fill: currentColor;
    stroke: none;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1232px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow {
    max-width: 928px;
}

.section {
    padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
}

.section--tight {
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0 clamp(3rem, 2rem + 4vw, 5rem);
}

.section--alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.section__lede {
    margin-top: 8px;
    max-width: 60ch;
    color: var(--text-2);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-700);
}

.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-auto {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 20px;
}

.toolbar__count {
    color: var(--text-2);
    font-size: 0.9375rem;
}

.toolbar__count strong {
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.toolbar__search {
    width: min(100%, 340px);
}

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-muted {
    color: var(--text-3);
}

.text-center {
    text-align: center;
}

.nowrap {
    white-space: nowrap;
}

.num {
    font-variant-numeric: tabular-nums;
}

.mt-md {
    margin-top: 20px;
}

.mt-lg {
    margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.stretched-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-700);
    white-space: nowrap;
}

.link-arrow .icon {
    transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon {
    transform: translateX(3px);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--ink);
    color: #fff;
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
    color: #fff;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 28px -18px rgba(11, 26, 20, 0.28);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--header-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--ink);
}

.logo:hover {
    color: var(--ink);
}

.logo__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--brand-500), var(--brand-700));
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 2px 6px rgba(4, 120, 87, 0.35);
}

.logo__mark .icon {
    width: 18px;
    height: 18px;
}

.logo__text span {
    color: var(--brand-700);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 16px;
    margin-left: 12px;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-nav__item--home {
    display: none;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-2);
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.site-nav__link:hover {
    color: var(--ink);
    background: var(--surface-2);
}

.site-nav__link.is-active {
    color: var(--brand-800);
    background: var(--brand-50);
    font-weight: 600;
}

.site-nav__link .icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s var(--ease);
}

.has-dropdown {
    position: relative;
}

.has-dropdown.is-open > .site-nav__link .icon {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 290px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

/* Tetikleyici ile menü arasındaki boşlukta hover kopmasın */
.dropdown::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--ink);
    transition: background-color 0.15s ease;
}

.dropdown__item:hover {
    background: var(--surface-2);
    color: var(--ink);
}

.dropdown__item strong {
    display: block;
    font-size: 0.9375rem;
    line-height: 1.35;
}

.dropdown__item small {
    display: block;
    color: var(--text-3);
    line-height: 1.35;
}

.nav-toggle {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.2s var(--ease), background-color 0.2s ease;
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before {
    top: -6px;
}

.nav-toggle__bars::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--brand-700);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(6, 78, 59, 0.4);
}

.btn-primary:hover {
    background: var(--brand-800);
    color: #fff;
}

.btn-secondary {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--ink);
    box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
    background: var(--surface-2);
    border-color: #b9c4be;
    color: var(--ink);
}

.btn-ghost {
    background: transparent;
    color: var(--brand-700);
}

.btn-ghost:hover {
    background: var(--brand-50);
    color: var(--brand-800);
}

.btn-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--brand-900);
}

.btn-white:hover {
    background: var(--brand-50);
    color: var(--brand-900);
}

.btn-sm {
    min-height: 36px;
    padding: 6px 14px;
    border-radius: 9px;
    font-size: 0.875rem;
}

.btn-lg {
    min-height: 52px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form Elements */
input[type="text"],
input[type="search"],
input[type="number"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background-color: var(--surface);
    font-family: inherit;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--ink);
    box-shadow: var(--shadow-xs);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder,
textarea::placeholder {
    color: #8a978f;
}

input:hover,
select:hover,
textarea:hover {
    border-color: #b3bfb8;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: var(--ring);
}

select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23627169' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

input[type="file"] {
    width: 100%;
    padding: 20px;
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--surface-2);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-2);
    cursor: pointer;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-2);
}

.field__hint {
    font-size: 0.8125rem;
    color: var(--text-3);
}

.input-icon {
    position: relative;
}

.input-icon > .icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-3);
    pointer-events: none;
}

.input-icon > input {
    padding-left: 42px;
}

/* Filter Bar */
.filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    align-items: end;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

.filter-bar--stations {
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.filter-bar__wide {
    grid-column: 1 / -1;
}

.filter-bar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-bar__actions .btn {
    flex: 1;
}

/* Autocomplete */
.autocomplete {
    position: relative;
}

.autocomplete-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 50;
    display: none;
    max-height: 280px;
    padding: 6px;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.suggestion-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    color: var(--ink);
    cursor: pointer;
}

.suggestion-item:hover {
    background: var(--surface-2);
}

.suggestion-item span {
    flex: none;
    font-size: 0.8125rem;
    color: var(--text-3);
}

/* Cards & Panels */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

.card--pad {
    padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.panel__title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.panel__title h2,
.panel__title h3 {
    font-size: 1.0625rem;
}

.panel__body {
    padding: clamp(1.25rem, 1rem + 1vw, 1.5rem);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.badge .icon {
    width: 13px;
    height: 13px;
}

.badge-success {
    background: var(--brand-50);
    color: var(--brand-800);
}

.badge-danger {
    background: var(--danger-soft);
    color: var(--danger);
}

.badge-warning {
    background: var(--warning-soft);
    color: var(--warning);
    box-shadow: inset 0 0 0 1px var(--warning-line);
}

.badge-primary {
    background: var(--brand-50);
    color: var(--brand-800);
    box-shadow: inset 0 0 0 1px var(--brand-200);
}

.badge-neutral {
    background: var(--surface-2);
    color: var(--text-2);
}

.badge-green {
    background: var(--lime-soft);
    color: var(--lime);
}

.badge-accent {
    background: var(--accent-soft);
    color: var(--accent);
    box-shadow: inset 0 0 0 1px var(--accent-line);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    padding: 3px 10px 3px 9px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.status--ok {
    background: var(--brand-50);
    color: var(--brand-800);
}

.status--ok::before {
    background: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.status--busy {
    background: var(--danger-soft);
    color: var(--danger);
}

.type-tag {
    display: inline-grid;
    place-items: center;
    flex: none;
    min-width: 36px;
    height: 24px;
    padding: 0 8px;
    border-radius: 7px;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
}

.type-tag--ac {
    background: var(--ac-soft);
    color: var(--brand-800);
    box-shadow: inset 0 0 0 1px var(--ac-line);
}

.type-tag--dc {
    background: var(--dc-soft);
    color: var(--dc);
    box-shadow: inset 0 0 0 1px var(--dc-line);
}

.type-tag--lg {
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 0.8125rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text);
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.chip:hover {
    border-color: var(--brand-400);
    background: var(--brand-50);
    color: var(--brand-800);
}

.chip .icon {
    width: 15px;
    height: 15px;
    color: var(--text-3);
}

.chip__count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Brand Avatar */
.avatar {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    -webkit-user-select: none;
    user-select: none;
}

.avatar--xs {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    font-size: 0.625rem;
}

.avatar--sm {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 0.75rem;
}

.avatar--lg {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.125rem;
}

.avatar--xl {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    font-size: 1.5rem;
}

.avatar--logo {
    padding: 4px;
    border: 1px solid var(--border);
    background: #fff;
    object-fit: contain;
}

.av-0 { background: #d1fae5; color: #065f46; }
.av-1 { background: #dbeafe; color: #1e40af; }
.av-2 { background: #fef3c7; color: #92400e; }
.av-3 { background: #ffe4e6; color: #9f1239; }
.av-4 { background: #ede9fe; color: #5b21b6; }
.av-5 { background: #cffafe; color: #155e75; }
.av-6 { background: #ffedd5; color: #9a3412; }
.av-7 { background: #e2e8f0; color: #334155; }
.av-8 { background: #ecfccb; color: #3f6212; }
.av-9 { background: #fae8ff; color: #86198f; }

/* Prices */
.price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.price small {
    font-family: var(--font-sans);
    font-size: 0.75em;
    font-weight: 500;
    color: var(--text-3);
}

.price--ac,
.price-ac {
    color: var(--ac);
}

.price--dc,
.price-dc {
    color: var(--dc);
}

.price--accent {
    color: var(--accent);
}

.price--lg {
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Önceki fiyat ve değişim oranı */
.price-trend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 10px;
    font-size: 0.875rem;
    color: var(--text-2);
}

.price-trend s {
    color: var(--text-3);
}

.price-trend__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.price-trend__badge .icon {
    width: 13px;
    height: 13px;
}

.price-trend--up .price-trend__badge {
    background: var(--danger-soft);
    color: var(--danger);
}

.price-trend--down .price-trend__badge {
    background: var(--brand-50);
    color: var(--brand-800);
}

.price-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-md);
    background: var(--surface-2);
    overflow: hidden;
}

.price-pair__item {
    padding: 10px 14px;
    min-width: 0;
}

.price-pair__item + .price-pair__item {
    border-left: 1px solid var(--border);
}

.price-pair dt {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-3);
}

.price-pair dt::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--brand-500);
}

.price-pair__item--dc dt::before {
    background: var(--dc);
}

.price-pair dd {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ink);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.price-pair dd small {
    margin-left: 1px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-3);
}

.price-pair__item.is-empty dd {
    font-weight: 500;
    color: #9aa69f;
}

/* Station Cards */
.station-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease;
}

.station-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.station-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.station-card__brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-2);
}

.station-card__brand:hover {
    color: var(--brand-700);
}

.station-card__brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.station-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 1.0625rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.station-card__title a {
    color: var(--ink);
}

.station-card__title a:hover {
    color: var(--brand-800);
}

.station-card .price-pair,
.station-card__footer {
    margin-top: auto;
}

.station-card__footer {
    position: relative;
    z-index: 2;
}

.meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 0.8125rem;
    color: var(--text-2);
}

.meta-list li,
.meta-list__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.meta-list .icon {
    width: 15px;
    height: 15px;
    color: #8a978f;
}

.meta-list a {
    position: relative;
    z-index: 2;
    color: inherit;
}

.meta-list a:hover {
    color: var(--brand-700);
}

.meta-list__strong {
    font-weight: 600;
    color: var(--ink);
}

.meta-list__green {
    color: var(--lime);
    font-weight: 500;
}

.meta-list__green .icon {
    color: var(--lime);
}

/* Brand Cards */
.brand-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    color: inherit;
    transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease;
}

.brand-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.brand-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-card__body {
    min-width: 0;
}

.brand-card__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.brand-card__meta {
    font-size: 0.8125rem;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}

.brand-card .price-pair {
    margin-top: auto;
}

.price-empty {
    margin-top: auto;
    padding: 14px;
    border-radius: var(--radius-md);
    background: var(--surface-2);
    font-size: 0.8125rem;
    color: var(--text-3);
}

/* City Cards */
.city-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: inherit;
    transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease;
}

.city-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-400);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.city-card__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.5;
    color: var(--ink);
}

.city-card__count {
    font-size: 0.8125rem;
    color: var(--text-3);
}

.city-card__count strong {
    margin-right: 2px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.city-card__bar {
    height: 4px;
    margin-top: 10px;
    border-radius: 4px;
    background: var(--surface-2);
    overflow: hidden;
}

.city-card__bar i {
    display: block;
    height: 100%;
    min-width: 4px;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
}

/* Rank Lists */
.rank-item {
    display: grid;
    grid-template-columns: 28px auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: inherit;
    transition: background-color 0.15s ease;
}

.rank-list li + li .rank-item {
    border-top: 1px solid var(--border);
}

.rank-item:hover {
    background: var(--surface-2);
    color: inherit;
}

.rank-item__no {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface-2);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-2);
    font-variant-numeric: tabular-nums;
}

.rank-item.is-top .rank-item__no {
    background: var(--accent);
    color: #fff;
}

.rank-item__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: var(--ink);
}

.rank-item__name small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    color: var(--text-3);
}

.rank-item__end {
    text-align: right;
}

.rank-item__end small {
    display: block;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}

.rank-list--lg .rank-item {
    grid-template-columns: 32px auto minmax(0, 1fr) auto 18px;
    gap: 14px;
    padding: 14px 20px;
}

.rank-list--lg .rank-item > .icon {
    color: #9aa69f;
    transition: transform 0.2s var(--ease), color 0.2s ease;
}

.rank-list--lg .rank-item:hover > .icon {
    color: var(--accent);
    transform: translateX(3px);
}

/* Podium (en ucuz ilk 3) */
.podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.podium-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-xs);
    color: inherit;
    transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease;
}

.podium-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.podium-card--first {
    border-color: var(--accent-line);
    background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 70%);
    box-shadow: 0 0 0 1px var(--accent-line), var(--shadow-sm);
}

.podium-card__rank {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-3);
}

.podium-card--first .podium-card__rank {
    color: var(--accent);
}

.podium-card__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.podium-card__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.0625rem;
}

.podium-card__price {
    margin-top: auto;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.podium-card__price small {
    margin-left: 4px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-3);
}

.podium-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 0.8125rem;
    color: var(--text-3);
}

/* Segmented control */
.segmented {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-2);
}

.segmented__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-2);
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.segmented__item:hover {
    color: var(--ink);
}

.segmented__item.is-active {
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

/* Tables */
.table-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.panel > .table-container {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

th {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
    color: var(--text-3);
    white-space: nowrap;
}

td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: middle;
}

tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr {
    transition: background-color 0.12s ease;
}

tbody tr:hover {
    background: #f8faf9;
}

th.is-num,
td.is-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

th.is-center,
td.is-center {
    text-align: center;
}

.th-sort {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
    cursor: pointer;
}

.th-sort:hover {
    color: var(--ink);
}

.th-sort .icon {
    width: 13px;
    height: 13px;
    opacity: 0.55;
}

th[aria-sort="ascending"] .th-sort,
th[aria-sort="descending"] .th-sort {
    color: var(--brand-800);
}

th[aria-sort="ascending"] .th-sort .icon,
th[aria-sort="descending"] .th-sort .icon {
    opacity: 1;
}

.cell-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--ink);
    font-weight: 600;
}

a.cell-brand:hover {
    color: var(--brand-800);
}

.cell-title {
    display: block;
    font-weight: 600;
    color: var(--ink);
}

a.cell-title:hover {
    color: var(--brand-800);
}

.cell-sub {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    font-size: 0.8125rem;
    color: var(--text-3);
}

.cell-sub .icon {
    width: 13px;
    height: 13px;
}

.cell-sub--green {
    color: var(--lime);
}

/* Fiyatın en ucuz-en pahalı aralığındaki yerini gösteren çubuk */
.pbar {
    display: block;
    width: 100%;
    max-width: 120px;
    height: 4px;
    margin-top: 6px;
    border-radius: 4px;
    background: var(--surface-2);
    overflow: hidden;
}

.pbar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--brand-500);
}

.pbar--dc i {
    background: var(--dc);
}

td.is-num .pbar {
    margin-left: auto;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.pagination a:hover {
    border-color: var(--brand-400);
    background: var(--brand-50);
    color: var(--brand-800);
}

.pagination .active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
    font-weight: 600;
}

.pagination .pagination__gap {
    min-width: 24px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--text-3);
}

/* Breadcrumb & Page Head */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-3);
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-2);
}

.breadcrumb a:hover {
    color: var(--brand-700);
}

.breadcrumb .icon {
    width: 14px;
    height: 14px;
}

.breadcrumb > .icon {
    opacity: 0.6;
}

.breadcrumb [aria-current] {
    max-width: 44ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: var(--ink);
}

.page-head {
    position: relative;
    padding: 20px 0 clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.page-head::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(44rem 18rem at 100% 0%, rgba(16, 185, 129, 0.11), transparent 70%);
    pointer-events: none;
}

.page-head.theme-dc::before {
    background: radial-gradient(44rem 18rem at 100% 0%, rgba(31, 79, 216, 0.1), transparent 70%);
}

.page-head > .container {
    position: relative;
}

.page-head__row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 32px;
    margin-top: 18px;
}

.page-head__main {
    min-width: 0;
    flex: 1 1 420px;
}

.page-head__lede {
    margin-top: 8px;
    max-width: 62ch;
    font-size: 1.0625rem;
    color: var(--text-2);
}

.page-head__lede strong {
    color: var(--ink);
}

.page-head__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.page-head__identity {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
}

.page-head__identity > div {
    min-width: 0;
}

.page-head__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 12px;
    font-size: 0.9375rem;
    color: var(--text-2);
}

.page-head__meta > span,
.page-head__meta > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.page-head__meta .icon {
    color: #8a978f;
}

.page-head__brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-700);
}

/* Stat strip */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--border);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.stat-strip > div {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
    padding: 16px 20px;
    background: var(--surface);
}

.stat-strip dt {
    font-size: 0.8125rem;
    color: var(--text-3);
}

.stat-strip dd {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.stat-strip dd small {
    margin-left: 2px;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-3);
}

/* Hero (ana sayfa) */
.hero {
    position: relative;
    isolation: isolate;
    padding: clamp(3rem, 2rem + 5vw, 5.5rem) 0 clamp(3rem, 2rem + 5vw, 5.5rem);
    background: var(--night);
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(56rem 30rem at 88% -8%, rgba(16, 185, 129, 0.34), transparent 62%),
        radial-gradient(40rem 26rem at -8% 108%, rgba(31, 79, 216, 0.3), transparent 62%),
        linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 65% 15%, #000 15%, transparent 75%);
    mask-image: radial-gradient(ellipse 85% 75% at 65% 15%, #000 15%, transparent 75%);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 6px 14px 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--on-night);
}

.pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-400);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--brand-400);
    animation: pulse 2.2s ease-out infinite;
}

.hero__title {
    font-size: clamp(2.125rem, 1.3rem + 3.6vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.028em;
    word-spacing: 0.06em;
    color: #fff;
}

.hero__title em {
    font-style: normal;
    background: linear-gradient(90deg, var(--brand-300), #a5f3d0 55%, #9ad5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--brand-300);
}

.hero__lede {
    margin-top: 20px;
    max-width: 52ch;
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
    color: var(--on-night);
}

.hero__lede strong {
    color: #fff;
}

.hero-search {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 560px;
    margin-top: 30px;
    padding: 6px 6px 6px 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 24px 48px -16px rgba(0, 0, 0, 0.55);
}

.hero-search:focus-within {
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.55), 0 24px 48px -16px rgba(0, 0, 0, 0.55);
}

.hero-search > .icon {
    width: 20px;
    height: 20px;
    color: var(--text-3);
}

.hero-search input[type="search"] {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 1rem;
}

.hero-search input[type="search"]:focus {
    box-shadow: none;
}

.hero__quick {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.8125rem;
    color: var(--on-night-muted);
}

.hero__quick .chip {
    padding: 5px 12px;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.86);
}

.hero__quick .chip:hover {
    border-color: var(--brand-400);
    background: rgba(52, 211, 153, 0.14);
    color: #fff;
}

.hero__quick .chip .icon {
    color: var(--brand-300);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 44px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--night-line);
}

.hero-stats > div {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
}

.hero-stats dt {
    font-size: 0.8125rem;
    color: var(--on-night-muted);
}

.hero-stats dd {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

/* Piyasa özeti kartı */
.market-card {
    padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 32px 64px -24px rgba(0, 0, 0, 0.6);
}

.market-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.market-card__head h2 {
    font-size: 1.0625rem;
    color: #fff;
}

.market-card__head span {
    font-size: 0.8125rem;
    color: var(--on-night-muted);
}

.market-row {
    --tone: var(--brand-300);
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-lg);
    background: rgba(4, 19, 13, 0.42);
}

.market-row--dc {
    --tone: var(--dc-bright);
}

.market-row + .market-row {
    margin-top: 12px;
}

.market-row__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.market-row__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--on-night);
}

.market-row__label .type-tag {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    color: var(--tone);
}

.market-row__avg {
    text-align: right;
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.market-row__avg small {
    display: block;
    margin-top: 6px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--on-night-muted);
}

.range {
    margin-top: 18px;
}

.range__track {
    position: relative;
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--tone), rgba(255, 255, 255, 0.16));
}

.range__marker {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--night-2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%);
}

.range__labels {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--on-night-muted);
}

.range__labels strong {
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.market-row__best {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.14);
    font-size: 0.8125rem;
    color: var(--on-night);
}

.market-row__best:hover {
    color: #fff;
}

.market-row__best strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--tone);
}

.market-row__best .icon:last-child {
    margin-left: auto;
    transition: transform 0.2s var(--ease);
}

.market-row__best:hover .icon:last-child {
    transform: translateX(3px);
}

.market-card__cta {
    margin-top: 16px;
}

/* CTA Band */
.cta-band {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 32px;
    padding: clamp(1.75rem, 1.25rem + 2.5vw, 3rem);
    border-radius: var(--radius-xl);
    background: var(--night-2);
    color: #fff;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(36rem 20rem at 100% 0%, rgba(16, 185, 129, 0.4), transparent 65%),
        radial-gradient(28rem 18rem at 0% 100%, rgba(31, 79, 216, 0.28), transparent 65%);
}

.cta-band h2 {
    color: #fff;
}

.cta-band p {
    margin-top: 8px;
    max-width: 52ch;
    color: var(--on-night);
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Detail Pages */
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    align-items: start;
    gap: 24px;
}

.detail-main,
.detail-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    min-width: 0;
}

.detail-side {
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.price-card {
    position: relative;
    padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--accent);
}

.price-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-card__head h2,
.price-card__head h3 {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--text-2);
}

.price-card__value {
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.price-card__value small {
    margin-left: 6px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-3);
}

.price-card__empty {
    margin-top: 16px;
    font-size: 1.0625rem;
    color: var(--text-3);
}

.price-card__note {
    margin-top: 14px;
    font-size: 0.875rem;
    color: var(--text-2);
}

.price-card__foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-strong);
    font-size: 0.875rem;
    color: var(--text-2);
}

.price-card__foot .icon {
    color: var(--accent);
}

.price-card__foot strong {
    color: var(--ink);
}

.kv > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
}

.kv > div:first-child {
    padding-top: 0;
}

.kv > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.kv dt {
    color: var(--text-2);
}

.kv dd {
    font-weight: 600;
    text-align: right;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.socket-list > li {
    padding: 16px 20px;
}

.socket-list > li + li {
    border-top: 1px solid var(--border);
}

.socket {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.socket__title {
    font-weight: 600;
    color: var(--ink);
}

.socket__sub {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 0.8125rem;
    color: var(--text-3);
}

.socket__sub span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.socket__sub .icon {
    width: 13px;
    height: 13px;
}

.socket__power {
    text-align: right;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.socket__power small {
    margin-left: 2px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-3);
}

.socket__power--none {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text-3);
}

.socket__numbers {
    margin-top: 12px;
    font-size: 0.8125rem;
}

.socket__numbers summary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--text-2);
    cursor: pointer;
    list-style: none;
}

.socket__numbers summary::-webkit-details-marker {
    display: none;
}

.socket__numbers summary:hover {
    color: var(--brand-700);
}

.socket__numbers summary .icon {
    width: 14px;
    height: 14px;
    transition: transform 0.2s var(--ease);
}

.socket__numbers[open] summary .icon {
    transform: rotate(180deg);
}

.socket__numbers ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.socket__numbers li {
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--surface-2);
    font-size: 0.75rem;
    color: var(--text-2);
    font-variant-numeric: tabular-nums;
}

.cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.cost-tile {
    padding: 18px 20px;
    border: 1px solid var(--accent-line);
    border-radius: 14px;
    background: var(--accent-soft);
}

.cost-tile__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-2);
}

.cost-tile__value {
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.cost-tile__calc {
    margin-top: 4px;
    font-size: 0.8125rem;
    color: var(--text-3);
    font-variant-numeric: tabular-nums;
}

.cost-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: center;
    gap: 20px 28px;
}

.cost-row + .cost-row {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.cost-row h3 {
    font-size: 1.0625rem;
}

.cost-note {
    margin-top: 24px;
}

.side-title {
    margin-bottom: 14px;
    font-size: 1.0625rem;
}

.side-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.panel__lede {
    margin-bottom: 16px;
    color: var(--text-2);
}

.location-status {
    min-height: 1.5em;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-3);
}

.location-status.is-success {
    color: var(--brand-700);
}

.location-status.is-error {
    color: var(--danger);
}

.callout {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-2);
    font-size: 0.875rem;
    color: var(--text-2);
}

.callout > .icon {
    margin-top: 2px;
    color: var(--brand-700);
}

.prose {
    max-width: 78ch;
    color: var(--text-2);
    line-height: 1.75;
}

.prose > * + * {
    margin-top: 1em;
}

.prose h2,
.prose h3,
.prose h4 {
    margin-top: 1.6em;
}

.prose > :first-child {
    margin-top: 0;
}

.prose strong {
    color: var(--ink);
}

.prose ul {
    padding-left: 1.25rem;
}

.prose li + li {
    margin-top: 0.35em;
}

.prose-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 40px;
}

.prose-cols h2,
.prose-cols h3 {
    font-size: 1.25rem;
}

.map-frame {
    position: relative;
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}

.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* States */
.empty-state {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: clamp(2.5rem, 2rem + 3vw, 4rem) 24px;
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-align: center;
    color: var(--text-2);
}

.empty-state__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 6px;
    border-radius: 16px;
    background: var(--brand-50);
    color: var(--brand-700);
}

.empty-state__icon .icon {
    width: 26px;
    height: 26px;
}

.empty-state h2,
.empty-state h3 {
    font-size: 1.25rem;
}

.empty-state p {
    max-width: 46ch;
}

.empty-state .btn,
.empty-state__actions {
    margin-top: 10px;
}

.empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.empty-state__actions .btn {
    margin-top: 0;
}

.empty-state--plain {
    border: 0;
    background: none;
}

.empty-state--danger .empty-state__icon {
    background: var(--danger-soft);
    color: var(--danger);
}

.loading {
    width: 36px;
    height: 36px;
    margin: 0 auto;
    border: 3px solid var(--border);
    border-top-color: var(--brand-600);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    font-size: 0.9375rem;
}

.alert > .icon {
    margin-top: 3px;
}

.alert--success {
    border-color: var(--brand-200);
    background: var(--brand-50);
    color: var(--brand-800);
}

.alert--danger {
    border-color: var(--danger-line);
    background: var(--danger-soft);
    color: var(--danger);
}

.alert--warning {
    border-color: var(--warning-line);
    background: var(--warning-soft);
    color: var(--warning);
}

.input-compact {
    max-width: 200px;
}

.form-actions {
    margin-top: 24px;
    text-align: center;
}

/* Admin formları */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px 20px;
}

.form-grid__wide {
    grid-column: 1 / -1;
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
}

.check input {
    width: 18px;
    height: 18px;
    flex: none;
    accent-color: var(--brand-600);
    cursor: pointer;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.inline-form {
    display: flex;
    gap: 10px;
}

.inline-form .input-icon {
    flex: 1;
    min-width: 0;
}

.table-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-heading {
    margin-bottom: 14px;
    font-size: 1.125rem;
}

/* Paneldeki "düzeltilmesi gerekenler" kartları */
.todo-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 4px 14px;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    color: inherit;
    transition: transform 0.2s var(--ease), box-shadow 0.2s ease, border-color 0.2s ease;
}

.todo-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.todo-card__icon {
    display: grid;
    place-items: center;
    grid-row: span 3;
    align-self: start;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-50);
    color: var(--brand-700);
}

.todo-card__icon .icon {
    width: 20px;
    height: 20px;
}

.todo-card--warn .todo-card__icon {
    background: var(--warning-soft);
    color: var(--warning);
}

.todo-card__count {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.todo-card__label {
    font-size: 0.875rem;
    color: var(--text-2);
}

.todo-card .link-arrow {
    margin-top: 6px;
}

.code-block {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface-2);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--ink);
    overflow-x: auto;
}

/* Kurumsal sayfalar */
.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 264px;
    align-items: start;
    gap: 24px;
}

.page-layout .prose {
    max-width: none;
}

.page-layout .prose h2 {
    font-size: 1.25rem;
}

.page-nav {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    padding: 18px;
}

.page-nav h2 {
    margin-bottom: 10px;
    padding: 0 10px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
}

.page-nav__list {
    display: grid;
    gap: 2px;
}

.page-nav__list a {
    display: block;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-2);
}

.page-nav__list a:hover {
    background: var(--surface-2);
    color: var(--ink);
}

.page-nav__list a.is-active {
    background: var(--brand-50);
    color: var(--brand-800);
    font-weight: 600;
}

.contact-card {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px 14px 14px;
    border: 1px solid var(--brand-200);
    border-radius: 14px;
    background: var(--brand-50);
}

.contact-card__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--surface);
    color: var(--brand-700);
}

.contact-card__icon .icon {
    width: 20px;
    height: 20px;
}

.contact-card__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-3);
    line-height: 1.4;
}

.contact-card a {
    font-size: 1.0625rem;
    font-weight: 600;
}

/* Reklam alanı (AdSense) */
.ad-slot {
    margin: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0;
    text-align: center;
    overflow: hidden;
}

.ad-slot__label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-3);
}

/* Auth (admin giriş) */
.auth {
    display: grid;
    place-items: center;
    flex: 1;
    padding: 48px 24px;
}

.auth__card {
    width: min(100%, 420px);
    padding: clamp(1.5rem, 1rem + 3vw, 2.5rem);
}

.auth__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.auth__card h1 {
    font-size: 1.5rem;
    text-align: center;
}

.auth__lede {
    margin: 6px 0 24px;
    text-align: center;
    color: var(--text-2);
}

.auth__form {
    display: grid;
    gap: 16px;
}

.auth__foot {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    text-align: center;
    color: var(--text-3);
}

.auth__foot p + p {
    margin-top: 10px;
}

/* Footer */
.site-footer {
    margin-top: clamp(1rem, 0.5rem + 2vw, 2rem);
    padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0 28px;
    background: var(--night);
    font-size: 0.9375rem;
    color: var(--on-night);
}

.site-footer--simple {
    padding: 22px 0;
    text-align: center;
    font-size: 0.875rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 32px 48px;
}

.site-footer .logo {
    color: #fff;
}

.site-footer .logo__text span {
    color: var(--brand-300);
}

.site-footer__about {
    margin-top: 16px;
    max-width: 44ch;
    color: var(--on-night-muted);
}

.site-footer h2 {
    margin-bottom: 14px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__links {
    display: grid;
    gap: 10px;
}

.site-footer__links a {
    color: var(--on-night);
    transition: color 0.15s ease;
}

.site-footer__links a:hover {
    color: #fff;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
    padding-top: 22px;
    border-top: 1px solid var(--night-line);
    font-size: 0.8125rem;
    color: var(--on-night-muted);
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detail-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

@media (min-width: 961px) {
    /* Masaüstünde açılır menü üzerine gelince de açılır */
    .has-dropdown:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

@media (max-width: 960px) {
    .nav-toggle {
        display: grid;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-height: calc(100vh - var(--header-h));
        margin: 0;
        padding: 12px 16px 20px;
        border-bottom: 1px solid var(--border);
        background: var(--surface);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .site-nav__item--home {
        display: block;
    }

    .site-nav__link {
        justify-content: space-between;
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }

    .site-nav__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dropdown {
        position: static;
        display: none;
        min-width: 0;
        padding: 0 0 4px 8px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown::before {
        display: none;
    }

    .has-dropdown.is-open .dropdown {
        display: block;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-grid,
    .page-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-side,
    .page-nav {
        position: static;
    }

    .map-frame {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 900px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .podium,
    .prose-cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid-auto {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .filter-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
    }

    .toolbar__search {
        width: 100%;
    }

    .hero-search {
        padding-left: 14px;
    }

    .hero-search .btn {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-stats {
        gap: 16px 28px;
    }

    .market-row__avg {
        font-size: 1.5rem;
    }

    .page-head__identity {
        gap: 14px;
    }

    .page-head__identity .avatar--xl {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        font-size: 1.125rem;
    }

    .page-head__actions,
    .page-head__actions .btn,
    .cta-band__actions,
    .cta-band__actions .btn {
        width: 100%;
    }

    .segmented {
        display: flex;
        width: 100%;
    }

    .segmented__item {
        flex: 1;
        justify-content: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    th,
    td {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hide-sm {
        display: none !important;
    }

    .rank-item,
    .rank-list--lg .rank-item {
        gap: 10px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .rank-list--lg .rank-item {
        grid-template-columns: 28px auto minmax(0, 1fr) auto;
    }

    .rank-list--lg .rank-item > .icon {
        display: none;
    }

    .cost-row,
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-footer .btn {
        flex: 1 1 100%;
    }

    .socket {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .socket__power {
        grid-column: 2;
        text-align: left;
    }

    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 400px) {
    .filter-bar,
    .grid-auto {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .nav-toggle,
    .cta-band,
    .map-frame {
        display: none !important;
    }

    body {
        background: #fff;
    }
}
