/* Spexo kurumsal site — logo renkleri: maviden mora geçiş, sarı yıldız */
:root {
    --blue: #3d6af2;
    --violet: #7b3ff0;
    --star: #fbbf24;
    --ink: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f5f7ff;
    --white: #fff;
    --radius: 18px;
    --shadow: 0 20px 50px -20px rgba(61, 70, 180, .35);
    --gradient: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
    --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section--soft { background: var(--soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--violet); background: #efe9ff; padding: 4px 12px; border-radius: 99px; margin-bottom: 14px;
}

/* ---------- düğmeler ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5em; padding: 13px 24px; border-radius: 12px;
    font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
    text-decoration: none !important; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow); }
.btn--white { background: #fff; color: var(--violet); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--small { padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- üst menü ---------- */
.header {
    position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none !important; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
    color: var(--ink); font-weight: 600; padding: 8px 14px; border-radius: 10px; text-decoration: none; font-size: .97rem;
}
.nav a:hover { background: var(--soft); }
.nav a.is-active { color: var(--violet); background: #f1ecff; }
.nav .btn { margin-left: 8px; }
.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 920px) {
    .nav-toggle-label {
        display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px;
        border-radius: 10px; cursor: pointer; padding: 0 11px;
    }
    .nav-toggle-label span { height: 2px; background: var(--ink); border-radius: 2px; }
    .nav {
        position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
        box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .2);
    }
    .nav a { padding: 12px 10px; }
    .nav .btn { margin: 8px 0 0; justify-content: center; }
    .nav-toggle:checked ~ .nav { display: flex; }
}

/* ---------- anasayfa başlığı ---------- */
.hero { background: var(--gradient); color: #fff; position: relative; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 85% 15%, rgba(251, 191, 36, .28), transparent 35%),
                radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .14), transparent 40%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 88px 20px 96px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.2rem; color: rgba(255, 255, 255, .9); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__meta { margin-top: 18px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.hero__visual {
    width: 90%; justify-self: end;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 22px; padding: 10px;
    box-shadow: 0 40px 80px -30px rgba(20, 10, 80, .6);
}
.hero__visual img { border-radius: 14px; width: 100%; }
.hero__placeholder {
    aspect-ratio: 16 / 10; border-radius: 14px; display: grid; place-items: center; text-align: center;
    background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); font-weight: 600;
}
.hero__placeholder img { width: 120px; border-radius: 26px; margin: 0 auto 14px; }
.star { color: var(--star); }

.page-hero { background: var(--gradient); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 10%, rgba(251, 191, 36, .25), transparent 35%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(255, 255, 255, .88); font-size: 1.15rem; max-width: 720px; margin: 0; }

@media (max-width: 920px) {
    .hero__inner { grid-template-columns: 1fr; padding: 56px 20px 64px; gap: 36px; }
    .hero__visual { width: 100%; }
}

/* ---------- kartlar ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d5dcff; }
.card p { color: var(--muted); margin: 0; }
.card__icon {
    width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
    background: linear-gradient(135deg, #e8eeff, #f1e9ff); margin-bottom: 16px;
}
.card__image { border-radius: 12px; margin: -6px -6px 16px; aspect-ratio: 16 / 9; object-fit: cover; width: calc(100% + 12px); }

.product-card { display: flex; flex-direction: column; gap: 14px; padding: 30px; }
.product-card__head { display: flex; align-items: center; gap: 14px; }
.product-card__head img { width: 58px; height: 58px; border-radius: 16px; }
.product-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tag { font-size: .8rem; font-weight: 600; background: var(--soft); color: var(--blue); padding: 4px 10px; border-radius: 99px; }
.coming { border-style: dashed; display: grid; place-items: center; text-align: center; color: var(--muted); min-height: 220px; }

/* ---------- ekran görüntüleri ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shots figure { margin: 0; }
.shots img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .25); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shots figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; text-align: center; }
@media (max-width: 820px) { .shots { grid-template-columns: 1fr; } }

/* ---------- iki sütun ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 10px; }
.checklist li::before {
    content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--gradient); color: #fff; font-size: .75rem; display: grid; place-items: center; font-weight: 800;
}

/* ---------- çağrı bandı ---------- */
.cta {
    background: var(--gradient); color: #fff; border-radius: 26px; padding: 56px; display: flex; gap: 32px;
    align-items: center; justify-content: space-between; position: relative; overflow: hidden;
}
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: rgba(255, 255, 255, .88); margin: 0; }
@media (max-width: 760px) { .cta { flex-direction: column; align-items: flex-start; padding: 36px 26px; } }

/* ---------- sürümler ---------- */
.releases { border-left: 3px solid #dfe5ff; padding-left: 24px; }
.release { position: relative; margin-bottom: 26px; }
.release::before { content: ""; position: absolute; left: -32px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--gradient); }
.release h4 { margin-bottom: .2em; }
.release time { color: var(--muted); font-size: .9rem; }
.release ul { margin: .5em 0 0; padding-left: 1.2em; color: var(--text); }

.download-box { background: var(--soft); border: 1px solid #dfe5ff; border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.download-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 16px 0 22px; font-size: .95rem; }
.download-box dt { color: var(--muted); }
.download-box dd { margin: 0; font-weight: 600; color: var(--ink); }
.layout-aside { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
@media (max-width: 920px) { .layout-aside { grid-template-columns: 1fr; } .download-box { position: static; } }

/* ---------- markalar ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.brand-chip {
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 24px; min-width: 150px; height: 82px;
    display: grid; place-items: center; font-weight: 700; color: var(--ink);
}
.brand-chip img { max-height: 46px; width: auto; filter: grayscale(1); opacity: .8; transition: .2s; }
.brand-chip:hover img { filter: none; opacity: 1; }

/* ---------- metin içerik ---------- */
.prose { max-width: 780px; margin: 0 auto; font-size: 1.07rem; }
.prose h2 { margin-top: 1.6em; }
.prose img { border-radius: 14px; margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); font-weight: 600; }

/* ---------- formlar ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 6px; }
.form input, .form textarea, .form select {
    width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfd8e8; border-radius: 12px; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 3px solid #dcd2ff; border-color: var(--violet); }
.form textarea { min-height: 140px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
.form .check input { width: auto; margin-top: 5px; }
.form .error { color: #dc2626; font-size: .86rem; margin-top: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.alert { border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-weight: 600; }
.alert--ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert--err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .card__icon { margin: 0; flex: none; width: 44px; height: 44px; font-size: 1.2rem; }
.contact-list strong { display: block; color: var(--ink); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 28px; }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }
.map__placeholder {
    height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    padding: 20px; text-align: center; background: var(--soft); color: var(--muted);
}
.map__icon { font-size: 2.2rem; line-height: 1; }
.map__note { font-size: .86rem; max-width: 340px; margin: 0; }

/* ---------- alt bilgi ---------- */
.footer { background: #0b1023; color: #a8b3cf; padding: 64px 0 28px; margin-top: 0; }
.footer a { color: #d6ddf0; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer__legal { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.footer__bottom { border-top: 1px solid #1d2540; margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- blog ---------- */
.container--narrow { max-width: 820px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.chip { padding: 7px 16px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none !important; background: #fff; }
.chip:hover { border-color: #c9d2ff; }
.chip.is-active { background: var(--gradient); color: #fff; border-color: transparent; }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card__image { display: block; aspect-ratio: 16 / 9; background: var(--soft); overflow: hidden; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card__image img { transform: scale(1.03); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, #e8eeff, #f1e9ff); }
.post-card__placeholder img { width: 64px !important; height: 64px !important; border-radius: 16px; }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { margin: 0; font-size: 1.12rem; }
.post-card h3 a { color: var(--ink); }
.post-card .tag { align-self: flex-start; }
.post-meta { color: var(--muted); font-size: .88rem; margin-top: auto; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 40px; }
.post-hero { background: var(--soft); padding: 48px 0 36px; border-bottom: 1px solid var(--line); }
.post-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 10px 0 14px; }
.post-hero .lead { font-size: 1.15rem; color: var(--text); }
.breadcrumb { font-size: .9rem; color: var(--muted); }
.post-cover { width: 100%; max-height: 440px; object-fit: cover; object-position: top; border-radius: 18px; margin: 32px 0 8px; border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .3); }
.post-content { margin: 32px 0 0; max-width: none; }
.post-content h2 { font-size: 1.55rem; margin-top: 1.8em; }
.post-content h3 { font-size: 1.2rem; margin-top: 1.5em; }
.post-content img { border: 1px solid var(--line); box-shadow: 0 16px 34px -22px rgba(0, 0, 0, .35); }
.post-content ul, .post-content ol { padding-left: 1.4em; }
.post-content li { margin-bottom: .45em; }
.post-content kbd { background: #f1f3f9; border: 1px solid #d6dbe8; border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; font-size: .88em; font-family: inherit; white-space: nowrap; }
.post-content blockquote { margin: 1.4em 0; padding: 14px 18px; background: var(--soft); border-left: 4px solid var(--violet); border-radius: 0 12px 12px 0; }
.post-content blockquote p:last-child { margin: 0; }
.post-content table { border-collapse: collapse; width: 100%; margin: 1.2em 0; font-size: .95rem; }
.post-content th, .post-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.post-content th { background: var(--soft); }
.post-content figure { margin: 1.4em 0; }
.post-content figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: -.6em; }
.post-cta { display: flex; align-items: center; gap: 18px; margin: 48px 0 72px; padding: 22px 24px; border-radius: 18px; background: var(--soft); border: 1px solid #dfe5ff; }
.post-cta img { width: 56px; height: 56px; border-radius: 15px; flex: none; }
.post-cta p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.post-cta div { flex: 1; }
@media (max-width: 620px) { .post-cta { flex-direction: column; align-items: flex-start; } }

/* =====================================================================================================
   Bayi alanı (/bayi): giriş, başvuru, ürünler, sepet, siparişler, hesap
   ===================================================================================================== */
.dealer-bar { background: linear-gradient(90deg, #f3f5ff, #f6f0ff); border-bottom: 1px solid #e3e6fb; }
.dealer-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; flex-wrap: wrap; }
.dealer-bar__firm { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.dealer-bar__firm small { font-weight: 500; color: var(--muted); }
.tier-badge { font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; color: #fff; background: var(--gradient); }
.tier-badge--1 { background: linear-gradient(135deg, #b7794a, #8a5530); }
.tier-badge--2 { background: linear-gradient(135deg, #a3acb9, #6b7584); }
.tier-badge--3 { background: linear-gradient(135deg, #f5c542, #d99a0b); }
.dealer-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.dealer-nav form { margin: 0; }
.dealer-nav a, .dealer-nav button {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem;
    color: var(--ink); text-decoration: none !important; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.dealer-nav a:hover, .dealer-nav button:hover { background: #fff; }
.dealer-nav a.is-active { background: #fff; color: var(--violet); box-shadow: 0 2px 10px -4px rgba(61, 70, 180, .35); }
.dealer-nav .count { background: var(--gradient); color: #fff; font-size: .75rem; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; }

/* Bayi çubuğundaki kategori menüsü: çubuk genişliğinde açılan panel, ana gruplar sütun başı. */
.dealer-bar { position: relative; z-index: 40; }
.dealer-bar__inner { position: relative; }
.cat-menu { margin-right: auto; }
.cat-menu > summary {
    list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 10px; cursor: pointer;
    font-weight: 700; font-size: .95rem; color: #fff; background: var(--gradient); box-shadow: 0 6px 16px -8px rgba(91, 63, 240, .7); user-select: none;
}
.cat-menu > summary::-webkit-details-marker { display: none; }
.cat-menu > summary:hover { filter: brightness(1.06); }
.cat-menu > summary:focus-visible { outline: 3px solid rgba(123, 63, 240, .35); outline-offset: 2px; }
.cat-menu__caret { transition: transform .2s; font-size: .8em; }
.cat-menu[open] .cat-menu__caret { transform: rotate(180deg); }
.cat-menu__panel {
    position: absolute; left: 0; right: 0; top: calc(100% - 4px); padding: 20px 22px 22px; background: #fff; border: 1px solid #e3e6fb;
    border-radius: 16px; box-shadow: var(--shadow); max-height: min(70vh, 560px); overflow: auto; animation: cat-menu-in .16s ease-out;
}
@keyframes cat-menu-in { from { opacity: 0; transform: translateY(-6px); } }
.cat-menu__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.cat-menu__head strong { color: var(--ink); }
.cat-menu__head a { font-weight: 600; font-size: .9rem; color: var(--violet); }
.cat-menu__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px 22px; }
.cat-menu__col ul { list-style: none; margin: 6px 0 0; padding: 0; }
.cat-menu__col a { display: block; padding: 5px 8px; border-radius: 8px; color: var(--text); text-decoration: none !important; font-size: .93rem; }
.cat-menu__col a:hover { background: var(--soft); color: var(--violet); }
.cat-menu__col a.is-active { background: #efeaff; color: var(--violet); font-weight: 600; }
.cat-menu__col a.cat-menu__root { font-weight: 700; color: var(--ink); font-size: .98rem; }
.cat-menu__col a.cat-menu__root:hover { color: var(--violet); }
.cat-menu__col li.depth-3 a { padding-left: 22px; font-size: .88rem; color: var(--muted); }
.cat-menu__col li.depth-3 a::before { content: "– "; }
@media (max-width: 820px) {
    .cat-menu { order: 3; margin-right: 0; width: 100%; }
    .cat-menu > summary { width: 100%; justify-content: center; }
    .cat-menu__panel { position: static; margin-top: 8px; box-shadow: none; max-height: none; }
    .cat-menu__grid { grid-template-columns: 1fr; gap: 10px; }
}
.dealer-page { padding: 36px 0 72px; background: #fafbff; min-height: 60vh; }
.dealer-page h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .25em; }
.dealer-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.dealer-head p { margin: 0; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel + .panel { margin-top: 18px; }
.panel h2, .panel h3 { font-size: 1.15rem; margin-bottom: 14px; }
.rate-note { font-size: .85rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.rate-note strong { color: var(--ink); }

/* giriş / başvuru */
.auth-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: 0 30px 60px -40px rgba(61, 70, 180, .45); }
.auth-card h1, .auth-card h2 { font-size: 1.6rem; }
.auth-card .form { grid-template-columns: 1fr; }
.auth-join { background: var(--gradient); color: #fff; border-radius: 22px; padding: 34px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.auth-join::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% 10%, rgba(251, 191, 36, .3), transparent 40%); }
.auth-join > * { position: relative; }
.auth-join h2 { color: #fff; font-size: 1.6rem; }
.auth-join p { color: rgba(255, 255, 255, .9); }
.auth-join .checklist li::before { background: #fff; color: var(--violet); }
.auth-join .btn { margin-top: auto; align-self: flex-start; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; margin-top: 4px; flex-wrap: wrap; }
@media (max-width: 820px) { .auth-split { grid-template-columns: 1fr; } }

.apply-form { max-width: 920px; margin: 0 auto; }
.apply-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 24px; margin: 0 0 18px; background: #fff; }
.apply-form legend { font-weight: 800; color: var(--ink); padding: 0 8px; font-size: 1.05rem; }
.apply-form .hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.file-drop { border: 2px dashed #cfd8e8; border-radius: 14px; padding: 16px; background: var(--soft); }
.file-drop input { border: 0 !important; padding: 0 !important; background: none !important; }

/* ürün listesi */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
.shop-filters { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.shop-filters h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 18px 0 8px; }
.shop-filters h4:first-child { margin-top: 0; }
.shop-filters ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; max-height: 260px; overflow: auto; }
.shop-filters li a { display: block; padding: 6px 10px; border-radius: 9px; color: var(--text); font-size: .93rem; text-decoration: none !important; }
.shop-filters li a:hover { background: var(--soft); }
.shop-filters li a.is-active { background: #f1ecff; color: var(--violet); font-weight: 700; }
.search-box { display: flex; gap: 8px; }
.search-box input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 1px solid #cfd8e8; border-radius: 11px; }
.search-box input:focus { outline: 3px solid #dcd2ff; border-color: var(--violet); }
.toggle-line { display: flex; gap: 8px; align-items: center; font-size: .93rem; margin-top: 14px; color: var(--text); }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } .shop-filters { position: static; } .shop-filters ul { max-height: 160px; } }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d5dcff; }
.p-card__image { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid #f1f3f9; padding: 12px; overflow: hidden; }
/* Dikey ya da çok büyük resim kartı uzatmasın: resim her zaman 4:3 alanın içine sığdırılır. */
.p-card__image img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; display: block; }
.ph { font-size: 2.6rem; opacity: .45; }
.p-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-card__brand { font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--violet); }
.p-card__name { font-weight: 700; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; text-decoration: none !important; }
.p-card__sku { font-size: .8rem; color: var(--muted); }
.price { margin: 6px 0 2px; }
.price__main { font-size: 1.28rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.price__main small { font-size: .78rem; font-weight: 700; color: var(--muted); margin-left: 2px; }
.price__sub { font-size: .88rem; color: var(--muted); }
.price__sub strong { color: #059669; font-weight: 700; }
.price__old { font-size: .8rem; color: #94a3b8; text-decoration: line-through; margin-right: 6px; }
.price__off { font-size: .72rem; font-weight: 800; color: #b45309; background: #fef3c7; padding: 2px 7px; border-radius: 99px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock--in { color: #059669; }
.stock--low { color: #d97706; }
.stock--out { color: #94a3b8; }
.qty-rule { font-size: .78rem; color: var(--muted); }
.buy { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.buy input { width: 86px; font: inherit; padding: 9px 10px; border: 1px solid #cfd8e8; border-radius: 10px; text-align: center; }
.buy .btn { flex: 1; justify-content: center; padding: 10px 12px; }
.flash-inline { font-size: .82rem; font-weight: 600; border-radius: 9px; padding: 6px 10px; }
.flash-inline--ok { background: #ecfdf5; color: #047857; }
.flash-inline--err { background: #fef2f2; color: #b91c1c; }

/* ürün sayfası */
.product-view { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: start; }
.gallery__main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; aspect-ratio: 1; display: grid; place-items: center; padding: 22px; overflow: hidden; }
.gallery__main img { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; display: block; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 6px; cursor: pointer; }
.gallery__thumbs button.is-active { border-color: var(--violet); box-shadow: 0 0 0 2px #e6dcff; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-view .price__main { font-size: 2rem; }
.product-view .price__sub { font-size: 1rem; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .95rem; margin: 18px 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; color: var(--ink); font-weight: 600; }
.buy-box { background: var(--soft); border: 1px solid #dfe5ff; border-radius: 16px; padding: 18px; margin-top: 18px; }
.buy-box .buy { padding-top: 0; }
.buy-box .buy input { width: 120px; }
@media (max-width: 860px) { .product-view { grid-template-columns: 1fr; } }

/* sepet ve sipariş */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
@media (max-width: 980px) { .cart-layout { grid-template-columns: 1fr; } }
.lines { width: 100%; border-collapse: collapse; }
.lines th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 10px 10px; border-bottom: 1px solid var(--line); }
.lines td { padding: 14px 10px; border-bottom: 1px solid #f1f3f9; vertical-align: middle; }
.lines .num { text-align: right; white-space: nowrap; }
.line-product { display: flex; gap: 12px; align-items: center; }
.line-product img, .line-product .ph { width: 54px; height: 54px; border-radius: 10px; border: 1px solid var(--line); object-fit: contain; background: #fff; flex: none; display: grid; place-items: center; font-size: 1.4rem; }
.line-product a { font-weight: 700; color: var(--ink); }
.line-product small { display: block; color: var(--muted); }
.line-problem { color: #b91c1c; font-size: .82rem; font-weight: 600; margin-top: 4px; }
.qty-form { display: flex; gap: 6px; align-items: center; margin: 0; }
.qty-form input { width: 84px; font: inherit; padding: 7px 8px; border: 1px solid #cfd8e8; border-radius: 9px; text-align: center; }
.icon-btn { background: none; border: 0; cursor: pointer; color: #94a3b8; font-size: 1.1rem; padding: 6px; border-radius: 8px; }
.icon-btn:hover { color: #dc2626; background: #fef2f2; }
@media (max-width: 760px) {
    .lines thead { display: none; }
    .lines tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 12px 0; border-bottom: 1px solid #f1f3f9; }
    .lines td { border: 0; padding: 0; }
    .lines td:first-child { grid-column: 1 / -1; }
}
.summary { position: sticky; top: 96px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0 0 16px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.summary .total { font-size: 1.25rem; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; }
.summary .form { grid-template-columns: 1fr; gap: 12px; }
.summary textarea { min-height: 80px !important; }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty .card__icon { margin: 0 auto 14px; }

.status { display: inline-block; font-size: .8rem; font-weight: 700; padding: 4px 11px; border-radius: 99px; white-space: nowrap; }
.status--awaiting_payment { background: #fef3c7; color: #92400e; }
.status--paid { background: #dbeafe; color: #1e40af; }
.status--preparing { background: #ede9fe; color: #5b21b6; }
.status--shipped { background: #d1fae5; color: #065f46; }
.status--cancelled { background: #f1f5f9; color: #64748b; }
.steps { display: flex; margin: 6px 0 4px; }
.step { flex: 1; text-align: center; position: relative; font-size: .85rem; color: var(--muted); font-weight: 600; }
.step::before { content: ""; display: block; width: 30px; height: 30px; margin: 0 auto 8px; border-radius: 50%; background: #e2e8f0; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 14px; left: 50%; width: 100%; height: 3px; background: #e2e8f0; }
.step:last-child::after { display: none; }
.step.is-done { color: var(--ink); }
.step.is-done::before { background: var(--gradient); }
.step.is-done::after { background: linear-gradient(90deg, var(--violet), var(--blue)); }
.step.is-current::before { box-shadow: 0 0 0 6px #ece4ff; }
.bank { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed #d8dcf3; flex-wrap: wrap; }
.bank:last-child { border-bottom: 0; }
.bank strong { color: var(--ink); }
.iban { font-family: Consolas, "Courier New", monospace; font-size: 1.02rem; letter-spacing: .04em; color: var(--ink); }
.copy { font: inherit; font-size: .82rem; font-weight: 700; border: 1px solid #d5dcff; color: var(--violet); background: #fff; border-radius: 9px; padding: 5px 10px; cursor: pointer; }
.pay-box { background: linear-gradient(135deg, #f7f4ff, #eef3ff); border: 1px solid #ddd5ff; }
.order-ref { font-size: 1.4rem; font-weight: 800; color: var(--violet); letter-spacing: .04em; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; white-space: pre-line; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.table-simple { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-simple th { text-align: left; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table-simple td { padding: 12px 10px; border-bottom: 1px solid #f1f3f9; }
.table-simple tr:hover td { background: #fafbff; }
.table-scroll { overflow-x: auto; }
.pagination-wrap { margin-top: 26px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pagination-wrap a, .pagination-wrap span { padding: 8px 13px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; text-decoration: none !important; }
.pagination-wrap .is-current { background: var(--gradient); color: #fff; border-color: transparent; }
.pagination-wrap .is-disabled { color: #cbd5e1; }
.two-col > .panel + .panel, .cart-layout > .panel + .panel { margin-top: 0; }
.lines th:first-child, .lines td:first-child { width: 100%; min-width: 240px; }
.summary dl { column-gap: 0; }
.summary dd { padding-left: 12px; }
.lines th.num { white-space: normal; }
/* kategori ağacı (3 seviye) */
.shop-filters .cat-tree { max-height: 360px; }
.cat-tree .cat-tree__level-2 a { padding-left: 24px; font-size: .9rem; }
.cat-tree .cat-tree__level-3 a { padding-left: 38px; font-size: .87rem; }
.cat-tree .cat-tree__level-2 a::before, .cat-tree .cat-tree__level-3 a::before { content: "› "; color: #94a3b8; }
.cat-tree a.is-open { color: var(--violet); font-weight: 600; }
/* ürün arama (üstte) ve öneriler */
.catalog-search { margin: -6px 0 24px; position: relative; z-index: 30; }
.catalog-search__box { position: relative; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #d6dcec; border-radius: 16px; padding: 7px 7px 7px 46px; box-shadow: 0 10px 30px -18px rgba(30, 41, 99, .35); transition: border-color .15s, box-shadow .15s; }
.catalog-search__box:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px #ebe4ff, 0 10px 30px -18px rgba(30, 41, 99, .35); }
.catalog-search__icon { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: #94a3b8; }
.catalog-search__box input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1.02rem; padding: 9px 0; background: transparent; color: var(--ink); }
.catalog-search__box input::-webkit-search-cancel-button { cursor: pointer; }
.catalog-search__box .btn { padding: 11px 26px; border-radius: 12px; }
.catalog-search__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(15, 23, 42, .35); padding: 6px; max-height: min(70vh, 520px); overflow: auto; }
.catalog-search__item { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 8px 10px; border-radius: 12px; color: var(--text); text-decoration: none !important; }
.catalog-search__item:hover, .catalog-search__item.is-active { background: var(--soft); }
.catalog-search__item img, .catalog-search__item .ph { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 1.3rem; }
.catalog-search__text { min-width: 0; display: grid; gap: 2px; }
.catalog-search__text strong { color: var(--ink); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.catalog-search__text small { color: var(--muted); font-size: .82rem; }
.catalog-search__text em { color: #b91c1c; font-style: normal; font-weight: 600; }
.catalog-search mark { background: #fff1b8; color: inherit; border-radius: 3px; padding: 0 1px; }
.catalog-search__price { text-align: right; display: grid; gap: 2px; white-space: nowrap; }
.catalog-search__price strong { color: var(--ink); font-size: .95rem; }
.catalog-search__price small { color: #059669; font-size: .78rem; font-weight: 600; }
.catalog-search__all { display: block; text-align: center; padding: 11px; margin-top: 4px; border-top: 1px solid #f1f3f9; font-weight: 700; color: var(--violet); text-decoration: none !important; }
.catalog-search__empty { padding: 16px; color: var(--muted); text-align: center; }
@media (max-width: 640px) {
    .catalog-search__box { padding-left: 40px; }
    .catalog-search__icon { left: 13px; }
    .catalog-search__box .btn { padding: 10px 16px; }
    .catalog-search__item { grid-template-columns: 40px 1fr; }
    .catalog-search__item img, .catalog-search__item .ph { width: 40px; height: 40px; }
    .catalog-search__price { grid-column: 2; text-align: left; display: flex; gap: 8px; align-items: baseline; }
}
.brand__tag { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #f59e0b, #f97316); padding: 3px 8px; border-radius: 999px; }

/* ---------- bayi sitesi (buggy.tr): gizli fiyat, başvuru şeridi, sahibi ---------- */
.price--locked { background: #f6f4ff; border: 1px dashed #cfc4fb; border-radius: 12px; padding: 10px 12px; font-size: .9rem; color: var(--muted); }
.price__lock a { font-weight: 600; }
.footer__owner { font-size: .95rem; }
.footer__owner strong { color: inherit; }
.join-strip { background: var(--gradient); color: #fff; }
.join-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; font-size: .95rem; }
.join-strip__inner strong { color: #fff; }
.join-strip__actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.join-strip__login { color: #fff; text-decoration: underline; font-weight: 600; }
/* bayi sitesi Hakkımızda sayfası */
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hero-stats > div {
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 18px;
    padding: 22px; display: flex; flex-direction: column; gap: 2px;
}
.hero-stats strong { font-size: 2rem; line-height: 1.1; color: #fff; }
.hero-stats span { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.cat-card { display: block; color: inherit; text-decoration: none; }
.cat-card:hover { border-color: #d5dcff; box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card p { margin-top: 4px; }
.tier-cards { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.tier-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 10px 20px 10px 10px; }
@media (max-width: 820px) { .hero-stats strong { font-size: 1.5rem; } }
/* Perakende fiyat altında ziyaretçiye bayi iskontosu hatırlatması */
.price__pack { font-size: .95rem; color: var(--ink); margin-top: 4px; }
.price__pack strong { font-weight: 800; }
.price__pack small { font-size: .78rem; font-weight: 700; color: var(--muted); }
.price__hint { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.price__hint a { font-weight: 600; }

/* ---------- canlı destek balonu (buggy.tr, public/js/destek.js) ---------- */
.destek { position: fixed; right: 20px; bottom: 20px; z-index: 900; font-size: 15px; }
.destek__bubble {
    width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: var(--gradient);
    box-shadow: 0 10px 30px -8px rgba(61, 70, 180, .6); display: grid; place-items: center; position: relative; margin-left: auto;
    transition: transform .15s;
}
.destek__bubble:hover { transform: scale(1.06); }
.destek.is-open .destek__bubble { transform: scale(.9); }
.destek__badge {
    position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #ef4444;
    color: #fff; font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; border: 2px solid #fff;
}
.destek__panel {
    position: absolute; right: 0; bottom: 72px; width: 370px; height: min(560px, calc(100vh - 110px)); background: #fff; border-radius: 18px;
    box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .35); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden;
}
.destek__panel[hidden] { display: none; }
.destek__head { background: var(--gradient); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.destek__head strong { display: block; font-size: 16px; }
.destek__status { display: block; font-size: 12.5px; opacity: .9; line-height: 1.35; margin-top: 2px; }
.destek__status.is-online::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; margin-right: 6px; }
.destek__close { background: rgba(255, 255, 255, .18); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; flex: none; }
.destek__msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--soft); }
.destek__msgs:empty { flex: 0; padding: 0; }
.destek__msg { max-width: 82%; padding: 8px 12px; border-radius: 14px; line-height: 1.45; word-wrap: break-word; }
.destek__msg--staff { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.destek__msg--me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.destek__who { font-size: 12px; font-weight: 700; color: var(--violet); }
.destek__text { white-space: pre-wrap; }
.destek__time { font-size: 11px; opacity: .7; text-align: right; margin-top: 2px; }
.destek__file { display: block; margin-top: 4px; color: inherit; text-decoration: underline; font-weight: 600; }
.destek__file img { max-width: 220px; max-height: 200px; border-radius: 8px; }
.destek__start { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; flex: 1; }
.destek__start[hidden], .destek__compose[hidden] { display: none; }
.destek__intro { margin: 0; color: var(--ink); }
.destek__as { margin: 0; font-size: 13px; color: var(--muted); }
.destek__input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font: inherit; color: var(--ink); background: #fff; resize: none; }
.destek__input:focus { outline: 2px solid rgba(61, 106, 242, .35); border-color: var(--blue); }
.destek__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.destek__send { align-self: flex-start; }
.destek__note { font-size: 12px; color: var(--muted); margin: 0; }
.destek__compose { border-top: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.destek__row { display: flex; gap: 8px; align-items: flex-end; }
.destek__row .destek__input { max-height: 120px; }
.destek__attach { cursor: pointer; font-size: 18px; padding: 6px 4px; flex: none; }
.destek__go { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gradient); color: #fff; cursor: pointer; flex: none; font-size: 15px; }
.destek__go:disabled, .destek__send:disabled { opacity: .5; }
.destek__chip { display: flex; gap: 8px; align-items: center; font-size: 13px; background: var(--soft); border-radius: 99px; padding: 3px 10px; align-self: flex-start; max-width: 100%; }
.destek__chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.destek__chip button { border: 0; background: none; cursor: pointer; color: var(--muted); }
.destek__chip[hidden], .destek__error[hidden], .destek__closed[hidden] { display: none; }
.destek__error { color: #dc2626; font-size: 13px; padding: 6px 14px 0; background: #fff; }
.destek__closed { font-size: 12.5px; color: var(--muted); padding: 8px 14px; background: #fff; border-top: 1px solid var(--line); }
@media (max-width: 520px) {
    .destek { right: 14px; bottom: 14px; }
    .destek__panel { position: fixed; inset: auto 8px 84px 8px; width: auto; height: min(560px, calc(100vh - 100px)); }
}
@media print { .destek { display: none; } }
.destek__headbtns { display: flex; gap: 6px; align-items: center; flex: none; }
.destek__end { background: rgba(255, 255, 255, .18); border: 0; color: #fff; border-radius: 99px; padding: 5px 11px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.destek__end:hover { background: rgba(255, 255, 255, .3); }
.destek__end[hidden] { display: none; }
.destek__system { align-self: center; text-align: center; font-size: 12.5px; color: var(--muted); font-style: italic; padding: 2px 10px; }
.destek__row .destek__input { overflow-y: hidden; }

/* Hesabım: bölüm sekmeleri, adres kartları */
.account-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; position: sticky; top: 0; z-index: 5; background: var(--bg, #fff); padding: 8px 0; }
.account-tabs a { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.account-tabs a:hover { border-color: var(--violet); color: var(--violet); }
.account-tabs .count { background: var(--soft); color: var(--blue); border-radius: 99px; font-size: .78rem; padding: 1px 8px; }
.account-section { scroll-margin-top: 70px; margin-top: 18px; }
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 16px; }
.address-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.address-card.is-default { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet) inset; }
.address-card__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.address-card__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: flex-start; }
.address-card__actions form { margin: 0; }
.address-card__actions details { order: 0; }
.address-card__actions details[open] { flex-basis: 100%; order: 9; }
.address-card__actions summary, .address-new summary { list-style: none; cursor: pointer; display: inline-flex; }
.address-card__actions summary::-webkit-details-marker, .address-new summary::-webkit-details-marker { display: none; }
.invoice-type { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.address-pick { display: grid; gap: 8px; }
.address-pick label.check { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0; }
.address-pick label.check:has(input:checked) { border-color: var(--violet); background: #faf8ff; }
.address-pick small { display: block; color: var(--muted); white-space: pre-line; }
@media (max-width: 760px) { .account-tabs { position: static; } }
.account-tabs { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.account-tabs a.is-active { background: var(--gradient); color: #fff; border-color: transparent; box-shadow: 0 4px 14px -6px rgba(91, 70, 220, .55); }
.account-tabs a.is-active .count { background: rgba(255, 255, 255, .25); color: #fff; }
.account-section { margin-top: 0; }
.account-section[hidden] { display: none; }

/* Gizlenen öğe her zaman gizli (.form { display:grid } gibi kurallar [hidden]'ı ezmesin) */
[hidden] { display: none !important; }

/* Sipariş ve ödeme sayfası */
.checkout h3 { display: flex; align-items: center; gap: 10px; }
.step-no { width: 28px; height: 28px; border-radius: 50%; background: var(--gradient); color: #fff; display: inline-grid; place-items: center; font-size: .9rem; flex: none; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__body { display: flex; flex-direction: column; gap: 4px; height: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.choice__body small { color: var(--muted); white-space: pre-line; line-height: 1.4; }
.choice:hover .choice__body { border-color: #c9bfff; }
.choice input:checked + .choice__body { border-color: var(--violet); box-shadow: 0 0 0 3px #ece7ff; background: #fcfbff; }
.choice input:focus-visible + .choice__body { outline: 3px solid #dcd2ff; }
.choice--new .choice__body { border-style: dashed; justify-content: center; }
.new-address { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.mini-lines { list-style: none; margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; max-height: 260px; overflow: auto; }
.mini-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; }
.mini-lines li span { color: var(--text); }
.mini-lines li strong { white-space: nowrap; color: var(--ink); }

/* Çerez izni şeridi (layouts/bayi) */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 760px; margin: 0 auto; display: flex; gap: 16px; align-items: center; padding: 14px 18px; background: #111827; color: #f9fafb; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: .92rem; }
.cookie-bar p { margin: 0; flex: 1; line-height: 1.45; }
.cookie-bar a { color: #fde68a; }
.cookie-bar__actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-bar .btn { white-space: nowrap; }
@media (max-width: 640px) { .cookie-bar { flex-direction: column; align-items: stretch; } .cookie-bar__actions .btn { flex: 1; justify-content: center; } }
.cookie-bar .btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.cookie-bar .btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ===== Ana sayfa (bayi/home.blade.php) ===== */
.hero-slides { padding: 22px 0 0; }
.hero-slides__track { position: relative; border-radius: 24px; overflow: hidden; min-height: 340px; box-shadow: var(--shadow); outline: none; isolation: isolate; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; gap: 32px; padding: 48px 64px 58px; color: #fff; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; overflow: hidden; }
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; min-height: 340px; }
/* Renkler: iki tonlu geçiş + sağa doğru belirginleşen ince devre kartı deseni (SVG) */
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .16; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='M0 40h40l20 20h40M160 40h-30l-15 15M40 160v-40l20-20M100 0v30l20 20h40M0 120h25l15-15h35l20 20v35'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Ccircle cx='100' cy='60' r='3.5'/%3E%3Ccircle cx='40' cy='120' r='3.5'/%3E%3Ccircle cx='115' cy='55' r='3'/%3E%3Ccircle cx='75' cy='105' r='3'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-image: linear-gradient(100deg, transparent 25%, #000 75%); mask-image: linear-gradient(100deg, transparent 25%, #000 75%); }
.hero-slide--mor { background: linear-gradient(120deg, #3d6af2 0%, #6d3ff0 55%, #9b3fe8 100%); }
.hero-slide--turuncu { background: linear-gradient(120deg, #f59e0b 0%, #f97316 50%, #dc2626 100%); }
.hero-slide--yesil { background: linear-gradient(120deg, #059669 0%, #0d9488 55%, #0e7490 100%); }
.hero-slide--lacivert { background: linear-gradient(120deg, #0f172a 0%, #1e3a8a 60%, #3d6af2 100%); }
.hero-slide--kirmizi { background: linear-gradient(120deg, #e11d48 0%, #be123c 55%, #7e22ce 100%); }
.hero-slide__glow { position: absolute; z-index: 0; right: 8%; top: 50%; width: 520px; height: 520px; margin-top: -260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 65%); pointer-events: none; }
.hero-slide--image::before { display: none; }
.hero-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.06); transition: transform 8s ease-out; }
.hero-slide--image.is-active .hero-slide__bg { transform: scale(1); }
.hero-slide--image::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15,23,42,.78) 0%, rgba(15,23,42,.3) 65%, transparent 100%); }
.hero-slide__text { position: relative; z-index: 2; flex: 1 1 52%; max-width: 600px; }
.hero-slide__badge { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
    font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(6px); }
.hero-slide h1, .hero-slide h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.7rem); margin-bottom: .35em; text-shadow: 0 2px 18px rgba(0,0,0,.15); }
.hero-slide p { font-size: 1.08rem; opacity: .95; margin-bottom: 1.4em; max-width: 520px; }
.hero-slide .btn--white { box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); transition: transform .2s, box-shadow .2s; }
.hero-slide .btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); text-decoration: none; }
/* Giriş: yazı alttan, kartlar sağdan sırayla */
.hero-slide__text > * { opacity: 0; transform: translateY(18px); }
.hero-slide.is-active .hero-slide__text > * { animation: hero-up .7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-slide.is-active .hero-slide__text > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-slide__text > *:nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-slide__text > *:nth-child(4) { animation-delay: .24s; }
@keyframes hero-up { to { opacity: 1; transform: none; } }
/* Ürün kartları */
.hero-slide__shelf { position: relative; z-index: 2; flex: 0 0 420px; height: 270px; }
.hero-card { position: absolute; width: 168px; padding: 10px 10px 12px; border-radius: 16px; background: #fff; color: var(--ink); display: flex; flex-direction: column; gap: 6px;
    box-shadow: 0 24px 40px -18px rgba(15,23,42,.55); opacity: 0; transition: box-shadow .25s; }
.hero-card:hover { text-decoration: none; box-shadow: 0 30px 50px -16px rgba(15,23,42,.65); }
.hero-card__img { display: block; height: 118px; border-radius: 10px; background: #f8fafc; overflow: hidden; }
.hero-card__img img { width: 100%; height: 100%; object-fit: contain; }
.hero-card__name { font-size: .8rem; font-weight: 600; line-height: 1.3; min-height: 2.6em; }
.hero-card__price { font-weight: 800; color: var(--violet); font-size: .95rem; }
.hero-card--1 { left: 0; top: 34px; --r: -6deg; z-index: 1; }
.hero-card--2 { left: 126px; top: 0; --r: 2deg; z-index: 3; }
.hero-card--3 { left: 252px; top: 46px; --r: 7deg; z-index: 2; }
.hero-slide.is-active .hero-card { animation: hero-card-in .8s cubic-bezier(.2,.7,.2,1) forwards, hero-float 6s ease-in-out infinite; }
.hero-slide.is-active .hero-card--1 { animation-delay: .15s, 1s; }
.hero-slide.is-active .hero-card--2 { animation-delay: .28s, 1.6s; }
.hero-slide.is-active .hero-card--3 { animation-delay: .41s, 2.2s; }
@keyframes hero-card-in { from { opacity: 0; transform: translateX(60px) rotate(var(--r)) scale(.92); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes hero-float { 0%, 100% { opacity: 1; transform: rotate(var(--r)) translateY(0); } 50% { opacity: 1; transform: rotate(var(--r)) translateY(-10px); } }
/* Oklar ve süre çubuklu noktalar */
.hero-slides__arrow { position: absolute; top: 50%; z-index: 4; width: 42px; height: 42px; margin-top: -21px; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(255,255,255,.18); color: #fff; font-size: 1.7rem; line-height: 1; backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s, background .2s; }
.hero-slides__track:hover .hero-slides__arrow, .hero-slides__arrow:focus-visible { opacity: 1; }
.hero-slides__arrow:hover { background: rgba(255,255,255,.32); }
.hero-slides__arrow--prev { left: 14px; }
.hero-slides__arrow--next { right: 14px; }
.hero-slides__dots { position: absolute; left: 64px; bottom: 22px; display: flex; gap: 8px; z-index: 4; }
.hero-slides__dots button { position: relative; width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; overflow: hidden; transition: width .35s; }
.hero-slides__dots button.is-active { width: 44px; }
.hero-slides__dots button span { position: absolute; inset: 0; width: 0; background: #fff; border-radius: inherit; }
.hero-slides__dots button.is-active span { animation: hero-progress 7s linear forwards; }
.hero-slides__track.is-paused .hero-slides__dots button.is-active span { animation-play-state: paused; }
.hero-slides__track.is-manual .hero-slides__dots button.is-active span { animation: none; width: 100%; }
@keyframes hero-progress { to { width: 100%; } }
@media (max-width: 1080px) { .hero-slide__shelf { flex-basis: 300px; } .hero-card--3 { display: none; } .hero-card--2 { left: 118px; } }
@media (max-width: 900px) { .hero-slide { padding-left: 44px; padding-right: 36px; } .hero-slide__shelf { flex-basis: 270px; } .hero-card { width: 150px; } .hero-card__img { height: 100px; } .hero-card--2 { left: 104px; } .hero-slides__dots { left: 44px; } }
@media (max-width: 760px) { .hero-slide__shelf { display: none; } .hero-slide__glow { right: -30%; } }
@media (max-width: 640px) {
    .hero-slides__track { border-radius: 18px; }
    .hero-slide { padding: 30px 22px 54px; }
    .hero-slides__dots { left: 22px; bottom: 20px; }
    .hero-slides__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-slide__bg { transition: none; }
    .hero-slide__text > *, .hero-card { opacity: 1 !important; transform: rotate(var(--r, 0deg)) !important; animation: none !important; }
}
.home-search { padding: 18px 0 4px; }
.trust-strip { padding: 14px 0 4px; }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-strip__inner > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.trust-strip__inner span { grid-row: span 2; font-size: 1.6rem; }
.trust-strip__inner strong { color: var(--ink); font-size: .95rem; }
.trust-strip__inner small { color: var(--muted); font-size: .82rem; }
.home-block { padding: 34px 0; }
.home-block--soft { background: var(--soft); }
.home-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.home-block__head h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.home-block__head a { font-weight: 600; white-space: nowrap; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat-tile:hover { text-decoration: none; border-color: var(--blue); box-shadow: 0 10px 24px -14px rgba(61,70,180,.45); transform: translateY(-2px); }
.cat-tile__icon { font-size: 1.8rem; line-height: 1; margin-bottom: 6px; }
.cat-tile__name { font-weight: 700; line-height: 1.25; }
.cat-tile__count { color: var(--muted); font-size: .85rem; }
.brand-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-strip a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink); font-weight: 600; }
.brand-strip a:hover { text-decoration: none; border-color: var(--blue); color: var(--blue); }
.brand-strip small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.dealer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 36px; border-radius: 22px; background: var(--gradient); color: #fff; }
.dealer-cta h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.dealer-cta p { margin: 0; opacity: .95; max-width: 640px; }
@media (max-width: 900px) { .trust-strip__inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .dealer-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
    .home-block { padding: 26px 0; }
}

/* Ürün sayfası: açıklama başlığı ve benzer ürünler */
.panel__title { font-size: 1.2rem; margin-bottom: .6em; }
.related { margin-top: 36px; }
.dealer-head__intro { max-width: 760px; color: var(--text); margin-bottom: .4em; }

/* İthalat talepleri (bayi/imports, import, import-create) */
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .8rem; font-weight: 700; background: var(--soft); color: var(--ink); white-space: nowrap; }
.status-pill--waiting { background: #fffbeb; color: #92400e; }
.status-pill--quoted { background: #eef2ff; color: #4338ca; }
.status-pill--accepted { background: #ecfdf5; color: #047857; }
.status-pill--rejected, .status-pill--cancelled { background: #fef2f2; color: #b91c1c; }
.import-row { margin-bottom: 14px; }
.import-row__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.link-btn { background: none; border: 0; padding: 0; color: #dc2626; font-weight: 600; cursor: pointer; }
.input-group { display: flex; gap: 8px; }
.input-group input { flex: 1; min-width: 0; }
.input-group select { width: auto; flex: 0 0 90px; }
.import-table td { vertical-align: middle; }

/* Hakkımızda (bayi/about) */
.about-audience .card { display: flex; flex-direction: column; align-items: flex-start; }
.about-audience .card .btn { margin-top: auto; }
.check-list { list-style: none; padding: 0; margin: 0 0 18px; }
.check-list li { position: relative; padding-left: 26px; margin: 6px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #059669; font-weight: 800; }
.feature-grid .card h3 { font-size: 1.08rem; }
.seller-table table { width: 100%; border-collapse: collapse; }
.seller-table th, .seller-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.seller-table tr:last-child th, .seller-table tr:last-child td { border-bottom: 0; }
.seller-table th { color: var(--muted); font-weight: 600; }
@media (max-width: 620px) { .seller-table th { width: auto !important; display: block; padding-bottom: 0; border: 0; } .seller-table td { display: block; padding-top: 2px; } }
.import-title { margin-bottom: 18px; }
.import-title input { font-size: 1.05rem; font-weight: 600; }
.import-section-title { font-size: 1.25rem; margin: 6px 0 12px; }
/* Üst şeritte uzun firma adı tek satırda, sığmazsa "…" (tam ad fareyle üstüne gelince) */
.dealer-bar__firm { min-width: 0; }
.dealer-bar__name { display: block; min-width: 0; max-width: 520px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 820px) { .dealer-bar__name { max-width: 70vw; } }

/* İade talepleri (bayi/returns, return, return-create) */
.status-pill--r-requested { background: #fffbeb; color: #92400e; }
.status-pill--r-approved { background: #eef2ff; color: #4338ca; }
.status-pill--r-received { background: #f5f3ff; color: #5b21b6; }
.status-pill--r-completed { background: #ecfdf5; color: #047857; }
.status-pill--r-rejected { background: #fef2f2; color: #b91c1c; }
.status-pill--r-cancelled { background: #f1f5f9; color: #64748b; }
