/* Karmin Lastik — temel tasarım sistemi (mağaza + panel ortak)
   Renkler logodan: lastik siyahı + yarış kırmızısı. Önek: kl- yok; sınıflar kısa ve BEM benzeri. */
:root {
    --red: #E3141B;
    --red-600: #C60F15;
    --red-700: #A10C11;
    --red-50: #FFF1F1;
    --red-100: #FFE0E1;

    --ink: #0E0F12;
    --ink-2: #1A1C21;
    --ink-3: #2A2D34;
    --asphalt: #14161A;

    --g-900: #1F2329;
    --g-700: #424852;
    --g-600: #5B626D;
    --g-500: #7A818C;
    --g-400: #A2A8B1;
    --g-300: #CDD1D7;
    --g-200: #E4E7EB;
    --g-100: #F1F3F5;
    --g-50:  #F7F8FA;
    --white: #FFFFFF;

    --sun: #F59E0B;
    --snow: #0EA5E9;
    --all: #10B981;
    --ok: #12A150;
    --warn: #D97706;

    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --display: "Barlow Semi Condensed", "Inter", system-ui, sans-serif;

    --r-sm: 8px;
    --r: 12px;
    --r-lg: 18px;
    --r-xl: 26px;
    --sh-1: 0 1px 2px rgba(16, 18, 22, .06), 0 1px 1px rgba(16, 18, 22, .04);
    --sh-2: 0 6px 18px -6px rgba(16, 18, 22, .14), 0 2px 6px rgba(16, 18, 22, .05);
    --sh-3: 0 24px 60px -18px rgba(16, 18, 22, .35), 0 8px 20px -8px rgba(16, 18, 22, .12);
    --ring: 0 0 0 4px rgba(227, 20, 27, .16);

    --wrap: 1240px;
    --gutter: 16px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
    margin: 0;
    font: 400 15px/1.6 var(--font);
    color: var(--g-900);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--g-200); margin: 12px 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }

/* Simgeler */
.ic { width: 20px; height: 20px; flex: none; }
.ic--xs { width: 14px; height: 14px; }
.ic--end { margin-left: auto; width: 16px; height: 16px; color: var(--g-400); }

/* Başlık yardımcıları */
.eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font: 700 12px/1 var(--font); letter-spacing: .12em; text-transform: uppercase;
    color: var(--red);
}
.eyebrow .ic { width: 14px; height: 14px; }
.eyebrow--dark { color: #FF5A5F; }

/* Düğmeler */
.btn {
    --bg: var(--ink); --fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px;
    font: 600 15px/1 var(--font);
    background: var(--bg); color: var(--fg);
    border: 1px solid transparent; border-radius: var(--r);
    transition: transform .15s var(--ease), background .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn--primary { --bg: var(--red); box-shadow: 0 8px 20px -8px rgba(227, 20, 27, .7); }
.btn--primary:hover { --bg: var(--red-600); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--g-300); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--lg { min-height: 54px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }

.icon-btn {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 42px; min-width: 42px; padding: 0 10px; justify-content: center;
    border-radius: var(--r); color: var(--g-900); font-weight: 500; font-size: 14px;
    transition: background .2s;
    position: relative;
}
.icon-btn:hover { background: var(--g-100); }
.badge {
    position: absolute; top: 3px; left: 24px;
    min-width: 18px; height: 18px; padding: 0 5px;
    display: grid; place-items: center;
    background: var(--red); color: #fff; font: 700 11px/1 var(--font); border-radius: 99px;
    border: 2px solid #fff;
}

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--red); }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
a:hover .link-arrow .ic, .link-arrow:hover .ic { transform: translateX(4px); }

/* Form alanları */
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font: 600 12px/1 var(--font); color: var(--g-600); letter-spacing: .02em; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 48px; padding: 0 14px;
    background: var(--white); border: 1.5px solid var(--g-200); border-radius: var(--r);
    font-size: 15px; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}
.field select {
    padding-right: 36px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235B626D' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
}
.field input:hover, .field select:hover { border-color: var(--g-300); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: var(--ring); }
.field--lg input { min-height: 54px; font-size: 16px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
    border-radius: 99px; background: var(--g-100); font-weight: 600; font-size: 14px;
    font-variant-numeric: tabular-nums; transition: background .2s, color .2s;
}
.pill:hover { background: var(--ink); color: #fff; }
.pill--ghost { background: #fff; border: 1px solid var(--g-200); }

.alert {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 12px 14px; border-radius: var(--r);
    background: var(--red-50); color: var(--red-700); border: 1px solid var(--red-100);
    font-size: 14px; font-weight: 500;
}
.alert .ic { width: 18px; height: 18px; margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Görünürlük yardımcıları */
@media (max-width: 767px) { .hide-sm { display: none !important; } }
@media (min-width: 1024px) { .hide-lg { display: none !important; } }
@media (max-width: 1023px) { .only-lg { display: none !important; } }
