/* ==========================================================================
   Supploria — koyu / krem tema
   Renkleri değiştirmek için yalnızca :root içindeki değişkenleri düzenleyin.
   ========================================================================== */

:root {
    --ink: #0f172a;          /* koyu metin / koyu buton */
    --ink-2: #1e293b;
    --ink-3: #334155;
    --cream: #f8fafc;        /* sayfa zemini (açık) */
    --cream-2: #f1f5f9;
    --white: #ffffff;
    --emerald: #0f9d6b;      /* tek vurgu rengi */
    --emerald-dark: #0b7f56;
    --amber: #f0a73a;        /* yalnızca rozet/uyarı */
    --text: #0f172a;
    --muted: #64748b;
    --line: #e5e9f0;
    --danger: #b83a2e;
    --danger-bg: #fbeceb;
    --ok-bg: #e7f6ef;
    --warn-bg: #fdf3e1;

    --font-serif: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius: 12px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--emerald-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin: 0 0 .6em;
    color: inherit;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--ink);
    color: var(--cream);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header .bar {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 68px; gap: 24px;
}
.brand {
    font-family: var(--font-serif);
    font-size: 1.4rem; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: var(--cream);
}
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--amber); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: rgba(247, 243, 234, .85); font-size: .9rem; letter-spacing: .02em; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; gap: 4px; font-size: .8rem; }
.lang a {
    padding: 3px 8px; border-radius: 6px; color: rgba(247, 243, 234, .6);
    border: 1px solid transparent;
}
.lang a.active { color: #fff; border-color: rgba(255, 255, 255, .3); }

.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.nav-burger span, .nav-burger::before, .nav-burger::after {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--cream);
}
.nav-burger::before { top: 0; }
.nav-burger span { top: 9px; }
.nav-burger::after { bottom: 0; }

@media (max-width: 860px) {
    .nav-burger { display: block; }
    .nav-wrap {
        display: none; position: absolute; top: 68px; left: 0; right: 0;
        background: var(--ink); padding: 18px 24px 24px;
        flex-direction: column; align-items: flex-start; gap: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
    .nav-toggle:checked ~ .nav-wrap { display: flex; }
    .nav, .nav-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (min-width: 861px) {
    .nav-wrap { display: flex; align-items: center; gap: 32px; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
    font: 600 .95rem var(--font-sans); letter-spacing: .01em;
    cursor: pointer; transition: background .15s, border-color .15s, transform .05s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-dark); }
.btn-outline { background: transparent; color: var(--cream); border-color: rgba(247, 243, 234, .45); }
.btn-outline:hover { border-color: var(--cream); background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-2); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: 0; color: rgba(247, 243, 234, .85); font: inherit; font-size: .9rem; cursor: pointer; }
.btn-link:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: var(--cream);
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(30, 158, 106, .28), transparent 60%),
        radial-gradient(700px 420px at -5% 110%, rgba(233, 162, 59, .16), transparent 60%),
        var(--ink);
    padding: 88px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .kicker {
    display: inline-block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--amber); margin-bottom: 18px;
}
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.1rem; color: rgba(247, 243, 234, .82); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 14px; }
.hero .note { font-size: .85rem; color: rgba(247, 243, 234, .6); }

@media (max-width: 900px) {
    .hero { padding: 56px 0 64px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Örnek teklif kartı */
.sample {
    background: var(--cream); color: var(--text); border-radius: 14px;
    padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    position: relative;
}
.sample .tag {
    position: absolute; top: -12px; right: 18px; background: var(--amber); color: var(--ink);
    font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px;
}
.sample .req { padding-bottom: 14px; border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.sample .req small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.sample .req strong { font-family: var(--font-serif); font-size: 1.35rem; }
.sample .offer {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px;
    padding: 12px 14px; margin-bottom: 10px;
}
.sample .offer.best { border-color: var(--emerald); box-shadow: 0 0 0 2px rgba(30, 158, 106, .15); }
.sample .offer .who { font-weight: 600; font-size: .92rem; }
.sample .offer .when { color: var(--muted); font-size: .8rem; }
.sample .offer .price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.sample .offer.best .price { color: var(--emerald-dark); }
.sample .badge-best {
    display: inline-block; background: var(--amber); color: var(--ink);
    font-size: .65rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: 6px;
    text-transform: uppercase; letter-spacing: .05em;
}
.sample .disclaimer { font-size: .72rem; color: var(--muted); margin: 6px 0 0; }

/* ---------- Bölümler ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--ink); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); }
.section-dark .section-head p { color: rgba(247, 243, 234, .7); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.step .num {
    width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--amber);
    font-family: var(--font-serif); font-weight: 700; display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.panel-card.dark { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); color: var(--cream); }
.panel-card.dark h3 { color: #fff; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
    border-left: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald); transform: rotate(-45deg);
}

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px 18px; font-family: var(--font-serif); font-size: 1.1rem; text-align: center;
    transition: border-color .15s, transform .15s;
}
.cat:hover { border-color: var(--emerald); transform: translateY(-2px); }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust .item { border-top: 2px solid var(--amber); padding-top: 18px; }
.trust .item p { color: rgba(247, 243, 234, .75); }

.cta-band { background: var(--ink-2); color: var(--cream); text-align: center; padding: 72px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(247, 243, 234, .75); max-width: 560px; margin: 0 auto 24px; }

@media (max-width: 900px) {
    .section { padding: 56px 0; }
    .steps, .two-col, .trust { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Formlar ---------- */
.page { padding: 56px 0 80px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 34px; box-shadow: var(--shadow);
}
.card + .card { margin-top: 22px; }
.form-title { margin-bottom: 6px; }
.form-sub { color: var(--muted); margin-bottom: 26px; }

.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 5px; }
.input, select.input, textarea.input {
    width: 100%; padding: 11px 13px; font: inherit; color: var(--text);
    background: #fff; border: 1px solid #cbd5e1; border-radius: 8px;
}
.input:focus { outline: 2px solid rgba(30, 158, 106, .35); border-color: var(--emerald); }
textarea.input { min-height: 90px; resize: vertical; }
.has-error .input { border-color: var(--danger); }
.error { color: var(--danger); font-size: .82rem; margin-top: 5px; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .row-2 { grid-template-columns: 1fr; } }

.fieldset-title {
    font-family: var(--font-serif); font-size: 1.15rem; margin: 28px 0 14px;
    padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.fieldset-title:first-of-type { margin-top: 0; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin-bottom: 8px; }
.check input { margin-top: 5px; accent-color: var(--emerald); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.choice a.option {
    display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 32px; color: var(--text); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.choice a.option:hover { border-color: var(--emerald); transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.choice a.option h3 { margin-bottom: 8px; }
.choice a.option .go { color: var(--emerald-dark); font-weight: 600; font-size: .9rem; }
@media (max-width: 700px) { .choice { grid-template-columns: 1fr; } }

/* ---------- Mesajlar / rozetler ---------- */
.flash { padding: 14px 18px; border-radius: var(--radius); margin: 0 0 22px; font-size: .95rem; }
.flash-ok { background: var(--ok-bg); border: 1px solid #b8e2cc; color: #0f5a3a; }
.flash-warn { background: var(--warn-bg); border: 1px solid #f0d49a; color: #7a4f08; }
.flash-bad { background: var(--danger-bg); border: 1px solid #efc3be; color: #7e231a; }
.flash h3 { margin: 0 0 4px; font-size: 1.1rem; }
.flash p:last-child { margin-bottom: 0; }

.badge {
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    font-size: .75rem; font-weight: 600; letter-spacing: .02em;
}
.badge-pending { background: var(--warn-bg); color: #8a5a0a; }
.badge-approved { background: var(--ok-bg); color: #0f6a43; }
.badge-rejected { background: var(--danger-bg); color: var(--danger); }
.badge-type { background: #e8ecf1; color: #31465b; }

/* ---------- Panel ---------- */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }

.dl { display: grid; grid-template-columns: 170px 1fr; gap: 10px 18px; margin: 0; }
.dl dt { color: var(--muted); font-size: .88rem; }
.dl dd { margin: 0; font-weight: 500; word-break: break-word; }
@media (max-width: 560px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 10px; } }

.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.module { background: #fff; border: 1px dashed #cbd5e1; border-radius: var(--radius); padding: 22px; }
.module h3 { margin-bottom: 6px; }
.module .soon { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); font-weight: 700; }
@media (max-width: 800px) { .modules { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: block; color: var(--text); }
.stat:hover { border-color: var(--emerald); text-decoration: none; }
.stat .n { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.stat .l { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.stat.warn .n { color: var(--amber); }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { background: var(--cream-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.table td.wrap { white-space: normal; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.filters .input { width: auto; min-width: 150px; }
.filters .grow { flex: 1; min-width: 200px; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; font-size: .9rem; }
.pagination .disabled { color: #94a3b8; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.inline-form { display: inline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(247, 243, 234, .75); margin-top: auto; }
.site-footer .top { padding: 56px 0 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: rgba(247, 243, 234, .75); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .strip { background: #c9a97a; color: var(--ink); font-size: .82rem; }
.site-footer .strip .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
@media (max-width: 800px) { .site-footer .top { grid-template-columns: 1fr; gap: 28px; } }

/* Sayfa iskeleti: footer en altta kalsın */
.layout { min-height: 100vh; display: flex; flex-direction: column; }
.layout > main { flex: 1; }

.legal h2 { margin-top: 1.4em; }


/* ==========================================================================
   Panel (alıcı / tedarikçi) — kenar çubuğu + üst bar düzeni
   ========================================================================== */

[hidden] { display: none !important; }

.icon { flex: none; vertical-align: -3px; }

.panel-body { background: var(--cream); }
.shell { display: flex; min-height: 100vh; }

/* Kenar çubuğu */
.side {
    width: 248px; flex: none; background: var(--ink); color: var(--cream);
    display: flex; flex-direction: column; padding: 22px 16px 18px;
    position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 40;
}
.side .brand { padding: 4px 10px 22px; font-size: 1.25rem; }
.side-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.side-link {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px;
    color: rgba(247, 243, 234, .75); font-size: .93rem; font-weight: 500;
    transition: background .12s, color .12s;
}
.side-link:hover { background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.side-link.active { background: rgba(30, 158, 106, .18); color: #fff; box-shadow: inset 3px 0 0 var(--emerald); }
.side-cta {
    display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px;
    padding: 11px 14px; border-radius: 9px; background: var(--emerald); color: #fff; font-weight: 600; font-size: .93rem;
}
.side-cta:hover { background: var(--emerald-dark); text-decoration: none; color: #fff; }
.side-foot { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 14px; margin-top: 18px; }
.side-foot .who { display: flex; flex-direction: column; margin-bottom: 12px; padding: 0 4px; }
.side-foot .who strong { font-size: .9rem; color: #fff; line-height: 1.3; word-break: break-word; }
.side-foot .who span { font-size: .75rem; color: var(--amber); letter-spacing: .06em; text-transform: uppercase; }
.side-foot-row { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }

/* Ana alan */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
    position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px;
    min-height: 64px; padding: 0 28px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.topbar-title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.content { padding: 28px; max-width: 1240px; width: 100%; }

.bell {
    position: relative; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.bell:hover { border-color: var(--emerald); text-decoration: none; }
.bell-count {
    position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--amber); color: var(--ink); font-size: .68rem; font-weight: 700; line-height: 18px; text-align: center;
}

.side-toggle, .side-burger, .side-overlay { display: none; }

@media (max-width: 960px) {
    .side { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .2s ease; box-shadow: 8px 0 30px rgba(0, 0, 0, .3); }
    .side-toggle:checked ~ .shell .side { transform: none; }
    .side-toggle:checked ~ .shell .side-overlay { display: block; }
    .side-overlay { position: fixed; inset: 0; background: rgba(15, 27, 38, .5); z-index: 35; }
    .side-burger { display: block; position: relative; width: 26px; height: 18px; cursor: pointer; flex: none; }
    .side-burger span, .side-burger::before, .side-burger::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); }
    .side-burger::before { top: 0; }
    .side-burger span { top: 8px; }
    .side-burger::after { bottom: 0; }
    .topbar { padding: 0 16px; }
    .content { padding: 18px 16px 40px; }
}

/* Buton varyantları (açık zeminde) */
.btn-outline-dark { background: #fff; color: var(--ink); border-color: #cbd5e1; }
.btn-outline-dark:hover { border-color: var(--ink); background: #fff; }
.btn-outline-danger { background: #fff; color: var(--danger); border-color: #e3b3ad; }
.btn-outline-danger:hover { background: var(--danger-bg); }
.btn-link-danger { background: none; border: 0; padding: 0; color: var(--danger); font: inherit; font-size: .88rem; cursor: pointer; }
.btn-link-danger:hover { text-decoration: underline; }
.btn-link-plain { background: none; border: 0; padding: 0; color: var(--emerald-dark); font: inherit; font-size: .85rem; cursor: pointer; }
.btn-link-plain:hover { text-decoration: underline; }

/* Kartlar ve düzen */
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h3 { margin: 0; }
.card-flush { padding: 0; overflow: hidden; }
.two-col-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.two-col-panel > .card + .card { margin-top: 0; }
.two-col-panel .card { margin-bottom: 0; }
.two-col-wide { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .two-col-panel { grid-template-columns: 1fr; } }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .row-3 { grid-template-columns: 1fr; } }

.list-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0;
    border-top: 1px solid var(--line); color: var(--text);
}
.list-row:first-of-type { border-top: 0; }
.list-row:hover { text-decoration: none; background: rgba(0, 0, 0, .015); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #e8ecf1; color: #31465b; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.stat.accent { border-color: var(--amber); background: var(--warn-bg); }
.stat.accent .n { color: #b9741a; }

/* Formlar (panel) */
.inline-grid { display: grid; grid-template-columns: 2fr 1.3fr .8fr .9fr auto; gap: 14px; align-items: end; }
.inline-grid .field { margin-bottom: 0; }
.inline-grid-sm { grid-template-columns: 1.4fr 1fr auto; }
.field-btn { align-self: end; }
@media (max-width: 900px) { .inline-grid, .inline-grid-sm { grid-template-columns: 1fr 1fr; } .field-btn { grid-column: 1 / -1; } }
.input-sm { padding: 7px 10px; font-size: .9rem; }
td .input-sm { min-width: 96px; max-width: 130px; text-align: right; }
.table td.num, .table th.num { text-align: right; }
.table td.center, .table th.center { text-align: center; }
.table tfoot td { background: var(--cream-2); border-top: 2px solid var(--line); border-bottom: 0; }
.flash-list { margin: 6px 0 0; padding-left: 20px; }
.flash-list li { margin-bottom: 2px; }

/* Ürün tablosu: stok anahtarı ve kayıt durumu */
.row-muted td { opacity: .55; }
.switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #cbd5e1; border-radius: 999px; cursor: pointer; transition: background .15s; }
.switch span::before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; }
.switch input:checked + span { background: var(--emerald); }
.switch input:checked + span::before { transform: translateX(18px); }
.save-state { display: inline-block; min-width: 14px; margin-right: 8px; font-weight: 700; }
tr.saved .save-state { color: var(--emerald-dark); }
tr.failed .save-state { color: var(--danger); }
tr.saved td { background: var(--ok-bg); transition: background .3s; }
tr.failed td { background: var(--danger-bg); }

/* Durum rozetleri */
.badge-s-pending, .badge-s-submitted, .badge-s-expired { background: var(--warn-bg); color: #8a5a0a; }
.badge-s-confirmed, .badge-s-preparing { background: #e3eefb; color: #1f4d88; }
.badge-s-shipped { background: #ece6fa; color: #4b3a96; }
.badge-s-delivered, .badge-s-accepted, .badge-s-open, .badge-s-awarded { background: var(--ok-bg); color: #0f6a43; }
.badge-s-cancelled, .badge-s-rejected, .badge-s-withdrawn { background: #eef2f6; color: #64748b; }
.badge-s-expired { background: #eef2f6; color: #64748b; }

/* Sekmeler */
.tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 9px 16px; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active { color: var(--ink); border-bottom-color: var(--emerald); }

/* Talep formu */
.item-row { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.8fr 36px; gap: 12px; align-items: end; padding: 12px 0; border-top: 1px dashed var(--line); }
.item-row:first-child { border-top: 0; padding-top: 0; }
.item-row .field { margin-bottom: 0; }
.row-remove { width: 36px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; }
.row-remove:hover { color: var(--danger); border-color: var(--danger); }
@media (max-width: 860px) {
    .item-row { grid-template-columns: 1fr 1fr; }
    .item-row .field:first-child, .item-row .field:nth-child(4) { grid-column: 1 / -1; }
    .row-remove { grid-column: 1 / -1; width: 100%; height: 34px; }
}
.invite-box { margin: 10px 0 0 28px; padding: 14px 16px; background: var(--cream); border: 1px solid var(--line); border-radius: 10px; }

/* Dışa aktarma çubuğu */
.export-bar { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 14px; }
.export-title { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.export-fields { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.export-fields .field { margin-bottom: 0; }
.export-fields .input { min-width: 150px; }

/* Teklif karşılaştırma tablosu */
.compare-wrap { margin-bottom: 20px; }
table.compare { min-width: 100%; }
.compare th, .compare td { vertical-align: top; }
.compare .sticky-col { position: sticky; left: 0; background: #fff; z-index: 2; min-width: 190px; border-right: 1px solid var(--line); }
.compare thead .sticky-col { background: var(--cream-2); }
.compare tfoot .sticky-col { background: var(--cream-2); }
.compare .offer-col { min-width: 190px; text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--text); }
.offer-pick { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; margin: 0; }
.offer-pick input { margin-top: 4px; accent-color: var(--emerald); }
.offer-pick strong { font-family: var(--font-serif); font-size: 1rem; }
.offer-state { display: block; margin-top: 6px; }
.fav { color: var(--amber); margin-left: 4px; }
.compare .is-accepted { background: var(--ok-bg); }
.compare .is-rejected { opacity: .6; }
.price-cell .unit { font-weight: 600; }
.price-cell.best { background: var(--ok-bg); }
.price-cell.best .unit { color: var(--emerald-dark); }
.best-tag { display: inline-block; margin-top: 4px; background: var(--amber); color: var(--ink); font-size: .66rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.late { color: var(--danger); }
.compare .total-row td { font-size: 1.02rem; }

/* Tedarikçi kartları */
.supplier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1100px) { .supplier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .supplier-grid { grid-template-columns: 1fr; } }
.supplier-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; transition: border-color .15s, box-shadow .15s; }
.supplier-card:hover { border-color: var(--emerald); box-shadow: var(--shadow); }
.supplier-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.supplier-top h3 { margin: 0 0 2px; font-size: 1.15rem; }
.star { background: none; border: 0; padding: 4px; cursor: pointer; color: #94a3b8; }
.star:hover { color: var(--amber); }
.star.on { color: var(--amber); }
.star.on .icon { fill: var(--amber); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--cream-2); color: #334155; font-size: .75rem; padding: 3px 10px; border-radius: 999px; }
.supplier-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.special-tag { color: #b9741a; font-weight: 600; }

/* Sipariş durum çizgisi */
.timeline { display: flex; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 22px; overflow-x: auto; }
.tl-step { flex: 1; min-width: 96px; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; color: var(--muted); font-size: .82rem; text-align: center; }
.tl-step::before { content: ""; position: absolute; top: 8px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.tl-step:first-child::before { display: none; }
.tl-dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line); position: relative; z-index: 1; }
.tl-step.done { color: var(--text); }
.tl-step.done::before { background: var(--emerald); }
.tl-step.done .tl-dot { background: var(--emerald); border-color: var(--emerald); }
.tl-step.now { font-weight: 700; }
.tl-step.now .tl-dot { box-shadow: 0 0 0 4px rgba(30, 158, 106, .2); }

/* Bildirim listesi */
.note-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 22px; border-top: 1px solid var(--line); color: var(--text); }
.note-row:first-child { border-top: 0; }
.note-row:hover { background: var(--cream); text-decoration: none; }
.note-dot { width: 9px; height: 9px; border-radius: 50%; background: transparent; margin-top: 8px; flex: none; }
.note-row.unread { background: #fffdf6; font-weight: 600; }
.note-row.unread .note-dot { background: var(--emerald); }

@media print { .side, .topbar, .export-bar { display: none; } .content { padding: 0; } }

/* ==========================================================================
   Aşama 3 — menü ayracı, onay zinciri, ekip
   ========================================================================== */
.side-sep { margin: 16px 12px 4px; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(247, 243, 234, .4); }
.side-count { margin-left: auto; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: .72rem; font-weight: 700; text-align: center; }
.chain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.chain-step { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 0 0 20px; }
.chain-step:last-child { padding-bottom: 0; }
.chain-step::before { content: ""; position: absolute; left: 8px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.chain-step:last-child::before { display: none; }
.chain-dot { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--line); background: #fff; position: relative; z-index: 1; }
.chain-step.approved .chain-dot { background: var(--emerald); border-color: var(--emerald); }
.chain-step.approved::before { background: var(--emerald); }
.chain-step.rejected .chain-dot { background: var(--danger); border-color: var(--danger); }
.chain-step.now .chain-dot { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(224, 160, 60, .25); }
.badge-s-awaiting_approval { background: var(--warn-bg); color: #8a5a0a; }
.nowrap { white-space: nowrap; }

/* Firma profili, logo, öne çıkan, sertifika */
.notice { background: #fff8e6; border: 1px solid #f0dca0; color: #6b5413; border-radius: 10px; padding: 11px 14px; font-size: .88rem; }
.logo-preview { max-height: 90px; max-width: 220px; border: 1px solid var(--line); border-radius: 10px; padding: 6px; background: #fff; }
.logo-mini { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 3px; flex: none; }
.profile-card .profile-head { display: flex; gap: 14px; align-items: flex-start; }
.chip-cert { background: #e6f4ec; color: #14663d; }
.badge-feat { display: inline-block; vertical-align: middle; margin-left: 6px; background: #fdf0cf; color: #8a6200; font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }

/* ==========================================================================
   Ana sayfa: açılış animasyonu, kaydırma efektleri, tema cilası
   ========================================================================== */

/* ---------- Açılış (talep → teklifler → en iyisi → perde) ---------- */
.intro { display: none; }
html.intro-on { overflow: hidden; }
html.intro-on.intro-done { overflow: auto; }
html.intro-on .intro {
    display: flex; align-items: center; justify-content: center;
    position: fixed; inset: 0; z-index: 1000; cursor: pointer;
    background:
        radial-gradient(700px 420px at 80% 10%, rgba(30, 158, 106, .22), transparent 60%),
        radial-gradient(600px 380px at 10% 95%, rgba(233, 162, 59, .14), transparent 60%),
        var(--ink);
    border-bottom: 2px solid var(--amber);
    /* JS çalışmazsa 9 sn sonra kendiliğinden kapanır */
    animation: introFailsafe 0s linear 9s forwards;
}
html.intro-on { animation: introUnlock 0s linear 9s forwards; }
@keyframes introFailsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }
@keyframes introUnlock { to { overflow: auto; } }

.intro.is-leaving { transform: translateY(-101%); transition: transform 1s cubic-bezier(.77, 0, .18, 1) .12s; pointer-events: none; }
.intro.is-leaving .intro-inner { opacity: 0; transform: translateY(-14px); transition: opacity .35s ease, transform .5s ease; }

.intro-inner { width: min(380px, 88vw); text-align: center; }
.intro-brand {
    font-family: var(--font-serif); font-weight: 700; color: var(--cream);
    font-size: clamp(1.8rem, 5vw, 2.4rem); letter-spacing: .22em; text-transform: uppercase;
    animation: introFade .9s ease both;
}
.intro-brand span { color: var(--amber); }
.intro-status {
    margin: 10px 0 26px; color: rgba(247, 243, 234, .6); font-size: .78rem;
    letter-spacing: .2em; text-transform: uppercase; min-height: 1.2em;
    animation: introFade .9s .25s ease both;
}
.intro-status.is-done { color: var(--amber); }

.intro-card {
    background: var(--cream); color: var(--text); border-radius: 14px; padding: 18px;
    text-align: left; box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
    animation: introRise .9s .35s cubic-bezier(.2, .7, .2, 1) both;
}
.intro-req { padding-bottom: 12px; border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.intro-req small { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.intro-req strong { font-family: var(--font-serif); font-size: 1.3rem; min-height: 1.6em; display: block; }
.intro-caret { display: inline-block; width: 2px; height: 1.1em; background: var(--emerald); margin-left: 3px; vertical-align: -.15em; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.intro-offer {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; margin-bottom: 9px;
    opacity: 0; transform: translateX(34px);
    transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .3s;
}
.intro-offer:last-child { margin-bottom: 0; }
.intro-offer.is-in { opacity: 1; transform: none; }
.intro-offer .who { font-weight: 600; font-size: .9rem; }
.intro-offer .price { font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.intro-best { display: none; font-style: normal; background: var(--amber); color: var(--ink); font-size: .62rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: 6px; text-transform: uppercase; letter-spacing: .05em; }
.intro-offer.is-best { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(30, 158, 106, .18); }
.intro-offer.is-best .price { color: var(--emerald-dark); }
.intro-offer.is-best .intro-best { display: inline-block; }

.intro-skip {
    position: absolute; top: 22px; right: 26px; background: none; border: 0; cursor: pointer;
    color: rgba(247, 243, 234, .6); font: inherit; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
}
.intro-skip:hover { color: #fff; }

@keyframes introFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes introRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Kaydırma: üst ilerleme çubuğu, şeffaf başlık ---------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 900;
    background: linear-gradient(90deg, var(--emerald), var(--amber)); transform: scaleX(0); transform-origin: 0 50%;
}
.site-header { transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
.site-header .bar { transition: min-height .3s ease; }
html.scrolled .site-header { background: rgba(15, 27, 38, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(0, 0, 0, .18); }
html.scrolled .site-header .bar { min-height: 58px; }

/* ---------- Kaydırınca beliren öğeler ---------- */
.js [data-reveal] {
    opacity: 0; translate: 0 30px;
    transition: opacity .8s ease var(--d, 0ms), translate .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* Başlıklar: kelimeler maskeden yükselir */
.split-h .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split-h .w > span { display: inline-block; transform: translateY(108%); transition: transform .85s cubic-bezier(.2, .7, .2, 1); }
.split-h.is-in .w > span { transform: none; }

/* Paragraflar: yazı yükleniyormuş gibi kelime kelime belirir */
.split-p .w > span { display: inline-block; opacity: 0; filter: blur(5px); transform: translateY(7px); transition: opacity .55s ease, filter .55s ease, transform .55s ease; }
.split-p.is-in .w > span { opacity: 1; filter: none; transform: none; }

/* Başlık altındaki altın çizgi */
.section-head h2::after, .cta-band h2::after {
    content: ""; display: block; height: 2px; width: 0; margin: 16px auto 0; background: var(--amber);
    transition: width 1s cubic-bezier(.2, .7, .2, 1) .5s;
}
.section-head h2.is-in::after, .cta-band h2.is-in::after { width: 64px; }

/* ---------- Hero: yüzen ışıklar ve paralaks ---------- */
.hero > .container { position: relative; z-index: 1; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(8px); }
.hero::before {
    width: 560px; height: 560px; right: -120px; top: -160px;
    background: radial-gradient(circle, rgba(30, 158, 106, .34), transparent 66%);
    translate: 0 var(--py, 0px); animation: drift 15s ease-in-out infinite alternate;
}
.hero::after {
    width: 460px; height: 460px; left: -140px; bottom: -180px;
    background: radial-gradient(circle, rgba(233, 162, 59, .22), transparent 66%);
    translate: 0 calc(var(--py, 0px) * -.6); animation: drift 19s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
.hero .kicker { position: relative; padding-left: 46px; }
.hero .kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 1px; background: var(--amber); }
.hero .sample { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

/* ---------- Kayan kategori bandı ---------- */
.marquee { overflow: hidden; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; flex: none; }
.marquee-row a { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.5rem, 3vw, 2.3rem); color: #fff; padding: 0 .55em; white-space: nowrap; transition: color .2s ease; }
.marquee-row a:hover { color: var(--amber); text-decoration: none; }
.marquee-row i { color: var(--amber); font-style: normal; font-size: 1.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tema cilası ---------- */
.step { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--emerald), var(--amber)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s ease; }
.step:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(15, 27, 38, .14); }
.step:hover::after { transform: scaleX(1); }
.step .num { font-family: var(--font-serif); }
.panel-card { transition: transform .25s ease, box-shadow .25s ease; }
.panel-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(15, 27, 38, .12); }
.trust .item { transition: border-color .3s ease, transform .3s ease; }
.trust .item:hover { transform: translateY(-4px); border-color: var(--emerald); }
.section-dark { position: relative; overflow: hidden; background: radial-gradient(800px 380px at 90% 0%, rgba(30, 158, 106, .16), transparent 60%), radial-gradient(600px 320px at 0% 100%, rgba(233, 162, 59, .1), transparent 60%), var(--ink); }
.section-dark > .container { position: relative; z-index: 1; }
.cta-band { background: radial-gradient(700px 300px at 50% 0%, rgba(30, 158, 106, .22), transparent 65%), var(--ink-2); }
.cta-band .btn-primary { box-shadow: 0 0 0 0 rgba(30, 158, 106, .5); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(30, 158, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 158, 106, 0); } }
.btn-primary { transition: background .2s ease, transform .15s ease, box-shadow .2s ease; }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(30, 158, 106, .35); transform: translateY(-1px); }

/* Hareketi azalt: her şey doğrudan görünsün */
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal], .split-h .w > span, .split-p .w > span { opacity: 1 !important; transform: none !important; translate: none !important; filter: none !important; transition: none !important; }
    .marquee-track, .hero::before, .hero::after, .hero .sample, .cta-band .btn-primary { animation: none !important; }
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   Kategori ve mağaza sayfaları, puan, favori, değerlendirme
   ========================================================================== */
.cat { display: block; color: var(--text); font-weight: 600; }
.cat:hover { text-decoration: none; background: var(--ink); color: #fff; border-color: var(--ink); }

.page-hero { background: radial-gradient(800px 380px at 85% -20%, rgba(30, 158, 106, .25), transparent 60%), var(--ink); color: var(--cream); padding: 48px 0 40px; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero .lead { color: rgba(247, 243, 234, .75); max-width: 640px; }
.crumb { display: inline-block; margin-bottom: 14px; color: rgba(247, 243, 234, .7); font-size: .88rem; }
.crumb:hover { color: #fff; text-decoration: none; }
.muted-light { color: rgba(247, 243, 234, .7); }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cat-pill { padding: 7px 15px; border-radius: 999px; border: 1px solid rgba(247, 243, 234, .28); background: rgba(255, 255, 255, .06); color: #fff; font-size: .88rem; font-weight: 500; transition: all .15s ease; }
.cat-pill:hover { background: rgba(255, 255, 255, .16); text-decoration: none; color: #fff; }
.cat-pill.active { background: var(--amber); border-color: var(--amber); color: var(--ink); font-weight: 700; }
.h-sm { font-size: 1.35rem; margin-bottom: 18px; }

.store-card { color: inherit; }
.store-card:hover { text-decoration: none; }
.store-card h3 { color: var(--text); }
.store-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .88rem; }
.rating { font-weight: 700; color: var(--text); }
.rating i, .fav-count i { font-style: normal; color: var(--amber); }
.fav-count { color: var(--muted); }
.fav-count i { color: #d4503f; }
.rating small { color: var(--muted); font-weight: 400; }
.page-hero .store-meta .rating, .page-hero .store-meta .fav-count { color: #fff; }
.page-hero .store-meta .rating small { color: rgba(247, 243, 234, .65); }
.chip-link:hover { background: var(--ink); color: #fff; text-decoration: none; }

.store-title { display: flex; gap: 20px; align-items: center; margin-bottom: 22px; }
.logo-big { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 16px; padding: 8px; flex: none; }
.store-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .store-grid { grid-template-columns: 1fr; } .store-title { flex-direction: column; align-items: flex-start; } }
.prod-group { margin-bottom: 20px; }
.prod-group h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.prod-list { display: flex; flex-wrap: wrap; gap: 8px; }
.prod { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.prod small { color: var(--muted); }

.big-rating { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.big-rating b { font-size: 2.6rem; font-family: var(--font-serif); line-height: 1; }
.big-rating span { color: var(--muted); font-size: .88rem; }
.crit { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.crit:last-of-type { border-bottom: 0; }
.stars { color: var(--amber); letter-spacing: 1px; white-space: nowrap; }
.stars small { color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.hr.soft, hr.soft { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.review { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review p { margin: 6px 0; }

.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.9rem; line-height: 1; color: #d9d2bd; cursor: pointer; transition: color .12s ease, transform .12s ease; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--amber); }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--emerald); border-radius: 4px; }

/* Mağaza kartı yenilemesi */
.store-card { position: relative; overflow: hidden; padding: 0; gap: 0; border-radius: 18px; box-shadow: 0 1px 2px rgba(16, 28, 40, .04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.store-card .sc-banner { height: 84px; background: linear-gradient(120deg, var(--ink), #1c4a45 70%, var(--emerald)) center/cover no-repeat; }
.store-card.is-featured .sc-banner { background-color: #b9811d; background-image: linear-gradient(120deg, #3a2a08, #b9811d 70%, var(--amber)); }
.store-card.is-featured .sc-banner[style] { background-color: transparent; }
.store-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(16, 28, 40, .14); }
.store-card .sc-body { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.store-card .sc-head { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-top: -30px; }
.store-card .sc-avatar { width: 56px; height: 56px; flex: none; border-radius: 14px; background: #fff; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(16, 28, 40, .15); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 800; font-size: 1.4rem; color: var(--ink); overflow: hidden; }
.store-card .sc-avatar img { width: 100%; height: 100%; object-fit: contain; }
.store-card .sc-title { padding-bottom: 2px; min-width: 0; }
.store-card h3 { font-size: 1.08rem; margin: 0; line-height: 1.25; }
.store-card .sc-loc { color: var(--muted); font-size: .82rem; }
.store-card .sc-about { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.store-card .supplier-foot { padding-top: 12px; border-top: 1px solid var(--line); }
.store-card .btn-sm { white-space: nowrap; }
.store-card .sc-min { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.store-card .sc-min b { display: block; color: var(--text); font-size: .92rem; }
.store-meta .rating.none { font-weight: 500; color: var(--muted); }

.page-hero .store-meta .muted { color: rgba(247, 243, 234, .7); }

/* Şifre göster / gizle */
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 46px; }
.pw-toggle { position: absolute; top: 0; right: 0; height: 100%; width: 44px; display: flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--muted); cursor: pointer; border-radius: 0 10px 10px 0; transition: color .15s ease; }
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--emerald); outline: none; }

/* Yönetici gezinmesi ve tablo yardımcıları */
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.admin-nav a { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: .88rem; font-weight: 500; }
.admin-nav a:hover { text-decoration: none; border-color: var(--emerald); }
.admin-nav a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
tr.row-muted td { opacity: .6; }
.inline-grid-min { grid-template-columns: 2fr 1.3fr .8fr .9fr .9fr auto; }
@media (max-width: 900px) { .inline-grid-min { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Akıllı Sepet
   ========================================================================== */
.basket-intro { max-width: 760px; margin-bottom: 18px; }
.basket-intro h2 { font-size: 1.55rem; margin-bottom: 8px; }
.basket-form textarea { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95rem; line-height: 1.6; }
.basket-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.basket-actions .btn { display: inline-flex; align-items: center; gap: 8px; }
.ai-chip { font-size: .8rem; font-weight: 600; color: #6b3fc4; background: #efe8fc; padding: 5px 12px; border-radius: 999px; }
.basket-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.basket-how div { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: .92rem; }
.basket-how b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
@media (max-width: 760px) { .basket-how { grid-template-columns: 1fr; } }
.basket-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .basket-summary { grid-template-columns: repeat(2, 1fr); } }

.plan-card { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 18px 20px; margin-bottom: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.plan-card:has(.plan-radio:checked) { border-color: var(--emerald); box-shadow: 0 8px 26px rgba(30, 158, 106, .14); }
.plan-card.is-blocked { opacity: .8; }
.plan-head { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.plan-radio { width: 20px; height: 20px; accent-color: var(--emerald); flex: none; }
.plan-title { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.plan-title strong { font-family: var(--font-serif); font-size: 1.15rem; }
.plan-total { text-align: right; font-family: var(--font-serif); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.plan-total small { display: block; font-family: var(--font-sans, inherit); font-weight: 500; font-size: .78rem; color: var(--muted); }
.plan-save { display: inline-block; margin: 10px 0 2px 34px; background: #e6f4ec; color: #14663d; font-size: .82rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan-group { margin-top: 16px; padding-left: 0; }
.plan-group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 8px; }
.plan-group-head .store-meta { font-size: .8rem; }
.plan-sub { margin-left: auto; font-weight: 700; }
.tag-warn { display: inline-block; margin-top: 4px; background: #fdf0cf; color: #8a6200; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.unmatched { margin: 0 0 12px; padding-left: 18px; }
.unmatched li { margin-bottom: 6px; }
details.card > summary { list-style: none; }
details.card > summary::-webkit-details-marker { display: none; }
.plan-group .table td.num { width: 130px; text-align: right; }
.plan-group .table td.num:first-of-type { width: 120px; }

/* ==========================================================================
   Abonelik ve ödemeler
   ========================================================================== */
.bill-status { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; border-left: 5px solid var(--line); }
.bill-status.bill-trial { border-left-color: var(--amber); }
.bill-status.bill-paid { border-left-color: var(--emerald); }
.bill-status.bill-expired, .bill-status.bill-none { border-left-color: #d4503f; }
.bill-state { font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; }
.bill-free { background: #e6f4ec; color: #14663d; padding: 10px 16px; border-radius: 12px; font-size: .9rem; max-width: 420px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; max-width: 820px; }
.price-card { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; }
.price-card.is-best { border-color: var(--emerald); box-shadow: 0 10px 28px rgba(30, 158, 106, .14); }
.price-card h3 { margin: 0 0 8px; }
.price { font-family: var(--font-serif); font-weight: 800; font-size: 2.1rem; line-height: 1.1; }
.price small { font-size: .9rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.price-badge { position: absolute; top: -12px; right: 18px; background: var(--emerald); color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price-list { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; font-size: .9rem; flex: 1; }
.price-list li { padding-left: 22px; position: relative; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 700; }
.pay-st { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #e8ecf1; color: #31465b; }
.pay-st.pay-paid { background: #e6f4ec; color: #14663d; }
.pay-st.pay-pending { background: #fdf0cf; color: #8a6200; }
.pay-st.pay-failed { background: #fde4e0; color: #9b2c1f; }
.pay-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pay-amount { font-family: var(--font-serif); font-weight: 800; font-size: 1.8rem; }

/* Özet: ikonlu kutular ve aylık çubuk grafik */
.stat { position: relative; }
.stat-ico { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 10px; background: #e8f4ee; color: var(--emerald); display: grid; place-items: center; }
.stat-ico svg { width: 18px; height: 18px; }
.stat.accent .stat-ico { background: #fbe7c4; color: #b9741a; }
.trend-card { margin-bottom: 20px; }
.trend { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-items: end; height: 190px; }
.trend-col { display: flex; flex-direction: column; height: 100%; justify-content: flex-end; text-align: center; min-width: 0; }
.trend-val { font-size: .72rem; color: var(--muted); height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-bar { flex: 1; display: flex; align-items: flex-end; background: repeating-linear-gradient(to top, transparent 0 24%, #f1f5f9 24% calc(24% + 1px)); border-radius: 8px; }
.trend-bar span { display: block; width: 100%; background: linear-gradient(180deg, #2bb37a, var(--emerald)); border-radius: 8px 8px 4px 4px; min-height: 3px; }
.trend-col:hover .trend-bar span { filter: brightness(1.08); }
.trend-lbl { font-size: .78rem; color: var(--muted); margin-top: 6px; text-transform: capitalize; }
@media (max-width: 800px) { .trend { gap: 8px; } .trend-val { display: none; } }

/* Teklif: "bende var" etiketleri */
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #eee8d8; color: #334155; }
.tag-ok { background: #e3f3ea; color: #176b45; }
.have-line { margin-top: 4px; font-size: .82rem; color: var(--muted); }

/* Kalem bazlı seçim */
.pick-line, .pick-none { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .78rem; color: var(--muted); cursor: pointer; }
.pick-none { margin-top: 8px; }
.pick-line input, .pick-none input { accent-color: var(--emerald); }
.price-cell.best .pick-line { color: #176b45; font-weight: 600; }
.award-bar { margin-top: 18px; }
.award-summary { display: grid; gap: 8px; }
.award-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--cream-2, #f1f5f9); border-radius: 10px; }
.award-total { background: #e3f3ea; }

/* Test laboratuvarı */
.imp-bar { position: sticky; top: 0; z-index: 1000; display: flex; justify-content: center; align-items: center; gap: 16px; padding: 9px 16px; background: #1b1405; color: #ffd98a; font-size: .88rem; font-weight: 600; }
.imp-bar form { margin: 0; }
.imp-bar button { background: #f5a623; color: #1b1405; border: 0; border-radius: 8px; padding: 6px 14px; font-weight: 700; cursor: pointer; font-size: .85rem; }
.imp-bar button:hover { background: #ffbb4d; }
.lab-gen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 18px; }
.lab-gen-card h3 { margin: 0 0 4px; }
.lab-gen-row { display: flex; gap: 10px; align-items: center; }
.lab-gen-row .input { width: 90px; }
.lab-row { margin-bottom: 12px; }
.lab-row-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lab-ident { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lab-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: #f1f5f9; }
.lab-logo-empty { display: grid; place-items: center; font-weight: 700; color: var(--emerald); background: #e3f3ea; }
.lab-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lab-actions form { margin: 0; }
.lab-edit { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.lab-edit summary { cursor: pointer; font-weight: 600; color: var(--emerald); }
.lab-edit form { margin-top: 14px; }
.lab-danger { margin-top: 34px; border-color: #e6c0bc; }
.lab-danger h3 { margin: 0 0 4px; color: #a02b22; }
@media (max-width: 800px) { .lab-gen { grid-template-columns: 1fr; } }

/* Ödeme koşulları */
.pay-window { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.pay-window .input-sm { width:76px; text-align:center; }
.pay-chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:6px; }
.pay-chip { background:#eef4ff; color:#1d4ed8; border-radius:999px; padding:3px 10px; font-size:.82rem; }
.pay-due { font-size:.85rem; }
.pay-overdue { color:#b91c1c; font-weight:600; }
.pay-paid { color:#15803d; font-weight:600; }


/* ==========================================================================
   Açık ve sade tema (v16): koyu yüzeyler açık yüzeylere çevrildi.
   Eski koyu stiller yukarıda duruyor; bu blok onların üstüne yazar.
   ========================================================================== */
body { background: var(--cream); }

/* Üst menü */
.site-header, html.scrolled .site-header {
    background: rgba(255, 255, 255, .9); color: var(--text);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
html.scrolled .site-header { box-shadow: 0 6px 24px rgba(15, 23, 42, .06); }
.brand { color: var(--ink); }
.brand .dot { color: var(--emerald); }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.lang a { color: var(--muted); }
.lang a.active { color: var(--ink); border-color: var(--line); background: var(--cream-2); }
.btn-link { color: var(--ink); }
.btn-link:hover { color: var(--emerald-dark); }
.nav-burger span, .nav-burger::before, .nav-burger::after { background: var(--ink); }
@media (max-width: 860px) {
    .nav-wrap { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15, 23, 42, .06); }
}

/* Düğmeler */
.btn { border-radius: 10px; }
.btn-outline { background: #fff; color: var(--ink); border-color: #cbd5e1; }
.btn-outline:hover { border-color: var(--ink); background: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline-dark { border-color: #cbd5e1; }

/* Ana sayfa: hero */
.hero {
    color: var(--text);
    background:
        radial-gradient(900px 460px at 88% -10%, rgba(15, 157, 107, .10), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
    border-bottom: 1px solid var(--line);
}
.hero::before { background: radial-gradient(circle, rgba(15, 157, 107, .14), transparent 66%); }
.hero::after { background: radial-gradient(circle, rgba(240, 167, 58, .10), transparent 66%); }
.hero h1 { color: var(--ink); }
.hero .kicker { color: var(--emerald-dark); font-weight: 600; }
.hero .kicker::before { background: var(--emerald); }
.hero p.lead { color: var(--muted); }
.hero .note { color: var(--muted); }
.sample { background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(15, 23, 42, .10); }
.sample .offer { background: var(--cream); }
.sample .offer.best { background: #fff; box-shadow: 0 0 0 3px rgba(15, 157, 107, .12); }

/* Kayan kategori bandı */
.marquee { background: #fff; border-top: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
.marquee-row a { color: #94a3b8; font-weight: 600; }
.marquee-row a:hover { color: var(--ink); }
.marquee-row i { color: var(--emerald); }

/* Bölümler */
.section-alt { background: #fff; }
.step { border-radius: var(--radius); }
.step .num { background: var(--emerald); color: #fff; }
.section-dark, .section-dark.section {
    background: var(--cream-2); color: var(--text);
}
.section-dark h2, .section-dark h3 { color: var(--ink); }
.panel-card.dark { background: #fff; border-color: var(--line); color: var(--text); }
.panel-card.dark h3 { color: var(--ink); }
.panel-card.dark .checks li, .panel-card.dark p { color: var(--text); }
.cta-band {
    background: linear-gradient(180deg, #ecfdf5 0%, #f0fdf8 100%); color: var(--text);
    border-top: 1px solid #d1fae5; border-bottom: 1px solid #d1fae5;
}
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--muted); }
.cta-band .btn-primary { animation: none; }
.cat:hover { background: var(--emerald); border-color: var(--emerald); color: #fff; }

/* Alt bilgi */
.site-footer { background: #fff; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer h4 { color: var(--ink); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer .strip { background: var(--cream-2); color: var(--muted); border-top: 1px solid var(--line); }

/* Kategori / mağaza başlığı */
.page-hero { background: #fff; color: var(--text); border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--ink); }
.page-hero .lead, .muted-light { color: var(--muted); }
.crumb { color: var(--muted); }
.crumb:hover { color: var(--ink); }
.cat-pill { border: 1px solid var(--line); background: #fff; color: var(--text); }
.cat-pill:hover { background: var(--cream-2); color: var(--ink); }
.cat-pill.active { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.page-hero .store-meta .rating, .page-hero .store-meta .fav-count { color: var(--text); }
.page-hero .store-meta .rating small { color: var(--muted); }
.chip-link:hover { background: var(--emerald); }
.store-card .sc-banner { background: linear-gradient(120deg, #d1fae5, #a7f3d0 60%, #6ee7b7) center/cover no-repeat; }
.logo-big { border: 1px solid var(--line); }

/* Panel: kenar çubuğu */
.panel-body { background: var(--cream); }
.side { background: #fff; color: var(--text); border-right: 1px solid var(--line); }
.side .brand { color: var(--ink); }
.side-link { color: var(--muted); }
.side-link:hover { background: var(--cream-2); color: var(--ink); }
.side-link.active { background: #e7f6ef; color: var(--emerald-dark); box-shadow: inset 3px 0 0 var(--emerald); font-weight: 600; }
.side-foot { border-top: 1px solid var(--line); }
.side-foot .who strong { color: var(--ink); }
.side-foot .who span { color: var(--emerald-dark); }
.topbar { background: rgba(255, 255, 255, .9); }
.topbar-title { font-weight: 700; }
@media (max-width: 960px) {
    .side { box-shadow: 8px 0 30px rgba(15, 23, 42, .12); }
    .side-overlay { background: rgba(15, 23, 42, .35); }
}

/* Kartlar, tablolar, formlar: daha ince çizgi, daha yumuşak gölge */
.card, .stat, .table-wrap, .supplier-card, .export-bar, .timeline, .plan-card, .price-card { box-shadow: var(--shadow); }
.stat:hover { border-color: var(--emerald); }
.table th { background: var(--cream-2); color: var(--muted); }
.input, input.input, select.input, textarea.input { border-color: #cbd5e1; border-radius: 10px; }
.input:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(15, 157, 107, .15); outline: none; }
.module { border-color: #cbd5e1; }
.chip { background: var(--cream-2); color: var(--ink-3); }
.admin-nav a.active { background: var(--emerald); border-color: var(--emerald); }

/* Açılış animasyonu (splash) da açık */
.intro {
    background: radial-gradient(700px 420px at 80% 10%, rgba(15, 157, 107, .10), transparent 60%), #ffffff;
    border-bottom: 2px solid var(--emerald);
}
.intro-brand { color: var(--ink); }
.intro-brand span { color: var(--emerald); }
.intro-status { color: var(--muted); }
.intro-status.is-done { color: var(--emerald-dark); }
.intro-skip { color: var(--muted); }
.intro-skip:hover { color: var(--ink); }

/* v16 düzeltmeler: açık zeminde okunmayan eski krem yazılar */
.section-dark .section-head p, .trust .item p { color: var(--muted); }
.trust .item { border-top-color: var(--emerald); }
.trust .item h3, .trust .item h4 { color: var(--ink); }
.side-sep { color: #94a3b8; }
.btn-primary:hover { background: var(--emerald-dark); }

/* ==========================================================================
   Cila (v17): tipografi, kartlar, istatistikler, rozetler, tablolar
   ========================================================================== */
body { font-size: 15.5px; letter-spacing: -.003em; }
h1, h2, h3, h4 { letter-spacing: -.025em; }
h1 { font-weight: 800; }

/* Düğmeler: biraz daha net, hafif gölge */
.btn { padding: 11px 20px; font-weight: 600; letter-spacing: 0; }
.btn-primary { box-shadow: 0 1px 2px rgba(11, 127, 86, .25), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-primary:hover { box-shadow: 0 6px 16px rgba(15, 157, 107, .28); }
.btn-dark { box-shadow: 0 1px 2px rgba(15, 23, 42, .2); }
.btn-sm { padding: 8px 14px; font-size: .86rem; border-radius: 9px; }
.btn-outline-dark { background: #fff; border-color: var(--line); box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.btn-outline-dark:hover { border-color: #cbd5e1; background: var(--cream); }

/* Hero: ince nokta ızgarası, vurgulu başlık */
.hero { padding: 96px 0 104px; }
.hero::before { opacity: .9; }
.hero .container::before {
    content: ""; position: absolute; inset: -96px 0 -104px; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(15, 23, 42, .07) 1px, transparent 1px); background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000, transparent 75%);
}
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.08; }
.hero .kicker {
    padding: 5px 12px 5px 12px; background: #e7f6ef; border-radius: 999px; font-size: .74rem; letter-spacing: .1em;
}
.hero .kicker::before { display: none; }
.sample { border-radius: 18px; padding: 24px; }
.sample .offer { border-radius: 12px; }
.sample .offer.best { border-color: var(--emerald); background: #f3fbf7; }

/* Bölüm başlıkları: altın çizgi yerine yeşil kısa çizgi */
.section-head h2::after, .cta-band h2::after { background: var(--emerald); height: 3px; border-radius: 3px; }
.section-head p { color: var(--muted); }

/* Kartlar */
.card, .panel-card, .step, .stat, .supplier-card, .table-wrap, .plan-card, .price-card { border-radius: 14px; }
.card { padding: 24px; }
.card-head h3 { font-size: 1.08rem; }
.step { padding: 28px; }
.step:hover, .panel-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 23, 42, .10); }
.supplier-card, .store-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.supplier-card:hover, .store-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 23, 42, .10); border-color: #cbd5e1; }

/* Panel özet kutuları */
.stats { gap: 18px; }
.stat { position: relative; padding: 20px 20px 18px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.stat:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 23, 42, .08); }
.stat .n { font-size: 2.1rem; letter-spacing: -.03em; margin-top: 12px; }
.stat .l { font-size: .84rem; }
.stat-ico {
    width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
    background: #e7f6ef; color: var(--emerald-dark);
}
.stat.accent { border-color: #a7e3c8; background: linear-gradient(180deg, #f3fbf7, #fff); }
.stat.warn .stat-ico { background: #fdf3e1; color: #b9741a; }
.stat.warn .n { color: #b9741a; }

/* Rozetler: yumuşak hap */
.badge { border-radius: 999px; padding: 3px 11px; font-weight: 600; letter-spacing: .01em; }
.tag { background: var(--cream-2); color: var(--ink-3); border-radius: 999px; }
.tag-ok { background: #e7f6ef; color: #0b7f56; }
.tag-warn { background: #fdf3e1; color: #8a5a0a; }

/* Tablolar */
.table th { font-weight: 600; letter-spacing: .05em; padding: 11px 16px; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover td { background: #f8fafc; }
.compare tbody tr:hover td { background: inherit; }
.compare .price-cell.best { background: #eefaf4; }

/* Üst çubuk ve yan menü */
.topbar { min-height: 66px; }
.topbar-title { font-size: 1.25rem; letter-spacing: -.02em; }
.side { padding: 22px 14px 16px; }
.side .brand { padding: 2px 12px 22px; }
.side-link { padding: 9px 12px; border-radius: 10px; }
.side-link .icon { opacity: .75; }
.side-link.active .icon, .side-link:hover .icon { opacity: 1; }
.side-cta { border-radius: 10px; box-shadow: 0 1px 2px rgba(11, 127, 86, .25); }
.bell { box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }

/* Formlar */
.field label, .field .label { font-weight: 600; font-size: .88rem; color: var(--ink-3); }
.hint { color: var(--muted); }
.flash { border-radius: 12px; }

/* Mağaza başlığı */
.page-hero { padding: 44px 0 36px; background: linear-gradient(180deg, #fff, var(--cream)); }
.logo-big { border-radius: 18px; box-shadow: var(--shadow); }

/* Kategori kutuları */
.cat { border-radius: 14px; padding: 24px 18px; font-weight: 600; box-shadow: var(--shadow); }
.cat:hover { box-shadow: 0 12px 28px rgba(15, 157, 107, .22); }

/* Alt bilgi */
.site-footer .top { padding: 52px 0 36px; }
.site-footer .strip { font-size: .8rem; }

/* Mobil dokunma hedefleri */
@media (max-width: 860px) {
    .btn { min-height: 44px; }
    .side-link { min-height: 44px; }
    .hero { padding: 56px 0 64px; }
}

/* v17 düzeltmeler */
.site-footer .top { padding-top: 52px; padding-bottom: 36px; }
.site-footer .brand, .site-footer .brand:hover { color: var(--ink); }
.store-card.is-featured .sc-banner { background: linear-gradient(120deg, #a7f3d0, #34d399 70%, #10b981); }
.badge-feat { background: #fdf3e1; color: #8a5a0a; }
.stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat.accent .n { color: var(--emerald-dark); }
.stat.accent .stat-ico { background: #d1fae5; color: var(--emerald-dark); }
.page-hero .store-meta .muted { color: var(--muted); }
.site-footer .top { padding-left: 24px; padding-right: 24px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--emerald); }

/* v18: geniş ekranda içerik ortalı; test hesabı çubuğu varken yan menü ve üst çubuk onun altında başlar */
.content { margin: 0 auto; }
body:has(.imp-bar) .side { top: 38px; height: calc(100vh - 38px); }
body:has(.imp-bar) .topbar { top: 38px; }

/* Depo (v19) */
.table tr.row-low td { background: #fdf6e9; }

/* Fiyat alarmı (v20) */
.alarm-box { margin-top: 6px; }
.alarm-box summary { cursor: pointer; color: var(--muted, #64748b); }
.alarm-form { display: flex; gap: 6px; margin-top: 6px; justify-content: flex-end; }
.alarm-form .input { width: 96px; }

/* Analiz (v21) */
.abars { display: grid; gap: 8px; }
.abar-row { display: grid; grid-template-columns: 84px 1fr 120px; gap: 12px; align-items: center; font-size: 14px; }
.abar-label { color: var(--muted, #64748b); }
.abar-track { height: 10px; background: #eef2f6; border-radius: 99px; overflow: hidden; }
.abar-fill { display: block; height: 100%; background: var(--emerald, #0f9d6b); border-radius: 99px; }
.abar-val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
@media (max-width: 560px) { .abar-row { grid-template-columns: 70px 1fr 96px; gap: 8px; } }

/* Mesajlaşma */
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 460px; overflow-y: auto; padding: 4px 2px 14px; }
.msg { max-width: 78%; }
.msg-me { align-self: flex-end; }
.msg-them { align-self: flex-start; }
.msg-body { padding: 10px 14px; border-radius: 14px; line-height: 1.45; word-break: break-word; }
.msg-me .msg-body { background: var(--emerald); color: #fff; border-bottom-right-radius: 4px; }
.msg-them .msg-body { background: #eef1f4; color: var(--text); border-bottom-left-radius: 4px; }
.msg-meta { font-size: .74rem; color: var(--muted, #7a8794); margin-top: 3px; }
.msg-me .msg-meta { text-align: right; }
.chat-form { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 14px; }
.chat-form textarea { width: 100%; }

/* Ürün görseli */
.pthumb { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: #f1f5f2; overflow: hidden; flex: 0 0 auto; }
.pthumb img { width: 100%; height: 100%; object-fit: cover; }
.pthumb-svg { width: 78%; height: 78%; }
.pthumb.lg { width: 84px; height: 84px; border-radius: 14px; }
.pcell { display: flex; gap: 12px; align-items: center; }
.photo-now { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.art-box summary { cursor: pointer; color: var(--emerald); font-weight: 600; margin-bottom: 10px; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.art-opt { cursor: pointer; }
.art-opt input { position: absolute; opacity: 0; pointer-events: none; }
.art-opt > span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 10px; text-align: center; font-size: .78rem; min-height: 78px; justify-content: center; }
.art-opt input:checked + span { border-color: var(--emerald); outline: 2px solid rgba(30, 158, 106, .35); }
.art-opt input:focus-visible + span { outline: 2px solid var(--emerald); }
.review-reply { margin-top: 8px; padding: 10px 14px; border-left: 3px solid var(--emerald); background: #f1f5f2; border-radius: 0 10px 10px 0; font-size: .92rem; }
.review-reply p { margin: 4px 0 0; }
.badge-top { display: inline-block; vertical-align: middle; margin-left: 6px; background: #e3f4ec; color: #14724a; font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.pill-warn { background: #fdecd0; color: #8a5a0a; }
.budget-track { height: 12px; border-radius: 999px; background: #e8ecf1; overflow: hidden; }
.budget-fill { display: block; height: 100%; background: var(--emerald); border-radius: 999px; }
.budget-fill.warn { background: #e8a317; }
.budget-fill.over { background: #d64545; }

/* Sık aldıklarım (Akıllı Sepet) */
.freq-card { margin-bottom: 16px; }
.freq-card h3 { margin: 0 0 4px; }
.freq-list { display: grid; gap: 6px; margin: 12px 0 14px; }
.freq-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.freq-row:has(input[type=checkbox]:checked) { border-color: var(--ink); background: #fafaf7; }
.freq-name { flex: 1; display: flex; flex-direction: column; font-weight: 600; }
.freq-name small { font-weight: 400; }
.freq-qty { width: 96px; text-align: right; }
.freq-unit { width: 48px; color: var(--muted, #6b7280); font-size: .9rem; }

/* ==========================================================================
   Bento panel (v30) — orman yeşili, yumuşak kartlar, hareketli geçişler
   ========================================================================== */
:root {
    --forest: #0c4a34;
    --forest-2: #082f21;
    --mint: #7ad3a8;
}

/* Sayfa geçişi: menü sabit kalır, içerik yumuşakça değişir (destekleyen tarayıcılarda) */
@view-transition { navigation: auto; }
.side { view-transition-name: panel-side; }
::view-transition-old(root) { animation: vt-out .16s ease both; }
::view-transition-new(root) { animation: vt-in .26s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }

/* Giriş animasyonu */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0ms); }

/* Menü ince dokunuşlar */
.side-link { transition: background .15s, color .15s, transform .15s; }
.side-link:hover { transform: translateX(2px); }

/* Özet kutuları */
.bento-stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.bento-stats .stat { border-radius: 20px; padding: 18px 20px 20px; min-height: 128px; border-color: #e3ebe6; }
.bento-stats .stat .l { font-size: .85rem; font-weight: 500; margin: 0; padding-right: 44px; color: var(--muted); }
.bento-stats .stat .n { font-size: 2.6rem; margin-top: 16px; font-variant-numeric: tabular-nums; }
.stat-go {
    position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid #d5e3db; color: var(--ink-3); display: grid; place-items: center;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.stat-go svg { width: 15px; height: 15px; }
.stat:hover .stat-go, .bento-cta:hover .stat-go { transform: rotate(45deg); background: var(--emerald); color: #fff; border-color: var(--emerald); }

/* Koyu orman kartı (ilk kutu + çağrı kartı) */
.stat.feat, .bento-cta {
    color: #fff; border-color: transparent;
    background:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 14px),
        linear-gradient(150deg, var(--forest) 0%, var(--forest-2) 100%);
    box-shadow: 0 14px 30px rgba(8, 47, 33, .28);
}
.stat.feat .l, .bento-cta .l { color: rgba(255, 255, 255, .78); }
.stat.feat .stat-go, .bento-cta .stat-go { background: #fff; color: var(--forest); border-color: #fff; }
.stat.feat:hover .stat-go, .bento-cta:hover .stat-go { background: var(--mint); color: var(--forest-2); border-color: var(--mint); }
.bento-stats .stat.accent { background: #fff8ea; border-color: #f1d9a6; }

/* Bento ızgara */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-bottom: 20px; }
.bento-grid > .card { margin: 0; border-radius: 20px; border-color: #e3ebe6; }
.bento-trend { grid-column: span 7; }
.bento-side { grid-column: span 5; }
.bento-side:only-child { grid-column: 1 / -1; }
.two-col-panel .card { border-radius: 20px; border-color: #e3ebe6; }
@media (max-width: 900px) { .bento-trend, .bento-side { grid-column: 1 / -1; } }

/* Hap çubuklu grafik */
.pbars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; height: 200px; align-items: end; }
.pcol { display: flex; flex-direction: column; height: 100%; justify-content: flex-end; min-width: 0; }
.pbar { position: relative; flex: 1; display: flex; align-items: flex-end; outline: none; width: 46px; max-width: 100%; margin: 0 auto; }
.pbar span {
    display: block; width: 100%; height: var(--h); border-radius: 999px; background: #8fdcb8;
    transform-origin: bottom; animation: grow .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(300ms + var(--i, 0) * 70ms);
    transition: filter .2s, transform .2s;
}
.pbar.is-top span { background: linear-gradient(180deg, #14795a, var(--forest)); }
.pbar.is-zero span {
    background: repeating-linear-gradient(135deg, #dfe7e2 0 2px, #f4f7f5 2px 7px); height: 100%; opacity: .8;
}
.pbar:hover span, .pbar:focus span { filter: brightness(.94); transform: scaleX(1.04); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.pbar::after {
    content: attr(data-tip); position: absolute; left: 50%; bottom: calc(var(--h) + 8px); transform: translate(-50%, 6px);
    background: var(--forest); color: #fff; font-size: .74rem; font-weight: 600; padding: 6px 10px; border-radius: 8px;
    white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 3;
}
.pbar.is-zero::after { bottom: 50%; }
.pbar:hover::after, .pbar:focus::after { opacity: 1; transform: translate(-50%, 0); }
.pbar-lbl { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 8px; text-transform: capitalize; }

/* Bütçe göstergesi */
.gauge { position: relative; max-width: 270px; margin: 4px auto 0; }
.gauge svg { width: 100%; display: block; }
.g-track, .g-fill { fill: none; stroke-width: 15; stroke-linecap: round; }
.g-track { stroke: #e6eee9; }
.g-fill { stroke: var(--emerald); stroke-dasharray: var(--p) 200; animation: sweep 1.1s cubic-bezier(.2, .8, .2, 1) .35s both; }
@keyframes sweep { from { stroke-dasharray: 0 200; } }
.bento-gauge.none .g-fill, .g-fill[style*="--p: 0"] { display: none; }
.bento-gauge.warn .g-fill { stroke: var(--amber); }
.bento-gauge.over .g-fill { stroke: var(--danger); }
.g-num { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-family: var(--font-serif); font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.bento-gauge.none .g-num { color: var(--muted); }
.g-sub { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* Çağrı kartı (tedarikçi) */
.bento-cta { display: flex; flex-direction: column; position: relative; text-decoration: none; padding: 22px; transition: transform .2s ease, box-shadow .2s ease; }
.bento-cta:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 20px 40px rgba(8, 47, 33, .34); }
.bento-cta .l { font-weight: 600; font-size: 1rem; padding-right: 44px; }
.bento-cta .n { font-family: var(--font-serif); font-size: 3.4rem; font-weight: 700; line-height: 1; margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.bento-cta p { color: rgba(255, 255, 255, .72); font-size: .88rem; margin: 0 0 16px; }
.cta-pill { align-self: flex-start; margin-top: auto; background: #fff; color: var(--forest); font-weight: 600; font-size: .85rem; padding: 8px 16px; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .pbar span, .g-fill { animation: none; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    .side-link:hover, .stat:hover, .bento-cta:hover { transform: none; }
}

/* ==========================================================================
   Panel teması (v32) — tüm panel sayfaları: çerçeveli orman yeşili düzen
   ========================================================================== */
.panel-body {
    --emerald: #15704f; --emerald-dark: #0c4a34; --ok-bg: #e4f2ea;
    --cream: #f3f7f4; --cream-2: #e9f0ec; --line: #e3ebe6; --radius: 16px;
    --shadow: 0 1px 2px rgba(8, 47, 33, .04), 0 10px 28px rgba(8, 47, 33, .05);
    background:
        radial-gradient(900px 500px at 100% 0%, rgba(122, 211, 168, .14), transparent 60%),
        linear-gradient(160deg, #0d4a34 0%, #082f21 70%);
    background-attachment: fixed;
    padding: 14px;
}
.panel-body .shell { background: var(--cream); border-radius: 26px; overflow: clip; min-height: calc(100vh - 28px); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.panel-body .imp-bar { margin: -14px -14px 14px; }
.panel-body .side { top: 14px; height: calc(100vh - 28px); background: #fff; border-right: 1px solid var(--line); border-radius: 26px 0 0 26px; padding: 22px 14px 16px; }
body.panel-body:has(.imp-bar) .side { top: 52px; height: calc(100vh - 66px); }
body.panel-body:has(.imp-bar) .topbar { top: 52px; }

/* Menü */
.panel-body .side-link { border-radius: 12px; position: relative; }
.panel-body .side-link.active { background: #e4f2ea; color: var(--emerald-dark); box-shadow: none; }
.panel-body .side-link.active::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--emerald); }
.panel-body .side-cta { background: var(--emerald); border-radius: 12px; box-shadow: 0 6px 14px rgba(12, 74, 52, .25); }
.panel-body .side-cta:hover { background: var(--emerald-dark); }

/* Menü altı: koyu orman kartı */
.panel-body .side-foot {
    border: 0; margin-top: 18px; padding: 16px; border-radius: 18px; color: #fff;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 14px), linear-gradient(150deg, var(--forest) 0%, var(--forest-2) 100%);
}
.panel-body .side-foot .who strong { color: #fff; }
.panel-body .side-foot .who span { color: var(--mint); }
.panel-body .side-foot .btn-link { color: rgba(255, 255, 255, .85); }
.panel-body .side-foot .btn-link:hover { color: #fff; }
.panel-body .side-foot .lang a { color: rgba(255, 255, 255, .65); }
.panel-body .side-foot .lang a.active { color: #fff; font-weight: 700; }

/* Üst bar */
.panel-body .topbar { background: rgba(243, 247, 244, .86); border-bottom: 0; min-height: 76px; padding: 0 32px; }
.panel-body .topbar-title { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.panel-body .bell { width: 42px; height: 42px; border-color: var(--line); box-shadow: var(--shadow); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.user-chip .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #ffe1e1; color: #b04a4a; font-weight: 700; font-size: .9rem; }
.user-chip .ut { display: flex; flex-direction: column; line-height: 1.2; max-width: 170px; }
.user-chip .ut strong { font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip .ut small { font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.panel-body .content { padding: 8px 32px 40px; max-width: 1320px; margin: 0 auto; }

/* Kartlar, tablolar, formlar, butonlar */
.panel-body .card, .panel-body .table-wrap, .panel-body .supplier-card, .panel-body .plan-card, .panel-body .timeline, .panel-body .export-bar { border-radius: 20px; border-color: var(--line); box-shadow: var(--shadow); }
.panel-body .table th { background: #eef4f0; }
.panel-body .table tbody tr:hover td { background: #f6faf7; }
.panel-body .btn { border-radius: 12px; }
.panel-body .btn-primary { background: var(--emerald); box-shadow: 0 6px 14px rgba(12, 74, 52, .2); }
.panel-body .btn-primary:hover { background: var(--emerald-dark); }
.panel-body .btn-dark { background: var(--forest); color: #fff; }
.panel-body .btn-dark:hover { background: var(--forest-2); }
.panel-body .btn-outline-dark { border-color: #cfe0d6; border-radius: 12px; }
.panel-body .input, .panel-body input.input, .panel-body select.input, .panel-body textarea.input { border-radius: 12px; border-color: #d3e1d9; background: #fff; }
.panel-body .input:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(21, 112, 79, .15); }
.panel-body .cat-pill.active, .panel-body .filters .active { background: var(--emerald); border-color: var(--emerald); color: #fff; }

/* Sayfa içeriği yumuşakça belirir */
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-body .content > * { animation: fadein .4s ease both; }
.panel-body .content > *:nth-child(2) { animation-delay: 60ms; }
.panel-body .content > *:nth-child(3) { animation-delay: 110ms; }
.panel-body .content > *:nth-child(4) { animation-delay: 160ms; }
.panel-body .content > *:nth-child(n+5) { animation-delay: 210ms; }

@media (max-width: 960px) {
    .panel-body { padding: 0; background: var(--cream); }
    .panel-body .shell { border-radius: 0; box-shadow: none; min-height: 100vh; }
    .panel-body .imp-bar { margin: 0; }
    .panel-body .side { top: 0; height: 100vh; border-radius: 0; }
    body.panel-body:has(.imp-bar) .side { top: 0; height: 100vh; }
    .panel-body .side-link.active::before { left: -14px; }
    .panel-body .topbar { padding: 0 16px; min-height: 64px; }
    .panel-body .content { padding: 8px 16px 40px; }
    .user-chip .ut { display: none; }
    .user-chip { padding: 4px; }
}
@media (prefers-reduced-motion: reduce) { .panel-body .content > * { animation: none; } }
